:root {
  --ink: #111713;
  --forest: #0b5f2a;
  --green: #11883c;
  --mint: #e8f5ee;
  --steel: #5d6773;
  --line: #dce3df;
  --panel: #f6f8f5;
  --amber: #c7752f;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(17, 23, 19, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--white);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
  margin: 0;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.icon {
  fill: none;
  flex: 0 0 auto;
  height: 1.05em;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  width: 1.05em;
}

.site-header {
  align-items: center;
  background: #fff;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 1.5rem;
  justify-content: space-between;
  left: 0;
  padding: 0.7rem clamp(1rem, 4vw, 3rem);
  position: fixed;
  right: 0;
  top: 0;
  z-index: 20;
}

.brand {
  align-items: center;
  display: flex;
}

.brand img {
  height: 78px;
  object-fit: contain;
  width: 150px;
}

.site-nav {
  align-items: center;
  display: flex;
  gap: 0.35rem;
}

.site-nav a {
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.93rem;
  font-weight: 800;
  padding: 0.68rem 0.9rem;
}

.site-nav a:hover,
.site-nav a.active {
  background: var(--mint);
  color: var(--forest);
}

.site-nav .nav-cta {
  align-items: center;
  background: var(--forest);
  color: var(--white);
  display: inline-flex;
  gap: 0.42rem;
  margin-left: 0.35rem;
}

.site-nav .nav-cta:hover {
  background: var(--green);
  color: var(--white);
}

.menu-toggle {
  background: transparent;
  border: 0;
  display: none;
  height: 42px;
  padding: 0;
  width: 42px;
}

.menu-toggle span {
  background: var(--ink);
  display: block;
  height: 2px;
  margin: 7px auto;
  width: 25px;
}

.hero {
  align-items: center;
  background:
    linear-gradient(110deg, rgba(17, 23, 19, 0.92) 0%, rgba(17, 23, 19, 0.78) 48%, rgba(11, 95, 42, 0.2) 100%),
    url("../assets/mpinga-hero-hollow-sections.jpg") center / cover;
  color: var(--white);
  display: grid;
  gap: clamp(2rem, 5vw, 5rem);
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  min-height: 100vh;
  padding: clamp(8rem, 11vw, 10rem) clamp(1rem, 6vw, 6rem) clamp(4rem, 7vw, 6rem);
}

.hero-copy {
  max-width: 660px;
}

.eyebrow {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  margin: 0 0 1rem;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #b7f0c9;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(2.65rem, 4.8vw, 5rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.92;
  margin-bottom: 1.2rem;
}

h2 {
  font-size: clamp(1.85rem, 3.2vw, 3.2rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.98;
  margin-bottom: 0.9rem;
}

h3 {
  font-size: 1.22rem;
  line-height: 1.15;
  margin-bottom: 0.5rem;
}

.hero-copy > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.6rem;
}

.button {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: inline-flex;
  gap: 0.45rem;
  font-weight: 900;
  justify-content: center;
  min-height: 50px;
  padding: 0.82rem 1.18rem;
}

.button.primary {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.24);
  color: var(--white);
}

.hero-board {
  display: grid;
  gap: 1rem;
  grid-template-columns: 0.85fr 1fr;
}

.hero-tile {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.22);
  margin: 0;
  min-height: 210px;
  overflow: hidden;
  position: relative;
}

.hero-tile.tall {
  grid-row: span 2;
}

.hero-tile img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.hero-tile figcaption {
  background: rgba(17, 23, 19, 0.76);
  bottom: 0.8rem;
  color: var(--white);
  font-weight: 900;
  left: 0.8rem;
  padding: 0.55rem 0.75rem;
  position: absolute;
}

.contact-strip {
  align-items: center;
  background: var(--forest);
  color: var(--white);
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 2rem;
  justify-content: center;
  padding: 1rem clamp(1rem, 4vw, 3rem);
}

.contact-strip a {
  align-items: center;
  display: inline-flex;
  gap: 0.45rem;
  font-weight: 800;
}

.section {
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 4vw, 3rem);
}

.section-heading {
  margin: 0 auto 2rem;
  max-width: 900px;
  text-align: center;
}

.section-heading p:not(.eyebrow) {
  color: var(--steel);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.filter-bar button {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  cursor: pointer;
  font-weight: 900;
  padding: 0.68rem 0.95rem;
}

.filter-bar button.active,
.filter-bar button:hover {
  background: var(--forest);
  color: var(--white);
}

.stock {
  background: var(--panel);
}

.product-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1180px;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(17, 23, 19, 0.07);
  overflow: hidden;
}

.product-card img {
  aspect-ratio: 1.18 / 1;
  object-fit: cover;
  width: 100%;
}

.product-card div {
  padding: 1rem;
}

.product-card span {
  color: var(--green);
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin-bottom: 0.45rem;
  text-transform: uppercase;
}

.product-card p,
.service-layout p,
.contact-panel p {
  color: var(--steel);
}

.feature-card {
  background: var(--forest);
  color: var(--white);
  display: grid;
  align-content: center;
  gap: 0.8rem;
  padding: 1.2rem;
}

.feature-card p {
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 0;
}

.feature-card a {
  color: #b7f0c9;
  font-weight: 900;
}

.services {
  background: var(--white);
}

.service-layout {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1180px;
}

.service-layout article {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.service-layout img {
  aspect-ratio: 1.55 / 1;
  object-fit: cover;
  width: 100%;
}

.service-layout div {
  padding: 1rem;
}

.gallery {
  background: var(--ink);
  color: var(--white);
}

.gallery {
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(220px, 0.5fr) minmax(0, 1.5fr);
}

.gallery-copy {
  align-self: center;
}

.gallery-copy .eyebrow {
  color: #b7f0c9;
}

.gallery-grid {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gallery-grid img {
  aspect-ratio: 0.8 / 1;
  border-radius: 8px;
  object-fit: cover;
  width: 100%;
}

.contact {
  background: var(--panel);
}

.contact-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 2rem;
  grid-template-columns: 0.9fr 1.1fr;
  margin: 0 auto;
  max-width: 1180px;
  padding: clamp(1.2rem, 4vw, 3rem);
}

.address-line {
  align-items: flex-start;
  display: flex;
  gap: 0.5rem;
}

.address-line .icon {
  color: var(--green);
  margin-top: 0.25em;
}

.contact-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.contact-list a {
  align-items: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  display: flex;
  gap: 0.55rem;
  padding: 0.85rem 0.95rem;
}

.contact-list .icon {
  color: var(--green);
}

.quote-form {
  display: grid;
  gap: 0.9rem;
}

.quote-form label {
  color: var(--ink);
  display: grid;
  font-weight: 900;
  gap: 0.38rem;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  min-height: 52px;
  padding: 0.82rem 0.9rem;
  width: 100%;
}

.quote-form textarea {
  resize: vertical;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(17, 136, 60, 0.14);
  outline: 0;
}

.form-message {
  font-weight: 900;
  margin: 0;
}

.site-footer {
  background: var(--ink);
  color: var(--white);
  padding: 2rem clamp(1rem, 5vw, 5rem) 1rem;
}

.footer-main {
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(240px, 1.2fr) minmax(150px, 0.6fr) minmax(260px, 1fr);
  margin: 0 auto;
  max-width: 1180px;
}

.footer-brand img {
  background: var(--white);
  border-radius: 8px;
  height: 78px;
  margin-bottom: 1rem;
  object-fit: contain;
  padding: 0.25rem;
  width: 158px;
}

.footer-brand p,
.footer-column a,
.footer-column span,
.footer-bottom {
  color: rgba(255, 255, 255, 0.72);
}

.footer-column {
  align-content: start;
  display: grid;
  gap: 0.48rem;
}

.footer-column h3 {
  color: var(--white);
  font-size: 1rem;
  margin: 0 0 0.35rem;
}

.footer-column a:hover {
  color: #b7f0c9;
}

.footer-bottom {
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  margin: 1.8rem auto 0;
  max-width: 1180px;
  padding-top: 1rem;
}

.footer-bottom p {
  margin: 0;
}

.is-hidden {
  display: none;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 980px) {
  .menu-toggle {
    display: block;
  }

  .site-nav {
    background: var(--white);
    border-bottom: 1px solid var(--line);
    display: none;
    left: 0;
    padding: 0.8rem 1rem 1.2rem;
    position: absolute;
    right: 0;
    top: 100%;
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav .nav-cta {
    margin-left: 0;
  }

  .hero,
  .contact-panel,
  .gallery {
    grid-template-columns: 1fr;
  }

  .hero-board,
  .product-grid,
  .service-layout,
  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .brand img {
    height: 62px;
    width: 124px;
  }

  .hero {
    padding: 7rem 1rem 3.5rem;
  }

  h1 {
    font-size: 2.35rem;
  }

  h2 {
    font-size: 1.95rem;
  }

  .hero-board,
  .product-grid,
  .service-layout,
  .footer-main,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .hero-tile,
  .hero-tile.tall {
    grid-row: auto;
    min-height: 240px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }
}
