/* =========================================================================
   ECORA Solutions — styles.css  (single stylesheet, DARK theme)
   Organization: fonts → tokens → base → layout → components → utilities → media
   Tokens mirror Brand & Visual Standards/Visual Standards.md — the source of truth.
   No colours/fonts/spacing outside the tokens.
   ========================================================================= */

/* ---- FONTS (self-hosted woff2, latin subset) --------------------------- */
/* Agrandir (commercial, Pangram Pangram) — matches the original site headings.
   Requires a valid webfont licence; carried over from the existing GHL site. */
@font-face {
  font-family: "Agrandir"; src: url("../assets/fonts/agrandir-bold.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Agrandir"; src: url("../assets/fonts/agrandir.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
/* Body copy uses the Helvetica/Arial system stack (brandbook body face is
   Helvetica Now; we use the system Helvetica/Arial to match it licence-free). */

/* ---- TOKENS (dark) ----------------------------------------------------- */
:root {
  /* colour — warm dark theme (brandbook: espresso #2D1E1C, green #8AB234, lime #AACC4A) */
  --color-surface: #1a1210;    /* page background — deep espresso  */
  --color-surface-2: #241917;  /* alt sections, footer             */
  --color-card: #2d1e1c;       /* cards, stats, panels — brand brown */
  --color-line: #3d2c28;       /* warm borders / dividers          */
  --color-ink: #f2ebe6;        /* primary text — warm off-white    */
  --color-ink-muted: #b3a39a;  /* secondary text                   */
  --color-brand: #8ab234;      /* logo green — actions, labels, links, CTAs */
  --color-brand-bright: #a6d14a; /* green hover / emphasis         */
  --color-lime: #aacc4a;       /* lighter green (brand secondary) — numbers & metrics */
  --color-lime-bright: #bcd95e;/* lime hover                       */
  --color-on-brand: #1a1210;   /* dark text on green/gold          */

  /* type */
  --font-display: "Agrandir", system-ui, sans-serif;
  --font-body: "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  --text-sm: .875rem; --text-base: 1rem; --text-lg: 1.25rem;
  --text-xl: 1.5rem; --text-2xl: 2rem; --text-3xl: 2.75rem; --text-4xl: 3.5rem;

  /* spacing (4px base) */
  --space-1: .25rem; --space-2: .5rem; --space-3: .75rem; --space-4: 1rem;
  --space-6: 1.5rem; --space-8: 2rem; --space-12: 3rem; --space-16: 4rem; --space-24: 6rem;

  /* layout */
  --measure: 68ch; --content-max: 1180px; --radius: 10px;
  --shadow-1: 0 1px 2px rgba(0,0,0,.4), 0 2px 10px rgba(0,0,0,.3);
  --shadow-2: 0 12px 40px rgba(0,0,0,.5);

  /* motion */
  --ease: cubic-bezier(.2,0,0,1); --dur: 250ms;
}

/* ---- BASE -------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-ink);
  background: var(--color-surface);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.06; color: #fff; }
h1 { font-size: var(--text-4xl); margin: 0 0 var(--space-4); letter-spacing: -.01em; }
h2 { font-size: var(--text-3xl); margin: 0 0 var(--space-4); letter-spacing: .005em; text-transform: uppercase; }
/* highlight the key word(s) in a section title */
.hl { color: var(--color-brand); }
.section--brand .hl { color: #fff; }
h3 { font-size: var(--text-xl); margin: 0 0 var(--space-2); }
p  { max-width: var(--measure); }
a  { color: var(--color-brand); }
a:hover { color: var(--color-brand-bright); }
img, video { max-width: 100%; height: auto; display: block; }
ul.clean { list-style: none; margin: 0; padding: 0; }

:focus-visible { outline: 3px solid var(--color-brand); outline-offset: 2px; border-radius: 3px; }

.skip-link {
  position: absolute; left: var(--space-4); top: -4rem; z-index: 100;
  background: var(--color-brand); color: var(--color-on-brand);
  padding: var(--space-2) var(--space-4); border-radius: var(--radius);
  text-decoration: none; font-weight: 700; transition: top var(--dur) var(--ease);
}
.skip-link:focus { top: var(--space-4); }

/* ---- LAYOUT ------------------------------------------------------------ */
.wrap { width: 100%; max-width: var(--content-max); margin-inline: auto; padding-inline: var(--space-6); }
.section { padding-block: var(--space-24); }
.section--tight { padding-block: var(--space-16); }
.section--alt { background: var(--color-surface-2); }
.section--brand { background: var(--color-brand); color: var(--color-on-brand); }
.section--brand h1, .section--brand h2, .section--brand h3 { color: var(--color-on-brand); }
.section--brand p { color: #12340a; }
.section-head { max-width: 60ch; margin-bottom: var(--space-12); }
.section-head .eyebrow { margin-bottom: var(--space-3); }
.lede { font-size: var(--text-lg); color: var(--color-ink-muted); }

.eyebrow {
  display: inline-block; max-width: 100%; font-family: var(--font-display); font-weight: 700;
  font-size: var(--text-sm); letter-spacing: .14em; text-transform: uppercase;
  color: var(--color-brand);
}
.section--brand .eyebrow { color: #1c4a0c; }

/* ---- HEADER / NAV ------------------------------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(26,18,16,.82); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--color-line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-6); padding-block: var(--space-3);
}
.brand { display: inline-flex; align-items: center; gap: var(--space-3); text-decoration: none; color: var(--color-ink); }
.brand img { height: 36px; width: auto; }
.brand b { font-family: var(--font-display); font-weight: 700; font-size: var(--text-lg); letter-spacing: .04em; color: #fff; }
.brand span { font-family: var(--font-display); font-weight: 400; color: var(--color-brand); font-size: var(--text-lg); }

.nav { display: flex; align-items: center; gap: var(--space-6); }
.nav a { color: var(--color-ink); text-decoration: none; font-weight: 600; }
.nav a:not(.btn):hover, .nav a:not(.btn)[aria-current="page"] { color: var(--color-brand); }
.nav .btn { color: var(--color-on-brand); }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: var(--space-2);
  color: var(--color-ink);
}
.nav-toggle svg { display: block; }

/* ---- BUTTONS ----------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: var(--space-2);
  padding: var(--space-3) var(--space-6); border-radius: var(--radius);
  text-decoration: none; font-weight: 700; font-family: var(--font-display); font-size: var(--text-base);
  border: 2px solid transparent; cursor: pointer; line-height: 1.2;
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
/* green primary — the main CTA on dark */
.btn-accent, .btn-primary { background: var(--color-brand); color: var(--color-on-brand); }
.btn-accent:hover, .btn-primary:hover { background: var(--color-brand-bright); color: var(--color-on-brand); }
/* outline */
.btn-ghost { background: transparent; color: var(--color-ink); border-color: var(--color-line); }
.btn-ghost:hover { border-color: var(--color-brand); color: var(--color-brand); }
/* buttons placed on a green (.section--brand) background */
.section--brand .btn-accent, .section--brand .btn-primary { background: var(--color-on-brand); color: #fff; }
.section--brand .btn-accent:hover, .section--brand .btn-primary:hover { background: #000; }
.section--brand .btn-ghost { color: var(--color-on-brand); border-color: rgba(13,17,16,.4); }
.section--brand .btn-ghost:hover { border-color: var(--color-on-brand); color: var(--color-on-brand); }
@media (prefers-reduced-motion: no-preference) { .btn:active { transform: translateY(1px); } }

/* ---- HERO CAROUSEL ----------------------------------------------------- */
.hero { position: relative; color: var(--color-ink); background: #0f0908; overflow: hidden; }
.hero-track { display: grid; grid-template-columns: minmax(0, 1fr); } /* slides stack; column = viewport width so text wraps */
.hero-slide { grid-area: 1 / 1; min-width: 0; min-height: min(85vh, 680px); position: relative; opacity: 0; visibility: hidden; transition: opacity var(--dur) var(--ease); }
.hero-slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.hero-media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-media .hero-poster, .hero-media .hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media .hero-video { opacity: 0; transition: opacity var(--dur) var(--ease); }
.hero-media .hero-video.is-playing { opacity: 1; }
/* Ken Burns: slow zoom on the active slide's media (motion users only) */
@media (prefers-reduced-motion: no-preference) {
  .hero-slide.is-active .hero-poster,
  .hero-slide.is-active .hero-video { animation: ecora-kenburns 9s var(--ease) both; }
}
@keyframes ecora-kenburns { from { transform: scale(1.04); } to { transform: scale(1.18); } }
.hero-slide::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(15,9,8,.5), rgba(15,9,8,.85));
}
.hero-content { position: relative; z-index: 2; padding-block: var(--space-24); }
.hero h1, .hero-headline { color: #fff; max-width: min(18ch, 100%); overflow-wrap: break-word; font-family: var(--font-display); font-weight: 700; font-size: var(--text-4xl); line-height: 1.06; letter-spacing: .005em; text-transform: uppercase; margin: 0 0 var(--space-4); }
.hero .lede { color: #d6ddcf; max-width: 46ch; margin-bottom: var(--space-8); }
.hero .btn-row { display: flex; flex-wrap: wrap; gap: var(--space-4); }

/* Fixed text overlay — sits above all slides, always visible */
.hero-overlay { position: absolute; inset: 0; z-index: 5; pointer-events: none; }
.hero-overlay .hero-content { pointer-events: auto; }

/* controls */
.hero-controls { position: absolute; left: 50%; transform: translateX(-50%); bottom: var(--space-8); z-index: 5;
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); pointer-events: none; }
.hero-controls > * { pointer-events: auto; }
.hero-dots { display: flex; gap: var(--space-2); align-items: center; }
.hero-dot { width: 12px; height: 12px; border-radius: 50%; border: 2px solid rgba(255,255,255,.55); background: transparent; cursor: pointer; padding: 0; transition: background var(--dur), border-color var(--dur), transform var(--dur); }
.hero-dot:hover { transform: scale(1.15); }
.hero-dot.is-active { background: var(--color-brand); border-color: var(--color-brand); }
.hero-buttons { display: flex; gap: var(--space-2); }
.hero-arrow, .hero-playpause { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35);
  background: rgba(15,9,8,.5); color: #fff; cursor: pointer; line-height: 1; display: grid; place-items: center; backdrop-filter: blur(4px); }
.hero-arrow { font-size: 1.3rem; }
.hero-playpause { font-size: .6rem; letter-spacing: .05em; }
.hero-arrow:hover, .hero-playpause:hover { border-color: var(--color-brand); color: var(--color-brand); }

/* ---- PAGE HERO (static — interior pages: solutions, about, contact) --- */
.page-hero { position: relative; overflow: hidden; background: #0f0908; color: var(--color-ink); padding-block: var(--space-24) var(--space-16); }
.page-hero-bg { position: absolute; inset: 0; }
.page-hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(170deg, rgba(15,9,8,.55), rgba(15,9,8,.88)); }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; text-transform: uppercase; font-size: var(--text-4xl); max-width: min(18ch, 100%); margin: var(--space-4) 0 var(--space-4); }
.page-hero .lede { color: #d6ddcf; max-width: 46ch; margin-bottom: var(--space-8); }
.page-hero .btn-row { display: flex; flex-wrap: wrap; gap: var(--space-4); }

/* ---- STAT GRID --------------------------------------------------------- */
/* 6 stat boxes reflow in clean stages: 3 across → 2 across → 1 across */
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
@media (max-width: 760px) { .stat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .stat-grid { grid-template-columns: 1fr; } }
.stat { padding: var(--space-6); background: var(--color-card); border: 1px solid var(--color-line); border-radius: var(--radius); }
.stat-icon { display: block; color: var(--color-brand); margin-bottom: var(--space-4); }
.stat-icon svg { width: 3.55rem; height: 3.55rem; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.stat .num { font-family: var(--font-display); font-weight: 700; font-size: var(--text-3xl); color: var(--color-lime); line-height: 1; }
.stat .num--word { font-size: var(--text-2xl); }
.stat .label { margin: var(--space-4) 0 0; font-family: var(--font-display); font-weight: 700; font-size: var(--text-base); color: var(--color-ink); }
.stat-desc { margin: var(--space-1) 0 0; font-size: var(--text-sm); color: var(--color-ink-muted); max-width: none; }

/* ---- BEFORE / AFTER SLIDER -------------------------------------------- */
.ba {
  position: relative; width: 100%; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-2); --p: 50%;
  aspect-ratio: 16 / 9; background: #0f0908;
  touch-action: pan-y; user-select: none; border: 1px solid var(--color-line);
}
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Both images fill the frame identically; the "before" is clipped from the left
   edge to the handle position (--p) so the two always stay aligned. */
.ba .ba-before-img { clip-path: inset(0 calc(100% - var(--p)) 0 0); }
.ba-tag {
  position: absolute; top: var(--space-3); z-index: 3;
  font-family: var(--font-display); font-weight: 700; font-size: var(--text-sm);
  letter-spacing: .08em; text-transform: uppercase;
  padding: var(--space-1) var(--space-3); border-radius: 999px; color: #fff;
  background: rgba(15,9,8,.72); backdrop-filter: blur(4px);
}
.ba-tag.before { left: var(--space-3); }
.ba-tag.after  { right: var(--space-3); background: var(--color-brand); color: var(--color-on-brand); }
.ba-line { position: absolute; top: 0; bottom: 0; left: var(--p); width: 3px; background: #fff; z-index: 4; transform: translateX(-50%); pointer-events: none; }
.ba-knob {
  position: absolute; top: 50%; left: var(--p); z-index: 5;
  width: 44px; height: 44px; border-radius: 50%; background: #fff; color: #0d1110;
  transform: translate(-50%, -50%); display: grid; place-items: center;
  box-shadow: var(--shadow-2); pointer-events: none; font-size: 1.1rem;
}
.ba-range {
  position: absolute; inset: 0; z-index: 6; width: 100%; height: 100%;
  margin: 0; opacity: 0; cursor: ew-resize;
}
.ba-range:focus-visible + .ba-knob { outline: 3px solid var(--color-brand); outline-offset: 3px; }
/* Before/after CAROUSEL — one wide comparison per slide (full content width) */
.ba-carousel { position: relative; }
.ba-track { display: grid; grid-template-columns: minmax(0, 1fr); overflow: hidden; } /* viewport clips off-screen slides */
.ba-slide { grid-area: 1 / 1; min-width: 0; margin: 0; transform: translateX(100%); }
.ba-slide:first-child { transform: translateX(0); }                  /* no-JS fallback shows slide 1 */
.ba-slide.is-anim { transition: transform .55s var(--ease); }        /* JS adds this only while sliding */
.ba-controls { display: flex; align-items: center; justify-content: center; gap: var(--space-6); margin-top: var(--space-6); }
.ba-dots { display: flex; gap: var(--space-2); align-items: center; }
.ba-dot { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--color-line); background: transparent; cursor: pointer; padding: 0; transition: background var(--dur), border-color var(--dur), transform var(--dur); }
.ba-dot:hover { transform: scale(1.15); }
.ba-dot.is-active { background: var(--color-brand); border-color: var(--color-brand); }
.ba-arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--color-line); background: var(--color-card); color: var(--color-ink); cursor: pointer; font-size: 1.4rem; line-height: 1; display: grid; place-items: center; transition: border-color var(--dur), color var(--dur); }
.ba-arrow:hover { border-color: var(--color-brand); color: var(--color-brand); }
.ba-playpause { font-size: .65rem; letter-spacing: .04em; }
/* Before/After bullet lists under each comparison */
.ba-bullets { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-8); margin-top: var(--space-6); }
.ba-col-label { font-family: var(--font-display); font-weight: 700; font-size: var(--text-sm); letter-spacing: .1em; text-transform: uppercase; margin: 0 0 var(--space-3); }
.ba-col-label.before { color: var(--color-ink-muted); }
.ba-col-label.after { color: var(--color-brand); }
.ba-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); }
.ba-list li { position: relative; padding-left: 1.6rem; font-size: var(--text-sm); color: var(--color-ink); max-width: none; }
.ba-list.before li { color: var(--color-ink-muted); }
.ba-list.before li::before { content: "—"; position: absolute; left: 0; color: var(--color-ink-muted); }
.ba-list.after li::before { content: "✓"; position: absolute; left: 0; color: var(--color-brand); font-weight: 700; }
@media (max-width: 560px) { .ba-bullets { grid-template-columns: 1fr; gap: var(--space-6); } }

/* ---- CARD GRID (pillars / services / cases) --------------------------- */
.grid { display: grid; gap: var(--space-6); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
/* 4-up reflows in clean stages: 4 across → 2×2 → 1 (never 3+1) */
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-4 { grid-template-columns: 1fr; } }
.card {
  background: var(--color-card); border: 1px solid var(--color-line);
  border-radius: var(--radius); padding: var(--space-8);
  display: flex; flex-direction: column; gap: var(--space-2);
}
.card .pill-no { font-family: var(--font-display); font-weight: 700; color: var(--color-lime); font-size: var(--text-lg); }
.card h3 { margin-top: var(--space-1); }
.card p { color: var(--color-ink-muted); margin: 0; }
.card .more { margin-top: auto; padding-top: var(--space-4); font-weight: 700; font-family: var(--font-display); text-decoration: none; }
.card .more::after { content: " →"; }

/* media figure with caption */
.figure { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--color-line); background: var(--color-card); }
.figure img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.figure figcaption { padding: var(--space-4); color: var(--color-ink-muted); font-size: var(--text-sm); }

/* split: media + text */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-12); align-items: center; }
.split.reverse > :first-child { order: 2; }

/* ---- PILLAR NAV (solutions — 4-item overview / anchor nav) ------------- */
.pillar-nav { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6); }
.pillar-nav-item { display: flex; flex-direction: column; gap: var(--space-2); padding: var(--space-6) var(--space-4); border-top: 2px solid var(--color-brand); text-decoration: none; color: var(--color-ink); transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease); border-radius: 0 0 var(--radius) var(--radius); }
.pillar-nav-item:hover { border-color: var(--color-brand-bright); background: var(--color-card); color: var(--color-ink); }
.pillar-nav-item .pn-num { font-family: var(--font-display); font-weight: 700; color: var(--color-lime); font-size: var(--text-sm); }
.pillar-nav-item h3 { margin: 0; font-size: var(--text-base); color: #fff; text-transform: uppercase; letter-spacing: .04em; }
.pillar-nav-item p { margin: 0; font-size: var(--text-sm); color: var(--color-ink-muted); max-width: none; }
@media (max-width: 860px) { .pillar-nav { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .pillar-nav { grid-template-columns: 1fr; } }

/* ---- EQUIPMENT GRID (solutions — trial card + 3 product cards) --------- */
.equipment-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.card--trial { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; gap: var(--space-8); border-color: var(--color-brand); }
.card--trial > div:first-child { flex: 1; min-width: 0; }
.card--trial h3 { font-size: var(--text-2xl); }
.card-trial-cta { flex-shrink: 0; display: flex; flex-direction: column; align-items: center; gap: var(--space-3); text-align: center; }
.card-trial-cta p { margin: 0; font-size: var(--text-sm); }

/* ---- AGENT BADGES (eco release agent properties) ----------------------- */
.agent-badges { display: flex; flex-wrap: wrap; gap: var(--space-2); list-style: none; margin: var(--space-4) 0 0; padding: 0; }
.badge { display: inline-block; padding: var(--space-1) var(--space-3); border: 1px solid var(--color-brand); border-radius: 999px; color: var(--color-brand); font-family: var(--font-display); font-weight: 700; font-size: var(--text-sm); letter-spacing: .06em; text-transform: uppercase; }

/* ---- THANK YOU --------------------------------------------------------- */
.ty-screen { position: relative; overflow: hidden; background: #0f0908; min-height: 100vh; display: flex; align-items: center; }
.ty-bg { position: absolute; inset: 0; }
.ty-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ty-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(170deg, rgba(15,9,8,.6), rgba(15,9,8,.92)); }
.ty-content { position: relative; z-index: 1; text-align: center; padding-block: var(--space-24); }
.ty-icon { color: var(--color-brand); margin-bottom: var(--space-6); display: flex; justify-content: center; }
.ty-icon svg { width: 72px; height: 72px; }
.ty-content h1 { color: #fff; text-transform: uppercase; font-size: var(--text-4xl); max-width: 18ch; margin: var(--space-4) auto; }
.ty-content .lede { color: #d6ddcf; max-width: 40ch; margin: 0 auto var(--space-8); }
.ty-content .btn-row { justify-content: center; }

/* ---- CONTACT FORM ------------------------------------------------------ */
.contact-split { display: grid; grid-template-columns: 1.6fr 1fr; gap: var(--space-16); align-items: start; }
.form-fields { display: flex; flex-direction: column; gap: var(--space-6); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); }
.field { display: flex; flex-direction: column; gap: var(--space-2); }
.field label { font-family: var(--font-display); font-weight: 700; font-size: var(--text-sm); letter-spacing: .06em; text-transform: uppercase; color: var(--color-ink-muted); }
.field input, .field textarea { background: var(--color-card); border: 1px solid var(--color-line); border-radius: var(--radius); padding: var(--space-3) var(--space-4); color: var(--color-ink); font-family: var(--font-body); font-size: var(--text-base); width: 100%; transition: border-color var(--dur) var(--ease); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--color-brand); box-shadow: 0 0 0 3px rgba(138,178,52,.15); }
.field textarea { resize: vertical; min-height: 120px; }
.field-req { color: var(--color-brand); }
.field-opt { color: var(--color-ink-muted); font-size: var(--text-sm); font-weight: 400; text-transform: none; letter-spacing: 0; margin-left: var(--space-1); }
.field-privacy { font-size: var(--text-sm); color: var(--color-ink-muted); margin-top: var(--space-3); max-width: none; }
.contact-info { display: flex; flex-direction: column; gap: var(--space-8); }
.contact-info-group h4 { font-family: var(--font-display); font-size: var(--text-sm); letter-spacing: .1em; text-transform: uppercase; color: var(--color-brand); margin: 0 0 var(--space-3); }
.contact-info-group ul { display: grid; gap: var(--space-2); list-style: none; margin: 0; padding: 0; }
.contact-info-group li { color: var(--color-ink-muted); font-size: var(--text-base); }
.contact-info-group a { color: var(--color-ink-muted); text-decoration: none; }
.contact-info-group a:hover { color: var(--color-brand); }
.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--color-line); }
.map-embed iframe { display: block; width: 100%; height: 400px; border: 0; filter: grayscale(25%) contrast(0.9); }

/* ---- VIDEO ------------------------------------------------------------- */
.video {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: #0f0908; box-shadow: var(--shadow-2); border: 1px solid var(--color-line);
}
.video video { width: 100%; aspect-ratio: 16/9; object-fit: cover; }

/* ---- CTA BANNER -------------------------------------------------------- */
.cta-banner { text-align: center; }
.cta-banner h2 { max-width: 22ch; margin-inline: auto; }
.cta-banner p { margin-inline: auto; }
.cta-banner .btn-row { display: flex; justify-content: center; flex-wrap: wrap; gap: var(--space-4); margin-top: var(--space-8); }

/* ---- FOOTER ------------------------------------------------------------ */
.site-footer { background: var(--color-surface-2); color: var(--color-ink); padding-block: var(--space-16) var(--space-8); border-top: 1px solid var(--color-line); }
.site-footer a { color: var(--color-ink-muted); text-decoration: none; }
.site-footer a:hover { color: var(--color-brand); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--space-12); }
.footer-brand p { color: var(--color-ink-muted); max-width: 36ch; margin-top: var(--space-4); }
.footer-col h4 { font-family: var(--font-display); font-size: var(--text-sm); letter-spacing: .1em; text-transform: uppercase; color: var(--color-brand); margin: 0 0 var(--space-4); }
.footer-col ul { display: grid; gap: var(--space-2); }
.socials { display: flex; gap: var(--space-3); margin-top: var(--space-4); }
.socials a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--color-line); border-radius: 50%; color: var(--color-ink); }
.socials a:hover { border-color: var(--color-brand); color: var(--color-brand); background: rgba(138,178,52,.12); }
.footer-bottom { margin-top: var(--space-12); padding-top: var(--space-6); border-top: 1px solid var(--color-line); display: flex; flex-wrap: wrap; gap: var(--space-4); justify-content: space-between; color: var(--color-ink-muted); font-size: var(--text-sm); }

/* ---- UTILITIES --------------------------------------------------------- */
.stack > * + * { margin-top: var(--space-4); }
.muted { color: var(--color-ink-muted); }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.hint { font-size: var(--text-sm); color: var(--color-ink-muted); margin-top: var(--space-3); max-width: none; }

/* ---- MEDIA (mobile-first adjustments) --------------------------------- */
@media (max-width: 860px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: var(--space-8); }
  .split.reverse > :first-child { order: 0; }
}
@media (max-width: 720px) {
  :root { --text-4xl: 2.4rem; --text-3xl: 2rem; --text-2xl: 1.6rem; }
  .section { padding-block: var(--space-16); }
  .contact-split { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .page-hero h1 { font-size: 2.1rem; }
  .page-hero .btn-row .btn { width: 100%; justify-content: center; }
  .equipment-grid { grid-template-columns: 1fr; }
  .card--trial { flex-direction: column; align-items: flex-start; }
  .card-trial-cta { width: 100%; align-items: stretch; }
  .card-trial-cta .btn { justify-content: center; }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(80vw, 320px);
    flex-direction: column; align-items: flex-start; gap: var(--space-4);
    background: var(--color-surface-2); padding: var(--space-16) var(--space-6) var(--space-6);
    border-left: 1px solid var(--color-line); box-shadow: var(--shadow-2);
    transform: translateX(100%); transition: transform var(--dur) var(--ease);
  }
  .nav[data-open="true"] { transform: translateX(0); }
  .nav a { font-size: var(--text-lg); }
  .nav .btn { width: 100%; justify-content: center; }
  body.nav-open { overflow: hidden; }
  .nav-scrim { position: fixed; inset: 0; z-index: 40; background: rgba(0,0,0,.5); }
  /* hero carousel on mobile */
  .hero-content { padding-block: var(--space-16) var(--space-24); }
  .hero h1, .hero-headline { font-size: 2.1rem; }
  .hero-controls { bottom: var(--space-4); gap: var(--space-4); width: calc(100% - var(--space-8)); }
}
@media (max-width: 520px) {
  .footer-top { grid-template-columns: 1fr; gap: var(--space-8); }
  .hero .btn-row .btn, .cta-banner .btn { width: 100%; justify-content: center; }
}
