/* ================================================================
   SEA CLEAR — styles.css
   Plain CSS, no preprocessors, no frameworks.

   Contents:
     1. Design tokens (colors, type, spacing)
     2. Base & reset
     3. Shared pieces (container, eyebrow, buttons, section rhythm)
     4. Header & navigation
     5. Hero (+ CSS window illustration, wave divider)
     6. Problem section
     7. Services section
     8. Why Sea Clear
     9. Service area
    10. Process
    11. FAQ
    12. Final CTA
    13. Footer
    14. Reveal-on-scroll & motion preferences
    15. Responsive breakpoints

   Brand ratio target: ~70% white, ~20% teal/blue, ~10% accents.
   ================================================================ */


/* ----------------------------------------------------------------
   1. DESIGN TOKENS
   ---------------------------------------------------------------- */
:root {
  /* Brand palette (from the Sea Clear brand guide) */
  --bahama-blue:  #00B4F0;
  --deep-current: #0A78C4;
  --sea-foam:     #FCFEFE;
  --deep-ink:     #0B2A38;
  --sky-tint:     #B3E5F5;
  --vintage-sand: #F3EFE6;

  /* Derived tints — keep everything mixed from the six brand colors */
  --sky-tint-soft: #E4F5FB;   /* sky tint lightened for large washes */
  --sand-soft:     #F8F5EE;   /* vintage sand lightened for section bands */
  --ink-soft:      #3D5865;   /* deep ink lightened for body text */
  --line:          #D8ECF4;   /* hairline borders */
  --current-deep:  #085F9C;   /* deep current darkened — button hover
                                 (keeps white text at AA contrast) */

  /* Typography */
  --font-display: "Fraunces", Georgia, serif;
  --font-body:    "Outfit", "Helvetica Neue", Arial, sans-serif;
  --font-mono:    "DM Mono", "Courier New", monospace;

  /* Fluid type scale — sized up for comfortable reading at any age */
  --text-h1:   clamp(2.4rem, 1.4rem + 4vw, 3.8rem);
  --text-h2:   clamp(1.9rem, 1.3rem + 2vw, 2.7rem);
  --text-h3:   1.28rem;
  --text-lede: clamp(1.18rem, 1.05rem + 0.5vw, 1.4rem);

  /* Spacing & shape */
  --section-pad: clamp(3rem, 2.25rem + 3vw, 4.75rem);
  --radius: 16px;
  --radius-large: 28px;
  --shadow-soft: 0 10px 34px rgba(11, 42, 56, 0.08);
  --shadow-lift: 0 18px 50px rgba(11, 42, 56, 0.13);
}


/* ----------------------------------------------------------------
   2. BASE & RESET
   ---------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* Keep anchor targets clear of the sticky header */
  scroll-padding-top: 5.5rem;
}

body {
  margin: 0;
  font-family: var(--font-body);
  /* 400 (not 300) and a larger base size keep body copy easy to read
     for every visitor, including older eyes on bright Keys screens */
  font-weight: 400;
  font-size: 1.18rem;
  line-height: 1.7;
  color: var(--ink-soft);
  background-color: var(--sea-foam);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--deep-ink);
  line-height: 1.12;
  margin: 0 0 1rem;
  text-wrap: balance;
}

h1 { font-size: var(--text-h1); letter-spacing: -0.015em; }
h2 { font-size: var(--text-h2); letter-spacing: -0.01em; }
h3 { font-size: var(--text-h3); font-weight: 600; line-height: 1.28; }

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

a { color: var(--deep-current); }

ul, ol { margin: 0; padding: 0; }

img { max-width: 100%; height: auto; display: block; }

/* Text selection in brand colors — a small premium touch */
::selection {
  background: var(--sky-tint);
  color: var(--deep-ink);
}

/* Visible focus for keyboard users */
:focus-visible {
  outline: 3px solid var(--bahama-blue);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  background: var(--deep-ink);
  color: var(--sea-foam);
  border-radius: 0 0 var(--radius) var(--radius);
  text-decoration: none;
  font-weight: 500;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 0; }


/* ----------------------------------------------------------------
   3. SHARED PIECES
   ---------------------------------------------------------------- */
.container {
  width: min(100% - 3rem, 72rem);
  margin-inline: auto;
}

.section { padding-block: var(--section-pad); }

/* Alternate section washes (the 10% accent moments) */
.section-sand { background: var(--sand-soft); }
.section-sky  { background: var(--sky-tint-soft); }

.section-head {
  max-width: 44rem;
  margin-bottom: clamp(2rem, 1.5rem + 1.5vw, 2.75rem);
}

.section-lede {
  font-size: var(--text-lede);
  color: var(--ink-soft);
}

/* Small mono label above headings — a signature brand detail */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--deep-current);
  margin: 0 0 1.1rem;
}
.eyebrow::before {
  content: "~";
  margin-right: 0.6em;
  color: var(--bahama-blue);
}
.eyebrow-light { color: var(--sky-tint); }
.eyebrow-light::before { color: var(--bahama-blue); }

/* Buttons — large, obvious tap targets that are easy to read and click */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  text-align: center;
  padding: 1.05rem 2.3rem;
  border-radius: 999px;
  border: 2px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease,
              background-color 0.18s ease, color 0.18s ease;
}
/* A friendly little lift + settle on hover (playful, not bouncy) */
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px); }

/* Full-size primary buttons get a small arrow that nudges on hover */
.btn-primary:not(.btn-small)::after,
.btn-light:not(.btn-small)::after {
  content: "\2192"; /* → */
  display: inline-block;
  margin-left: 0.55em;
  transition: transform 0.18s ease;
}
.btn-primary:not(.btn-small):hover::after,
.btn-light:not(.btn-small):hover::after {
  transform: translateX(4px);
}

.btn-primary {
  background: var(--deep-current);
  color: var(--sea-foam);
  box-shadow: 0 8px 20px rgba(10, 120, 196, 0.28);
}
/* Hover darkens (not brightens) so white text stays AA-contrast readable */
.btn-primary:hover {
  background: var(--current-deep);
  box-shadow: 0 12px 26px rgba(10, 120, 196, 0.34);
}

.btn-ghost {
  background: transparent;
  color: var(--deep-ink);
  border-color: var(--deep-ink);
}
.btn-ghost:hover { background: rgba(11, 42, 56, 0.05); }

.btn-light {
  background: var(--sea-foam);
  color: var(--deep-ink);
}
.btn-light:hover { background: var(--sky-tint); }

.btn-outline-light {
  background: transparent;
  color: var(--sea-foam);
  border-color: rgba(252, 254, 254, 0.55);
}
.btn-outline-light:hover {
  border-color: var(--sea-foam);
  background: rgba(252, 254, 254, 0.08);
}

.btn-small { padding: 0.7rem 1.5rem; font-size: 1rem; }


/* ----------------------------------------------------------------
   4. HEADER & NAVIGATION
   ---------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(252, 254, 254, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
/* Slim brand stripe along the very top of the page */
.site-header::before {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(90deg,
    var(--bahama-blue), var(--deep-current) 55%, var(--sky-tint));
}
/* .is-scrolled is toggled by js/script.js once the page scrolls */
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 4px 24px rgba(11, 42, 56, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-block: 0.9rem;
}

.wordmark {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--deep-ink);
  text-decoration: none;
  line-height: 1;
}
/* Brand guide §4: "Sea" italic serif + "Clear" in teal, one word */
.wordmark-sea { font-style: italic; }
.wordmark-accent { color: var(--deep-current); }

.site-nav { margin-left: auto; }

.nav-menu {
  display: flex;
  gap: 1.8rem;
  list-style: none;
}
.nav-menu a {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--deep-ink);
  text-decoration: none;
  padding-block: 0.4rem;
  border-bottom: 2px solid transparent;
  transition: border-color 0.18s ease, color 0.18s ease;
}
.nav-menu a:hover {
  color: var(--deep-current);
  border-bottom-color: var(--bahama-blue);
}

/* Phone entry lives in the markup but only shows inside the mobile menu */
.nav-menu-phone { display: none; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.header-phone {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: var(--deep-ink);
  text-decoration: none;
}
.header-phone:hover { color: var(--deep-current); }

/* Mobile menu button — hidden on desktop */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--deep-ink);
  cursor: pointer;
}
.nav-toggle-bar {
  width: 16px;
  height: 2px;
  background: var(--deep-ink);
  position: relative;
}
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  background: var(--deep-ink);
}
.nav-toggle-bar::before { top: -5px; }
.nav-toggle-bar::after  { top: 5px; }


/* ----------------------------------------------------------------
   5. HERO
   ---------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  /* Soft coastal wash: sea-foam into sky tint, with a warm sand glow
     low on the left — morning light over the flats */
  background:
    radial-gradient(90rem 40rem at 85% -10%, var(--sky-tint-soft) 0%, transparent 60%),
    radial-gradient(38rem 22rem at 78% 18%, rgba(243, 239, 230, 0.55) 0%, transparent 65%),
    radial-gradient(60rem 30rem at -10% 100%, var(--sand-soft) 0%, transparent 55%),
    var(--sea-foam);
}

/* --- Hero entrance: one orchestrated staggered rise on page load ---- */
@keyframes rise-in {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}
.hero-copy > * {
  animation: rise-in 0.7s cubic-bezier(0.2, 0.7, 0.3, 1) backwards;
}
.hero-copy > *:nth-child(1) { animation-delay: 0.05s; }
.hero-copy > *:nth-child(2) { animation-delay: 0.14s; }
.hero-copy > *:nth-child(3) { animation-delay: 0.23s; }
.hero-copy > *:nth-child(4) { animation-delay: 0.32s; }
.hero-copy > *:nth-child(5) { animation-delay: 0.41s; }
.hero-copy > *:nth-child(6) { animation-delay: 0.5s; }
.hero-window {
  animation: rise-in 0.8s cubic-bezier(0.2, 0.7, 0.3, 1) 0.45s backwards;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: clamp(2.5rem, 2rem + 2.5vw, 4.5rem);
  padding-block: clamp(2.75rem, 2rem + 2.5vw, 4.25rem) clamp(3.25rem, 2.5rem + 3vw, 5rem);
}

.hero h1 em {
  font-style: italic;
  color: var(--deep-current);
}

.hero-lede {
  font-size: var(--text-lede);
  max-width: 34rem;
  margin-bottom: 1.6rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 1.2rem;
}

/* Big, tappable phone card — icon + label + large number */
.hero-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.8rem;
  padding: 0.75rem 1.3rem 0.75rem 0.8rem;
  background: var(--sea-foam);
  border: 2px solid var(--sky-tint);
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.18s ease, border-color 0.18s ease,
              box-shadow 0.18s ease;
}
.hero-phone:hover {
  transform: translateY(-2px);
  border-color: var(--bahama-blue);
  box-shadow: var(--shadow-soft);
}
.hero-phone-icon {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  flex-shrink: 0;
  background: var(--deep-current);
  color: var(--sea-foam);
  border-radius: 50%;
}
.hero-phone-icon svg { width: 1.3rem; height: 1.3rem; }
.hero-phone-text { display: flex; flex-direction: column; line-height: 1.2; }
.hero-phone-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.hero-phone-number {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.45rem;
  color: var(--deep-ink);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  list-style: none;
}
.hero-badges li {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--deep-ink);
  background: var(--sea-foam);
  border: 1px solid var(--sky-tint);
  border-radius: 999px;
  padding: 0.48rem 1rem;
}
.hero-badges li::before {
  content: "\2726"; /* ✦ */
  color: var(--bahama-blue);
  margin-right: 0.5em;
}

/* --- The CSS "window with a view" illustration -------------------
   Decorative only (aria-hidden). One pane starts hazy and a squeegee
   streak clears it — the brand promise in miniature.
   TODO:PHOTOS — swap this block for real photography later. */
.hero-window {
  position: relative;
  justify-self: center;
  width: min(100%, 23rem);
  margin-bottom: 1.5rem; /* room for the overlapping snapshot below */
}

/* Vintage rotating stamp pinned to the window's top-right corner */
.hero-stamp {
  position: absolute;
  top: -2.4rem;
  right: -1.8rem;
  width: 7.4rem;
  height: 7.4rem;
  z-index: 2;
  filter: drop-shadow(0 6px 18px rgba(11, 42, 56, 0.14));
}
.stamp-disc { fill: var(--sea-foam); stroke: var(--sky-tint); stroke-width: 1; }
.stamp-ring { fill: none; stroke: var(--sky-tint); stroke-width: 1; }
.stamp-text {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 2.2px;
  fill: var(--deep-current);
}
.stamp-sc {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: 27px;
  fill: var(--deep-current);
}
.stamp-rotor {
  animation: stamp-spin 45s linear infinite;
  transform-origin: 60px 60px;
}
@keyframes stamp-spin {
  to { transform: rotate(360deg); }
}

.window-frame {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1.2fr 1fr;
  gap: 12px;
  padding: 14px;
  background: var(--sea-foam);
  border: 1px solid var(--line);
  border-radius: var(--radius-large) var(--radius-large) 6px 6px;
  box-shadow: var(--shadow-lift);
}

.window-pane {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  min-height: 7.5rem;
}
.pane-sky {
  background: linear-gradient(180deg, var(--sky-tint) 0%, var(--sky-tint-soft) 70%, #8FD9F2 100%);
}
.pane-sea {
  background: linear-gradient(180deg, #8FD9F2 0%, var(--bahama-blue) 45%, var(--deep-current) 100%);
  min-height: 6rem;
}
/* Slow band of light drifting across the water — living reflection */
.pane-sea::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg,
    transparent 40%, rgba(252, 254, 254, 0.28) 50%, transparent 60%);
  transform: translateX(-100%);
  animation: water-shimmer 7s ease-in-out infinite;
}
.window-pane:nth-child(4).pane-sea::after { animation-delay: 1.6s; }
@keyframes water-shimmer {
  0%   { transform: translateX(-100%); }
  55%  { transform: translateX(100%); }
  100% { transform: translateX(100%); }
}

/* A low vintage sun in the first sky pane */
.pane-sun {
  position: absolute;
  right: 18%;
  bottom: -18%;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 50%;
  background: var(--vintage-sand);
  box-shadow: 0 0 0 10px rgba(243, 239, 230, 0.35);
  /* Gentle, slow bob — a little warmth without being distracting */
  animation: sun-bob 6s ease-in-out infinite;
}
@keyframes sun-bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

/* The hazy pane + squeegee streak that wipes it clear */
.pane-hazy::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(252, 254, 254, 0.55);
  backdrop-filter: blur(1.5px);
  animation: clear-pane 4.5s ease-in-out 1s forwards;
}
.pane-streak {
  position: absolute;
  top: -30%;
  left: -60%;
  width: 45%;
  height: 160%;
  transform: rotate(18deg);
  background: linear-gradient(90deg, transparent, rgba(252, 254, 254, 0.85), transparent);
  animation: streak-sweep 4.5s ease-in-out 1s forwards;
}

@keyframes clear-pane {
  0%   { opacity: 1; }
  55%  { opacity: 1; }
  100% { opacity: 0; }
}
@keyframes streak-sweep {
  0%   { left: -60%; opacity: 0; }
  45%  { opacity: 0; }
  60%  { opacity: 1; }
  100% { left: 120%; opacity: 0; }
}

.window-sill {
  height: 12px;
  margin-inline: -6px;
  background: var(--vintage-sand);
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: var(--shadow-soft);
}

/* The official tagline under the window — Fraunces italic per brand
   guide §3 ("use the italic for taglines") */
.window-caption {
  margin-top: 1.1rem;
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.18rem;
  color: var(--deep-current);
}

/* --- "Snapshot" placeholder cards --------------------------------
   Little polaroid-style frames holding CSS gradients until real
   photography arrives (TODO:PHOTOS marks each one in the HTML). */
.photo-card {
  margin: 0;
  padding: 0.55rem 0.55rem 0;
  background: var(--sea-foam);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow-lift);
}
.photo-card-img {
  height: 6.2rem;
  border-radius: 6px;
  /* A tiny "view": sky over shallows over deep water */
  background: linear-gradient(180deg,
    var(--sky-tint-soft) 0%, var(--sky-tint) 44%,
    #6FCDEF 46%, var(--bahama-blue) 70%, var(--deep-current) 100%);
}
.photo-card-img-sunset {
  height: 8.5rem;
  /* Warmer variant: sand-lit evening sky into the water */
  background: linear-gradient(180deg,
    var(--vintage-sand) 0%, var(--sky-tint-soft) 38%,
    var(--sky-tint) 52%, #6FCDEF 54%, var(--deep-current) 100%);
}
.photo-card figcaption {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-align: center;
  padding: 0.55rem 0.2rem 0.6rem;
}

/* Hero variant: tilted, overlapping the window's bottom-left corner
   (bottom offset keeps it clear of the tagline caption below) */
.photo-card-hero {
  position: absolute;
  left: -2.6rem;
  bottom: 3.6rem;
  width: 10.5rem;
  transform: rotate(-4deg);
  z-index: 2;
  transition: transform 0.25s ease;
}
.photo-card-hero:hover { transform: rotate(-1deg) translateY(-3px); }

/* Why-section variant: sits under the pull quote, gently tilted */
.photo-card-why {
  margin-top: 2.2rem;
  max-width: 19rem;
  transform: rotate(-1.5deg);
}

/* Scalloped wave divider at the bottom of the hero */
.wave-divider {
  color: var(--sea-foam);
  line-height: 0;
  margin-top: -1px;
}
.wave-divider svg {
  display: block;
  width: 100%;
  height: 40px;
}


/* ----------------------------------------------------------------
   6. PROBLEM SECTION
   ---------------------------------------------------------------- */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-bottom: 2.2rem;
}

.problem-card {
  background: var(--sea-foam);
  border: 1px solid var(--line);
  border-top: 3px solid var(--bahama-blue);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem;
  box-shadow: var(--shadow-soft);
}
.problem-card h3 { margin-bottom: 0.6rem; }
.problem-card p { font-size: 0.98rem; }

.problem-close {
  max-width: 44rem;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-style: italic;
  color: var(--deep-ink);
  line-height: 1.5;
}


/* ----------------------------------------------------------------
   7. SERVICES SECTION
   ---------------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.3rem;
  counter-reset: svc; /* numbers the cards 01–08 without touching HTML */
}

.service-card {
  position: relative;
  background: var(--sea-foam);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
  border-color: var(--sky-tint);
}
/* Small mono index in the corner — quiet catalog detail */
.service-card::before {
  counter-increment: svc;
  content: "0" counter(svc);
  position: absolute;
  top: 1.5rem;
  right: 1.6rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--sky-tint);
}

.service-icon {
  width: 42px;
  height: 42px;
  padding: 9px;
  box-sizing: border-box;
  background: var(--sky-tint-soft);
  border-radius: 11px;
  color: var(--deep-current);
  margin-bottom: 0.85rem;
  transition: background-color 0.2s ease;
}
.service-card:hover .service-icon { background: var(--sky-tint); }

.service-card h3 { margin-bottom: 0.5rem; font-size: 1.06rem; }
.service-card p { font-size: 0.94rem; }

/* Post-construction card carries a cautionary "by assessment" tone */
.service-card-assessment {
  background: var(--vintage-sand);
  border-color: #E5DECF;
}
.service-note {
  display: inline-block;
  margin-top: 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--deep-ink);
  border: 1px solid var(--deep-ink);
  border-radius: 999px;
  padding: 0.3rem 0.8rem;
}


/* ----------------------------------------------------------------
   8. WHY SEA CLEAR
   ---------------------------------------------------------------- */
.why-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2.5rem, 2rem + 3vw, 5.5rem);
  align-items: start;
}

.why-quote {
  margin: 2.2rem 0 0;
  padding: 1.6rem 1.8rem;
  background: var(--sky-tint-soft);
  border-left: 3px solid var(--bahama-blue);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.why-quote p {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--deep-current);
  margin: 0;
}

.why-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.why-list li {
  padding: 1.15rem 1.3rem;
  background: var(--sea-foam);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.why-list strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.04rem;
  color: var(--deep-ink);
  margin-bottom: 0.35rem;
}
.why-list strong::before {
  content: "✦";
  color: var(--bahama-blue);
  margin-right: 0.5em;
  font-size: 0.8em;
}
.why-list span { font-size: 0.93rem; }


/* ----------------------------------------------------------------
   8b. MID-PAGE CTA BAND
   ---------------------------------------------------------------- */
.cta-band {
  background: linear-gradient(100deg, var(--deep-current) 0%, var(--current-deep) 100%);
  color: var(--sea-foam);
  padding-block: 1.7rem;
}

.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.cta-band-text {
  margin: 0;
  font-size: 1.05rem;
}

.cta-band-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sky-tint);
  margin-bottom: 0.25rem;
}

.cta-band-actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.cta-band-phone {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--sea-foam);
  text-decoration-color: var(--sky-tint);
  text-underline-offset: 3px;
}


/* ----------------------------------------------------------------
   9. SERVICE AREA
   ---------------------------------------------------------------- */
/* The whole service area sits in one refined "route" panel */
.area-panel {
  background: var(--sea-foam);
  border: 1px solid var(--line);
  border-radius: var(--radius-large);
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  box-shadow: var(--shadow-soft);
}

/* Mono route label with a dashed "highway" line running off it */
.area-route {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--deep-current);
  margin-bottom: 1.5rem;
}
.area-route::after {
  content: "";
  flex: 1;
  border-top: 2px dashed var(--sky-tint);
}

.area-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.8rem;
}
.area-list li {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  background: var(--sea-foam);
  border: 1px solid var(--sky-tint);
  border-radius: 999px;
  padding: 0.65rem 1.25rem;
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.area-list li:hover {
  transform: translateY(-2px);
  border-color: var(--bahama-blue);
}
.area-name { font-weight: 500; color: var(--deep-ink); }
.area-mm {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--deep-current);
}

.area-note {
  font-size: 0.94rem;
  max-width: 38rem;
}

/* --- Scroll-driven horizontal pan ("drive down US-1") -----------
   Default: chips wrap into a static grid (no-JS / reduced-motion).
   When js/script.js adds .is-panning, the row becomes a single track
   that pans from Key Largo → Key West as you scroll the section. */
.area-viewport { margin-bottom: 1.8rem; }
.is-panning .area-list { margin-bottom: 0; }

.is-panning .area-viewport {
  overflow: hidden;
  /* Chips softly emerge/exit at the edges, like passing mile markers */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.is-panning .area-list {
  flex-wrap: nowrap;
  padding-inline: 0.75rem 2.5rem; /* breathing room so end chips clear the fade */
  will-change: transform;
}
.is-panning .area-list li { flex: 0 0 auto; }


/* ----------------------------------------------------------------
   10. PROCESS
   ---------------------------------------------------------------- */
.process-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  counter-reset: step;
}

.process-step {
  position: relative;
  padding: 1.7rem 1.7rem 1.6rem;
  background: var(--sea-foam);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

/* Little arrows floating between the steps on desktop */
@media (min-width: 961px) {
  .process-step:not(:last-child)::after {
    content: "\2192"; /* → */
    position: absolute;
    top: 2.3rem;
    right: -1.35rem;
    font-family: var(--font-mono);
    font-size: 1.3rem;
    color: var(--bahama-blue);
  }
}

.process-number {
  display: block;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 400;
  font-style: italic;
  line-height: 1;
  color: var(--sky-tint);
  margin-bottom: 0.6rem;
}

.process-step h3 { margin-bottom: 0.5rem; }
.process-step p { font-size: 1.05rem; }

/* Friendly call prompt below the three steps */
.process-callout {
  margin-top: 2.2rem;
  text-align: center;
  font-size: 1.15rem;
  color: var(--deep-ink);
}
.process-callout a {
  font-family: var(--font-display);
  font-weight: 600;
  font-style: italic;
  font-size: 1.25rem;
  color: var(--deep-current);
  white-space: nowrap;
  text-decoration-color: var(--bahama-blue);
  text-underline-offset: 3px;
}


/* ----------------------------------------------------------------
   11. FAQ
   ---------------------------------------------------------------- */
.faq-inner { max-width: 46rem; }

.faq-list {
  display: grid;
  gap: 0.8rem;
}

.faq-item {
  background: var(--sea-foam);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
}

.faq-item {
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.faq-item[open] {
  border-color: var(--sky-tint);
  box-shadow: var(--shadow-soft);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.3rem 1.5rem;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1.04rem;
  color: var(--deep-ink);
  transition: background-color 0.18s ease;
}
.faq-item summary:hover { background: var(--sky-tint-soft); }

/* Answer eases in when a question opens */
@keyframes faq-open {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: none; }
}
.faq-item[open] p { animation: faq-open 0.28s ease; }
.faq-item summary::-webkit-details-marker { display: none; }

/* Plus that rotates to an × when open */
.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 1.2rem;
  color: var(--deep-current);
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item p {
  padding: 0 1.5rem 1.4rem;
  font-size: 0.97rem;
}


/* ----------------------------------------------------------------
   12. FINAL CTA
   ---------------------------------------------------------------- */
/* The ink wave rolls the sand FAQ section into the dark closing */
.wave-divider-ink {
  background: var(--sand-soft);
  color: var(--deep-ink);
}

.final-cta {
  background:
    radial-gradient(70rem 30rem at 50% 130%, rgba(10, 120, 196, 0.55) 0%, transparent 65%),
    radial-gradient(40rem 18rem at 80% -10%, rgba(0, 180, 240, 0.12) 0%, transparent 60%),
    var(--deep-ink);
  color: var(--sky-tint-soft);
  padding-block: var(--section-pad);
  text-align: center;
}

/* SC monogram medallion above the closing headline */
.cta-monogram {
  width: 3.8rem;
  height: 3.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.8rem;
  border: 1px solid rgba(179, 229, 245, 0.4);
  border-radius: 50%;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--sky-tint);
}

.final-cta-inner { max-width: 42rem; }

.final-cta h2 {
  color: var(--sea-foam);
  font-size: clamp(2.2rem, 1.5rem + 3vw, 3.6rem);
}

.final-cta-lede {
  font-size: var(--text-lede);
  margin-bottom: 2.2rem;
  color: var(--sky-tint);
}

.final-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}


/* ----------------------------------------------------------------
   13. FOOTER
   ---------------------------------------------------------------- */
.site-footer {
  background: var(--deep-ink);
  border-top: 1px solid rgba(179, 229, 245, 0.15);
  color: var(--sky-tint);
  padding-block: 2.8rem;
  font-size: 0.92rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr auto;
  gap: 1.6rem;
  align-items: start;
}

.footer-links {
  display: grid;
  gap: 0.45rem;
  padding-top: 0.3rem;
}
.footer-links a {
  color: var(--sky-tint);
  text-decoration: none;
  font-size: 0.92rem;
  width: fit-content;
}
.footer-links a:hover { color: var(--bahama-blue); }

.wordmark-footer {
  font-size: 1.35rem;
  color: var(--sea-foam);
  margin: 0 0 0.4rem;
}
.wordmark-footer .wordmark-accent { color: var(--bahama-blue); }

.footer-legal {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: rgba(179, 229, 245, 0.7);
}

.footer-contact {
  justify-self: end;
  text-align: right;
  display: grid;
  gap: 0.3rem;
}
.footer-contact a {
  color: var(--sea-foam);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.85rem;
}
.footer-contact a:hover { color: var(--bahama-blue); }
.footer-contact p {
  color: rgba(179, 229, 245, 0.7);
  font-size: 0.85rem;
}

.footer-seo {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(179, 229, 245, 0.15);
  padding-top: 1.4rem;
  font-size: 0.82rem;
  color: rgba(179, 229, 245, 0.82); /* kept bright enough for AA contrast */
}


/* ----------------------------------------------------------------
   13b. LIVELY DETAILS
   Small, on-brand motion that makes the page feel alive: sparkling
   clean glass, drifting coastal light, and a polished-glass gleam on
   the main buttons. All of it is switched off under
   prefers-reduced-motion (see section 14).
   ---------------------------------------------------------------- */

/* Scroll-progress bar — thin brand gradient across the very top.
   The inner <span> width is set from js/script.js as you scroll. */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 60;
  pointer-events: none;
}
.scroll-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg,
    var(--bahama-blue), var(--deep-current) 60%, var(--sky-tint));
  transition: width 0.1s linear;
}

/* Drifting light motes in the hero — sun sparkling off the water */
.hero-motes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.hero-motes span {
  position: absolute;
  bottom: -10%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%,
    rgba(252, 254, 254, 0.9), rgba(0, 180, 240, 0.25) 70%, transparent);
  opacity: 0;
  animation: mote-drift 15s linear infinite;
}
.hero-motes span:nth-child(1) { left: 8%;  width: 8px;  height: 8px;  animation-duration: 17s; animation-delay: 0s;   }
.hero-motes span:nth-child(2) { left: 22%; width: 13px; height: 13px; animation-duration: 21s; animation-delay: 3s;   }
.hero-motes span:nth-child(3) { left: 40%; width: 6px;  height: 6px;  animation-duration: 14s; animation-delay: 6s;   }
.hero-motes span:nth-child(4) { left: 57%; width: 11px; height: 11px; animation-duration: 19s; animation-delay: 1.5s; }
.hero-motes span:nth-child(5) { left: 70%; width: 7px;  height: 7px;  animation-duration: 16s; animation-delay: 4.5s; }
.hero-motes span:nth-child(6) { left: 84%; width: 12px; height: 12px; animation-duration: 22s; animation-delay: 8s;   }
.hero-motes span:nth-child(7) { left: 93%; width: 8px;  height: 8px;  animation-duration: 18s; animation-delay: 2.5s; }
@keyframes mote-drift {
  0%   { transform: translateY(0) scale(0.6);   opacity: 0; }
  10%  { opacity: 0.7; }
  90%  { opacity: 0.7; }
  100% { transform: translateY(-105vh) scale(1); opacity: 0; }
}
/* Keep the hero content above the motes */
.hero-inner { position: relative; z-index: 1; }

/* Sparkles that twinkle once the squeegee wipes the pane clean.
   A 4-point star drawn with clip-path; delayed to fire after the streak. */
.pane-sparkle {
  position: absolute;
  width: 16px;
  height: 16px;
  background: var(--sea-foam);
  clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%);
  opacity: 0;
  transform: scale(0);
  animation: sparkle-twinkle 4.5s ease-in-out 2.6s infinite;
}
.pane-sparkle-1 { top: 20%; left: 26%; }
.pane-sparkle-2 { top: 52%; left: 60%; width: 11px; height: 11px; animation-delay: 3.2s; }
@keyframes sparkle-twinkle {
  0%, 100% { opacity: 0; transform: scale(0) rotate(0deg); }
  8%       { opacity: 1; transform: scale(1) rotate(20deg); }
  16%      { opacity: 0; transform: scale(0.4) rotate(35deg); }
  40%      { opacity: 0; transform: scale(0) rotate(35deg); }
}

/* Polished-glass gleam that sweeps across the main buttons on hover */
.btn-primary,
.btn-light { position: relative; overflow: hidden; }
.btn-primary::before,
.btn-light::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(100deg,
    transparent, rgba(252, 254, 254, 0.45), transparent);
  transform: translateX(-160%) skewX(-18deg);
  transition: transform 0.6s ease;
  pointer-events: none;
}
.btn-light::before { background: linear-gradient(100deg,
    transparent, rgba(0, 180, 240, 0.3), transparent); }
.btn-primary:hover::before,
.btn-light:hover::before { transform: translateX(320%) skewX(-18deg); }


/* ----------------------------------------------------------------
   14. REVEAL-ON-SCROLL & MOTION PREFERENCES
   js/script.js adds .is-visible via IntersectionObserver.
   If JS is disabled, content stays fully visible (no .reveal styles
   are applied until the script tags <html> with .js).
   ---------------------------------------------------------------- */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Staggered reveals: cards inside a grid rise one after another */
.js .problem-grid  .reveal:nth-child(2) { transition-delay: 0.08s; }
.js .problem-grid  .reveal:nth-child(3) { transition-delay: 0.16s; }
.js .services-grid .reveal:nth-child(4n + 2) { transition-delay: 0.07s; }
.js .services-grid .reveal:nth-child(4n + 3) { transition-delay: 0.14s; }
.js .services-grid .reveal:nth-child(4n + 4) { transition-delay: 0.21s; }
.js .why-list      .reveal:nth-child(even)   { transition-delay: 0.08s; }
.js .process-steps .reveal:nth-child(2) { transition-delay: 0.1s; }
.js .process-steps .reveal:nth-child(3) { transition-delay: 0.2s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}


/* ----------------------------------------------------------------
   15. RESPONSIVE BREAKPOINTS
   Mobile-first adjustments collapse the desktop grids.
   ---------------------------------------------------------------- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-window { max-width: 20rem; }

  /* Pull the stamp and snapshot inward so nothing clips on narrow screens */
  .hero-stamp { width: 6rem; height: 6rem; top: -1.8rem; right: -0.8rem; }
  .photo-card-hero { left: -0.9rem; width: 9rem; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .problem-grid { grid-template-columns: 1fr; }
  .why-inner { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }

  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-links { grid-column: 1; }
}

@media (max-width: 820px) {
  /* Collapse nav into a toggled menu. Everything stays on ONE row:
     wordmark left, then Menu toggle + Schedule Service pushed right.
     (The dropdown menu itself is absolutely positioned below.) */
  .nav-toggle { display: inline-flex; }

  .header-inner { gap: 0.9rem; }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--sea-foam);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lift);
    padding: 0.5rem 1.5rem 1rem;
  }
  .nav-menu.is-open { display: flex; }
  .nav-menu a {
    display: block;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.05rem;
  }

  /* Phone moves from the header bar into the menu (callers convert) */
  .header-phone { display: none; }
  .nav-menu-phone { display: block; }
  .nav-menu-phone a {
    font-family: var(--font-mono);
    font-size: 0.95rem;
    color: var(--deep-current);
    border-bottom: none;
  }
}

@media (max-width: 640px) {
  .services-grid { grid-template-columns: 1fr; }
  .why-list { grid-template-columns: 1fr; }

  .footer-inner { grid-template-columns: 1fr; }
  .footer-contact { justify-self: start; text-align: left; }

  .hero-actions .btn { width: 100%; }
  .final-cta-actions .btn { width: 100%; }

  /* Tighten the header so wordmark + Menu + CTA fit one row on phones.
     The toggle keeps its accessible name via aria-label="Menu". */
  .wordmark { font-size: 1.35rem; }
  .btn-small { padding: 0.55rem 1rem; font-size: 0.88rem; }
  .nav-toggle { padding: 0.5rem 0.7rem; }
  .nav-toggle-label { display: none; }
  .header-actions { gap: 0.8rem; }

  .cta-band-inner { flex-direction: column; align-items: flex-start; }
}


/* ================================================================
   16. MULTI-PAGE COMPONENTS
   Before/after visual, who-we-help segments, social proof, services
   CTA, page heroes (subpages), and blog. Self-contained with their
   own responsive rules at the bottom of this section.
   ================================================================ */

/* --- Before → After glass comparison ---------------------------- */
.beforeafter {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.75rem, 0.5rem + 1.5vw, 1.75rem);
  margin: 0 auto 2.6rem;
  max-width: 44rem;
}
.ba-pane {
  position: relative;
  flex: 1;
  margin: 0;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
/* "Before": cloudy, salt-hazed glass */
.ba-before {
  background:
    linear-gradient(180deg, rgba(243,239,230,0.7), rgba(216,236,244,0.7)),
    linear-gradient(180deg, #cfdbe0 0%, #b9c7cd 100%);
  filter: saturate(0.7);
}
.ba-before::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.5), transparent 40%),
    radial-gradient(circle at 70% 60%, rgba(200,200,190,0.6), transparent 45%);
  mix-blend-mode: multiply;
}
/* "After": bright, clear water view */
.ba-after {
  background: linear-gradient(180deg,
    var(--sky-tint-soft) 0%, var(--sky-tint) 40%,
    #6FCDEF 44%, var(--bahama-blue) 72%, var(--deep-current) 100%);
}
.ba-tag {
  position: absolute;
  left: 0.7rem;
  bottom: 0.7rem;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--deep-ink);
  background: rgba(252, 254, 254, 0.9);
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
}
.ba-tag-after { color: var(--sea-foam); background: rgba(10, 120, 196, 0.9); }
.ba-sparkle {
  position: absolute;
  top: 20%;
  left: 60%;
  width: 18px;
  height: 18px;
  background: var(--sea-foam);
  clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%);
  animation: sparkle-twinkle 4s ease-in-out 0.5s infinite;
}
.ba-arrow {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  color: var(--deep-current);
}
.ba-arrow svg { width: 1.8rem; height: 1.8rem; }

/* --- Services closing CTA --------------------------------------- */
.services-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.2rem;
  margin-top: 2.4rem;
}
.services-cta-phone {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--deep-ink);
  text-decoration-color: var(--bahama-blue);
  text-underline-offset: 3px;
}

/* --- Who we help: segment cards --------------------------------- */
.segments-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}
.segment-card {
  display: block;
  padding: 2rem 1.9rem;
  background: var(--sea-foam);
  border: 1px solid var(--line);
  border-radius: var(--radius-large);
  text-decoration: none;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.segment-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
  border-color: var(--sky-tint);
}
.segment-icon {
  display: grid;
  place-items: center;
  width: 3.4rem;
  height: 3.4rem;
  background: var(--sky-tint-soft);
  border-radius: 14px;
  color: var(--deep-current);
  margin-bottom: 1.1rem;
}
.segment-icon svg { width: 1.7rem; height: 1.7rem; }
.segment-card h3 { margin-bottom: 0.4rem; }
.segment-card p { color: var(--ink-soft); margin-bottom: 1rem; }
.segment-link {
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--deep-current);
}

/* --- Social proof ----------------------------------------------- */
.proof-head { max-width: 40rem; }
.proof-badges {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-bottom: 2.6rem;
}
.proof-badges li {
  text-align: center;
  padding: 1.6rem 1rem;
  background: var(--sea-foam);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.proof-badge-ico {
  display: inline-grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 0.7rem;
  color: var(--deep-current);
  background: var(--sky-tint-soft);
  border-radius: 50%;
}
.proof-badge-ico svg { width: 1.5rem; height: 1.5rem; }
.proof-badges strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--deep-ink);
  font-size: 1.1rem;
}
.proof-badges span:not(.proof-badge-ico) {
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.reviews { text-align: center; }
.reviews-label {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  margin-bottom: 1.4rem;
}
.reviews-stars { color: #F5B301; letter-spacing: 0.1em; margin-right: 0.5rem; }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.review-card {
  margin: 0;
  padding: 1.6rem 1.5rem;
  background: var(--sea-foam);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: left;
}
.review-card p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--deep-ink);
  margin-bottom: 0.9rem;
}
.review-card cite {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--deep-current);
  font-style: normal;
}

/* --- Subpage hero (Homeowners / Commercial / Blog) -------------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3rem, 2.5rem + 3vw, 5rem);
  background:
    radial-gradient(70rem 30rem at 85% -20%, var(--sky-tint-soft) 0%, transparent 60%),
    radial-gradient(40rem 20rem at 10% 120%, var(--sand-soft) 0%, transparent 55%),
    var(--sea-foam);
}
.page-hero-inner { max-width: 46rem; }
.page-hero h1 { margin-bottom: 1rem; }
.page-hero .hero-lede { margin-bottom: 1.6rem; }
.breadcrumb {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 1rem;
}
.breadcrumb a { color: var(--deep-current); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* --- Simple two-column prose + list rows on subpages ------------ */
.checklist { list-style: none; display: grid; gap: 0.9rem; }
.checklist li {
  position: relative;
  padding-left: 2.2rem;
  font-size: 1.08rem;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15rem;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FCFEFE' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 0.85rem no-repeat,
    var(--deep-current);
}

/* --- Blog ------------------------------------------------------- */
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 1.6rem;
}
.post-card {
  display: flex;
  flex-direction: column;
  background: var(--sea-foam);
  border: 1px solid var(--line);
  border-radius: var(--radius-large);
  overflow: hidden;
  text-decoration: none;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.post-thumb {
  height: 9rem;
  background: linear-gradient(135deg, var(--sky-tint) 0%, var(--bahama-blue) 60%, var(--deep-current) 100%);
}
.post-thumb-2 { background: linear-gradient(135deg, var(--vintage-sand) 0%, var(--sky-tint) 55%, var(--deep-current) 100%); }
.post-body { padding: 1.5rem 1.6rem 1.7rem; }
.post-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--deep-current);
}
.post-card h3 { margin: 0.5rem 0 0.5rem; color: var(--deep-ink); }
.post-card p { color: var(--ink-soft); font-size: 1rem; }

/* --- Article (blog post) body ----------------------------------- */
.article { padding-block: clamp(2.5rem, 2rem + 2.5vw, 4rem); }
.article-inner { max-width: 42rem; margin-inline: auto; }
.article-inner h2 {
  font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.1rem);
  margin-top: 2.4rem;
}
.article-inner h3 { margin-top: 1.8rem; }
.article-inner p,
.article-inner li { font-size: 1.15rem; }
.article-inner ul { padding-left: 1.3rem; margin-bottom: 1.2rem; list-style: disc; }
.article-inner li { margin-bottom: 0.5rem; }
.article-meta {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 1.2rem;
}
.article-cta {
  margin-top: 2.6rem;
  padding: 1.8rem;
  text-align: center;
  background: var(--sky-tint-soft);
  border-radius: var(--radius-large);
}
.article-cta p { font-size: 1.1rem; margin-bottom: 1.1rem; }
.article-source {
  font-size: 0.9rem;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
  margin-top: 2.4rem;
  padding-top: 1.2rem;
}

/* --- Responsive for section 16 ---------------------------------- */
@media (max-width: 860px) {
  .proof-badges { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .segments-grid { grid-template-columns: 1fr; }
  .beforeafter { gap: 0.6rem; }
  .ba-arrow { width: 2rem; }
  .ba-arrow svg { width: 1.2rem; height: 1.2rem; }
  .services-cta .btn { width: 100%; }
}
