/* =============================================================
   海宁蓝地球电气 · 蓝地球·蔚蓝能源 设计系统
   Design System — UI Designer
   深海军蓝 + 生态绿，编辑式衬线大标题，地球/光束主视觉
   ============================================================= */

/* ---------- Design Tokens ---------- */
:root {
  /* Blue Earth — Azure (primary) */
  --azure-50:  #e8f1ff;
  --azure-100: #cfe2ff;
  --azure-200: #a3c5ff;
  --azure-300: #6fa0ff;
  --azure-400: #3a7bf0;
  --azure-500: #0a66f0;   /* primary */
  --azure-600: #0a4fc4;
  --azure-700: #0a3a93;   /* text-on-light AA */
  --azure-800: #0a2c6e;
  --azure-900: #081f4d;

  /* Eco Green (accent — green lighting / earth) */
  --eco-300: #5fe0b8;
  --eco-400: #25c79a;
  --eco-500: #0e9e78;
  --eco-600: #0a7d5f;

  /* Amber (accent — warm light / export certs) */
  --amber-300: #ffc861;
  --amber-500: #ffb020;

  /* Semantic */
  --success: #0e9e78;
  --warning: #d98a0b;
  --danger:  #d8453a;
  --info:    #0a66f0;

  /* Neutrals — cool ink (deep navy base) */
  --ink-900: #08152b;
  --ink-800: #0f2440;
  --ink-700: #1c3556;
  --ink-600: #3f5575;
  --ink-500: #65788f;
  --ink-400: #92a2b6;
  --line-300: #d7e1ee;
  --line-200: #e6edf5;
  --line-100: #f1f5fa;

  /* Surfaces — Light theme */
  --bg:        #ffffff;
  --bg-soft:   #eef3fa;
  --bg-sunken: #e4ecf6;
  --bg-deep:   #08152b;   /* dark hero / dark sections */
  --surface:   #ffffff;
  --surface-2: #f6f9fd;

  --text:      #08152b;
  --text-soft: #3f5575;
  --text-inv:  #eaf1fb;

  /* Typography — serif display for editorial/premium feel */
  --font-sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Noto Serif SC", "Songti SC", Georgia, "Times New Roman", serif;
  --font-mono: "JetBrains Mono", "Noto Sans SC", "SFMono-Regular", ui-monospace, Menlo, Consolas, monospace;

  --fs-12: 0.75rem;
  --fs-13: 0.8125rem;
  --fs-14: 0.875rem;
  --fs-16: 1rem;
  --fs-18: 1.125rem;
  --fs-20: 1.25rem;
  --fs-24: clamp(1.35rem, 1.1rem + 1vw, 1.5rem);
  --fs-30: clamp(1.6rem, 1.2rem + 1.8vw, 1.875rem);
  --fs-40: clamp(2rem, 1.4rem + 2.6vw, 2.5rem);
  --fs-56: clamp(2.4rem, 1.5rem + 3.8vw, 3.6rem);
  --fs-72: clamp(2.8rem, 1.7rem + 5.2vw, 4.5rem);

  /* Spacing — 8pt base */
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px;
  --sp-5: 20px; --sp-6: 24px; --sp-8: 32px; --sp-10: 40px;
  --sp-12: 48px; --sp-16: 64px; --sp-20: 80px; --sp-24: 96px; --sp-32: 128px;

  --r-sm: 8px; --r-md: 12px; --r-lg: 18px; --r-xl: 26px; --r-pill: 999px;

  --sh-1: 0 1px 2px rgba(8,21,43,.06), 0 1px 3px rgba(8,21,43,.04);
  --sh-2: 0 6px 18px rgba(8,21,43,.08), 0 2px 6px rgba(8,21,43,.04);
  --sh-3: 0 18px 48px rgba(8,21,43,.12), 0 8px 18px rgba(8,21,43,.06);
  --sh-glow: 0 0 0 1px rgba(10,102,240,.2), 0 20px 60px rgba(10,102,240,.25);

  --ease: cubic-bezier(.16,1,.3,1);
  --t-fast: .18s var(--ease);
  --t-mid:  .4s var(--ease);
  --t-slow: .7s var(--ease);

  --container: 1200px;
  --header-h: 70px;
}

/* Dark theme */
[data-theme="dark"] {
  --bg:        #08152b;
  --bg-soft:   #0c1e3a;
  --bg-sunken: #07111f;
  --surface:   #0f2647;
  --surface-2: #123058;
  --line-300: #1d3a5e;
  --line-200: #16304f;
  --line-100: #123058;
  --text:      #eaf1fb;
  --text-soft: #9fb3cd;
  --azure-500: #4d8bff;
  --bg-deep:   #050e1e;
  --sh-1: 0 1px 2px rgba(0,0,0,.4);
  --sh-2: 0 8px 24px rgba(0,0,0,.5);
  --sh-3: 0 20px 56px rgba(0,0,0,.6);
  --sh-glow: 0 0 0 1px rgba(77,139,255,.3), 0 20px 60px rgba(77,139,255,.3);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  font-family: var(--font-sans); font-size: var(--fs-16); line-height: 1.7;
  color: var(--text); background: var(--bg);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  transition: background var(--t-mid), color var(--t-mid);
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 2.5px solid var(--azure-500); outline-offset: 3px; border-radius: 4px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--sp-5); }
@media (min-width: 768px){ .container { padding-inline: var(--sp-8); } }
.section { padding-block: clamp(var(--sp-16), 8vw, var(--sp-24)); }
.section--tight { padding-block: var(--sp-12); }
.grid { display: grid; gap: var(--sp-6); }

/* ---------- Typography ---------- */
.display { font-family: var(--font-display); font-weight: 700; line-height: 1.08; letter-spacing: -.01em; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.2; color: var(--text); }
.eyebrow {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  font-size: var(--fs-13); font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--azure-600); font-family: var(--font-sans);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--eco-500); border-radius: 2px; }
.lead { font-size: var(--fs-18); color: var(--text-soft); max-width: 62ch; line-height: 1.75; }
.muted { color: var(--text-soft); }
.text-inv { color: var(--text-inv); }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  height: 50px; padding-inline: var(--sp-6);
  font-weight: 600; font-size: var(--fs-16);
  border-radius: var(--r-pill); border: 1.5px solid transparent;
  transition: transform var(--t-fast), box-shadow var(--t-fast), background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--azure-500); color: #fff; box-shadow: var(--sh-2); }
.btn--primary:hover { background: var(--azure-600); transform: translateY(-2px); box-shadow: var(--sh-3); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line-300); }
.btn--ghost:hover { border-color: var(--azure-500); color: var(--azure-600); background: var(--azure-50); }
.btn--invert { background: #fff; color: var(--ink-900); }
.btn--invert:hover { transform: translateY(-2px); box-shadow: var(--sh-3); }
.btn--eco { background: var(--eco-500); color: #04231a; box-shadow: var(--sh-2); }
.btn--eco:hover { background: var(--eco-400); transform: translateY(-2px); box-shadow: var(--sh-3); }
.btn--sm { height: 42px; padding-inline: var(--sp-5); font-size: var(--fs-14); }
.btn--block { width: 100%; }

/* ---------- Header / Nav ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-mid), background var(--t-mid), box-shadow var(--t-mid);
}
.header.is-scrolled { border-color: var(--line-300); box-shadow: var(--sh-1); }
.nav { display: flex; align-items: center; gap: var(--sp-6); height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: var(--sp-3); }
.brand__mark { width: 38px; height: 38px; flex: none; }
.brand__logo { width: 40px; height: 40px; flex: none; border-radius: 8px; object-fit: contain; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-18); line-height: 1.1; letter-spacing: -.01em; }
.brand__name b { color: var(--azure-700); }
.brand__name small { display: block; font-family: var(--font-sans); font-size: 10.5px; letter-spacing: .04em; color: var(--text-soft); font-weight: 500; text-transform: uppercase; margin-top: 2px; }

.nav__links { display: none; align-items: center; gap: var(--sp-1); margin-inline: auto; }
.nav__links a {
  position: relative; padding: var(--sp-2) var(--sp-3); border-radius: var(--r-sm);
  font-size: var(--fs-15); font-weight: 500; color: var(--text-soft);
  transition: color var(--t-fast), background var(--t-fast);
}
.nav__links a:hover { color: var(--text); background: var(--bg-soft); }
.nav__links a.is-active { color: var(--azure-700); }
.nav__links a.is-active::after {
  content: ""; position: absolute; left: var(--sp-3); right: var(--sp-3); bottom: -2px; height: 2px;
  background: var(--azure-500); border-radius: 2px;
}
.nav__tools { display: flex; align-items: center; gap: var(--sp-2); margin-left: auto; }
.icon-btn {
  width: 42px; height: 42px; display: inline-grid; place-items: center;
  border-radius: var(--r-sm); border: 1px solid var(--line-300); background: var(--surface);
  color: var(--text); transition: border-color var(--t-fast), color var(--t-fast), background var(--t-fast);
}
.icon-btn:hover { border-color: var(--azure-500); color: var(--azure-600); }
.icon-btn svg { width: 19px; height: 19px; }
.lang-toggle { font-family: var(--font-mono); font-size: var(--fs-13); font-weight: 600; width: auto; padding-inline: var(--sp-3); gap: 6px; }
.burger { display: inline-grid; }
@media (min-width: 980px){ .nav__links { display: flex; } .burger { display: none; } }

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0 0 0 auto; width: min(82vw, 340px); z-index: 60;
  background: var(--surface); border-left: 1px solid var(--line-300);
  transform: translateX(100%); transition: transform var(--t-mid);
  padding: var(--sp-6); display: flex; flex-direction: column; gap: var(--sp-2); box-shadow: var(--sh-3);
}
.drawer.is-open { transform: translateX(0); }
.drawer a { padding: var(--sp-3) var(--sp-4); border-radius: var(--r-sm); font-weight: 500; color: var(--text); }
.drawer a:hover, .drawer a.is-active { background: var(--azure-50); color: var(--azure-700); }
.drawer__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--sp-4); }
.scrim { position: fixed; inset: 0; background: rgba(5,14,30,.55); z-index: 55; opacity: 0; pointer-events: none; transition: opacity var(--t-mid); }
.scrim.is-open { opacity: 1; pointer-events: auto; }

/* ---------- Cards / Features ---------- */
.card {
  background: var(--surface); border: 1px solid var(--line-300); border-radius: var(--r-lg);
  box-shadow: var(--sh-1); transition: transform var(--t-mid), box-shadow var(--t-mid), border-color var(--t-mid);
}
.card--hover:hover { transform: translateY(-4px); box-shadow: var(--sh-3); border-color: var(--azure-200); }

.feature {
  padding: var(--sp-6); border-radius: var(--r-lg); background: var(--surface);
  border: 1px solid var(--line-300); box-shadow: var(--sh-1);
  transition: transform var(--t-mid), box-shadow var(--t-mid), border-color var(--t-mid);
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--sh-3); border-color: var(--azure-200); }
.feature__icon {
  width: 54px; height: 54px; display: grid; place-items: center; border-radius: var(--r-md);
  background: var(--azure-50); color: var(--azure-600); margin-bottom: var(--sp-4);
}
.feature__icon svg { width: 27px; height: 27px; }
.feature h3 { font-size: var(--fs-20); margin-bottom: var(--sp-2); }
.feature p { color: var(--text-soft); font-size: var(--fs-15); }

/* ---------- Product card ---------- */
.product { display: flex; flex-direction: column; overflow: hidden; }
.product__media {
  position: relative; aspect-ratio: 4/3; background: var(--bg-soft);
  display: grid; place-items: center; overflow: hidden; border-bottom: 1px solid var(--line-200);
}
.product__media svg { width: 62%; height: auto; transition: transform var(--t-mid); }
.product:hover .product__media svg { transform: scale(1.06); }
.product__tag {
  position: absolute; top: var(--sp-3); left: var(--sp-3);
  font-family: var(--font-sans); font-size: 11px; font-weight: 600; letter-spacing: .08em;
  padding: 4px 10px; border-radius: var(--r-pill); background: var(--azure-600); color: #fff;
}
.product__tag--new { background: var(--eco-500); color: #04231a; }
.product__body { padding: var(--sp-5); display: flex; flex-direction: column; gap: var(--sp-3); flex: 1; }
.product__body h3 { font-size: var(--fs-18); }
.product__specs { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-2) var(--sp-4); margin-top: auto; }
.spec { display: flex; flex-direction: column; gap: 2px; }
.spec span { font-size: 11px; color: var(--text-soft); font-family: var(--font-sans); letter-spacing: .04em; }
.spec b { font-size: var(--fs-14); font-weight: 600; }
.chip-row { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.chip { font-size: var(--fs-12); font-weight: 600; padding: 3px 10px; border-radius: var(--r-pill); background: var(--bg-soft); color: var(--text-soft); border: 1px solid var(--line-300); }
.chip--eco { background: rgba(14,158,120,.1); color: var(--eco-600); border-color: rgba(14,158,120,.25); }

/* Product card refinements (v2.2) */
.product__media { aspect-ratio: 16 / 10; }
.product__media svg { width: 56%; }
.product__alias { display: block; font-size: var(--fs-12); color: var(--text-soft); margin-top: 2px; letter-spacing: .01em; }
.product__desc { color: var(--text-soft); font-size: var(--fs-14); line-height: 1.65; }
.scene-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: var(--sp-3); }
.scene { font-size: 11px; font-weight: 500; padding: 2px 10px; border-radius: var(--r-pill); background: var(--azure-50); color: var(--azure-700); border: 1px solid var(--azure-100); }
.product__foot { margin-top: var(--sp-4); padding-top: var(--sp-4); border-top: 1px solid var(--line-200); display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); }
.product__foot .link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--azure-700); font-size: var(--fs-14); }
.product__foot .link-arrow svg { width: 15px; height: 15px; transition: transform var(--t-fast); }
.product:hover .product__foot .link-arrow svg { transform: translateX(4px); }

/* ---------- Product grid + quick-nav (v2.3 fix) ---------- */
.product-grid { grid-template-columns: 1fr; align-items: stretch; }
@media (min-width: 640px)  { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
.product-grid .product { scroll-margin-top: 152px; }

.seq {
  position: absolute; top: var(--sp-3); right: var(--sp-3); z-index: 2;
  display: inline-grid; place-items: center; min-width: 30px; height: 30px; padding: 0 8px;
  font-family: var(--font-sans); font-size: var(--fs-13); font-weight: 700; letter-spacing: .02em;
  color: #fff; background: var(--ink-900); border-radius: var(--r-pill); box-shadow: var(--sh-1);
}

.prodnav {
  position: sticky; top: 70px; z-index: 30;
  display: flex; align-items: center; flex-wrap: wrap; gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-4); margin-bottom: var(--sp-8);
  background: var(--surface); border: 1px solid var(--line-200);
  border-radius: var(--r-lg); box-shadow: var(--sh-1);
}
.prodnav__label {
  font-size: var(--fs-12); font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-soft); margin-right: var(--sp-1); white-space: nowrap;
}
.prodnav__pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: var(--r-pill);
  font-size: var(--fs-13); font-weight: 600; color: var(--text-soft);
  border: 1px solid var(--line-300); background: var(--bg);
  transition: all var(--t-fast); white-space: nowrap;
}
.prodnav__pill::before {
  content: attr(data-idx);
  display: inline-grid; place-items: center; width: 19px; height: 19px; border-radius: 50%;
  font-size: 10px; font-weight: 700; line-height: 1; background: var(--line-300); color: var(--text);
}
.prodnav__pill:hover { border-color: var(--azure-500); color: var(--azure-700); background: var(--azure-50); }
.prodnav__pill.is-active { background: var(--azure-600); border-color: var(--azure-600); color: #fff; box-shadow: var(--sh-2); }
.prodnav__pill.is-active::before { background: rgba(255,255,255,.28); color: #fff; }
@media (max-width: 639px) {
  .prodnav { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: var(--sp-3); -webkit-overflow-scrolling: touch; }
  .prodnav__pill { scroll-snap-align: start; }
  .prodnav__label { position: sticky; left: 0; background: var(--surface); padding-right: var(--sp-3); z-index: 1; }
}

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-6); }
@media (min-width: 768px){ .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { text-align: left; }
.stat__num { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-40); line-height: 1; color: var(--azure-600); letter-spacing: -.02em; }
.stat__label { font-size: var(--fs-14); color: var(--text-soft); margin-top: var(--sp-2); }

/* ---------- Certs ---------- */
.certs { display: flex; flex-wrap: wrap; gap: var(--sp-4); align-items: center; }
.cert {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-4); border-radius: var(--r-md);
  border: 1px solid var(--line-300); background: var(--surface);
  font-weight: 600; font-size: var(--fs-14); color: var(--text);
  transition: border-color var(--t-fast), transform var(--t-fast);
}
.cert:hover { border-color: var(--azure-300); transform: translateY(-2px); }
.cert svg { width: 22px; height: 22px; color: var(--azure-600); }
.cert--dim { opacity: .55; border-style: dashed; }
.cert--dim:hover { opacity: .8; }
.cert--eco { border-color: rgba(14,158,120,.3); background: rgba(14,158,120,.06); }
.cert--eco svg { color: var(--eco-500); }
.cert--eco:hover { border-color: var(--eco-300); }
.cert--export { border-color: rgba(255,176,32,.35); background: rgba(255,176,32,.07); }
.cert--export svg { color: var(--amber-500); }
.cert--export:hover { border-color: var(--amber-300); }

/* ---------- Steps ---------- */
.steps { display: grid; gap: var(--sp-6); counter-reset: step; }
@media (min-width: 860px){ .steps { grid-template-columns: repeat(4, 1fr); } }
.step { position: relative; padding-top: var(--sp-6); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--font-display); font-weight: 700; font-size: var(--fs-30); color: var(--azure-200);
}
.step h3 { font-size: var(--fs-18); margin: var(--sp-2) 0 var(--sp-2); }
.step p { color: var(--text-soft); font-size: var(--fs-14); }

/* ---------- Dual Pathway ---------- */
.pathway { display: grid; gap: var(--sp-6); }
@media (min-width: 820px){ .pathway { grid-template-columns: 1fr 1fr; } }
.path {
  position: relative; overflow: hidden; padding: var(--sp-8);
  border-radius: var(--r-xl); border: 1px solid var(--line-300); background: var(--surface);
  box-shadow: var(--sh-1); transition: transform var(--t-mid), box-shadow var(--t-mid), border-color var(--t-mid);
}
.path:hover { transform: translateY(-4px); box-shadow: var(--sh-3); }
.path--domestic { background: linear-gradient(150deg, var(--azure-50), #fff 70%); }
.path--global { background: linear-gradient(150deg, #e7f7f0, #fff 70%); }
.path__icon { width: 56px; height: 56px; border-radius: var(--r-md); display: grid; place-items: center; margin-bottom: var(--sp-4); }
.path--domestic .path__icon { background: var(--azure-600); color: #fff; }
.path--global .path__icon { background: var(--eco-500); color: #04231a; }
.path__icon svg { width: 28px; height: 28px; }
.path h3 { font-size: var(--fs-24); margin-bottom: var(--sp-2); }
.path p { color: var(--text-soft); font-size: var(--fs-15); margin-bottom: var(--sp-5); }
.path__link { display: inline-flex; align-items: center; gap: var(--sp-2); font-weight: 600; color: var(--azure-700); }
.path__link svg { width: 16px; height: 16px; transition: transform var(--t-fast); }
.path:hover .path__link svg { transform: translateX(4px); }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: var(--sp-2); }
.field label { font-size: var(--fs-14); font-weight: 600; }
.field .req { color: var(--danger); }
.field input, .field select, .field textarea {
  font: inherit; font-size: var(--fs-15); color: var(--text);
  padding: var(--sp-3) var(--sp-4); border: 1.5px solid var(--line-300); border-radius: var(--r-md);
  background: var(--surface); transition: border-color var(--t-fast), box-shadow var(--t-fast); width: 100%;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--azure-500); box-shadow: 0 0 0 4px var(--azure-50); }
.field.has-error input, .field.has-error textarea { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(216,69,58,.12); }
.field__error { font-size: var(--fs-13); color: var(--danger); min-height: 1em; }
.form-grid { display: grid; gap: var(--sp-4); }
@media (min-width: 640px){ .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .span-2 { grid-column: 1 / -1; } }
.form-note { font-size: var(--fs-13); color: var(--text-soft); display: flex; gap: var(--sp-2); align-items: flex-start; }
.form-note svg { width: 16px; height: 16px; flex: none; color: var(--eco-500); margin-top: 3px; }

/* ---------- Footer ---------- */
.footer { background: var(--bg-deep); color: #aebbce; padding-block: var(--sp-16) var(--sp-8); }
.footer a { color: #aebbce; transition: color var(--t-fast); }
.footer a:hover { color: #fff; }
.footer__grid { display: grid; gap: var(--sp-10); }
@media (min-width: 860px){ .footer__grid { grid-template-columns: 1.7fr 1fr 1fr 1fr; } }
.footer .brand { color: #fff; }
.footer h4 { color: #fff; font-size: var(--fs-15); margin-bottom: var(--sp-4); font-family: var(--font-sans); letter-spacing: .02em; font-weight: 600; }
.footer li { margin-bottom: var(--sp-3); font-size: var(--fs-14); }
.footer__bottom { margin-top: var(--sp-12); padding-top: var(--sp-6); border-top: 1px solid rgba(255,255,255,.08); display: flex; flex-wrap: wrap; gap: var(--sp-4); justify-content: space-between; font-size: var(--fs-13); color: #7e8ca3; }

/* ---------- Hero (always deep navy) ---------- */
.hero { position: relative; overflow: hidden; background: var(--bg-deep); color: var(--text-inv); padding-block: clamp(var(--sp-16), 7vw, var(--sp-24)); }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(55% 65% at 80% 22%, rgba(10,102,240,.30), transparent 60%),
    radial-gradient(45% 50% at 12% 85%, rgba(14,158,120,.22), transparent 60%),
    var(--bg-deep);
}
.hero__grid { position: absolute; inset: 0; opacity: .35;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 52px 52px; mask-image: radial-gradient(70% 70% at 50% 35%, #000, transparent 85%); }
.hero .container { position: relative; z-index: 1; }
.hero__inner { display: grid; gap: var(--sp-12); align-items: center; }
@media (min-width: 980px){ .hero__inner { grid-template-columns: 1.05fr .95fr; } }
.hero .eyebrow { color: var(--eco-300); }
.hero h1 { font-size: var(--fs-56); margin: var(--sp-4) 0 var(--sp-5); color: #fff; }
.hero p.lead { color: #c5d3e6; margin-bottom: var(--sp-8); }
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--sp-4); }
.hero__meta { display: flex; gap: var(--sp-8); margin-top: var(--sp-10); flex-wrap: wrap; }
.hero__meta div b { font-family: var(--font-display); font-size: var(--fs-24); color: #fff; display: block; }
.hero__meta div span { font-size: var(--fs-13); color: #97a8c0; }
.earth-visual { position: relative; aspect-ratio: 1/1; width: 100%; max-width: 460px; margin-inline: auto; }
.earth-visual svg { width: 100%; height: 100%; }

/* ---------- Section heading ---------- */
.sec-head { display: flex; flex-direction: column; gap: var(--sp-3); margin-bottom: var(--sp-10); }
.sec-head--row { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: var(--sp-6); flex-wrap: wrap; }
.sec-head h2 { font-size: var(--fs-40); }

/* ---------- Utilities ---------- */
.bg-soft { background: var(--bg-soft); }
.bg-deep { background: var(--bg-deep); color: #cdd8e8; }
.bg-deep .eyebrow { color: var(--eco-300); }
.bg-deep h2, .bg-deep h3 { color: #fff; }
.bg-deep .lead { color: #aebbce; }
.heritage {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  padding: 6px 14px; border-radius: var(--r-pill);
  background: rgba(14,158,120,.14); color: var(--eco-300);
  font-size: var(--fs-13); font-weight: 600; font-family: var(--font-sans); letter-spacing: .04em;
  border: 1px solid rgba(14,158,120,.3);
}
.divider { height: 1px; background: var(--line-300); border: 0; }

/* Contact info */
.info-list { display: grid; gap: var(--sp-5); }
.info-item { display: flex; gap: var(--sp-4); align-items: flex-start; }
.info-item__icon { width: 46px; height: 46px; flex: none; border-radius: var(--r-md); background: var(--azure-50); color: var(--azure-600); display: grid; place-items: center; }
.info-item__icon svg { width: 23px; height: 23px; }
.info-item h4 { font-size: var(--fs-15); margin-bottom: 2px; font-family: var(--font-sans); font-weight: 600; }
.info-item p { color: var(--text-soft); font-size: var(--fs-14); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity var(--t-slow), transform var(--t-slow); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce){ .reveal { opacity: 1; transform: none; } }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 120%);
  background: var(--ink-900); color: #fff; padding: var(--sp-4) var(--sp-6); border-radius: var(--r-md);
  box-shadow: var(--sh-3); z-index: 80; font-size: var(--fs-14); font-weight: 500;
  display: flex; align-items: center; gap: var(--sp-3); transition: transform var(--t-mid), opacity var(--t-mid); opacity: 0;
}
.toast.is-show { transform: translate(-50%, 0); opacity: 1; }
.toast svg { width: 20px; height: 20px; color: var(--eco-300); }

/* Breadcrumb */
.breadcrumb { display: flex; gap: var(--sp-2); align-items: center; font-size: var(--fs-13); color: var(--text-soft); flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--azure-600); }
.breadcrumb span { color: var(--line-300); }

/* Page head */
.page-head { background: linear-gradient(180deg, var(--bg-soft), var(--bg)); border-bottom: 1px solid var(--line-200); padding-block: var(--sp-12) var(--sp-10); }
