/* AFI corporate — image-led, logo header, split bands, no deck chrome */
:root {
  --forest: #00482B;
  --forest-deep: #003520;
  --orange: #F27322;
  --fresco: #B8342D;
  --ink: #1a221e;
  --muted: #5c6a62;
  --line: #dce3de;
  --paper: #f3f5f3;
  --white: #fff;
  --max: 1120px;
  --font: "Cairo", system-ui, sans-serif;
  --header-h: 88px;
  --topbar-h: 34px;
  --chrome-h: calc(var(--header-h) + var(--topbar-h));
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  font-size: 1.05rem;
  overflow-x: clip;
}
body.nav-locked { overflow: hidden; }
body[dir="rtl"] { text-align: right; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* Header: thin social topbar + logo nav — always LTR */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  flex-direction: column;
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid var(--line);
  direction: ltr;
}
.topbar {
  background: var(--forest-deep);
  color: #9eb3a6;
  font-size: 0.75rem;
  font-weight: 600;
}
.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--topbar-h);
  gap: 1rem;
}
.topbar a { color: inherit; }
.topbar a:hover { color: #fff; }
.socials {
  display: flex;
  align-items: center;
  gap: 0.05rem;
}
.socials a,
.social-pop summary {
  display: grid;
  place-items: center;
  width: 1.65rem;
  height: 1.65rem;
  border-bottom: none !important;
  color: #c5d6cb;
}
.social-pop {
  position: relative;
}
.social-pop summary {
  list-style: none;
  cursor: pointer;
}
.social-pop summary::-webkit-details-marker { display: none; }
.social-pop summary::marker { content: ""; }
.socials a:hover,
.social-pop summary:hover,
.social-pop[open] summary { color: #fff; }
.social-pop-panel {
  position: absolute;
  top: calc(100% + 0.45rem);
  right: 0;
  min-width: 11.5rem;
  background: #002818;
  border: 1px solid rgba(255,255,255,0.1);
  padding: 0.3rem 0;
  z-index: 80;
  box-shadow: 0 8px 24px rgba(0,0,0,0.28);
}
.social-pop-panel a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.85rem;
  width: auto;
  height: auto;
  padding: 0.42rem 0.75rem;
  color: #e7f0ea;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}
.social-pop-panel a:hover { background: rgba(255,255,255,0.06); color: #fff; }
.social-pop-panel span {
  color: #8fa89a;
  font-weight: 600;
  font-size: 0.72rem;
}
.socials svg {
  width: 14px;
  height: 14px;
  display: block;
  pointer-events: none;
}
.socials-brand a { color: var(--muted); }
.socials-brand a:hover { color: var(--forest); }
.site-header > .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(100% - 2.5rem, var(--max));
  min-height: var(--header-h);
  padding-block: 0.35rem;
  flex-wrap: nowrap;
  direction: ltr;
}
.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.brand img {
  height: 64px;
  width: auto;
  max-height: calc(var(--header-h) - 1.5rem);
  object-fit: contain;
  object-position: left center;
}

.nav {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.15rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--forest);
  overflow-x: auto;
  max-width: calc(100vw - 7rem);
  direction: ltr;
}
.nav a {
  padding: 0.2rem 0;
  border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--orange); }
.nav a[aria-current="page"] {
  border-bottom-color: var(--orange);
  color: var(--forest-deep);
}
.nav .shop { color: var(--fresco); }
.nav .cta {
  background: var(--forest);
  color: #fff !important;
  padding: 0.4rem 0.9rem;
  border-bottom: none !important;
  border-radius: 4px;
}
.nav .cta:hover { background: var(--forest-deep); }
.nav .dl {
  background: var(--orange);
  color: #fff !important;
  padding: 0.4rem 0.9rem;
  border-bottom: none !important;
  border-radius: 4px;
}
.nav .dl:hover { background: #d86412; color: #fff !important; }

/* Language switcher — always visible in header */
.lang {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
  margin-inline-start: 0.35rem;
  padding-inline-start: 0.75rem;
  border-inline-start: 1px solid var(--line);
  white-space: nowrap;
}
.lang a { color: var(--muted); border-bottom: none !important; }
.lang a:hover { color: var(--forest); }
.lang a[aria-current="true"] { color: var(--forest); }
.lang .sep { opacity: 0.35; font-weight: 400; }

.nav-toggle {
  display: none;
  appearance: none;
  border: 0;
  background: transparent;
  width: 2.75rem;
  height: 2.75rem;
  margin-inline-start: auto;
  padding: 0;
  color: var(--forest);
  cursor: pointer;
  flex-shrink: 0;
  place-items: center;
  -webkit-tap-highlight-color: transparent;
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 1.2rem;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.18s ease, top 0.18s ease, background 0.18s ease;
}
.nav-toggle-bars {
  position: relative;
}
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.site-header.is-nav-open .nav-toggle-bars { background: transparent; }
.site-header.is-nav-open .nav-toggle-bars::before {
  top: 0;
  transform: rotate(45deg);
}
.site-header.is-nav-open .nav-toggle-bars::after {
  top: 0;
  transform: rotate(-45deg);
}

/* Locations (HQ / Factory) */
.locations {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.location {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 1.75rem 1.5rem;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.location .kind {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
}
.location h3 {
  margin: 0;
  font-size: 1.35rem;
  color: var(--forest);
}
.location p { color: var(--muted); }
.location .addr {
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.95rem;
  display: grid;
  gap: 0.25rem;
}
.location.factory-tone .kind { color: var(--fresco); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.2rem;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
}
.btn-primary { background: var(--orange); color: #fff; }
.btn-forest { background: var(--forest); color: #fff; }
.btn-ghost {
  background: transparent;
  border-color: rgba(255,255,255,0.6);
  color: #fff;
}
.btn-line {
  background: transparent;
  border-color: var(--forest);
  color: var(--forest);
}
.btn-fresco { background: var(--fresco); color: #fff; }

/* Hero — full bleed photo, no duplicate brand title */
.hero {
  position: relative;
  min-height: calc(100svh - var(--chrome-h));
  display: grid;
  align-items: end;
  color: #fff;
  overflow: hidden;
  background: #111;
}
.hero-media {
  position: absolute;
  inset: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,53,32,0.82) 0%, rgba(0,53,32,0.45) 45%, rgba(0,0,0,0.2) 100%);
}
body[dir="rtl"] .hero-media::after {
  background: linear-gradient(270deg, rgba(0,53,32,0.82) 0%, rgba(0,53,32,0.45) 45%, rgba(0,0,0,0.2) 100%);
}
.hero .wrap {
  position: relative;
  z-index: 1;
  padding: 3.5rem 0 3rem;
}
.hero .lead {
  max-width: 32ch;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 0.75rem;
}
.hero .sub {
  max-width: 36ch;
  color: #dce8e1;
  margin-bottom: 1.5rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.65rem; }
.hero-resources {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0.7rem;
  margin-top: 1.85rem;
  max-width: 48rem;
}
.hero-pdf {
  display: grid;
  grid-template-columns: 2.85rem 1fr;
  gap: 0.7rem;
  align-items: center;
  background: #fff;
  color: var(--forest);
  padding: 0.35rem;
  padding-inline-end: 0.9rem;
  border-radius: 4px;
  min-width: 11.5rem;
  flex: 1 1 12rem;
  max-width: 18rem;
}
.hero-pdf img {
  width: 2.85rem;
  height: 3.95rem;
  object-fit: cover;
}
.hero-pdf strong {
  display: block;
  font-size: 0.88rem;
  line-height: 1.2;
}
.hero-pdf em {
  display: block;
  font-style: normal;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  margin-top: 0.15rem;
}

/* Sections */
.section { padding: 4rem 0; }
.section.tools { padding: 2.5rem 0 3rem; }
.section.paper { background: var(--paper); }
.section.forest { background: var(--forest); color: #fff; }
.section.forest h2 { color: #fff; }
.section.forest .muted { color: #c5d6cb; }

.section-intro { max-width: 42rem; margin-bottom: 2rem; }
.section-intro h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.55rem, 2.8vw, 2rem);
  color: var(--forest);
  letter-spacing: -0.02em;
}
.section-intro p.muted { max-width: 46ch; }
.muted { color: var(--muted); }

/* Our Brands — logo row */
.brand-logos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.brand-logos-dense,
.brand-logos-all {
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
}
.brand-logo {
  background: var(--white);
  border: 1px solid var(--line);
  min-height: 200px;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  transition: border-color 0.15s ease;
}
.brand-logos-dense .brand-logo,
.brand-logos-all .brand-logo {
  min-height: 160px;
  padding: 1.1rem 1rem;
}
.brand-logo:hover { border-color: #a8b8ae; }
.brand-logo img {
  width: 100%;
  height: 160px;
  object-fit: contain;
}
.brand-logos-dense .brand-logo img,
.brand-logos-all .brand-logo img {
  height: 110px;
}
.brand-logo span {
  display: block;
  margin-top: 0.65rem;
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
}

/* Split: photo | copy (reference layout) */
.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0;
  min-height: 360px;
  border: 1px solid var(--line);
  background: var(--white);
  margin-bottom: 1.25rem;
  overflow: hidden;
}
.split.reverse { grid-template-columns: 0.9fr 1.1fr; }
.split.reverse .split-copy { order: -1; }
.split-media {
  margin: 0;
  background: #0e0e0e;
  min-height: 280px;
}
.split-media img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  object-position: center;
}
.split-copy {
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.85rem;
}
.split-copy h3 {
  margin: 0;
  font-size: 1.55rem;
  color: var(--forest);
}
.split-copy p { color: var(--muted); max-width: 38ch; }
.split-copy .lines {
  display: grid;
  gap: 0.35rem;
  color: var(--ink);
  font-size: 0.95rem;
}
.split-copy .lines li {
  padding-inline-start: 0.9rem;
  position: relative;
}
.split-copy .lines li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.55rem;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--orange);
}

/* Clients — logos only, clickable, fill the tile */
.client-logos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}
.client-logo {
  min-height: 140px;
  height: 140px;
  background: var(--white);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.25rem;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.client-logo:hover {
  border-color: var(--forest);
  transform: translateY(-2px);
}
.client-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

/* Home teaser carousels */
.logo-carousel {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.5rem;
}
.logo-track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0.35rem 0.15rem 0.6rem;
  scrollbar-width: none;
}
.logo-track::-webkit-scrollbar { display: none; }
.logo-track .brand-logo,
.logo-track .client-logo {
  flex: 0 0 200px;
  scroll-snap-align: start;
  min-height: 160px;
  height: 160px;
}
.logo-track .brand-logo img { height: 96px; }
.carousel-btn {
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--forest);
  font-size: 1.35rem;
  line-height: 1;
  border-radius: 50%;
  cursor: pointer;
  flex-shrink: 0;
}
.carousel-btn:hover { border-color: var(--forest); }
.tease-link { margin-top: 1.25rem; }

/* Product mosaic */
.product-mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
.product-tile {
  position: relative;
  overflow: hidden;
  background: #111;
  aspect-ratio: 4 / 3;
}
.product-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.product-tile .cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: #fff;
}
.product-tile .cap strong { display: block; font-size: 1rem; }

.shop-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.4rem;
  border: 1px solid var(--line);
  background: var(--paper);
}
.shop-bar h3 { margin: 0 0 0.25rem; color: var(--fresco); font-size: 1.1rem; }
.shop-bar .actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.brochure-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.brochure-card {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 1.1rem;
  align-items: center;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  background: var(--white);
  transition: border-color 0.15s ease;
}
.brochure-card:hover { border-color: var(--forest); }
.brochure-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 210 / 297;
  object-fit: cover;
  border: 1px solid var(--line);
  background: #fafafa;
}
.brochure-card strong {
  display: block;
  color: var(--forest);
  font-size: 1.15rem;
  margin-bottom: 0.2rem;
}
.brochure-card span {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}
.brochure-card .btn {
  display: inline-flex;
  width: fit-content;
}

/* Page hero */
.page-hero {
  background: var(--forest-deep);
  color: #fff;
  padding: 2.75rem 0 2.25rem;
}
.page-hero h1 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
}
.page-hero p { max-width: 42ch; color: #d5e4db; }
.page-hero .hero-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin-top: 1.35rem;
}
.page-hero .hero-tools .btn {
  padding: 0.5rem 0.9rem;
  font-size: 0.88rem;
}

/* Facilities — photo hero + jump nav + certs */
.facility-hero {
  position: relative;
  min-height: min(58vh, 520px);
  display: flex;
  align-items: flex-end;
  background: var(--forest-deep) center / cover no-repeat;
  background-image: var(--hero-img);
  color: #fff;
  padding: 3.5rem 0 2.5rem;
}
.facility-hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 34, 20, 0.25) 0%,
    rgba(0, 34, 20, 0.55) 45%,
    rgba(0, 28, 16, 0.88) 100%
  );
  pointer-events: none;
}
.facility-hero-copy {
  position: relative;
  z-index: 1;
  padding-bottom: 0.25rem;
}
.facility-hero .eyebrow {
  margin: 0 0 0.45rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #c8e0d2;
}
.facility-hero h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.9rem, 4vw, 2.65rem);
  letter-spacing: -0.02em;
  max-width: 18ch;
}
.facility-hero p {
  margin: 0;
  max-width: 42ch;
  color: #d7e6dd;
  font-size: 1.05rem;
}

.facility-jump {
  position: sticky;
  top: var(--chrome-h);
  z-index: 40;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.facility-jump .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 0.15rem;
  padding: 0.55rem 0;
  overflow-x: auto;
}
.facility-jump a {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--muted);
  padding: 0.4rem 0.75rem;
  border-radius: 3px;
  white-space: nowrap;
}
.facility-jump a:hover {
  color: var(--forest);
  background: var(--paper);
}

/* Stats — single band, hairline dividers, number / unit / label */
.stat-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0 0 2rem;
  border-block: 1px solid var(--line);
  background: var(--white);
}
.stat-bar.cols-3 { grid-template-columns: repeat(3, 1fr); }
.stat-bar.cols-2 { grid-template-columns: repeat(2, 1fr); }
.stat-bar li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  padding: 1.35rem 1.25rem 1.4rem;
  border-inline-end: 1px solid var(--line);
  min-width: 0;
}
.stat-bar li:last-child { border-inline-end: none; }
.stat-value {
  font-size: clamp(1.85rem, 3.2vw, 2.35rem);
  font-weight: 800;
  color: var(--forest);
  letter-spacing: -0.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat-unit {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange);
  margin-top: 0.35rem;
}
.stat-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.3;
  margin-top: 0.1rem;
}

.fleet-pair {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 52rem;
}
.fleet-pair figure {
  margin: 0;
  border: 1px solid var(--line);
  background: #f4f4f4;
  overflow: hidden;
}
.fleet-pair img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: center;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.cert-card {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.cert-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 8;
  object-fit: contain;
  object-position: top center;
  background: #fafafa;
  padding: 0.65rem 0.65rem 0;
}
.cert-card figcaption {
  padding: 0.85rem 0.9rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  border-top: 1px solid var(--line);
}
.cert-card strong {
  color: var(--forest);
  font-size: 0.95rem;
}
.cert-card span {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.35;
}
.cert-note {
  margin-top: 1.25rem;
  max-width: 52ch;
}
.note {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.45;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 2rem;
}
.contact-block h3 { margin: 0 0 0.75rem; color: var(--forest); }
.contact-block p { margin: 0.35rem 0; color: var(--muted); }
form { display: grid; gap: 0.75rem; }
label { font-size: 0.85rem; font-weight: 700; color: var(--forest); }
input, textarea, select {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  font: inherit;
  background: #fff;
}
textarea { min-height: 120px; resize: vertical; }
.honeypot { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.form-status {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
}
.form-status[data-state="ok"] { color: var(--forest); }
.form-status[data-state="err"] { color: var(--fresco); }
.form-status[data-state="pending"] { color: var(--muted); }
button[disabled] { opacity: 0.6; cursor: not-allowed; }

/* Footer — language lives here */
.site-footer {
  background: var(--forest-deep);
  color: #b8c9bf;
  padding: 2.5rem 0 1.25rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.75rem;
}
.site-footer h4 { margin: 0 0 0.65rem; color: #fff; font-size: 0.88rem; }
.site-footer ul { display: grid; gap: 0.3rem; }
.site-footer a:hover { color: #fff; }
.legal {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 1rem;
  font-size: 0.82rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
}
.lang-switch a {
  font-weight: 700;
  margin-inline-start: 0.5rem;
}

.brand-folds {
  display: grid;
  gap: 0.65rem;
}
.brand-fold {
  border: 1px solid var(--line);
  background: var(--white);
}
.brand-fold summary {
  display: grid;
  grid-template-columns: 4.75rem 1fr auto;
  align-items: center;
  gap: 0.9rem 1rem;
  padding: 0.7rem 1rem;
  cursor: pointer;
  list-style: none;
}
.brand-fold summary::-webkit-details-marker { display: none; }
.brand-fold summary::marker { content: ""; }
.brand-fold summary img {
  width: 4.75rem;
  height: 3.4rem;
  object-fit: contain;
}
.brand-fold summary strong {
  display: block;
  color: var(--forest);
  font-size: 1.12rem;
  line-height: 1.2;
}
.brand-fold summary em {
  display: block;
  margin-top: 0.15rem;
  font-style: normal;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--muted);
}
.brand-fold summary::after {
  content: "";
  width: 0.42rem;
  height: 0.42rem;
  border-inline-end: 2px solid var(--forest);
  border-bottom: 2px solid var(--forest);
  transform: rotate(45deg);
  transition: transform 0.15s ease;
}
.brand-fold[open] summary::after {
  transform: rotate(225deg);
  margin-block-start: 0.3rem;
}
.brand-fold-body {
  padding: 0.95rem 1rem 1.15rem;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 1rem;
}
.brand-fold-body > p {
  color: var(--muted);
  max-width: 54ch;
}
.brand-fold .product-mosaic { margin: 0; }
.brand-fold .btn-row { align-items: center; }

@media (max-width: 900px) {
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-bar,
  .stat-bar.cols-3,
  .stat-bar.cols-2 { grid-template-columns: repeat(2, 1fr); }
  .stat-bar li:nth-child(2n) { border-inline-end: none; }
  .stat-bar li:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 800px) {
  :root {
    --header-h: 64px;
    --topbar-h: 40px;
    --hero-stage: min(56svh, 440px);
  }
  .brand-logos,
  .product-mosaic,
  .contact-grid,
  .footer-grid,
  .locations,
  .fleet-pair,
  .brochure-grid { grid-template-columns: 1fr; }
  .split,
  .split.reverse { grid-template-columns: 1fr; }
  .split.reverse .split-copy { order: 0; }
  .topbar {
    padding-top: env(safe-area-inset-top);
  }
  .topbar .wrap > a:first-child {
    max-width: 46vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .facility-hero { min-height: 42vh; }
  .cert-grid { grid-template-columns: 1fr 1fr; }
  .logo-track .brand-logo,
  .logo-track .client-logo { flex-basis: 160px; }
  .carousel-btn { width: 2rem; height: 2rem; }
  input, textarea, select { font-size: 16px; }

  .nav-toggle { display: grid; }
  .site-header > .wrap {
    min-height: var(--header-h);
    padding-block: 0.2rem;
  }
  .brand img {
    height: 48px;
    max-height: 48px;
  }
  .nav {
    display: none;
    position: fixed;
    inset: var(--chrome-h) 0 0;
    max-width: none;
    overflow: auto;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    min-height: calc(100dvh - var(--chrome-h));
    padding: 0.35rem 1.15rem calc(1.35rem + env(safe-area-inset-bottom));
    background: #fff;
    z-index: 60;
    font-size: 1.08rem;
    box-shadow: inset 0 1px 0 var(--line);
    -webkit-overflow-scrolling: touch;
  }
  .site-header.is-nav-open .nav { display: flex; }
  body[dir="rtl"] .nav { direction: rtl; }
  .nav a {
    display: flex;
    align-items: center;
    min-height: 3rem;
    padding: 0.55rem 0;
    border-bottom: 1px solid var(--line);
  }
  .nav a[aria-current="page"] {
    border-bottom-color: var(--line);
    box-shadow: inset 0 -2px 0 var(--orange);
  }
  .nav .dl,
  .nav .cta {
    justify-content: center;
    margin-top: 0.65rem;
    padding: 0.85rem 1rem;
    border-bottom: none !important;
    box-shadow: none;
    min-height: 3rem;
  }
  .nav .cta { margin-top: 0.5rem; }
  .nav .lang {
    display: flex;
    justify-content: center;
    margin: 1.1rem 0 0;
    padding: 0.85rem 0 0;
    border: 0;
    border-top: 1px solid var(--line);
    font-size: 1rem;
  }
  .nav .lang a {
    min-height: 2.75rem;
    padding: 0.4rem 0.7rem;
    border-bottom: none;
    box-shadow: none;
  }

  .hero {
    min-height: 0;
    overflow: visible;
    --hero-stage: min(56svh, 440px);
  }
  .hero-media {
    position: relative;
    height: var(--hero-stage);
    min-height: 280px;
  }
  .hero-media::after,
  body[dir="rtl"] .hero-media::after {
    background: linear-gradient(180deg, rgba(0, 34, 20, 0.18) 0%, rgba(0, 45, 28, 0.45) 42%, rgba(0, 28, 16, 0.94) 100%);
  }
  .hero .wrap {
    display: grid;
    grid-template-rows: var(--hero-stage) auto;
    margin-top: calc(-1 * var(--hero-stage));
    padding: 0 0 1rem;
  }
  .hero-copy {
    grid-row: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.1rem 0 1.25rem;
  }
  .hero .lead { max-width: 20ch; font-size: 1.28rem; }
  .hero .sub { margin-bottom: 1rem; }
  .hero-resources {
    grid-row: 2;
    max-width: none;
    margin-top: 0.75rem;
    flex-wrap: nowrap;
  }
  .hero-pdf {
    min-width: 0;
    max-width: none;
    flex: 1 1 0;
    border: 1px solid var(--line);
  }
  .facility-jump .wrap {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .facility-jump .wrap::-webkit-scrollbar { display: none; }
  .brand-fold summary { min-height: 4.25rem; }
}

@media (max-width: 480px) {
  .hero { --hero-stage: min(62svh, 420px); }
  .hero .lead { font-size: 1.18rem; max-width: 18ch; }
  .hero-actions .btn { flex: 1 1 auto; }
  .stat-bar li { padding: 1rem 0.85rem 1.05rem; }
  .location { min-height: 0; padding: 1.25rem 1.1rem; }
}
