/* =====================================================================
   EcoInsight — Organic Biophilic Design System
   Palette: Nature green + solar gold (WCAG AA)  |  Type: Lexend + Source Sans 3
   Hand-crafted, zero-build. Optimised for Core Web Vitals.
   ===================================================================== */

/* ---------- Design Tokens ---------- */
:root {
  /* Greens */
  --green-950: #052e26;
  --green-900: #064e3b;
  --green-800: #065f46;
  --green-700: #047857;
  --green-600: #059669;   /* primary */
  --green-500: #10b981;   /* secondary */
  --green-400: #34d399;
  --green-200: #a7f3d0;
  --green-100: #d1fae5;
  --green-50:  #ecfdf5;   /* canvas */

  /* Brand teal / blue accent (from EcoInsight logo: green -> teal -> blue) */
  --teal-500: #1ca0a6;
  --gold-600: #2c7fa6;    /* brand blue ("Insight") — accent */
  --gold-500: #1ca0a6;    /* brand teal */
  --gold-100: #d6eef2;    /* light teal wash */

  /* Neutrals */
  --ink:        #0f231d;
  --ink-soft:   #33453f;
  --muted-fg:   #5b7169;
  --card:       #ffffff;
  --border:     #dcefe6;
  --border-strong: #b9e2d1;
  --destructive: #dc2626;

  /* Semantic */
  --color-primary: var(--green-600);
  --color-on-primary: #ffffff;
  --color-accent: var(--gold-600);
  --bg: var(--green-50);
  --fg: var(--ink);

  /* Radii — Organic Biophilic uses generous rounding */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;

  /* Natural, soft, layered shadows */
  --shadow-sm: 0 1px 2px rgba(6, 78, 59, .06), 0 1px 3px rgba(6, 78, 59, .08);
  --shadow-md: 0 8px 24px -8px rgba(6, 78, 59, .16), 0 4px 8px -4px rgba(6, 78, 59, .08);
  --shadow-lg: 0 24px 48px -16px rgba(6, 78, 59, .22), 0 8px 16px -8px rgba(6, 78, 59, .10);
  --shadow-gold: 0 12px 28px -10px rgba(44, 127, 166, .40);

  /* Type */
  --font-head: 'Lexend', system-ui, -apple-system, sans-serif;
  --font-body: 'Source Sans 3', system-ui, -apple-system, sans-serif;

  /* Layout */
  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --nav-h: 76px;

  /* Motion */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --dur: 240ms;
}

/* ---------- 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: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

body {
  font-family: var(--font-body);
  color: var(--fg);
  background: var(--bg);
  font-size: 1.0625rem;      /* 17px base */
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--green-900); line-height: 1.12; letter-spacing: -.02em; font-weight: 600; }
h1 { font-size: clamp(2.5rem, 6vw, 4.25rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); }
p  { max-width: 68ch; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--ink-soft); line-height: 1.6; }
.eyebrow {
  font-family: var(--font-head); font-weight: 600; font-size: .8rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--green-700);
  display: inline-flex; align-items: center; gap: .55rem;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--gold-600); border-radius: 2px; }
.text-gradient { background: linear-gradient(120deg, var(--green-700), var(--green-500) 60%, var(--gold-600)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(4rem, 9vw, 7.5rem); position: relative; }
.section--tight { padding-block: clamp(3rem, 6vw, 4.5rem); }
.section-head { max-width: 62ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.grid { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .cols-3, .cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  padding: .9rem 1.6rem; border-radius: var(--r-pill);
  min-height: 48px; transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), background var(--dur);
  will-change: transform;
}
.btn svg { width: 19px; height: 19px; }
.btn--primary { background: var(--green-600); color: #fff; box-shadow: var(--shadow-md); }
.btn--primary:hover { background: var(--green-700); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn--gold { background: var(--gold-600); color: #fff; box-shadow: var(--shadow-gold); }
.btn--gold:hover { background: #226485; transform: translateY(-2px); }
.btn--ghost { background: rgba(255,255,255,.7); color: var(--green-800); border: 1.5px solid var(--border-strong); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: #fff; border-color: var(--green-500); transform: translateY(-2px); }
.btn--lg { padding: 1.05rem 2rem; font-size: 1.075rem; min-height: 56px; }
.btn:active { transform: translateY(0) scale(.98); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center;
  transition: background var(--dur), box-shadow var(--dur), backdrop-filter var(--dur);
}
.site-header.scrolled { background: rgba(236, 253, 245, .82); backdrop-filter: blur(14px); box-shadow: 0 1px 0 rgba(6,78,59,.08); }
.nav { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.brand { display: inline-flex; align-items: center; gap: .65rem; font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; color: var(--green-900); letter-spacing: -.02em; }
.brand__mark { width: 38px; height: 38px; flex: none; }
.brand span b { color: var(--gold-600); }
.brand-logo { height: 46px; width: auto; display: block; }
.site-footer .brand-logo { height: 38px; background: #fff; padding: 9px 14px; border-radius: 14px; box-sizing: content-box; box-shadow: var(--shadow-sm); }
@media (max-width: 480px) { .brand-logo { height: 36px; } }
.nav__links { display: flex; align-items: center; gap: .35rem; }
.nav__links a {
  font-family: var(--font-head); font-weight: 500; font-size: .98rem; color: var(--ink-soft);
  padding: .55rem .9rem; border-radius: var(--r-pill); transition: color var(--dur), background var(--dur);
}
.nav__links a:hover { color: var(--green-800); background: rgba(16,185,129,.10); }
.nav__links a.active { color: var(--green-800); background: rgba(16,185,129,.14); }
.nav__cta { margin-left: .5rem; }
.nav__toggle { display: none; width: 46px; height: 46px; border-radius: var(--r-md); align-items: center; justify-content: center; color: var(--green-900); }
.nav__toggle svg { width: 26px; height: 26px; }

@media (max-width: 940px) {
  .nav__toggle { display: inline-flex; }
  .nav__links {
    position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: .2rem;
    background: rgba(236,253,245,.97); backdrop-filter: blur(16px); padding: 1rem var(--gutter) 1.75rem;
    box-shadow: var(--shadow-lg); transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: opacity var(--dur), transform var(--dur);
  }
  .nav__links.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .nav__links a { padding: .85rem 1rem; font-size: 1.05rem; }
  .nav__cta { margin: .5rem 0 0; }
}

/* ---------- Cards ---------- */
.card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3vw, 2.1rem); box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), border-color var(--dur);
  position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--green-200); }
.card__icon {
  width: 58px; height: 58px; border-radius: var(--r-md); display: grid; place-items: center;
  background: linear-gradient(135deg, var(--green-100), var(--green-50)); color: var(--green-700);
  margin-bottom: 1.25rem; box-shadow: inset 0 0 0 1px rgba(16,185,129,.14);
}
.card__icon svg { width: 28px; height: 28px; stroke-width: 1.7; }
.card h3 { margin-bottom: .55rem; }
.card p { color: var(--muted-fg); font-size: 1rem; }
.card--gold .card__icon { background: linear-gradient(135deg, var(--gold-100), #f0fafb); color: var(--gold-600); }

/* ---------- Stats ---------- */
.stat { text-align: center; }
.stat__num { font-family: var(--font-head); font-weight: 700; font-size: clamp(2.4rem, 5vw, 3.4rem); color: var(--green-800); line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stat__num .unit { color: var(--gold-600); }
.stat__label { color: var(--muted-fg); font-size: .95rem; margin-top: .5rem; font-weight: 500; }

/* ---------- Pills / tags ---------- */
.tag { display: inline-flex; align-items: center; gap: .4rem; font-family: var(--font-head); font-weight: 500; font-size: .82rem; color: var(--green-700); background: rgba(16,185,129,.10); padding: .35rem .8rem; border-radius: var(--r-pill); }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: calc(var(--nav-h) + clamp(2.5rem, 7vw, 5.5rem)); padding-bottom: clamp(3rem, 8vw, 6rem); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 940px) { .hero__grid { grid-template-columns: 1fr; } }
.hero h1 { margin-bottom: 1.4rem; }
.hero .lead { margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero__trust { margin-top: 2.5rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2rem; color: var(--muted-fg); font-size: .9rem; }
.hero__trust .divider { width: 1px; height: 22px; background: var(--border-strong); }

/* Decorative organic blobs (background-only, parallax targets) */
.blob { position: absolute; border-radius: 50%; filter: blur(8px); opacity: .55; z-index: -1; pointer-events: none; }
.blob--1 { width: 460px; height: 460px; top: -140px; right: -120px; background: radial-gradient(circle at 30% 30%, var(--green-200), transparent 68%); }
.blob--2 { width: 380px; height: 380px; bottom: -160px; left: -140px; background: radial-gradient(circle at 60% 40%, var(--gold-100), transparent 66%); }
.section-blob { position: absolute; z-index: 0; opacity: .5; pointer-events: none; }

/* Hero visual card */
.hero__visual { position: relative; }
.hero__panel {
  position: relative; background: var(--card); border-radius: var(--r-xl); box-shadow: var(--shadow-lg);
  border: 1px solid var(--border); overflow: hidden;
}
.hero__panel-scene { aspect-ratio: 4 / 3.4; width: 100%; }
.hero__badge {
  position: absolute; background: rgba(255,255,255,.9); backdrop-filter: blur(8px);
  border: 1px solid var(--border); border-radius: var(--r-md); box-shadow: var(--shadow-md);
  padding: .8rem 1rem; display: flex; align-items: center; gap: .7rem;
}
.hero__badge svg { width: 34px; height: 34px; flex: none; }
.hero__badge b { font-family: var(--font-head); color: var(--green-900); display: block; font-size: 1.05rem; line-height: 1.1; }
.hero__badge small { color: var(--muted-fg); font-size: .8rem; }
.hero__badge--tl { top: 1.1rem; left: -1rem; }
.hero__badge--br { bottom: 1.1rem; right: -1rem; }
@media (max-width: 480px) { .hero__badge--tl, .hero__badge--br { display: none; } }

/* ---------- Split / feature rows ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split.reverse .split__media { order: 2; }
@media (max-width: 860px) { .split, .split.reverse { grid-template-columns: 1fr; } .split.reverse .split__media { order: 0; } }
.media-frame { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--border); background: var(--card); }
.media-frame svg { width: 100%; height: auto; display: block; }

/* Checklist */
.checklist { list-style: none; display: grid; gap: 1rem; margin-top: 1.75rem; }
.checklist li { display: grid; grid-template-columns: 28px 1fr; gap: .85rem; align-items: start; }
.checklist .tick { width: 28px; height: 28px; border-radius: 50%; background: var(--green-100); color: var(--green-700); display: grid; place-items: center; margin-top: 2px; }
.checklist .tick svg { width: 16px; height: 16px; stroke-width: 2.5; }
.checklist b { font-family: var(--font-head); color: var(--green-900); }
.checklist p { color: var(--muted-fg); font-size: .98rem; margin-top: .1rem; }

/* ---------- Banded / dark CTA ---------- */
.band { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--green-900), var(--green-700)); color: #eafaf3; border-radius: var(--r-xl); padding: clamp(2.5rem, 6vw, 4.5rem); }
.band h2 { color: #fff; }
.band p { color: rgba(234,250,243,.85); }
.band .eyebrow { color: var(--green-200); }
.band .eyebrow::before { background: var(--gold-500); }
.band-glow { position: absolute; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(52,211,153,.35), transparent 65%); top: -180px; right: -120px; pointer-events: none; }

/* ---------- Process steps ---------- */
.steps { counter-reset: step; display: grid; gap: 1.25rem; }
.step { display: grid; grid-template-columns: 64px 1fr; gap: 1.25rem; align-items: start; background: var(--card); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 1.5rem 1.75rem; box-shadow: var(--shadow-sm); }
.step__num { counter-increment: step; width: 64px; height: 64px; border-radius: var(--r-md); background: linear-gradient(135deg, var(--green-600), var(--green-800)); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; }
.step__num::after { content: counter(step, decimal-leading-zero); }
.step h3 { margin-bottom: .35rem; }
.step p { color: var(--muted-fg); }

/* ---------- Projects ---------- */
.project {
  display: block; background: var(--card); border: 1px solid var(--border); border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.project:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.project__media { aspect-ratio: 16 / 10; position: relative; overflow: hidden; }
.project__media svg { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease-out); }
.project:hover .project__media svg { transform: scale(1.05); }
.project__body { padding: 1.4rem 1.5rem 1.6rem; }
.project__tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: .8rem; }
.project h3 { font-size: 1.25rem; margin-bottom: .4rem; }
.project p { color: var(--muted-fg); font-size: .97rem; }
.project__meta { display: flex; gap: 1.5rem; margin-top: 1.1rem; padding-top: 1.1rem; border-top: 1px solid var(--border); }
.project__meta div span { display: block; font-family: var(--font-head); font-weight: 700; color: var(--green-800); font-size: 1.15rem; }
.project__meta div small { color: var(--muted-fg); font-size: .82rem; }

/* ---------- Logos / trust ---------- */
.logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(1.5rem, 5vw, 3.5rem); }
.logos span { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: var(--green-800); opacity: .6; letter-spacing: -.01em; transition: opacity var(--dur); }
.logos span:hover { opacity: 1; }

/* ---------- Testimonial ---------- */
.quote { background: var(--card); border: 1px solid var(--border); border-radius: var(--r-xl); padding: clamp(2rem, 5vw, 3.5rem); box-shadow: var(--shadow-md); position: relative; }
.quote__mark { font-family: var(--font-head); font-size: 5rem; line-height: .6; color: var(--green-200); position: absolute; top: 1.5rem; left: 1.75rem; }
.quote blockquote { font-family: var(--font-head); font-weight: 500; font-size: clamp(1.25rem, 2.5vw, 1.7rem); color: var(--green-900); line-height: 1.4; position: relative; margin-bottom: 1.75rem; max-width: none; }
.quote__author { display: flex; align-items: center; gap: 1rem; }
.quote__avatar { width: 52px; height: 52px; border-radius: 50%; background: linear-gradient(135deg, var(--green-500), var(--green-800)); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; }
.quote__author b { font-family: var(--font-head); color: var(--green-900); display: block; }
.quote__author small { color: var(--muted-fg); }

/* ---------- Partners ---------- */
.partners { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.25rem; }
@media (max-width: 940px) { .partners { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .partners { grid-template-columns: repeat(2, 1fr); } }
.partner {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); min-height: 118px;
  display: grid; place-items: center; padding: 1.4rem 1.1rem; box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), border-color var(--dur);
}
.partner:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--green-200); }
.partner img { max-height: 54px; max-width: 100%; width: auto; }
/* Placeholder wordmark recreations (swap for official files) */
.plogo { display: inline-flex; align-items: center; gap: .5rem; font-family: 'Lexend', sans-serif; }
.plogo__mark { width: 38px; height: 38px; flex: none; }
.plogo__txt { display: flex; flex-direction: column; line-height: 1; }
.plogo b { font-weight: 700; letter-spacing: -.01em; }
.plogo--psg b { font-size: 1.7rem; color: #3a3f45; }
.plogo--psg small { font-size: .52rem; color: #6b7280; font-weight: 600; letter-spacing: .02em; margin-top: 2px; text-transform: none; }
.plogo--sensors b { font-size: 1.5rem; color: #29388a; }
.plogo--sensors b i { color: #4a9e4a; font-style: normal; }
.plogo--senseca b { font-size: 1.5rem; color: #23459a; font-weight: 700; }
.plogo--palas b { font-size: 1.6rem; color: #4a9e5c; letter-spacing: .06em; }
.plogo--palas sup { color: #4a9e5c; font-size: .7rem; }
.plogo--persium { background: linear-gradient(135deg, #16305c, #2f6cc0); border-radius: 10px; padding: .55rem 1rem; }
.plogo--persium b { font-size: 1.45rem; color: #fff; font-weight: 600; }
.plogo--persium .sq { display: inline-block; width: 14px; height: 14px; background: rgba(255,255,255,.55); border-radius: 3px; margin-left: 3px; }

/* ---------- Accreditation badges ---------- */
.creds { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.cred {
  display: flex; align-items: center; gap: .8rem; background: var(--card);
  border: 1px solid var(--border); border-radius: var(--r-md); padding: .85rem 1.3rem;
  box-shadow: var(--shadow-sm); transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), border-color var(--dur);
}
.cred:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--green-200); }
.cred__seal { width: 42px; height: 42px; flex: none; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--green-100), var(--green-50)); color: var(--green-700); box-shadow: inset 0 0 0 1px rgba(16,185,129,.16); }
.cred__seal svg { width: 24px; height: 24px; stroke-width: 1.8; }
.cred b { font-family: var(--font-head); color: var(--green-900); display: block; font-size: 1.02rem; line-height: 1.1; letter-spacing: -.01em; }
.cred small { color: var(--muted-fg); font-size: .78rem; }
.cred--accent { border-color: var(--gold-600); background: linear-gradient(135deg, var(--gold-100), #fff); }
.cred--accent .cred__seal { background: linear-gradient(135deg, var(--gold-100), #eaf6fa); color: var(--gold-600); }
.cred--accent b { color: var(--green-900); }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1.25rem; }
.field { display: grid; gap: .45rem; }
.field label { font-family: var(--font-head); font-weight: 500; font-size: .95rem; color: var(--green-900); }
.field label .req { color: var(--destructive); }
.field input, .field select, .field textarea {
  font: inherit; width: 100%; padding: .85rem 1rem; border: 1.5px solid var(--border-strong);
  border-radius: var(--r-md); background: #fff; color: var(--ink); transition: border-color var(--dur), box-shadow var(--dur);
  min-height: 48px;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-500); box-shadow: 0 0 0 4px rgba(16,185,129,.14); }
.field .helper { font-size: .82rem; color: var(--muted-fg); }
.field .error { font-size: .82rem; color: var(--destructive); font-weight: 500; display: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--destructive); }
.field.invalid .error { display: block; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }
.form__status { display: none; align-items: center; gap: .6rem; padding: .9rem 1.1rem; border-radius: var(--r-md); font-weight: 500; }
.form__status.show { display: flex; }
.form__status.ok { background: var(--green-100); color: var(--green-800); }
.form__status.err { background: #fee2e2; color: #b91c1c; }
.form__status.err svg path:last-child { d: none; }
.form__status svg { width: 20px; height: 20px; }

/* ---------- Contact info tiles ---------- */
.info-tile { display: flex; gap: 1rem; align-items: flex-start; }
.info-tile .card__icon { margin-bottom: 0; width: 50px; height: 50px; }
.info-tile b { font-family: var(--font-head); color: var(--green-900); display: block; }
.info-tile a, .info-tile p { color: var(--muted-fg); }
.info-tile a:hover { color: var(--green-700); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; padding-top: calc(var(--nav-h) + clamp(2.5rem, 6vw, 4.5rem)); padding-bottom: clamp(2rem, 5vw, 3.5rem); }
.page-hero h1 { margin-bottom: 1rem; }
.breadcrumb { display: flex; gap: .5rem; align-items: center; color: var(--muted-fg); font-size: .9rem; margin-bottom: 1.25rem; }
.breadcrumb a:hover { color: var(--green-700); }
.breadcrumb svg { width: 15px; height: 15px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-950); color: #bfe9d7; padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; margin-top: clamp(3rem, 6vw, 5rem); position: relative; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: clamp(1.5rem, 4vw, 3rem); }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }
.site-footer .brand { color: #fff; }
.footer__about { margin: 1rem 0 1.5rem; color: #8fceb5; max-width: 34ch; font-size: .96rem; }
.footer__col h4 { color: #fff; font-size: 1rem; margin-bottom: 1.1rem; letter-spacing: 0; }
.footer__col ul { list-style: none; display: grid; gap: .7rem; }
.footer__col a { color: #a7dcc6; font-size: .96rem; transition: color var(--dur); }
.footer__col a:hover { color: #fff; }
.social { display: flex; gap: .6rem; }
.social a { width: 42px; height: 42px; border-radius: var(--r-md); background: rgba(255,255,255,.07); display: grid; place-items: center; color: #bfe9d7; transition: background var(--dur), color var(--dur); }
.social a:hover { background: var(--green-600); color: #fff; }
.social svg { width: 20px; height: 20px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.10); margin-top: clamp(2rem, 5vw, 3rem); padding-top: 1.75rem; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; color: #7fc2a6; font-size: .88rem; }

/* ---------- Reveal (JS-driven, with no-JS fallback) ---------- */
.reveal { opacity: 1; }
.js .reveal { opacity: 0; transform: translateY(14px); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Skip link ---------- */
.skip-link { position: absolute; left: 50%; transform: translateX(-50%) translateY(-140%); top: .5rem; z-index: 200; background: var(--green-800); color: #fff; padding: .7rem 1.2rem; border-radius: var(--r-pill); transition: transform var(--dur); }
.skip-link:focus { transform: translateX(-50%) translateY(0); }

/* Utilities */
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mb-0 { margin-bottom: 0; }
.center { text-align: center; }
.muted { color: var(--muted-fg); }
