/* =========================================================================
   Flora & Fauna Trading L.L.C — site layout
   Built on the Flora & Fauna Trading Design System (colors_and_type.css)
   ========================================================================= */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg-page); color: var(--fg-primary); }
img { max-width: 100%; display: block; }

/* Lenis smooth-scroll (inertia) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-smooth iframe { pointer-events: none; }

.shell { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 800px) { .shell { padding: 0 16px; } }

/* ---------------- Scroll reveal ---------------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(8px); transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); }
  .reveal.in { opacity: 1; transform: none; }
}

/* ---------------- Top nav ---------------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding: 14px 0;
  background: rgba(251, 248, 240, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: padding var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
}
.nav.scrolled { padding: 8px 0; border-color: var(--cream-200); }
.nav-inner { display: flex; align-items: center; gap: 32px; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 44px; width: auto; transition: height var(--dur-base) var(--ease-out); }
.nav.scrolled .brand img { height: 36px; }
.nav .links { display: flex; gap: 4px; flex: 1; justify-content: center; }
.nav .links a { font-family: var(--font-body); font-size: 14px; font-weight: 500; color: var(--stone-700); text-decoration: none; padding: 8px 14px; border-radius: var(--r-pill); transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out); white-space: nowrap; }
.nav .links a:hover { background: var(--olive-100); color: var(--olive-800); }
.nav .links a.active { background: var(--olive-100); color: var(--olive-800); font-weight: 600; }
.nav .cta { margin-left: auto; }
.nav-burger { display: none; margin-left: auto; background: transparent; border: 0; cursor: pointer; color: var(--olive-800); padding: 8px; border-radius: var(--r-md); }
.nav-burger:hover { background: var(--olive-100); }
.nav-mobile { display: none; }

@media (max-width: 960px) {
  .nav .links, .nav .cta { display: none; }
  .nav-burger { display: inline-flex; }
  .nav-mobile.open {
    display: flex; flex-direction: column; gap: 2px;
    position: fixed; top: 68px; left: 16px; right: 16px; z-index: 49;
    background: var(--bg-surface); border: 1px solid var(--cream-200); border-radius: var(--r-lg);
    box-shadow: var(--shadow-lg); padding: 10px;
  }
  .nav-mobile a { font-size: 16px; font-weight: 500; color: var(--fg-primary); text-decoration: none; padding: 12px 14px; border-radius: var(--r-md); }
  .nav-mobile a:hover { background: var(--olive-100); color: var(--olive-800); }
}

/* ---------------- Buttons ---------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--font-body); font-weight: 600; font-size: 14px; padding: 12px 22px; border-radius: var(--r-pill); border: 1px solid transparent; cursor: pointer; line-height: 1; text-decoration: none; transition: all var(--dur-fast) var(--ease-out); }
.btn:active { transform: scale(0.98); }
.btn:focus-visible { outline: 2px solid var(--olive-700); outline-offset: 2px; }
.btn-primary { background: var(--olive-600); color: #ffffff; box-shadow: var(--shadow-sm), var(--shadow-inset); }
.btn-primary:hover { background: var(--olive-500); transform: translateY(-1px); box-shadow: var(--shadow-md), var(--shadow-inset); }
.btn-ghost-dark { background: rgba(251, 248, 240, 0.85); color: var(--olive-800); border-color: rgba(96, 127, 51, 0.25); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-ghost-dark:hover { background: #ffffff; }
.btn-ghost { background: var(--bg-surface); color: var(--olive-800); border-color: var(--sand-300); }
.btn-ghost:hover { background: var(--cream-100); border-color: var(--olive-700); }
.btn-lg { padding: 15px 28px; font-size: 15px; }
.btn-whatsapp { background: var(--olive-600); color: #ffffff; box-shadow: var(--shadow-sm), var(--shadow-inset); }
.btn-whatsapp:hover { background: var(--olive-500); }

/* ---------------- Section scaffolding ---------------- */
.section { padding: var(--sp-24) 0; }
html[data-density="compact"] .section { padding: var(--sp-16) 0; }
.band { background: var(--bg-elevated); }
.section-eyebrow { font-family: var(--font-body); font-weight: 600; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--olive-700); }
.section-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(32px, 4vw, 48px); line-height: 1.1; letter-spacing: -0.02em; color: var(--olive-900); margin: 12px 0 0; max-width: 700px; text-wrap: balance; }
.section-lead { font-family: var(--font-body); font-size: 18px; line-height: 1.55; color: var(--stone-700); max-width: 620px; margin: 16px 0 0; }
.section-head { margin-bottom: var(--sp-12); }
html[data-density="compact"] .section-head { margin-bottom: var(--sp-8); }
.on-dark .section-eyebrow { color: var(--olive-300); }
.on-dark .section-title { color: var(--cream-50); }
.on-dark .section-lead { color: var(--olive-200); }

/* ---------------- Hero (sticky scroll stage) ---------------- */
.hero-scroll { position: relative; height: 220vh; }
.hero { position: sticky; top: 0; height: 100svh; min-height: 0; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
@media (prefers-reduced-motion: reduce) {
  .hero-scroll { height: auto; }
  .hero { position: relative; height: auto; min-height: 100svh; }
}
.hero-fallback {
  position: absolute; inset: 0;
  background:
    radial-gradient(at 70% 20%, rgba(217, 180, 138, 0.45), transparent 60%),
    radial-gradient(at 30% 80%, rgba(96, 127, 51, 0.35), transparent 60%),
    linear-gradient(135deg, #3a2614 0%, #6b3e1d 40%, #2c3a17 100%);
}
.hero-fallback::after {
  content: ""; position: absolute; inset: 0; opacity: 0.12; mix-blend-mode: overlay;
  background-image: radial-gradient(rgba(255, 255, 255, 0.6) 1px, transparent 1px);
  background-size: 3px 3px;
}
.hero-frames { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; }
.hero-protect { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(31, 29, 23, var(--tw-overlay, 0.15)) 0%, rgba(31, 29, 23, 0.55) 60%, rgba(31, 29, 23, 0.85) 100%); }
/* Spotlight: dark stage with a soft warm pool of light on the board */
.hero-spotlight { position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 30% 22% at 62% 64%, rgba(255, 244, 220, 0.10), transparent 100%),
    radial-gradient(ellipse 58% 52% at 62% 62%, transparent 0%, transparent 38%, rgba(20, 18, 12, var(--tw-spot, 0.55)) 100%);
}
@media (max-width: 700px) {
  .hero-spotlight {
    background:
      radial-gradient(ellipse 42% 22% at 50% 64%, rgba(255, 244, 220, 0.10), transparent 100%),
      radial-gradient(ellipse 80% 52% at 50% 62%, transparent 0%, transparent 38%, rgba(20, 18, 12, var(--tw-spot, 0.55)) 100%);
  }
}
.hero-content { position: relative; z-index: 2; padding-top: 150px; color: var(--cream-50); }
.hero .eyebrow-hero { font-family: var(--font-body); font-weight: 600; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--olive-300); }
.hero h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(44px, 7vw, 88px); line-height: 1.02; letter-spacing: -0.03em; color: var(--cream-50); margin: 18px 0 0; max-width: 16ch; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--olive-300); }
.hero .lead { font-family: var(--font-body); font-size: clamp(16px, 1.6vw, 20px); line-height: 1.5; color: var(--cream-100); max-width: 56ch; margin: 22px 0 0; opacity: 0.92; }
.hero .cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 32px 0 0; }
.hero-seal { display: inline-flex; align-items: center; gap: 10px; margin: 36px 0 var(--sp-16); padding: 10px 16px; background: rgba(251, 248, 240, 0.1); border: 1px solid rgba(251, 248, 240, 0.22); border-radius: var(--r-pill); font: 500 13px/1 var(--font-body); color: var(--cream-100); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.hero-seal svg { width: 16px; height: 16px; color: var(--olive-300); }

/* Short viewports: tighten the bottom-anchored stack so the headline never clips */
@media (max-height: 700px) {
  .hero-content { padding-top: 84px; }
  .hero h1 { font-size: clamp(32px, 5.5vw, 56px); margin-top: 12px; }
  .hero .lead { margin-top: 12px; }
  .hero .cta-row { margin-top: 18px; }
  .hero-seal { margin: 18px 0 var(--sp-8); padding: 8px 14px; }
  .stat-cell { padding: 14px 24px; }
  .stat-cell .n { font-size: 24px; }
  .stat-cell .l { margin-top: 6px; }
}

/* Stats band at hero foot */
.stats-band { position: relative; z-index: 2; border-top: 1px solid rgba(251, 248, 240, 0.18); background: rgba(31, 29, 23, 0.45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-cell { padding: 26px 32px; border-right: 1px solid rgba(251, 248, 240, 0.18); }
.stat-cell:last-child { border-right: 0; }
.stat-cell .n { font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 3vw, 42px); line-height: 1; letter-spacing: -0.02em; color: var(--cream-50); }
.stat-cell .l { font-family: var(--font-body); font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--olive-300); margin-top: 10px; }
@media (max-width: 900px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-cell { padding: 18px 20px; }
  .stat-cell:nth-child(2n) { border-right: 0; }
  .stat-cell:nth-child(-n+2) { border-bottom: 1px solid rgba(251, 248, 240, 0.18); }
}

/* ---------------- About ---------------- */
.about-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: var(--sp-16); align-items: start; }
.about-copy p { font-family: var(--font-body); font-size: 17px; line-height: 1.65; color: var(--stone-700); margin: 0 0 var(--sp-5); }
.about-copy .leadership { font-size: 14px; color: var(--fg-muted); border-top: 1px solid var(--cream-200); padding-top: var(--sp-4); margin-top: var(--sp-6); }
.about-aside { background: var(--bg-surface); border: 1px solid var(--cream-200); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); padding: var(--sp-6); display: flex; flex-direction: column; }
.about-aside .fact { padding: 14px 0; border-bottom: 1px solid var(--cream-200); }
.about-aside .fact:first-child { padding-top: 0; }
.about-aside .fact:last-child { border-bottom: 0; padding-bottom: 0; }
.about-aside .fact .k { font: 600 11px/1 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--olive-700); }
.about-aside .fact .v { font-family: var(--font-display); font-weight: 600; font-size: 20px; color: var(--olive-900); margin-top: 6px; line-height: 1.25; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }

/* ---------------- Intro video ---------------- */
.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--cream-200); box-shadow: var(--shadow-lg); background: var(--ink-900); }
.video-frame video { width: 100%; height: 100%; display: block; object-fit: cover; }
.video-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 84px; height: 84px; border-radius: 50%; border: 0; cursor: pointer; background: var(--olive-600); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-lg), 0 0 0 0 rgba(96, 127, 51, 0.4); transition: background var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out), opacity var(--dur-base) var(--ease-out); }
.video-frame::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(31, 29, 23, 0.1), rgba(31, 29, 23, 0.35)); opacity: 1; transition: opacity var(--dur-base) var(--ease-out); pointer-events: none; }
.video-play svg { width: 30px; height: 30px; margin-left: 4px; }
.video-play:hover { background: var(--olive-500); transform: translate(-50%, -50%) scale(1.05); }
.video-frame.playing .video-play { opacity: 0; pointer-events: none; }
.video-frame.playing::before { opacity: 0; }
@media (max-width: 640px) { .video-play { width: 64px; height: 64px; } .video-play svg { width: 24px; height: 24px; } }

/* ---------------- Why choose us ---------------- */
.pillars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-6); }
.pillar { background: var(--bg-surface); border: 1px solid var(--cream-200); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); padding: var(--sp-6); transition: box-shadow var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out); }
.pillar:hover { box-shadow: var(--shadow-md); transform: translateY(-1px); }
.pillar .ic { width: 32px; height: 32px; color: var(--olive-700); margin-bottom: 18px; }
.pillar h3 { font-family: var(--font-display); font-weight: 700; font-size: 22px; line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 8px; color: var(--olive-900); }
.pillar p { font-family: var(--font-body); font-size: 15px; line-height: 1.55; color: var(--stone-700); margin: 0; }
@media (max-width: 1000px) { .pillars-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .pillars-grid { grid-template-columns: 1fr; } }

/* ---------------- Mission & vision (stacking cards) ---------------- */
.stack { display: flex; flex-direction: column; }
.stack-card {
  position: sticky; top: 120px;
  background: var(--bg-surface); border: 1px solid var(--cream-200); border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  padding: var(--sp-10) var(--sp-12) var(--sp-12);
  min-height: 360px;
  display: flex; flex-direction: column; justify-content: space-between; gap: var(--sp-10);
  transform: scale(calc(1 - 0.05 * var(--p, 0)));
  transform-origin: top center;
  overflow: hidden;
}
.stack-card + .stack-card { margin-top: 45vh; }
.stack-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: rgba(31, 29, 23, 0.5); opacity: calc(var(--p, 0) * 0.6); pointer-events: none; }
.sc-row { display: flex; align-items: baseline; justify-content: space-between; gap: var(--sp-4); }
.sc-eyebrow { font: 600 12px/1 var(--font-body); letter-spacing: 0.18em; text-transform: uppercase; color: var(--olive-700); }
.sc-num { font-family: var(--font-mono); font-size: 13px; color: var(--stone-500); }
.sc-statement { font-family: var(--font-display); font-weight: 700; font-size: clamp(26px, 3.2vw, 40px); line-height: 1.22; letter-spacing: -0.02em; color: var(--olive-900); margin: 0; max-width: 26ch; text-wrap: pretty; }
.sc-dark { background: var(--bg-inverse); border-color: var(--olive-700); }
.sc-dark .sc-eyebrow { color: var(--olive-300); }
.sc-dark .sc-num { color: var(--olive-300); }
.sc-dark .sc-statement { color: var(--cream-50); }
@media (max-width: 700px) {
  .stack-card { padding: var(--sp-6); min-height: 300px; top: 96px; }
}
@media (prefers-reduced-motion: reduce) {
  .stack-card { position: relative; top: 0; transform: none; }
  .stack-card + .stack-card { margin-top: var(--sp-6); }
  .stack-card::after { display: none; }
}

/* ---------------- Products (pinned horizontal scroll) ---------------- */
.range-scroll { position: relative; height: 320vh; /* refined by JS */ }
.range-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: var(--sp-10); padding-top: 72px; }
.range-head .section-lead { margin-top: 12px; }
.range-track { display: flex; align-items: stretch; gap: var(--sp-6); padding-left: max(24px, calc((100vw - 1240px) / 2 + 24px)); padding-right: 24px; will-change: transform; }
.range-card {
  flex: 0 0 80vw;
  display: grid; grid-template-columns: 1fr 1.15fr;
  background: var(--bg-surface); border: 1px solid var(--cream-200); border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  height: min(540px, 58svh);
}
.range-card .body { padding: var(--sp-8); display: flex; flex-direction: column; justify-content: space-between; gap: var(--sp-6); min-width: 0; }
.range-num { font-family: var(--font-mono); font-size: 13px; color: var(--stone-500); }
.range-card .name { font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 3vw, 40px); line-height: 1.1; letter-spacing: -0.02em; color: var(--olive-900); margin: 14px 0 12px; }
.range-card .desc { font-family: var(--font-body); font-size: 16px; line-height: 1.6; color: var(--stone-700); margin: 0; max-width: 44ch; }
.range-card .origins { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; border-top: 1px solid var(--cream-200); padding-top: 16px; }
.range-card .origins .ok { font: 600 11px/1 var(--font-body); letter-spacing: 0.12em; text-transform: uppercase; color: var(--stone-500); margin-right: 2px; }
.range-card .thumb { position: relative; background: var(--cream-100); min-height: 0; overflow: hidden; }
.range-card .thumb image-slot, .range-card .thumb img { width: 100%; height: 100%; display: block; object-fit: cover; }
.chip { font: 500 13px/1 var(--font-body); padding: 7px 14px; border-radius: var(--r-pill); background: var(--cream-100); border: 1px solid var(--cream-200); color: var(--stone-700); }
@media (max-width: 800px) {
  .range-stage { gap: var(--sp-6); }
  .range-card { flex-basis: 84vw; grid-template-columns: 1fr; grid-template-rows: 42% 1fr; height: min(640px, 66svh); }
  .range-card .thumb { order: -1; }
  .range-card .body { padding: var(--sp-5) var(--sp-6) var(--sp-6); }
}
@media (prefers-reduced-motion: reduce) {
  .range-scroll { height: auto; }
  .range-stage { position: static; height: auto; padding: var(--sp-20) 0; }
  .range-track { overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: var(--sp-4); }
  .range-card { scroll-snap-align: center; }
}

/* ---------------- Sourcing & quality (dark) ---------------- */
.dark-section { background: var(--bg-inverse); color: var(--cream-50); }

/* Contours shader background (Sourcing & quality) */
#quality { position: relative; overflow: hidden; }
#quality .shell { position: relative; z-index: 1; }
.quality-shader { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; z-index: 0; opacity: 0.6; }
@media (prefers-reduced-motion: reduce) { .quality-shader { opacity: 0.4; } }

/* Animated journey timeline (scroll-drawn) */
.journey { position: relative; margin-top: var(--sp-4); }
.journey-rail { position: absolute; left: 27px; top: 22px; bottom: 22px; width: 2px; background: rgba(251, 248, 240, 0.14); border-radius: 2px; }
.journey-fill { position: absolute; left: 0; top: 0; width: 100%; height: 100%; border-radius: 2px; background: linear-gradient(180deg, var(--olive-300), var(--olive-600)); transform: scaleY(var(--p, 0)); transform-origin: top center; }
.journey-head { position: absolute; left: 50%; top: 0; transform: translate(-50%, -50%); width: 36px; height: 36px; border-radius: 50%; background: var(--olive-600); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 6px rgba(96, 127, 51, 0.18), var(--shadow-md); opacity: 0; transition: opacity var(--dur-base) var(--ease-out); }
.journey.started .journey-head { opacity: 1; }
.journey-head svg { width: 18px; height: 18px; }

.journey-stops { list-style: none; margin: 0; padding: 0; }
.stop { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 0 24px; align-items: start; padding: 22px 0; }
.stop .dot { width: 16px; height: 16px; border-radius: 50%; margin: 4px auto 0; background: var(--bg-inverse); border: 2px solid rgba(251, 248, 240, 0.3); position: relative; z-index: 2; transition: background var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out); }
.stop.active .dot { background: var(--olive-400); border-color: var(--olive-200); box-shadow: 0 0 0 5px rgba(123, 150, 72, 0.22); transform: scale(1.08); }
.stop-body { opacity: 0.32; transform: translateY(8px); transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); }
.stop.active .stop-body { opacity: 1; transform: none; }
.stop-num { display: block; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; color: var(--olive-300); }
.stop-body h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, 2.4vw, 28px); letter-spacing: -0.01em; color: var(--cream-50); line-height: 1.2; margin: 8px 0 8px; }
.stop-body p { font-family: var(--font-body); font-size: 15px; line-height: 1.6; color: var(--olive-200); margin: 0; max-width: 60ch; }
@media (max-width: 700px) {
  .journey-rail { left: 19px; }
  .stop { grid-template-columns: 40px 1fr; gap: 0 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .journey-fill { transform: scaleY(1); }
  .journey-head { opacity: 1; top: 100%; }
  .stop .dot { background: var(--olive-400); border-color: var(--olive-200); }
  .stop-body { opacity: 1; transform: none; }
}

/* ---------------- Infrastructure ---------------- */
.infra-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-6); }
.infra-card { background: var(--bg-surface); border: 1px solid var(--cream-200); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out); }
.infra-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.infra-card .thumb { position: relative; aspect-ratio: 16 / 8; background: var(--cream-100); overflow: hidden; }
.infra-card .thumb image-slot { width: 100%; height: 100%; display: block; }
/* Scroll image-reveal: an olive wipe retracts and the photo settles from a slight zoom */
.infra-card .thumb image-slot, .infra-card .thumb img { transition: transform var(--dur-slow) var(--ease-out); }
.infra-card .thumb::after { content: ""; position: absolute; inset: 0; background: var(--olive-700); transform: scaleX(0); transform-origin: right center; z-index: 1; pointer-events: none; }
@media (prefers-reduced-motion: no-preference) {
  .infra-card .thumb::after { transform: scaleX(1); transition: transform 0.62s var(--ease-out); }
  .infra-card .thumb image-slot, .infra-card .thumb img { transform: scale(1.06); }
  .infra-card.in .thumb::after { transform: scaleX(0); transform-origin: left center; }
  .infra-card.in .thumb image-slot, .infra-card.in .thumb img { transform: scale(1); }
}
.infra-card .body { padding: var(--sp-6) var(--sp-8) var(--sp-8); flex: 1; }
.infra-card .tag { font: 600 11px/1 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--olive-700); }
.infra-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 26px; line-height: 1.15; letter-spacing: -0.015em; color: var(--olive-900); margin: 10px 0 12px; }
.infra-card p { font-family: var(--font-body); font-size: 15px; line-height: 1.6; color: var(--stone-700); margin: 0 0 var(--sp-5); }
.infra-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-4); border-top: 1px solid var(--cream-200); padding-top: var(--sp-5); }
.istat .v { font-family: var(--font-display); font-weight: 700; font-size: 26px; line-height: 1; letter-spacing: -0.02em; color: var(--olive-700); }
.istat .v .of { display: none; }
.istat .k { font: 600 11px/1.35 var(--font-body); letter-spacing: 0.02em; color: var(--stone-500); margin-top: 9px; }
.infra-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--sp-5); }
.ichip { display: inline-flex; align-items: center; gap: 7px; font: 500 13px/1 var(--font-body); color: var(--olive-800); background: var(--olive-100); border: 1px solid var(--olive-200); border-radius: var(--r-pill); padding: 7px 13px; }
.ichip svg { width: 15px; height: 15px; color: var(--olive-600); }
@media (max-width: 480px) { .infra-stats { grid-template-columns: 1fr 1fr; } }
.infra-fleet { grid-column: span 2; background: var(--olive-100); border: 1px solid var(--olive-300); border-radius: var(--r-lg); padding: var(--sp-8); display: grid; grid-template-columns: auto 1fr auto; gap: var(--sp-8); align-items: center; }
.infra-fleet .ic { width: 40px; height: 40px; color: var(--olive-700); }
.infra-fleet h3 { font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: -0.01em; margin: 0 0 6px; color: var(--olive-900); }
.infra-fleet p { font-family: var(--font-body); font-size: 15px; line-height: 1.6; color: var(--stone-700); margin: 0; max-width: 60ch; }
.fleet-reach { display: flex; align-items: center; gap: var(--sp-5); }
.fleet-count { font-family: var(--font-display); font-weight: 700; font-size: 56px; line-height: 0.9; letter-spacing: -0.03em; color: var(--olive-600); display: flex; align-items: baseline; gap: 4px; }
.fleet-count .of { font-size: 18px; color: var(--olive-400); font-weight: 600; }
.infra-fleet .emirates { font-family: var(--font-mono); font-size: 13px; color: var(--olive-700); text-align: right; line-height: 1.9; }
@media (max-width: 900px) {
  .infra-grid { grid-template-columns: 1fr; }
  .infra-fleet { grid-column: span 1; grid-template-columns: 1fr; gap: var(--sp-4); }
  .fleet-reach { gap: var(--sp-4); }
  .infra-fleet .emirates { text-align: left; }
}

/* ---------------- Who we serve ---------------- */
.serve { background: var(--bg-elevated); padding: var(--sp-16) 0; }
.serve .label { text-align: center; font: 600 11px/1 var(--font-body); letter-spacing: 0.18em; text-transform: uppercase; color: var(--stone-500); margin-bottom: var(--sp-8); }
.serve-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: var(--sp-4) var(--sp-10); }
.serve-row .who { font-family: var(--font-display); font-weight: 700; font-size: clamp(20px, 2.4vw, 28px); letter-spacing: -0.015em; color: var(--olive-700); white-space: nowrap; }
.serve-row .sep { width: 5px; height: 5px; border-radius: 50%; background: var(--sand-300); align-self: center; }

/* ---------------- Team ---------------- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-6); }
.team-card { background: var(--bg-surface); border: 1px solid var(--cream-200); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); padding: var(--sp-8); display: flex; flex-direction: column; gap: var(--sp-4); transition: box-shadow var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out); }
.team-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.team-card .t-photo { width: 104px; height: 104px; border-radius: 50%; overflow: hidden; background: var(--cream-100); box-shadow: var(--shadow-sm), 0 0 0 1px var(--cream-200); }
.team-card .t-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.team-card .t-meta h3 { font-family: var(--font-display); font-weight: 700; font-size: 22px; line-height: 1.2; letter-spacing: -0.01em; color: var(--olive-900); margin: 0; }
.team-card .role { display: block; font: 600 12px/1.3 var(--font-body); letter-spacing: 0.1em; text-transform: uppercase; color: var(--olive-700); margin-top: 6px; }
.team-card .bio { font-family: var(--font-body); font-size: 14.5px; line-height: 1.62; color: var(--stone-700); margin: 0; }
@media (max-width: 1000px) { .team-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .team-grid { grid-template-columns: 1fr; } }

/* ---------------- Contact ---------------- */
.contact-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: var(--sp-12); align-items: start; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); background: var(--bg-surface); border: 1px solid var(--cream-200); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); padding: var(--sp-8); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: span 2; }
.field label { font: 600 12px/1.3 var(--font-body); color: var(--olive-800); }
.field input, .field select, .field textarea {
  font: 400 14px/1.4 var(--font-body); color: var(--ink-900);
  background: var(--cream-50); border: 1px solid var(--sand-300); border-radius: var(--r-md);
  padding: 11px 12px; transition: border-color var(--dur-fast), box-shadow var(--dur-fast), background var(--dur-fast);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--olive-700); box-shadow: 0 0 0 3px rgba(96, 127, 51, 0.18); background: #ffffff; }
.form .submit-row { grid-column: span 2; display: flex; align-items: center; gap: var(--sp-4); margin-top: var(--sp-2); }
.form .note { font: 500 13px/1.4 var(--font-body); color: var(--stone-500); }
.form-success { grid-column: span 2; display: none; align-items: center; gap: 10px; background: var(--olive-100); border: 1px solid var(--olive-300); border-radius: var(--r-lg); padding: 16px 18px; font: 400 14px/1.5 var(--font-body); color: var(--olive-900); }
.form-success.show { display: flex; }
.form-success svg { color: var(--olive-700); flex: none; }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } .field.full, .form .submit-row, .form-success { grid-column: span 1; } }

/* Microsoft Forms embed */
.form-embed { background: #ffffff; border: 1px solid var(--cream-200); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); overflow: hidden; height: 820px; }
.form-embed iframe { width: 100%; height: 100%; display: block; border: 0; }
@media (max-width: 640px) { .form-embed { height: 780px; } }

.contact-aside { display: flex; flex-direction: column; gap: var(--sp-6); }
.contact-block { border-top: 1px solid var(--cream-200); padding-top: var(--sp-4); }
.contact-block .k { font: 600 11px/1 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--olive-700); margin-bottom: 8px; }
.contact-block .v { font-family: var(--font-body); font-size: 16px; line-height: 1.6; color: var(--fg-primary); }
.contact-block .v a { color: var(--olive-700); text-decoration: none; border-bottom: 1px solid var(--olive-300); transition: color var(--dur-fast) var(--ease-out); }
.contact-block .v a:hover { color: var(--olive-800); }
.contact-block .v a.btn { border-bottom: 0; color: #ffffff; }
.contact-block .sub-k { font: 600 11px/1.2 var(--font-body); letter-spacing: 0.1em; text-transform: uppercase; color: var(--olive-700); margin-bottom: 3px; }
.contact-block .sub-k.mt { margin-top: 12px; }
.map-embed { aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--cream-200); box-shadow: var(--shadow-sm); }
.map-embed iframe { width: 100%; height: 100%; display: block; }
.body-sm { font-size: 13px; color: var(--fg-muted); }
.map-placeholder {
  aspect-ratio: 16 / 9; border: 1px solid var(--cream-200); border-radius: var(--r-lg);
  background: var(--cream-100); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  color: var(--fg-muted); font: 500 13px/1.4 var(--font-body);
}
.map-placeholder .pin { width: 12px; height: 12px; background: var(--olive-600); border-radius: 50%; box-shadow: 0 0 0 6px rgba(96, 127, 51, 0.2), 0 0 0 12px rgba(96, 127, 51, 0.08); }

/* ---------------- Footer ---------------- */
.footer { background: var(--bg-inverse); color: var(--cream-100); padding: var(--sp-16) 0 var(--sp-6); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--sp-12); padding-bottom: var(--sp-12); border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.footer .brand-block .mark { width: 56px; height: 56px; filter: brightness(0) invert(1) sepia(0.3) saturate(2) hue-rotate(40deg) brightness(1.4); margin-bottom: 14px; }
.footer .brand-block .name { font: 700 18px/1.2 var(--font-display); color: #ffffff; }
.footer .brand-block .ar { font: 500 16px/1.4 var(--font-arabic); color: var(--olive-300); direction: rtl; text-align: left; margin-top: 4px; }
.footer .brand-block .tag { font: 400 14px/1.6 var(--font-body); color: var(--olive-300); margin: 12px 0 0; max-width: 300px; }
.footer h6 { font: 600 12px/1 var(--font-body); color: var(--olive-300); letter-spacing: 0.16em; text-transform: uppercase; margin: 0 0 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer ul a { font: 400 14px/1.4 var(--font-body); color: var(--cream-100); text-decoration: none; transition: color var(--dur-fast) var(--ease-out); }
.footer ul a:hover { color: #ffffff; }
.footer ul li { font: 400 14px/1.4 var(--font-body); color: var(--cream-100); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-3); padding-top: var(--sp-5); font: 400 13px/1.4 var(--font-body); color: var(--olive-300); }
.ff-pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--r-pill); font: 600 12px/1 var(--font-body); background: var(--olive-600); color: #ffffff; }
.ff-pill svg { width: 12px; height: 12px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* ---------------- WhatsApp FAB ---------------- */
.wa-fab {
  position: fixed; bottom: 24px; right: 24px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--olive-600); color: #ffffff;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; border: 0;
  box-shadow: var(--shadow-lg), var(--shadow-inset);
  transition: background var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.wa-fab:hover { background: var(--olive-500); transform: translateY(-1px); }
.wa-fab:active { transform: scale(0.98); }
html[data-wa="off"] .wa-fab { display: none; }

/* Lucide sizing default */
svg.lucide { width: 100%; height: 100%; }
