/* ============================================================
   West Cape Pumps & Engineering — "Estate" Design System
   Cream / deep navy / gold · Cormorant Garamond + Manrope
   ============================================================ */

:root {
  --cream: #F6F1E8;          /* page background */
  --cream-2: #EFE8DA;        /* alternate panel */
  --card: #FFFDF9;           /* card background */
  --line: #E3DACA;           /* hairline borders */
  --line-dark: #C9BFA9;      /* input borders */

  --navy: #10243A;           /* primary dark */
  --navy-deep: #0B1A2A;      /* footer */
  --navy-hero: #081826;      /* hero overlay base */

  --gold: #B08A4F;           /* primary accent (decorative: rules, borders) */
  --gold-dark: #866430;      /* gold TEXT on cream/card — AA ≥4.5 */
  --gold-light: #D9BE8C;     /* gold text on navy */
  --gold-btn: #8F6D35;       /* button fill — white text AA ≥4.5 */
  --gold-btn-hover: #7E5E2C;

  --ink: #23282C;            /* strongest body text */
  --body: #3A4048;           /* default body text */
  --muted: #5A6068;          /* secondary text */
  --on-dark: #E4E8EC;        /* body text on navy */
  --on-dark-muted: #C3CDD6;
  --footer-muted: #8FA0AD;

  --wa: #1FA855;             /* WhatsApp green — icon-only surfaces (3:1 ok) */
  --wa-dark: #12813F;        /* WhatsApp green with text — AA ≥4.5 */
  --success: #2e6b32;
  --error: #a33a2a;

  --serif: 'Cormorant Garamond', 'Georgia', serif;
  --sans: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --max-w: 1200px;
  --max-w-narrow: 860px;
  --pad-x: 56px;
  --radius: 1px;             /* the Estate look is square-edged */
  --shadow-sm: 0 1px 3px rgba(16,36,58,.07);
  --shadow-md: 0 10px 30px rgba(16,36,58,.10);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--body);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--gold-dark); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--navy); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.12;
}
h1 { font-size: 3.4rem; }
h2 { font-size: 2.2rem; margin-bottom: .9rem; }
h3 { font-size: 1.45rem; margin-bottom: .5rem; }
h4 { font-size: 1.1rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.lead { font-size: 1.08rem; line-height: 1.7; color: var(--muted); }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad-x); }
.container-narrow { max-width: var(--max-w-narrow); }

section { padding: 4.5rem 0; }
.section-tight { padding: 2.75rem 0; }
.section-surface { background: var(--cream-2); }

.text-center { text-align: center; }
.mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 2rem; }

/* ---------- kicker / eyebrow + rules ---------- */
.eyebrow {
  display: block;
  font-size: .72rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold-dark);
  margin-bottom: .9rem;
}
.eyebrow.on-dark { color: var(--gold-light); }

.rule-gold { width: 44px; height: 2px; background: var(--gold); margin: 0 0 1.3rem; }
.section-title .rule-gold, .rule-gold.center { margin-left: auto; margin-right: auto; }

.section-title { text-align: center; max-width: 720px; margin: 0 auto 2.75rem; }
.section-title p { color: var(--muted); }

/* numbered index for service rows: "01 — Borehole" */
.svc-index {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--gold-dark);
  margin-bottom: .55rem;
}

/* italic serif pull-quote */
.pull-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.65rem;
  line-height: 1.4;
  color: var(--navy);
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  padding: .95rem 2.1rem;
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .25s ease;
  text-align: center;
}
.btn-primary { background: var(--gold-btn); color: #fff; }
.btn-primary:hover { background: var(--gold-btn-hover); color: #fff; }
.btn-secondary { background: transparent; color: var(--navy); border-color: var(--gold); }
.btn-secondary:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { background: #fff; color: var(--navy); border-color: #fff; }

.link {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-dark);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
}
.link:hover { color: var(--navy); border-color: var(--navy); }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.nav {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 16px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand { display: flex; align-items: center; gap: 14px; line-height: 1.04; }
.brand-mark img, .brand-logo-mark { width: 46px; height: 46px; }
.brand-name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.28rem;
  color: var(--navy);
  letter-spacing: .3px;
  white-space: nowrap;
}
.brand-tagline {
  display: block;
  font-family: var(--sans);
  font-size: .59rem;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-top: 3px;
  font-weight: 600;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  font-size: .85rem;
  font-weight: 500;
}
.nav-links a { position: relative; color: var(--body); padding-bottom: 4px; }
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width .28s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--navy); font-weight: 700; }
.nav-cta { display: flex; align-items: center; gap: 1.1rem; }
.nav-phone { font-weight: 700; color: var(--navy); font-size: .9rem; white-space: nowrap; }
.nav-cta .btn { padding: .7rem 1.4rem; font-size: .72rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--navy);
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- heroes ---------- */
.hero {
  position: relative;
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 7.5rem 0 6.5rem;
}
.hero-content { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad-x); }
.hero h1 {
  color: #fff;
  font-size: 4rem;
  margin-bottom: 1.3rem;
  max-width: 760px;
}
.hero p { font-size: 1.08rem; line-height: 1.65; color: var(--on-dark); max-width: 600px; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2.1rem; }

.hero-stats {
  display: flex;
  gap: 3.25rem;
  flex-wrap: wrap;
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(217,190,140,.28);
}
.hero-stat .num {
  display: block;
  font-family: var(--serif);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--gold-light);
  line-height: 1;
}
.hero-stat .label {
  font-size: .68rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
}

.page-hero {
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 5.5rem 0;
}
.page-hero h1 { color: #fff; font-size: 3.1rem; margin-bottom: 1.1rem; max-width: 760px; }
.page-hero .lead { color: var(--on-dark); max-width: 640px; }
.breadcrumb {
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
  margin-bottom: 1.6rem;
}
.breadcrumb a { color: var(--gold-light); }
.breadcrumb a:hover { color: #fff; }

/* ---------- emergency strip ---------- */
.emergency-strip { background: var(--navy-deep); border-top: 1px solid rgba(217,190,140,.25); }
.emergency-strip .container {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  flex-wrap: wrap;
  padding-top: .95rem;
  padding-bottom: .95rem;
}
.emergency-strip p { margin: 0; color: var(--on-dark-muted); font-size: .92rem; }
.emergency-strip strong { color: #fff; font-weight: 700; }
.emergency-strip a {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-light);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
}
.emergency-strip a:hover { color: #fff; border-color: #fff; }

/* ---------- grids & cards ---------- */
.grid { display: grid; gap: 1.75rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.card:hover { border-color: var(--gold); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card-body { padding: 1.75rem 1.6rem; flex: 1; display: flex; flex-direction: column; align-items: flex-start; }
.card-body h3 { margin-bottom: .55rem; }
.card-body p { font-size: .93rem; color: var(--muted); }
.card-body .link { margin-top: auto; padding-top: 1rem; }
/* Fixed-ratio media crop (padding-top trick — identical in every browser,
   no reliance on aspect-ratio support inside flex items) */
.card-img {
  position: relative;
  padding-top: 66.667%;              /* 3:2 crop */
  background: var(--cream-2);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.card-img img,
.card-img .photo-soon {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card-img .photo-soon { min-height: 0; border: none; }
.card-tag {
  font-size: .68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold-dark);
  margin-bottom: .55rem;
}
.service-icon { width: 34px; height: 34px; color: var(--gold-dark); margin-bottom: 1rem; }
.service-icon svg { width: 100%; height: 100%; }

.photo-soon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 190px;
  background: var(--cream-2);
  color: var(--muted);
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  border: 1px solid var(--line);
}
.photo-soon svg { width: 28px; height: 28px; opacity: .55; }

/* ---------- alternating service rows (Services page) ---------- */
.svc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 44px var(--pad-x);
}
.svc-row h2 { font-size: 2.1rem; margin-bottom: .8rem; }
.svc-row p { font-size: .95rem; line-height: 1.75; color: var(--muted); }
.svc-row-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--cream-2);
}
.svc-row-img img { width: 100%; height: 100%; object-fit: cover; }
.svc-points { display: flex; flex-direction: column; gap: 9px; font-size: .9rem; color: var(--body); margin-top: 1rem; }
.svc-points div::before { content: '— '; color: var(--gold-dark); }

/* ---------- lists ---------- */
.check-list { list-style: none; }
.check-list li {
  padding-left: 1.6rem;
  position: relative;
  margin-bottom: .55rem;
  font-size: .95rem;
}
.check-list li::before {
  content: '';
  position: absolute;
  left: 0; top: .62em;
  width: 14px; height: 2px;
  background: var(--gold);
}
.col-list { list-style: none; columns: 2; column-gap: 2.5rem; margin: 1.25rem 0; }
.col-list li {
  break-inside: avoid;
  padding: .4rem 0 .4rem 1.5rem;
  position: relative;
  font-size: .93rem;
  border-bottom: 1px solid var(--line);
}
.col-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 1.05em;
  width: 12px; height: 2px;
  background: var(--gold);
}

/* ---------- tags ---------- */
.tag-row { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.4rem; }
.tag {
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--navy);
  background: var(--card);
  border: 1px solid var(--line-dark);
  padding: .5rem .95rem;
  border-radius: var(--radius);
}

/* ---------- feature rows ---------- */
.feature-row {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 3.5rem;
  align-items: center;
}
.feature-img {
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--cream-2);
}
.feature-img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- case study ---------- */
.case-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  padding: 1.4rem 0;
  margin-bottom: 2.5rem;
}
.case-meta .k {
  display: block;
  font-size: .66rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 600;
  margin-bottom: .3rem;
}
.case-meta .v { font-family: var(--serif); font-size: 1.08rem; color: var(--navy); font-weight: 600; }

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.gallery img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border: 1px solid var(--line);
  background: var(--cream-2);
}
.gallery img.wide { grid-column: 1 / -1; height: 420px; }

/* ---------- brand chips ---------- */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
}
.brand-chip {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 96px;
  text-align: center;
  transition: border-color .25s ease;
}
.brand-chip:hover { border-color: var(--gold); }
.brand-chip .bc-logo { max-height: 34px; max-width: 120px; object-fit: contain; filter: grayscale(1); opacity: .82; transition: filter .25s, opacity .25s; }
.brand-chip:hover .bc-logo { filter: none; opacity: 1; }
/* white-on-transparent logo files: invert to mono-dark so they show on cream */
.brand-chip .bc-logo.inv { filter: invert(1) grayscale(1); }
.brand-chip:hover .bc-logo.inv { filter: invert(1) grayscale(1); opacity: 1; }
.brand-chip .bc-name { font-family: var(--serif); font-weight: 600; font-size: 1.05rem; color: var(--navy); }
.brand-chip span:last-child:not(.bc-name) { font-size: .72rem; color: var(--muted); letter-spacing: .05em; }

/* ---------- CTA banner ---------- */
.cta-banner { background: var(--navy); text-align: center; color: #fff; padding: 4.75rem 0; }
.cta-banner h2 { color: #fff; font-size: 2.5rem; }
.cta-banner p { color: var(--on-dark-muted); max-width: 560px; margin: 0 auto 1.9rem; }

/* ---------- forms ---------- */
form { margin-top: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-field { margin-bottom: 1.1rem; }
.form-field label {
  display: block;
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: .45rem;
}
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  padding: .8rem .9rem;
  font-family: var(--sans);
  font-size: .95rem;
  color: var(--ink);
  background: var(--card);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form-field textarea { min-height: 140px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(176,138,79,.18);
}
.form-field input.invalid, .form-field textarea.invalid { border-color: var(--error); }
.field-error { display: block; color: var(--error); font-size: .8rem; margin-top: .3rem; min-height: 1em; }
.form-message { margin-top: 1rem; font-size: .92rem; min-height: 1.4em; }
.form-message.success { color: var(--success); font-weight: 600; }
.form-message.error { color: var(--error); font-weight: 600; }

/* ---------- prose (legal pages) ---------- */
.prose h2 { font-size: 1.5rem; margin: 2rem 0 .6rem; }
.prose ul { margin: 0 0 1rem 1.25rem; }
.prose li { margin-bottom: .35rem; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-deep); color: var(--footer-muted); font-size: .88rem; }
.site-footer .container { padding-top: 3.75rem; padding-bottom: 1.5rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.3fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(217,190,140,.16);
}
.footer-brand .brand { margin-bottom: 1rem; }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-tagline { color: var(--gold-light); }
.footer-brand p { color: var(--footer-muted); font-size: .88rem; max-width: 320px; }
.site-footer h4, .site-footer .ft-heading {
  color: var(--gold-light);
  font-family: var(--sans);
  font-size: .7rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 1.1rem;
}
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: .55rem; }
.site-footer a { color: var(--footer-muted); }
.site-footer a:hover { color: var(--gold-light); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem;
  padding-top: 1.4rem;
  font-size: .78rem;
}

/* ---------- floating actions / mobile bar ---------- */
.float-actions {
  position: fixed;
  right: 20px; bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: .7rem;
  z-index: 90;
}
.float-btn {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: var(--shadow-md);
  transition: transform .2s ease;
}
.float-btn:hover { transform: scale(1.08); color: #fff; }
.float-btn svg { width: 24px; height: 24px; }
.float-btn.wa { background: var(--wa); }
.float-btn.call { background: var(--navy); border: 1px solid var(--gold); }

.mobile-bar { display: none; }

/* ---------- cookie banner ---------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 120;
  background: var(--navy-deep);
  color: var(--on-dark-muted);
  padding: 1rem var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  border-top: 1px solid rgba(217,190,140,.3);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0; font-size: .85rem; max-width: 720px; }
.cookie-banner a { color: var(--gold-light); text-decoration: underline; }
.cookie-actions { display: flex; gap: .6rem; }
.cookie-actions .btn { padding: .6rem 1.2rem; font-size: .7rem; }
.cookie-actions .btn-secondary { color: var(--on-dark); border-color: rgba(217,190,140,.5); }
.cookie-actions .btn-secondary:hover { background: rgba(255,255,255,.08); color: #fff; }

/* ---------- fade-in ---------- */
.fade-in { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
.fade-in.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .fade-in { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  :root { --pad-x: 32px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 3.1rem; }
}

@media (max-width: 900px) {
  .svc-row { grid-template-columns: 1fr; gap: 1.75rem; padding-top: 32px; padding-bottom: 32px; }
  .svc-row-rev .svc-row-img { order: -1; }
  .feature-row { grid-template-columns: 1fr; gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .case-meta { grid-template-columns: 1fr; gap: .9rem; }
  .col-list { columns: 1; }
}

@media (max-width: 820px) {
  :root { --pad-x: 24px; }
  h1 { font-size: 2.5rem; }
  .hero { padding: 5rem 0 4.5rem; }
  .hero h1 { font-size: 2.55rem; }
  .page-hero h1 { font-size: 2.3rem; }
  .grid-3 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .nav-phone { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; flex: 0 0 auto; }
  .nav { gap: 1rem; }
  .brand { min-width: 0; gap: 10px; }
  .brand-logo-mark { flex: 0 0 auto; width: 42px; height: 42px; }
  .brand-name { font-size: 1.12rem; white-space: normal; }
  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
  }
  .nav-links.open { max-height: 420px; }
  .nav-links li { width: 100%; border-top: 1px solid var(--line); }
  .nav-links a { display: block; padding: .95rem var(--pad-x); }
  .nav-links a::after { display: none; }

  .hero-stats { gap: 1.75rem; }
  .hero-stat .num { font-size: 1.9rem; }

  .float-actions { display: none; }
  .mobile-bar {
    display: flex;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 90;
    background: var(--navy-deep);
    border-top: 1px solid rgba(217,190,140,.35);
  }
  .mobile-bar a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .85rem 0;
    color: #fff;
    font-size: .78rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-weight: 600;
  }
  .mobile-bar svg { width: 18px; height: 18px; }
  .mobile-bar .m-wa { background: var(--wa-dark); }
  body { padding-bottom: 52px; }
  .cookie-banner { bottom: 52px; }

  .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 400px) {
  .brand-name { font-size: 1.02rem; }
  .brand-tagline { letter-spacing: .26em; }
}

/* screen-reader-only text (a11y heading structure) */
.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; }
