/* ============================================================
   St George Pool Resurfacing — Shared Stylesheet
   Theme: Southern Utah pool + sandstone palette
   ============================================================ */

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

:root {
  /* Water */
  --pool-deep: #0a4d6e;
  --pool: #137c9c;
  --pool-bright: #22c1d8;
  --pool-soft: #d4f1f5;
  --pool-mist: #eef9fb;

  /* Sandstone (St George red-rock accent) */
  --sand: #d97742;
  --sand-deep: #b9542a;
  --sand-soft: #fdf0e6;

  /* Neutrals */
  --ink: #0c1f2e;
  --ink-soft: #3a5060;
  --ink-mute: #6b8090;
  --line: #e0eaef;
  --line-soft: #eef4f7;
  --bg: #ffffff;
  --bg-cream: #fbf9f5;

  /* Functional */
  --green: #14a07a;
  --gold: #f0b429;
  --red: #d64545;

  /* Type */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Layout */
  --radius: 10px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 2px rgba(10, 77, 110, 0.04);
  --shadow: 0 2px 8px rgba(10, 77, 110, 0.05);
  --shadow-lg: 0 14px 40px rgba(10, 77, 110, 0.10);
  --max-w: 1140px;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--pool); text-decoration: none; }
a:hover { color: var(--pool-deep); }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); font-weight: 600; letter-spacing: -0.01em; line-height: 1.15; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }

/* ──────────────  HEADER  ────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.96);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem;
}
.brand { display: flex; align-items: center; gap: 0.7rem; color: var(--ink); }
.brand-mark {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--pool-bright), var(--pool));
  border-radius: 9px;
  display: grid; place-items: center;
  color: white;
  box-shadow: 0 4px 10px rgba(19,124,156,0.3);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
}
.brand-text span {
  font-size: 0.7rem;
  color: var(--ink-mute);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 1px;
}
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a {
  font-size: 0.92rem;
  color: var(--ink-soft);
  font-weight: 500;
  position: relative;
}
.nav a:hover { color: var(--pool-deep); }
.nav .btn-quote {
  background: var(--sand);
  color: white;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 4px 12px rgba(217,119,66,0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.nav .btn-quote:hover { background: var(--sand-deep); color: white; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(217,119,66,0.35); }
.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  padding: 0.4rem; color: var(--ink);
}
@media (max-width: 860px) {
  .nav { display: none; }
  .nav.open {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: white;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    align-items: stretch;
  }
  .nav.open a { padding: 0.6rem 0; border-bottom: 1px solid var(--line-soft); }
  .nav.open .btn-quote { text-align: center; margin-top: 0.6rem; }
  .nav-toggle { display: block; }
}

/* ──────────────  HERO  ────────────── */
.hero {
  position: relative;
  padding: 5rem 0 4.5rem;
  background:
    linear-gradient(180deg, rgba(238,249,251,0.4), rgba(255,255,255,1) 80%),
    radial-gradient(ellipse at top right, rgba(34,193,216,0.12), transparent 60%),
    radial-gradient(ellipse at bottom left, rgba(217,119,66,0.08), transparent 60%);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--pool);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.4rem 0.85rem;
  background: var(--pool-mist);
  border: 1px solid var(--pool-soft);
  border-radius: 999px;
  margin-bottom: 1.4rem;
}
.hero h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  line-height: 1.05;
  margin-bottom: 1.25rem;
}
.hero h1 em { font-style: normal; color: var(--pool); }
.hero-lede {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 520px;
  margin-bottom: 1.9rem;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-bottom: 2rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  line-height: 1;
}
.btn-primary {
  background: var(--sand);
  color: white;
  box-shadow: 0 8px 20px rgba(217,119,66,0.28);
}
.btn-primary:hover { background: var(--sand-deep); color: white; transform: translateY(-1px); box-shadow: 0 10px 26px rgba(217,119,66,0.38); }
.btn-secondary {
  background: white;
  color: var(--pool-deep);
  border: 1.5px solid var(--pool-soft);
}
.btn-secondary:hover { color: var(--pool-deep); border-color: var(--pool-bright); background: var(--pool-mist); }
.btn-pool {
  background: var(--pool);
  color: white;
}
.btn-pool:hover { background: var(--pool-deep); color: white; transform: translateY(-1px); }

.hero-trust {
  display: flex; flex-wrap: wrap; gap: 1.5rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
}
.hero-trust-item { display: flex; align-items: center; gap: 0.45rem; }
.hero-trust-item svg { color: var(--green); }

.hero-image {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, var(--pool-bright), var(--pool-deep));
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.hero-image img { width: 100%; height: 100%; object-fit: cover; }
.hero-image-placeholder {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  color: rgba(255,255,255,0.8);
  font-size: 0.85rem;
  text-align: center;
  padding: 2rem;
}
.hero-badge {
  position: absolute; bottom: 1.25rem; left: 1.25rem;
  background: white;
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 0.7rem;
}
.hero-badge-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--pool-deep);
  line-height: 1;
}
.hero-badge-lbl {
  font-size: 0.72rem;
  color: var(--ink-mute);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.2;
  max-width: 120px;
}

@media (max-width: 860px) {
  .hero { padding: 3.5rem 0 3rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 2.25rem; }
  .hero-image { max-width: 460px; margin: 0 auto; aspect-ratio: 4/3; }
}

/* ──────────────  SECTIONS  ────────────── */
section { padding: 4.5rem 0; }
section.tight { padding: 3rem 0; }
section.alt { background: var(--bg-cream); }
section.pool { background: linear-gradient(180deg, var(--pool-mist), white); }

.sec-head { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.sec-head .eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--sand);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}
.sec-head h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  margin-bottom: 0.9rem;
}
.sec-head p {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

/* ──────────────  CARDS GRID  ────────────── */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 860px) { .cards { grid-template-columns: 1fr; } }
@media (min-width: 861px) and (max-width: 1024px) { .cards { grid-template-columns: repeat(2, 1fr); } }

.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--pool-soft); }
.card-icon {
  width: 48px; height: 48px;
  background: var(--pool-mist);
  color: var(--pool);
  border-radius: 12px;
  display: grid; place-items: center;
  margin-bottom: 1.1rem;
}
.card h3 { font-size: 1.2rem; margin-bottom: 0.55rem; }
.card p { color: var(--ink-soft); font-size: 0.95rem; margin-bottom: 1rem; flex: 1; }
.card-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--pool);
  display: inline-flex; align-items: center; gap: 0.35rem;
}
.card-link:hover { color: var(--pool-deep); gap: 0.55rem; transition: gap 0.15s ease; }

/* ──────────────  PROCESS STEPS  ────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  counter-reset: step;
}
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .steps { grid-template-columns: 1fr; } }

.step {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.4rem;
  position: relative;
  counter-increment: step;
}
.step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--pool-bright);
  display: block;
  margin-bottom: 0.65rem;
}
.step h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.step p { font-size: 0.9rem; color: var(--ink-soft); }

/* ──────────────  COST TEASER / CALLOUT  ────────────── */
.cost-callout {
  background: linear-gradient(135deg, var(--pool-deep), var(--pool));
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  color: white;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
@media (max-width: 860px) { .cost-callout { grid-template-columns: 1fr; padding: 2rem 1.5rem; } }
.cost-callout h2 { color: white; font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: 0.8rem; }
.cost-callout p { color: rgba(255,255,255,0.85); margin-bottom: 1.4rem; }
.cost-stat {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  padding: 1.4rem;
}
.cost-stat strong {
  font-family: var(--font-display);
  font-size: 2rem;
  display: block;
  color: white;
  margin-bottom: 0.3rem;
}
.cost-stat span { font-size: 0.85rem; color: rgba(255,255,255,0.8); }
.cost-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; }

/* ──────────────  TRUST STANDARDS (BBB + Google)  ────────────── */
.trust-standards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  max-width: 920px;
  margin: 0 auto;
}
@media (max-width: 720px) { .trust-standards { grid-template-columns: 1fr; } }
.trust-standard {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.6rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  text-align: left;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.trust-standard:hover {
  border-color: var(--pool-soft);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.trust-standard-logo {
  display: block;
  max-height: 84px;
  max-width: 80px;
  width: auto;
  height: auto;
  flex-shrink: 0;
  object-fit: contain;
}
.trust-standard-content { min-width: 0; }
.trust-standard h3 {
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
  line-height: 1.25;
}
.trust-standard p {
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.55;
  margin: 0;
}
.trust-standards-note {
  max-width: 760px;
  margin: 1.4rem auto 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--ink-mute);
  font-style: italic;
  line-height: 1.55;
}

/* ──────────────  BEFORE / AFTER  ────────────── */
.before-after { max-width: 880px; margin: 0 auto; }
.ba-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
}
.ba-image img { width: 100%; height: 100%; object-fit: cover; }
.ba-tag {
  position: absolute;
  top: 1rem;
  background: rgba(12, 31, 46, 0.85);
  color: white;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}
.ba-tag-left { left: 1rem; }
.ba-tag-right { right: 1rem; background: rgba(34, 193, 216, 0.95); }

/* Featured photo block (full-width image + caption strip) */
.feature-photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin: 0 auto;
  max-width: var(--max-w);
}
.feature-photo img { width: 100%; height: auto; display: block; }
.feature-photo .fp-caption {
  position: absolute;
  bottom: 1.25rem; left: 1.25rem; right: 1.25rem;
  background: rgba(255,255,255,0.94);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  box-shadow: var(--shadow-sm);
  font-size: 0.92rem;
  color: var(--ink);
  max-width: 460px;
}

/* Side-by-side image + text */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 2rem; } }
.split-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 5;
}
.split-image img { width: 100%; height: 100%; object-fit: cover; }
.split h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 1rem; }
.split p { color: var(--ink-soft); margin-bottom: 1.1rem; }
.split ul { margin: 0 0 1.5rem 1.2rem; color: var(--ink-soft); }
.split ul li { margin-bottom: 0.55rem; }

/* ──────────────  AREAS GRID  ────────────── */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}
@media (max-width: 860px) { .areas-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .areas-grid { grid-template-columns: 1fr; } }
.area-pill {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  font-weight: 500;
  color: var(--ink);
  display: flex; align-items: center; justify-content: space-between;
  transition: all 0.15s ease;
}
.area-pill:hover {
  border-color: var(--pool-bright);
  color: var(--pool-deep);
  transform: translateX(2px);
  box-shadow: var(--shadow-sm);
}
.area-pill svg { color: var(--ink-mute); }
.area-pill:hover svg { color: var(--pool); }

/* ──────────────  FAQ  ────────────── */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 1.3rem 0;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--pool);
  transition: transform 0.2s ease;
  line-height: 1;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item p { margin-top: 0.9rem; color: var(--ink-soft); }

/* ──────────────  TRUST / TESTIMONIAL  ────────────── */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
@media (max-width: 860px) { .testimonials { grid-template-columns: 1fr; } }
.testimonial {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.7rem;
}
.testimonial-stars { color: var(--gold); margin-bottom: 0.7rem; letter-spacing: 0.1em; }
.testimonial p { color: var(--ink); font-size: 0.98rem; margin-bottom: 1rem; font-style: italic; }
.testimonial cite {
  font-style: normal;
  font-size: 0.85rem;
  color: var(--ink-mute);
  font-weight: 500;
}

/* ──────────────  FORM (shared)  ────────────── */
.form-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
}
.form-card h2 { font-size: 1.4rem; margin-bottom: 0.4rem; }
.form-card .form-sub { color: var(--ink-soft); font-size: 0.95rem; margin-bottom: 1.5rem; }

.fg { margin-bottom: 1.1rem; }
.fg label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.4rem;
}
.fg label .req { color: var(--sand); }
.fg input, .fg select, .fg textarea {
  width: 100%;
  padding: 0.78rem 0.95rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.97rem;
  color: var(--ink);
  background: white;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.fg input:focus, .fg select:focus, .fg textarea:focus {
  outline: none;
  border-color: var(--pool-bright);
  box-shadow: 0 0 0 4px rgba(34,193,216,0.12);
}
.fg textarea { resize: vertical; min-height: 100px; }
.fg-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
@media (max-width: 540px) { .fg-row { grid-template-columns: 1fr; } }
.honeypot { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }

/* Terms-acceptance checkbox (required) — minimal inline style */
.tos-fg {
  margin: 1.25rem 0 0.4rem;
}
.tos-label {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  cursor: pointer;
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--ink-mute);
}
.tos-label input[type="checkbox"] {
  /* Reset against the global .fg input rule */
  width: 16px !important;
  height: 16px;
  min-width: 16px;
  margin: 2px 0 0;
  padding: 0;
  border: 1.5px solid var(--ink-mute);
  border-radius: 3px;
  background: white;
  accent-color: var(--pool);
  cursor: pointer;
  appearance: auto;
  flex-shrink: 0;
}
.tos-label a {
  color: var(--pool);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.tos-label a:hover { color: var(--pool-deep); }
.form-submit { width: 100%; margin-top: 0.5rem; }
.form-note {
  margin-top: 1rem;
  font-size: 0.78rem;
  color: var(--ink-mute);
  text-align: center;
}

/* ──────────────  FINAL CTA  ────────────── */
.final-cta {
  background:
    linear-gradient(135deg, rgba(10,77,110,0.95), rgba(19,124,156,0.95)),
    linear-gradient(135deg, var(--pool-deep), var(--pool));
  color: white;
  padding: 4.5rem 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
}
.final-cta h2 { color: white; font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 0.9rem; }
.final-cta p { color: rgba(255,255,255,0.85); max-width: 580px; margin: 0 auto 1.8rem; font-size: 1.05rem; }

/* ──────────────  FOOTER  ────────────── */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.7);
  padding: 3.5rem 0 1.5rem;
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand strong { color: white; font-family: var(--font-display); font-size: 1.1rem; display: block; margin-bottom: 0.5rem; }
.footer-brand p { color: rgba(255,255,255,0.6); font-size: 0.88rem; line-height: 1.7; }
.footer-col h4 {
  color: white;
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }
.footer-col a { color: rgba(255,255,255,0.65); font-size: 0.9rem; }
.footer-col a:hover { color: white; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}
.footer-disclosure {
  background: rgba(255,255,255,0.04);
  border-left: 3px solid var(--sand);
  padding: 0.9rem 1.1rem;
  border-radius: 6px;
  margin-bottom: 2rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
}

/* ──────────────  CONTENT (article) PAGES  ────────────── */
.page-hero {
  padding: 3.5rem 0 2.5rem;
  background: linear-gradient(180deg, var(--pool-mist), white);
  border-bottom: 1px solid var(--line);
}
.breadcrumb {
  font-size: 0.82rem;
  color: var(--ink-mute);
  margin-bottom: 1rem;
}
.breadcrumb a { color: var(--ink-mute); }
.breadcrumb a:hover { color: var(--pool); }
.breadcrumb span { margin: 0 0.4rem; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 0.8rem; }
.page-hero .lede { color: var(--ink-soft); font-size: 1.1rem; max-width: 720px; }

.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-size: 1.6rem; margin: 2.5rem 0 1rem; }
.prose h3 { font-size: 1.25rem; margin: 1.8rem 0 0.8rem; }
.prose p { margin-bottom: 1.1rem; color: var(--ink-soft); font-size: 1.02rem; line-height: 1.75; }
.prose ul, .prose ol { margin: 0 0 1.3rem 1.4rem; color: var(--ink-soft); }
.prose li { margin-bottom: 0.5rem; line-height: 1.7; }
.prose strong { color: var(--ink); }
.prose a { color: var(--pool); text-decoration: underline; text-decoration-color: var(--pool-soft); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--pool); }
.prose blockquote {
  border-left: 3px solid var(--pool-bright);
  background: var(--pool-mist);
  padding: 1.1rem 1.4rem;
  margin: 1.5rem 0;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 1.02rem;
}
.prose blockquote p { color: var(--ink); font-style: italic; margin: 0; }

.toc {
  background: var(--bg-cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem 1.5rem;
  margin: 2rem 0;
}
.toc strong {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-mute);
  margin-bottom: 0.7rem;
}
.toc ol { margin: 0 0 0 1.2rem; }
.toc li { margin-bottom: 0.4rem; line-height: 1.5; }
.toc a { color: var(--ink); font-size: 0.95rem; }

.inline-cta {
  background: linear-gradient(135deg, var(--sand-soft), white);
  border: 1px solid rgba(217,119,66,0.25);
  border-radius: var(--radius-lg);
  padding: 1.8rem 1.6rem;
  margin: 2.5rem 0;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1.25rem;
}
.inline-cta div { flex: 1; min-width: 260px; }
.inline-cta strong { font-family: var(--font-display); font-size: 1.15rem; color: var(--ink); display: block; margin-bottom: 0.3rem; }
.inline-cta p { color: var(--ink-soft); margin: 0; font-size: 0.93rem; }

/* ──────────────  EDITORIAL / ARTICLE PAGES  ────────────── */

.article-hero {
  padding: 3.5rem 0 2rem;
  border-bottom: 1px solid var(--line-soft);
}
.article-hero .container { max-width: 780px; }
.article-kicker {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--pool);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.article-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.4vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin-bottom: 1rem;
  color: var(--ink);
}
.article-deck {
  font-size: 1.18rem;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 1.8rem;
  font-weight: 400;
}
.article-meta {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 1.2rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line-soft);
  font-size: 0.86rem;
  color: var(--ink-mute);
}
.article-meta .byline { display: flex; align-items: center; gap: 0.65rem; color: var(--ink); }
.article-meta .byline-avatar {
  width: 36px; height: 36px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--pool-bright), var(--pool));
  color: white;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
}
.article-meta .byline strong { font-weight: 600; color: var(--ink); }
.article-meta .meta-dot { color: var(--line); }
.article-meta .read-time {
  display: inline-flex; align-items: center; gap: 0.35rem;
}

.article-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
  font-size: 1.08rem;
  line-height: 1.78;
  color: var(--ink);
}

/* Article lead image (sits just under the article hero) */
.article-lead-image {
  max-width: 900px;
  margin: 2.5rem auto -1rem;
  padding: 0 1.5rem;
}
.article-lead-image figure {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.article-lead-image img { width: 100%; height: auto; display: block; }
.article-lead-image figcaption {
  font-size: 0.85rem;
  color: var(--ink-mute);
  padding-top: 0.7rem;
  text-align: center;
  font-style: italic;
}
.article-body p { margin-bottom: 1.4rem; color: #2a3e4f; }
.article-body h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.75rem);
  margin: 2.8rem 0 1rem;
  letter-spacing: -0.01em;
}
.article-body h3 {
  font-size: 1.18rem;
  margin: 2rem 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 600;
}
.article-body h2:first-child, .article-body h3:first-child { margin-top: 0; }
.article-body ul, .article-body ol { margin: 0 0 1.5rem 1.4rem; }
.article-body li { margin-bottom: 0.55rem; line-height: 1.75; }
.article-body a {
  color: var(--pool);
  text-decoration: underline;
  text-decoration-color: rgba(19,124,156,0.3);
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
}
.article-body a:hover { text-decoration-color: var(--pool); }
.article-body strong { color: var(--ink); }

/* Quick-answer / TL;DR box at top of articles */
.quick-answer {
  background: linear-gradient(135deg, var(--pool-mist), white);
  border: 1px solid var(--pool-soft);
  border-left: 3px solid var(--pool-bright);
  border-radius: var(--radius);
  padding: 1.5rem 1.7rem;
  margin: 0 0 2rem;
}
.quick-answer-label {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--pool-deep);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.55rem;
}
.quick-answer p { margin: 0; color: var(--ink); font-size: 1.04rem; line-height: 1.65; }
.quick-answer p + p { margin-top: 0.7rem; }

/* Article TOC (replaces .toc on article pages — lighter) */
.article-toc {
  background: var(--bg-cream);
  border-radius: var(--radius);
  padding: 1.2rem 1.5rem;
  margin: 0 0 2.5rem;
  border-left: 3px solid var(--sand);
}
.article-toc strong {
  display: block;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-mute);
  margin-bottom: 0.7rem;
  font-weight: 700;
}
.article-toc ol { margin: 0 0 0 1.2rem; counter-reset: toc; }
.article-toc li { margin-bottom: 0.45rem; font-size: 0.95rem; line-height: 1.5; }
.article-toc a { color: var(--ink); }
.article-toc a:hover { color: var(--pool); }

/* Article callout (key takeaway, important note) */
.callout {
  background: white;
  border: 1px solid var(--line);
  border-left: 3px solid var(--sand);
  border-radius: var(--radius);
  padding: 1.2rem 1.4rem;
  margin: 1.8rem 0;
}
.callout strong { display: block; font-family: var(--font-display); font-size: 1rem; margin-bottom: 0.35rem; color: var(--ink); }
.callout p { margin: 0; font-size: 0.97rem; color: var(--ink-soft); }

/* Source / citation footnote */
.source-note {
  font-size: 0.85rem;
  color: var(--ink-mute);
  border-top: 1px solid var(--line-soft);
  padding-top: 1.4rem;
  margin-top: 2.5rem;
  line-height: 1.6;
}
.source-note strong { color: var(--ink); display: block; margin-bottom: 0.4rem; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; }

/* Cost table */
.cost-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0 2rem;
  font-size: 0.97rem;
}
.cost-table th, .cost-table td {
  text-align: left;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line-soft);
}
.cost-table th {
  background: var(--bg-cream);
  font-weight: 600;
  color: var(--ink);
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.cost-table td:first-child { font-weight: 500; color: var(--ink); }
.cost-table tr:last-child td { border-bottom: none; }

/* Author bio block */
.author-bio {
  background: var(--bg-cream);
  border-radius: var(--radius);
  padding: 1.6rem;
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  margin: 3rem 0 1rem;
}
.author-bio .author-avatar {
  width: 56px; height: 56px; min-width: 56px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--pool-bright), var(--pool));
  color: white;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
}
.author-bio h4 { font-family: var(--font-body); font-size: 0.95rem; color: var(--ink); margin-bottom: 0.35rem; font-weight: 600; }
.author-bio p { margin: 0; font-size: 0.9rem; color: var(--ink-soft); line-height: 1.6; }

/* Related articles strip */
.related-articles {
  border-top: 1px solid var(--line-soft);
  padding-top: 2rem;
  margin-top: 3rem;
}
.related-articles h3 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-mute);
  margin-bottom: 1.2rem;
  font-family: var(--font-body);
  font-weight: 700;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
@media (max-width: 760px) { .related-grid { grid-template-columns: 1fr; } }
.related-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
  transition: border-color 0.15s ease;
}
.related-card:hover { border-color: var(--pool-soft); }
.related-card span { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--sand); font-weight: 600; }
.related-card h4 { font-family: var(--font-display); font-size: 1rem; color: var(--ink); margin: 0.35rem 0 0; line-height: 1.3; }

/* Google Map embed wrapper */
.map-embed {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--pool-mist);
  aspect-ratio: 16 / 9;
  box-shadow: var(--shadow);
}
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 640px) { .map-embed { aspect-ratio: 4 / 3; } }

/* Service area legend below the map — single container, horizontal rows */
.area-legend {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 1.25rem;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
}
.area-legend-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
}
.area-legend-tag {
  flex-shrink: 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  white-space: nowrap;
}
.area-legend-tag--primary {
  background: var(--pool-mist);
  color: var(--pool-deep);
  border: 1px solid var(--pool-soft);
}
.area-legend-tag--extended {
  background: var(--sand-soft);
  color: var(--sand-deep);
  border: 1px solid rgba(217,119,66,0.25);
}
.area-legend-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  font-size: 0.9rem;
  color: var(--ink);
  flex: 1;
  min-width: 0;
}
.area-legend-list li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  white-space: nowrap;
}
.legend-dot {
  width: 8px; height: 8px;
  border-radius: 999px;
  flex-shrink: 0;
}
.legend-dot--primary { background: var(--pool); box-shadow: 0 0 0 2px rgba(19,124,156,0.18); }
.legend-dot--extended { background: var(--sand); box-shadow: 0 0 0 2px rgba(217,119,66,0.18); }
@media (max-width: 540px) {
  .area-legend-row { gap: 0.6rem; }
  .area-legend-list { gap: 0.3rem 0.85rem; font-size: 0.85rem; }
}

/* ──────────────  UTILITIES  ────────────── */
.text-center { text-align: center; }
.hidden { display: none !important; }
