/* ==========================================================================
   ENVOCON — SAP EHS & EHSM Consulting
   Design system: forest green + gold, "root-to-leaf" growth motif
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Brand */
  --green: #4f884c;
  --green-600: #427540;
  --green-700: #366237;
  --pine: #1f3d24;
  --pine-900: #16241a;
  --gold: #feda09;
  --gold-600: #e6bd00;

  /* Neutrals (green-tinted, not grey) */
  --ink: #16241a;
  --body: #45514a;
  --muted: #6b756e;
  --line: #e4e9e2;
  --mist: #eef2ec;
  --sand: #f7f8f4;
  --white: #ffffff;

  /* Tints */
  --green-tint: #eef4ec;
  --gold-tint: #fff7d6;

  /* Type */
  --font-display: 'Space Grotesk', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;

  /* Scale */
  --step--1: clamp(0.80rem, 0.77rem + 0.15vw, 0.88rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.09rem);
  --step-1: clamp(1.2rem, 1.12rem + 0.4vw, 1.45rem);
  --step-2: clamp(1.5rem, 1.35rem + 0.75vw, 2rem);
  --step-3: clamp(1.9rem, 1.6rem + 1.5vw, 2.9rem);
  --step-4: clamp(2.4rem, 1.9rem + 2.5vw, 4rem);
  --step-5: clamp(3rem, 2.2rem + 4vw, 5.2rem);

  /* Layout */
  --wrap: 1200px;
  --wrap-narrow: 860px;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 26px;

  /* Effects */
  --shadow-sm: 0 1px 2px rgba(22, 36, 26, 0.06), 0 2px 8px rgba(22, 36, 26, 0.05);
  --shadow-md: 0 10px 30px -12px rgba(22, 36, 26, 0.22);
  --shadow-lg: 0 30px 60px -20px rgba(22, 36, 26, 0.28);
  --ring: 0 0 0 4px rgba(79, 136, 76, 0.18);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 78px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* ---------- Layout helpers ---------- */
.wrap { width: min(100% - 3rem, var(--wrap)); margin-inline: auto; }
.narrow { width: min(100% - 3rem, var(--wrap-narrow)); margin-inline: auto; }
.section { padding: clamp(4rem, 3rem + 5vw, 7.5rem) 0; }
.section--tight { padding: clamp(3rem, 2.5rem + 3vw, 5rem) 0; }
.section--mist { background: var(--mist); }
.section--sand { background: var(--sand); }
.section--pine {
  background:
    radial-gradient(120% 90% at 85% -10%, rgba(79,136,76,0.35), transparent 60%),
    radial-gradient(90% 80% at 0% 110%, rgba(254,218,9,0.10), transparent 55%),
    var(--pine-900);
  color: #cdd8cf;
}
.section--pine h1, .section--pine h2, .section--pine h3, .section--pine h4 { color: #fff; }

.center { text-align: center; }
.center .eyebrow { justify-content: center; }

/* ---------- Eyebrow / labels ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--gold);
  display: inline-block;
}
.section--pine .eyebrow { color: var(--gold); }

.section-head { max-width: 720px; margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
.section-head.center { margin-inline: auto; }
.section-head h2 { font-size: var(--step-3); margin: 0.9rem 0 0.6rem; }
.section-head p { font-size: var(--step-1); color: var(--muted); line-height: 1.55; }
.section--pine .section-head p { color: #b3c2b6; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--step-0);
  letter-spacing: -0.01em;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  border: 2px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, color 0.25s;
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--primary { background: var(--green); color: #fff; box-shadow: 0 12px 24px -12px rgba(79,136,76,0.7); }
.btn--primary:hover { background: var(--green-700); transform: translateY(-2px); box-shadow: 0 18px 30px -12px rgba(79,136,76,0.7); }
.btn--gold { background: var(--gold); color: var(--pine-900); box-shadow: 0 12px 24px -12px rgba(230,189,0,0.8); }
.btn--gold:hover { background: var(--gold-600); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--green); color: var(--green); transform: translateY(-2px); }
.section--pine .btn--ghost { color: #fff; border-color: rgba(255,255,255,0.25); }
.section--pine .btn--ghost:hover { border-color: var(--gold); color: var(--gold); }

/* ==========================================================================
   HEADER — white, transparent logo, sticky
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s var(--ease), border-color 0.3s;
}
.site-header.is-scrolled {
  box-shadow: 0 6px 24px -14px rgba(22,36,26,0.28);
  border-color: var(--line);
}
.nav {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 46px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: auto;
}
.nav-links a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.98rem;
  color: var(--ink);
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  position: relative;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--green); background: var(--green-tint); }
.nav-links a.active { color: var(--green); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 4px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
  transform: translateX(-50%);
}
.nav-cta { margin-left: 0.6rem; padding: 0.65rem 1.3rem; }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  position: relative;
  margin-left: auto;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 20px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.nav-toggle span::before { transform: translate(-50%, -7px); }
.nav-toggle span::after { transform: translate(-50%, 7px); }
.nav-toggle.is-open span { background: transparent; }
.nav-toggle.is-open span::before { transform: translate(-50%, 0) rotate(45deg); }
.nav-toggle.is-open span::after { transform: translate(-50%, 0) rotate(-45deg); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  padding: clamp(3.5rem, 3rem + 5vw, 7rem) 0 clamp(4rem, 3rem + 5vw, 7rem);
  background:
    radial-gradient(130% 90% at 100% 0%, var(--green-tint), transparent 55%),
    radial-gradient(90% 70% at -10% 100%, var(--gold-tint), transparent 50%),
    var(--white);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  align-items: center;
}
.hero h1 {
  font-size: var(--step-5);
  letter-spacing: -0.035em;
  margin: 1.2rem 0 1.3rem;
}
.hero h1 .grad {
  background: linear-gradient(100deg, var(--green) 0%, var(--green-700) 45%, var(--gold-600) 130%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero p.lead {
  font-size: var(--step-1);
  color: var(--body);
  max-width: 42ch;
  margin-bottom: 2rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 2.5rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 1.4rem 2rem; align-items: center; }
.hero-trust .stat b {
  display: block;
  font-family: var(--font-display);
  font-size: var(--step-2);
  color: var(--ink);
  line-height: 1;
}
.hero-trust .stat span { font-size: var(--step--1); color: var(--muted); }
.hero-trust .divider { width: 1px; height: 34px; background: var(--line); }

/* Hero visual — layered image + tree spine card */
.hero-visual { position: relative; }
.hero-visual .frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 4.4;
  background: linear-gradient(160deg, var(--green-700), var(--pine-900));
}
.hero-visual .frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual .frame::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(31,61,36,0.05) 0%, rgba(22,36,26,0.65) 100%);
}
.hero-badge {
  position: absolute;
  left: -18px; bottom: 26px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 0.85rem;
  max-width: 260px;
  z-index: 2;
}
.hero-badge .ico {
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: 12px;
  display: grid; place-items: center;
  background: var(--green-tint); color: var(--green);
}
.hero-badge b { font-family: var(--font-display); color: var(--ink); font-size: 0.98rem; display: block; }
.hero-badge span { font-size: 0.8rem; color: var(--muted); }
.hero-chip {
  position: absolute;
  right: -14px; top: 30px;
  background: var(--gold);
  color: var(--pine-900);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  box-shadow: var(--shadow-md);
  z-index: 2;
}

/* ---------- Marquee / logos strip ---------- */
.industries-strip { border-block: 1px solid var(--line); background: var(--white); }
.industries-strip .wrap { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; padding: 1.5rem 0; }
.industries-strip .label {
  font-family: var(--font-display); font-size: var(--step--1); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted); white-space: nowrap;
}
.industries-strip ul { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.industries-strip li {
  font-family: var(--font-display); font-weight: 500; font-size: 0.95rem; color: var(--pine);
  padding: 0.4rem 1rem; border: 1px solid var(--line); border-radius: 999px; background: var(--sand);
}

/* ==========================================================================
   CARDS / GRIDS
   ========================================================================== */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.9rem;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute; left: 0; top: 0; height: 3px; width: 100%;
  background: linear-gradient(90deg, var(--green), var(--gold));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card .ico {
  width: 54px; height: 54px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: var(--green-tint); color: var(--green);
  margin-bottom: 1.3rem;
  transition: background 0.3s, color 0.3s;
}
.card:hover .ico { background: var(--green); color: #fff; }
.card .ico svg { width: 26px; height: 26px; }
.card h3 { font-size: var(--step-1); margin-bottom: 0.6rem; }
.card p { color: var(--muted); font-size: 0.98rem; }
.card .card-tag {
  font-family: var(--font-display); font-size: 0.78rem; font-weight: 600;
  color: var(--green); letter-spacing: 0.08em; text-transform: uppercase;
}

/* Numbered service card variant */
.card--num .num {
  position: absolute; right: 1.4rem; top: 1.2rem;
  font-family: var(--font-display); font-weight: 700;
  font-size: 2.6rem; color: var(--green-tint); line-height: 1;
  transition: color 0.3s;
}
.card--num:hover .num { color: var(--gold-tint); }

/* Feature list inside cards */
.feature-list { margin-top: 1.2rem; display: grid; gap: 0.6rem; }
.feature-list li {
  display: flex; align-items: flex-start; gap: 0.6rem;
  font-size: 0.95rem; color: var(--body);
}
.feature-list li::before {
  content: "";
  flex-shrink: 0;
  width: 18px; height: 18px; margin-top: 3px;
  border-radius: 50%;
  background: var(--green-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%234f884c' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 11px no-repeat;
}

/* ==========================================================================
   METHODOLOGY — growth spine (the signature)
   ========================================================================== */
.method { position: relative; }
.method-track {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1rem;
  position: relative;
}
.method-track::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 27px;
  height: 3px;
  background: linear-gradient(90deg, var(--green) 0%, var(--gold) 100%);
  border-radius: 3px;
  opacity: 0.35;
}
.method-step { position: relative; text-align: center; }
.method-node {
  width: 56px; height: 56px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--green);
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.1rem;
  color: var(--green);
  position: relative; z-index: 2;
  transition: transform 0.3s var(--ease), background 0.3s, color 0.3s;
}
.method-step:hover .method-node { background: var(--green); color: #fff; transform: scale(1.1); }
.method-step:nth-child(n+5) .method-node { border-color: var(--gold-600); color: var(--gold-600); }
.method-step:nth-child(n+5):hover .method-node { background: var(--gold); color: var(--pine-900); }
.method-step h4 { font-size: 1rem; margin-bottom: 0.2rem; }
.method-step p { font-size: 0.82rem; color: var(--muted); }

/* ==========================================================================
   SPLIT (image + content)
   ========================================================================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; }
.split--rev .split-media { order: 2; }
.split-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 5 / 4;
  position: relative;
  background: linear-gradient(160deg, var(--green-700), var(--pine-900));
}
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split h2 { font-size: var(--step-3); margin: 0.9rem 0 1rem; }
.split .lead { font-size: var(--step-1); color: var(--muted); margin-bottom: 1.5rem; }

/* Pill tag list */
.tag-list { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.5rem; }
.tag-list li {
  font-family: var(--font-display); font-weight: 500; font-size: 0.9rem;
  padding: 0.45rem 1rem; border-radius: 999px;
  background: var(--green-tint); color: var(--green-700);
}

/* ==========================================================================
   STATS BAND
   ========================================================================== */
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.stat-block { text-align: center; padding: 1rem; }
.stat-block b {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.4rem, 1.8rem + 2.5vw, 3.6rem);
  color: #fff; line-height: 1; display: block;
}
.stat-block b .unit { color: var(--gold); }
.stat-block span { color: #a9b9ac; font-size: 0.95rem; margin-top: 0.5rem; display: block; }

/* ==========================================================================
   CAPABILITY / MODULE TILES
   ========================================================================== */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.tile {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem;
  display: flex; flex-direction: column; gap: 0.7rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.tile:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.tile .tile-top { display: flex; align-items: center; gap: 0.85rem; }
.tile .ico { width: 46px; height: 46px; border-radius: 12px; background: var(--gold-tint); color: var(--gold-600); display: grid; place-items: center; flex-shrink: 0; }
.tile .ico svg { width: 22px; height: 22px; }
.tile h3 { font-size: 1.12rem; }
.tile p { font-size: 0.93rem; color: var(--muted); }
.tile ul { margin-top: 0.3rem; display: grid; gap: 0.4rem; }
.tile ul li { font-size: 0.9rem; color: var(--body); padding-left: 1.1rem; position: relative; }
.tile ul li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }

/* ==========================================================================
   CTA BANNER
   ========================================================================== */
.cta-banner {
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 2rem + 3vw, 4.5rem);
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(254,218,9,0.16), transparent 55%),
    linear-gradient(150deg, var(--green-700), var(--pine-900));
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner h2 { color: #fff; font-size: var(--step-3); margin-bottom: 1rem; }
.cta-banner p { color: #c8d5c9; font-size: var(--step-1); max-width: 55ch; margin: 0 auto 2rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
/* Ghost button sits on the dark CTA banner — force light text/border */
.cta-banner .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.cta-banner .btn--ghost:hover { color: var(--gold); border-color: var(--gold); background: transparent; }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 1rem + 3vw, 3.5rem); align-items: start; }
.contact-info { display: grid; gap: 1.2rem; }
.contact-item {
  display: flex; gap: 1rem; align-items: flex-start;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.4rem;
}
.contact-item .ico { width: 46px; height: 46px; flex-shrink: 0; border-radius: 12px; background: var(--green-tint); color: var(--green); display: grid; place-items: center; }
.contact-item h4 { font-size: 1.02rem; margin-bottom: 0.2rem; }
.contact-item p, .contact-item a { color: var(--muted); font-size: 0.96rem; }
.contact-item a:hover { color: var(--green); }

.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.6rem, 1rem + 2vw, 2.6rem); box-shadow: var(--shadow-sm); }
.field { margin-bottom: 1.2rem; }
.field label { display: block; font-family: var(--font-display); font-weight: 500; font-size: 0.92rem; color: var(--ink); margin-bottom: 0.5rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 0.98rem; color: var(--ink);
  padding: 0.85rem 1rem;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--sand);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.field input::placeholder, .field textarea::placeholder { color: #9aa39c; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); background: #fff; box-shadow: var(--ring); }
.field textarea { resize: vertical; min-height: 130px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-note { font-size: 0.85rem; color: var(--muted); margin-top: 0.4rem; }
.form-success {
  display: none; align-items: center; gap: 0.7rem;
  background: var(--green-tint); color: var(--green-700);
  border: 1px solid #cfe2cc; border-radius: var(--radius-sm);
  padding: 0.9rem 1.1rem; font-size: 0.95rem; margin-bottom: 1.2rem;
}
.form-success.show { display: flex; }
.form-error {
  display: none; align-items: center; gap: 0.7rem;
  background: #fcecec; color: #b3261e;
  border: 1px solid #f3c9c6; border-radius: var(--radius-sm);
  padding: 0.9rem 1.1rem; font-size: 0.95rem; margin-bottom: 1.2rem;
}
.form-error.show { display: flex; }
/* Honeypot — visually and structurally hidden from real users */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.map-embed { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); margin-top: 2.5rem; }
.map-embed iframe { width: 100%; height: 340px; border: 0; display: block; filter: saturate(0.9); }

/* ==========================================================================
   PAGE HERO (interior pages)
   ========================================================================== */
.page-hero {
  padding: clamp(3rem, 2.5rem + 3vw, 5rem) 0 clamp(2.5rem, 2rem + 2vw, 3.5rem);
  background:
    radial-gradient(110% 120% at 100% 0%, var(--green-tint), transparent 55%),
    var(--sand);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: var(--step-4); margin: 1rem 0 1rem; max-width: 16ch; }
.page-hero p { font-size: var(--step-1); color: var(--muted); max-width: 60ch; }
.crumbs { font-family: var(--font-display); font-size: 0.85rem; color: var(--muted); display: flex; gap: 0.5rem; align-items: center; }
.crumbs a:hover { color: var(--green); }
.crumbs span { color: var(--green); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: var(--pine-900); color: #a9b9ac; padding: clamp(3.5rem, 3rem + 2vw, 5rem) 0 2rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-brand img { height: 42px; width: auto; margin-bottom: 1.2rem; background: #fff; padding: 8px 12px; border-radius: 10px; }
.footer-brand p { font-size: 0.95rem; color: #93a396; max-width: 34ch; }
.footer-col h4 { color: #fff; font-size: 0.95rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 1.1rem; font-family: var(--font-display); }
.footer-col ul { display: grid; gap: 0.7rem; }
.footer-col a { font-size: 0.95rem; color: #a9b9ac; transition: color 0.2s; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; padding-top: 1.8rem; font-size: 0.88rem; color: #7e8e81; }
.footer-bottom .socials { display: flex; gap: 0.7rem; }
.footer-bottom .socials a { width: 38px; height: 38px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.12); display: grid; place-items: center; color: #a9b9ac; transition: all 0.25s; }
.footer-bottom .socials a:hover { background: var(--green); color: #fff; border-color: var(--green); }
.footer-bottom .socials svg { width: 17px; height: 17px; }

/* ==========================================================================
   SCROLL REVEAL
   ========================================================================== */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js [data-reveal] { opacity: 1; transform: none; } }
[data-reveal-delay="1"] { transition-delay: 0.08s; }
[data-reveal-delay="2"] { transition-delay: 0.16s; }
[data-reveal-delay="3"] { transition-delay: 0.24s; }
[data-reveal-delay="4"] { transition-delay: 0.32s; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .method-track { grid-template-columns: repeat(4, 1fr); gap: 1.6rem 1rem; }
  .method-track::before { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 860px) {
  :root { --header-h: 68px; }
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    background: var(--white);
    padding: 1rem 1.25rem 1.5rem;
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid var(--line);
    transform: translateY(-130%);
    transition: transform 0.4s var(--ease);
    margin-left: 0;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .nav-links.is-open { transform: translateY(0); }
  .nav-links a { padding: 0.85rem 1rem; border-radius: 10px; font-size: 1.05rem; }
  .nav-links a.active::after { display: none; }
  .nav-links a.active { background: var(--green-tint); }
  .nav-cta { margin-left: 0; margin-top: 0.5rem; justify-content: center; }

  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 460px; margin-inline: auto; order: -1; }
  .split, .split--rev .split-media { grid-template-columns: 1fr; order: 0; }
  .split-media { order: -1 !important; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: 1fr; }
  .stats-band { grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; }
  .method-track { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .field-row { grid-template-columns: 1fr; }
  .hero-badge { left: 0; }
  .hero-chip { right: 0; }
  .wrap, .narrow { width: min(100% - 2rem, var(--wrap)); }
}
