/* ============================================================
   Coastal Breeze Electric — Coastal Design System
   ============================================================ */

/* ---------- Design Tokens ---------- */
:root {
  /* Coastal palette */
  --navy: #0a2a43;        /* deep ocean — primary text / dark sections */
  --navy-700: #0f3a5c;
  --ocean: #10617f;       /* mid ocean blue */
  --ocean-400: #2b8fab;
  --seafoam: #3bb6a6;     /* teal-green accent */
  --seafoam-200: #bfe8e2;
  --sky: #eaf4f8;         /* pale sky wash */
  --sand: #f7f1e6;        /* warm sand background */
  --sand-200: #efe4d1;
  --coral: #ef6a4c;       /* sunset coral — CTA */
  --coral-600: #d9542f;
  --sun: #f5b453;         /* golden hour highlight */
  --white: #ffffff;
  --ink-60: rgba(10, 42, 67, 0.62);
  --ink-40: rgba(10, 42, 67, 0.40);

  /* Typography */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Rhythm */
  --maxw: 1180px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 2px 10px rgba(10, 42, 67, 0.06);
  --shadow: 0 18px 44px rgba(10, 42, 67, 0.12);
  --shadow-lg: 0 30px 70px rgba(10, 42, 67, 0.18);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--navy);
  background: var(--sand);
  line-height: 1.65;
  font-size: 1.02rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, picture { max-width: 100%; display: block; }
a { color: var(--ocean); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--coral-600); }
ul { list-style: none; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.1; color: var(--navy); letter-spacing: -0.01em; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.1rem); font-weight: 600; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.85rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }
p { color: var(--ink-60); }

/* ---------- Layout helpers ---------- */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(3.5rem, 8vw, 7rem); position: relative; }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.center { text-align: center; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: var(--ink-60); max-width: 60ch; }
.center .lead { margin-inline: auto; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ocean-400);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--seafoam), var(--ocean-400));
}
.center .eyebrow { justify-content: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  font-family: var(--font-body); font-weight: 600; font-size: 0.98rem;
  padding: 0.9rem 1.6rem; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), color 0.2s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--coral); color: #fff; box-shadow: 0 10px 24px rgba(239, 106, 76, 0.34); }
.btn--primary:hover { background: var(--coral-600); color: #fff; transform: translateY(-2px); box-shadow: 0 16px 32px rgba(239, 106, 76, 0.42); }
.btn--ghost { background: transparent; color: var(--navy); border-color: rgba(10, 42, 67, 0.18); }
.btn--ghost:hover { border-color: var(--ocean); color: var(--ocean); transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--navy); box-shadow: var(--shadow-sm); }
.btn--light:hover { color: var(--coral-600); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--onDark { background: rgba(255,255,255,0.12); color: #fff; border-color: rgba(255,255,255,0.32); backdrop-filter: blur(6px); }
.btn--onDark:hover { background: #fff; color: var(--navy); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247, 241, 230, 0.72);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid rgba(10, 42, 67, 0.07);
  transition: box-shadow 0.3s var(--ease);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; min-height: 74px;
}
.brand { display: inline-flex; align-items: center; gap: 0.7rem; font-family: var(--font-display); font-weight: 600; font-size: 1.18rem; color: var(--navy); letter-spacing: -0.01em; }
.brand:hover { color: var(--navy); }
.brand__mark { width: 42px; height: 42px; flex: none; object-fit: contain; }
/* Emblem logo is near-black; invert to white so it reads on the dark footer */
.footer .brand__mark { filter: brightness(0) invert(1); }
.brand__sub { display: block; font-family: var(--font-body); font-size: 0.66rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ocean-400); line-height: 1; margin-top: 3px; }

.nav__links { display: flex; align-items: center; gap: 0.35rem; }
.nav__links > li { position: relative; }
.nav__links a {
  display: inline-flex; align-items: center; gap: 0.3rem;
  font-size: 0.94rem; font-weight: 500; color: var(--navy);
  padding: 0.5rem 0.85rem; border-radius: 999px;
}
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--ocean); background: rgba(59, 182, 166, 0.12); }
.nav__cta { margin-left: 0.5rem; }

/* dropdown */
.has-menu > a::after { content: "⌄"; font-size: 0.9rem; line-height: 0; margin-top: -4px; opacity: 0.6; }
.submenu {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(8px);
  background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow); padding: 0.5rem;
  min-width: 230px; opacity: 0; visibility: hidden; transition: all 0.24s var(--ease);
  border: 1px solid rgba(10,42,67,0.06);
}
.has-menu:hover .submenu, .has-menu:focus-within .submenu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.submenu a { display: block; padding: 0.62rem 0.9rem; border-radius: 9px; font-size: 0.92rem; color: var(--navy); }
.submenu a:hover { background: var(--sky); color: var(--ocean); }

/* mobile toggle */
.nav__toggle { display: none; background: none; border: 0; cursor: pointer; padding: 0.4rem; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: 0.3s var(--ease); }
.nav__toggle span + span { margin-top: 6px; }
.nav.open .nav__toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav.open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.open .nav__toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(120% 90% at 85% -10%, rgba(59,182,166,0.28), transparent 55%),
    radial-gradient(90% 80% at 5% 10%, rgba(16,97,127,0.20), transparent 60%),
    linear-gradient(180deg, var(--sky), var(--sand) 88%);
}
.hero__inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; padding-block: clamp(1.75rem, 3.5vw, 3.25rem); }
.hero__badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(255,255,255,0.7); border: 1px solid rgba(16,97,127,0.16);
  padding: 0.4rem 0.9rem; border-radius: 999px; font-size: 0.82rem; font-weight: 600; color: var(--ocean);
  margin-bottom: 1.5rem; box-shadow: var(--shadow-sm);
}
.hero__badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--seafoam); box-shadow: 0 0 0 4px rgba(59,182,166,0.25); }
.hero h1 { margin-bottom: 1.1rem; }
.hero h1 .accent { color: var(--ocean); font-style: italic; }
.hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); margin-bottom: 2rem; max-width: 46ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 1.4rem 2rem; margin-top: 2.4rem; }
.hero__trust li { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; font-weight: 500; color: var(--navy); }
.hero__trust svg { width: 20px; height: 20px; color: var(--seafoam); flex: none; }

/* hero visual */
/* Cap the hero image on desktop so the tall portrait doesn't inflate the row
   height (which pushed the CTAs off-screen and left a gap before the next section) */
.hero__visual { position: relative; width: 100%; max-width: 430px; margin-left: auto; }
.hero__media {
  position: relative; border-radius: 26px; overflow: hidden; aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-lg); background: linear-gradient(160deg, var(--ocean), var(--navy));
}
/* Tighten the space between the hero and the first content section */
#services { padding-top: clamp(2rem, 4vw, 3.25rem); }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__float {
  position: absolute; left: -8%; bottom: 8%;
  background: #fff; border-radius: 16px; padding: 0.9rem 1.15rem; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 0.75rem; max-width: 240px;
}
.hero__float .ic { width: 42px; height: 42px; border-radius: 12px; background: var(--sky); display: grid; place-items: center; color: var(--ocean); flex: none; }
.hero__float .ic svg { width: 22px; height: 22px; }
.hero__float strong { display: block; font-family: var(--font-display); font-size: 1.15rem; color: var(--navy); line-height: 1; }
.hero__float span { font-size: 0.78rem; color: var(--ink-60); }
.hero__float--top { left: auto; right: -6%; bottom: auto; top: 7%; }

/* ---------- Wave divider ---------- */
.wave { display: block; width: 100%; height: auto; line-height: 0; }
.wave--flip { transform: rotate(180deg); }

/* ---------- Image placeholder ---------- */
.imgslot {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(16,97,127,0.10), rgba(59,182,166,0.14)),
    var(--sky);
  display: grid; place-items: center; color: var(--ocean-400);
  min-height: 220px; border: 1px dashed rgba(16,97,127,0.28);
}
.imgslot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.imgslot__hint { position: relative; text-align: center; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em; padding: 1rem; opacity: 0.8; }
.imgslot__hint svg { width: 30px; height: 30px; margin: 0 auto 0.5rem; display: block; opacity: 0.7; }

/* ---------- Service cards ---------- */
.grid { display: grid; gap: clamp(1.1rem, 2.5vw, 1.75rem); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff; border-radius: var(--radius); padding: 1.9rem 1.7rem;
  box-shadow: var(--shadow-sm); border: 1px solid rgba(10,42,67,0.05);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  position: relative; overflow: hidden;
}
.card::after {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%;
  background: linear-gradient(90deg, var(--seafoam), var(--ocean-400)); transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card:hover::after { transform: scaleX(1); }
.card__icon {
  width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center;
  background: linear-gradient(150deg, var(--sky), var(--seafoam-200)); color: var(--ocean);
  margin-bottom: 1.15rem;
}
.card__icon svg { width: 27px; height: 27px; }
.card h3 { margin-bottom: 0.55rem; }
.card p { font-size: 0.95rem; margin-bottom: 1rem; }
.card__link { font-size: 0.9rem; font-weight: 600; color: var(--ocean); display: inline-flex; align-items: center; gap: 0.35rem; }
.card__link svg { width: 15px; height: 15px; transition: transform 0.25s var(--ease); }
.card:hover .card__link svg { transform: translateX(4px); }

/* ---------- Feature / split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media .imgslot { min-height: 420px; height: 100%; box-shadow: var(--shadow); border: none; }

.checklist { display: grid; gap: 0.85rem; margin-top: 1.6rem; }
.checklist li { display: flex; gap: 0.75rem; align-items: flex-start; font-size: 0.98rem; color: var(--navy); }
.checklist svg { width: 22px; height: 22px; color: var(--seafoam); flex: none; margin-top: 2px; }
.checklist li strong { font-weight: 600; }

/* ---------- Dark band ---------- */
.band-dark {
  background:
    radial-gradient(80% 120% at 90% 0%, rgba(59,182,166,0.28), transparent 55%),
    linear-gradient(160deg, var(--navy), var(--navy-700));
  color: #fff;
}
.band-dark h2, .band-dark h3 { color: #fff; }
.band-dark p { color: rgba(255,255,255,0.76); }
.band-dark .eyebrow { color: var(--seafoam); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.stat { text-align: center; }
.stat__num { font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3.1rem); font-weight: 600; color: #fff; line-height: 1; }
.stat__num .u { color: var(--seafoam); }
.stat__label { font-size: 0.88rem; color: rgba(255,255,255,0.72); margin-top: 0.5rem; }

/* ---------- Steps / process ---------- */
.steps { display: grid; gap: 1.1rem; counter-reset: step; }
.step {
  display: grid; grid-template-columns: auto 1fr; gap: 1.2rem; align-items: start;
  background: #fff; border-radius: var(--radius-sm); padding: 1.4rem 1.5rem; box-shadow: var(--shadow-sm);
  border: 1px solid rgba(10,42,67,0.05);
}
.step__n {
  counter-increment: step; width: 44px; height: 44px; border-radius: 12px; flex: none;
  background: linear-gradient(150deg, var(--ocean), var(--seafoam)); color: #fff;
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; font-size: 1.2rem;
}
.step__n::before { content: counter(step, decimal-leading-zero); }
.step h3 { font-size: 1.1rem; margin-bottom: 0.25rem; color: var(--navy); }
.step p { font-size: 0.92rem; margin: 0; color: var(--ink-60); }
/* Keep step text dark even when the steps sit inside a dark band */
.band-dark .step h3 { color: var(--navy); }
.band-dark .step p { color: var(--ink-60); }

/* ---------- Feature chips (What Sets Us Apart) ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.feature { display: flex; gap: 1rem; align-items: flex-start; }
.feature__ic { width: 48px; height: 48px; border-radius: 13px; flex: none; display: grid; place-items: center; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.16); color: var(--seafoam); }
.feature__ic svg { width: 24px; height: 24px; }
.feature h3 { font-size: 1.08rem; margin-bottom: 0.3rem; }

/* ---------- Areas ---------- */
.areas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.area {
  background: #fff; border-radius: var(--radius-sm); padding: 1.5rem; box-shadow: var(--shadow-sm);
  border: 1px solid rgba(10,42,67,0.05); display: flex; align-items: center; gap: 0.9rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.area:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.area__pin { width: 44px; height: 44px; border-radius: 12px; flex: none; display: grid; place-items: center; background: var(--sky); color: var(--coral); }
.area__pin svg { width: 22px; height: 22px; }
.area strong { display: block; font-family: var(--font-display); font-size: 1.1rem; color: var(--navy); }
.area span { font-size: 0.82rem; color: var(--ink-60); }

/* ---------- CTA band ---------- */
.cta {
  background:
    radial-gradient(70% 140% at 15% 20%, rgba(245,180,83,0.30), transparent 55%),
    linear-gradient(150deg, var(--ocean), var(--navy));
  color: #fff; border-radius: 28px; padding: clamp(2.5rem, 5vw, 4rem); position: relative; overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.cta h2 { color: #fff; margin-bottom: 0.8rem; }
.cta p { color: rgba(255,255,255,0.82); max-width: 48ch; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.8rem; }
.cta__wave { position: absolute; right: -40px; bottom: -40px; width: 320px; opacity: 0.14; pointer-events: none; }

/* ---------- Page hero (interior) ---------- */
.pagehero {
  position: relative; overflow: hidden; text-align: center;
  background:
    radial-gradient(90% 120% at 80% -20%, rgba(59,182,166,0.26), transparent 55%),
    linear-gradient(180deg, var(--sky), var(--sand));
  padding-block: clamp(3rem, 7vw, 5.5rem);
}
.pagehero .lead { margin-inline: auto; margin-top: 1rem; }
.crumbs { display: flex; justify-content: center; gap: 0.5rem; font-size: 0.84rem; color: var(--ink-60); margin-bottom: 1.2rem; }
.crumbs a { color: var(--ocean); }
.crumbs span { opacity: 0.5; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
.info-card { background: #fff; border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-sm); border: 1px solid rgba(10,42,67,0.05); }
.info-row { display: flex; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid rgba(10,42,67,0.07); }
.info-row:last-child { border-bottom: 0; }
.info-row__ic { width: 46px; height: 46px; border-radius: 12px; flex: none; display: grid; place-items: center; background: var(--sky); color: var(--ocean); }
.info-row__ic svg { width: 22px; height: 22px; }
.info-row h3 { font-size: 1rem; margin-bottom: 0.15rem; font-family: var(--font-body); font-weight: 600; }
.info-row p, .info-row a { font-size: 0.95rem; color: var(--ink-60); margin: 0; }
.info-row a:hover { color: var(--coral-600); }

.form { background: #fff; border-radius: var(--radius); padding: clamp(1.6rem, 3vw, 2.4rem); box-shadow: var(--shadow); border: 1px solid rgba(10,42,67,0.05); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--navy); margin-bottom: 0.4rem; }
.field label .req { color: var(--coral); }
.field input, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 0.98rem; color: var(--navy);
  padding: 0.8rem 1rem; border-radius: 12px; border: 1.5px solid rgba(10,42,67,0.14); background: var(--sand);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--seafoam); background: #fff; box-shadow: 0 0 0 4px rgba(59,182,166,0.16); }
.field textarea { resize: vertical; min-height: 130px; }
.form__note { font-size: 0.82rem; color: var(--ink-40); margin-top: 0.8rem; text-align: center; }
.form__status { display: none; margin-top: 1rem; padding: 0.85rem 1rem; border-radius: 12px; font-size: 0.92rem; font-weight: 500; }
.form__status.show { display: block; }
.form__status.ok { background: rgba(59,182,166,0.14); color: #14746a; }
.form__status.err { background: rgba(239,106,76,0.14); color: var(--coral-600); }

.map-embed { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid rgba(10,42,67,0.05); min-height: 320px; }
.map-embed iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: rgba(255,255,255,0.7); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; position: relative; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2.5rem; }
.footer .brand { color: #fff; }
.footer__about { margin-top: 1rem; font-size: 0.92rem; max-width: 34ch; color: rgba(255,255,255,0.62); }
.footer h4 { font-family: var(--font-body); font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--seafoam); margin-bottom: 1rem; }
.footer__links li { margin-bottom: 0.6rem; }
.footer__links a { color: rgba(255,255,255,0.72); font-size: 0.93rem; }
.footer__links a:hover { color: #fff; }
.footer__contact li { display: flex; gap: 0.6rem; margin-bottom: 0.8rem; font-size: 0.93rem; color: rgba(255,255,255,0.72); }
.footer__contact svg { width: 18px; height: 18px; color: var(--seafoam); flex: none; margin-top: 3px; }
.footer__contact a { color: rgba(255,255,255,0.72); }
.footer__contact a:hover { color: #fff; }
.footer__bottom {
  margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,0.12);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; align-items: center;
  font-size: 0.84rem; color: rgba(255,255,255,0.5);
}
.footer__bottom a { color: rgba(255,255,255,0.6); }
.footer__bottom a:hover { color: #fff; }
.footer__bottom-links { display: flex; gap: 1.2rem; flex-wrap: wrap; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Prose (policy pages) ---------- */
.prose { max-width: 74ch; }
.prose h2 { margin-top: 2.2rem; margin-bottom: 0.8rem; font-size: 1.5rem; }
.prose h3 { margin-top: 1.6rem; margin-bottom: 0.5rem; }
.prose p, .prose li { color: var(--ink-60); margin-bottom: 1rem; }
.prose ul { list-style: disc; padding-left: 1.3rem; margin-bottom: 1rem; }
.prose li { margin-bottom: 0.5rem; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { max-width: 460px; margin-inline: auto; }
  .split, .contact-grid { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 760px) {
  .nav__links {
    position: fixed; inset: 74px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0.2rem;
    background: var(--sand); padding: 1rem var(--gutter) 1.5rem; box-shadow: var(--shadow);
    transform: translateY(-120%); transition: transform 0.35s var(--ease); border-bottom: 1px solid rgba(10,42,67,0.08);
  }
  .nav.open .nav__links { transform: translateY(0); }
  .nav__links a { padding: 0.75rem 0.5rem; font-size: 1rem; }
  .nav__cta { margin: 0.5rem 0 0; }
  .nav__cta .btn { width: 100%; }
  .submenu { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; min-width: 0; padding: 0 0 0 0.8rem; background: transparent; }
  .has-menu > a::after { display: none; }
  .nav__toggle { display: block; }
  .grid--3, .grid--4, .grid--2, .features, .areas, .form__row { grid-template-columns: 1fr; }
  .hero__float, .hero__float--top { position: static; margin-top: 1rem; max-width: none; }
}
