/* ============================================================
   Permanent Lights network — shared base stylesheet (ported from stgeorgepoolresurfacing)
   Region palettes override the :root tokens; see build.py THEMES
   ============================================================ */

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

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

  /* Sandstone (St George red-rock accent) */
  --accent: #d97742;
  --accent-deep: #b9542a;
  --accent-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 color-mix(in srgb, var(--brand-deep) 4%, transparent);
  --shadow: 0 2px 8px color-mix(in srgb, var(--brand-deep) 5%, transparent);
  --shadow-lg: 0 14px 40px color-mix(in srgb, var(--brand-deep) 10%, transparent);
  --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(--brand); text-decoration: none; }
a:hover { color: var(--brand-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);
  flex-shrink: 0;
}
.brand-mark {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--brand-bright), var(--brand));
  border-radius: 9px;
  display: grid; place-items: center;
  color: white;
  box-shadow: 0 4px 10px color-mix(in srgb, var(--brand) 30%, transparent);
  flex-shrink: 0;
}
.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);
  white-space: nowrap;
}
.brand-text span { white-space: nowrap; }
.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.1rem; flex-shrink: 0; }
.nav a {
  font-size: 0.92rem;
  color: var(--ink-soft);
  font-weight: 500;
  position: relative;
  white-space: nowrap;
}
.nav a:hover { color: var(--brand-deep); }
.nav .btn-quote {
  background: var(--accent);
  color: white;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
  box-shadow: 0 4px 12px color-mix(in srgb, var(--accent) 25%, transparent);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

/* Header phone — desktop label + mobile icon */
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--ink);
  white-space: nowrap;
  letter-spacing: 0.01em;
  margin-left: 0.25rem;
}
.header-phone svg { color: var(--brand-deep); flex-shrink: 0; }
.header-phone:hover { color: var(--brand-deep); }
.nav-phone-mobile {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  margin-left: auto;
  margin-right: 0.4rem;
  border-radius: 999px;
  background: var(--brand-mist);
  color: var(--brand-deep);
}
.nav-phone-mobile:hover { background: var(--brand-soft); color: var(--brand-deep); }
@media (max-width: 1150px) {
  .header-phone { display: none; }
  .nav-phone-mobile { display: inline-flex; }
  .header-inner .nav-toggle { margin-left: 0; }
}
.nav .btn-quote:hover { background: var(--accent-deep); color: white; transform: translateY(-1px); box-shadow: 0 6px 16px color-mix(in srgb, var(--accent) 35%, transparent); }
.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  padding: 0.4rem; color: var(--ink);
}
@media (max-width: 1150px) {
  .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, color-mix(in srgb, var(--brand-bright) 12%, transparent), transparent 60%),
    radial-gradient(ellipse at bottom left, color-mix(in srgb, var(--accent) 8%, transparent), 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(--brand);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.4rem 0.85rem;
  background: var(--brand-mist);
  border: 1px solid var(--brand-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(--brand); }
.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(--accent);
  color: white;
  box-shadow: 0 8px 20px color-mix(in srgb, var(--accent) 28%, transparent);
}
.btn-primary:hover { background: var(--accent-deep); color: white; transform: translateY(-1px); box-shadow: 0 10px 26px color-mix(in srgb, var(--accent) 38%, transparent); }
.btn-secondary {
  background: white;
  color: var(--brand-deep);
  border: 1.5px solid var(--brand-soft);
}
.btn-secondary:hover { color: var(--brand-deep); border-color: var(--brand-bright); background: var(--brand-mist); }
.btn-brand {
  background: var(--brand);
  color: white;
}
.btn-brand:hover { background: var(--brand-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(--brand-bright), var(--brand-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(--brand-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.tint { background: linear-gradient(180deg, var(--brand-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(--accent);
  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(--brand-soft); }
.card-icon {
  width: 48px; height: 48px;
  background: var(--brand-mist);
  color: var(--brand);
  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(--brand);
  display: inline-flex; align-items: center; gap: 0.35rem;
}
.card-link:hover { color: var(--brand-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(--brand-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(--brand-deep), var(--brand));
  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(--brand-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: color-mix(in srgb, var(--brand-bright) 95%, transparent); }

/* 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(--brand-bright);
  color: var(--brand-deep);
  transform: translateX(2px);
  box-shadow: var(--shadow-sm);
}
.area-pill svg { color: var(--ink-mute); }
.area-pill:hover svg { color: var(--brand); }

/* ──────────────  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(--brand);
  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(--accent); }
.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(--brand-bright);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand-bright) 12%, transparent);
}
.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(--brand);
  cursor: pointer;
  appearance: auto;
  flex-shrink: 0;
}
.tos-label a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.tos-label a:hover { color: var(--brand-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, color-mix(in srgb, var(--brand-deep) 95%, transparent), color-mix(in srgb, var(--brand) 95%, transparent)),
    linear-gradient(135deg, var(--brand-deep), var(--brand));
  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(--accent);
  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(--brand-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(--brand); }
.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(--brand); text-decoration: underline; text-decoration-color: var(--brand-soft); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--brand); }
.prose blockquote {
  border-left: 3px solid var(--brand-bright);
  background: var(--brand-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(--accent-soft), white);
  border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent);
  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(--brand);
  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(--brand-bright), var(--brand));
  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(--brand);
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--brand) 30%, transparent);
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
}
.article-body a:hover { text-decoration-color: var(--brand); }
.article-body strong { color: var(--ink); }

/* Quick-answer / TL;DR box at top of articles */
.quick-answer {
  background: linear-gradient(135deg, var(--brand-mist), white);
  border: 1px solid var(--brand-soft);
  border-left: 3px solid var(--brand-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(--brand-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(--accent);
}
.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(--brand); }

/* Article callout (key takeaway, important note) */
.callout {
  background: white;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  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(--brand-bright), var(--brand));
  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(--brand-soft); }
.related-card span { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); 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(--brand-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(--brand-mist);
  color: var(--brand-deep);
  border: 1px solid var(--brand-soft);
}
.area-legend-tag--extended {
  background: var(--accent-soft);
  color: var(--accent-deep);
  border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent);
}
.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(--brand); box-shadow: 0 0 0 2px color-mix(in srgb, var(--brand) 18%, transparent); }
.legend-dot--extended { background: var(--accent); box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 18%, transparent); }
@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; }

/* ── quote page (ported from get-a-quote inline styles) ── */
.quote-wrap { padding: 3rem 0 5rem; background: var(--bg-cream); min-height: calc(100vh - 200px); }
.quote-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 860px) {
  .quote-grid { grid-template-columns: 1fr; gap: 2rem; }
  .quote-side { order: -1; }
}
.quote-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
}
.quote-wrap h1 {
  font-size: clamp(1.8rem, 3.6vw, 2.5rem);
  margin-bottom: 0.7rem;
}
.quote-wrap .lede {
  color: var(--ink-soft);
  font-size: 1.05rem;
  max-width: 480px;
  margin-bottom: 0;
}
.quote-side .side-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.7rem;
  margin-bottom: 1.25rem;
}
.quote-side h3 {
  font-size: 1.05rem;
  margin-bottom: 1rem;
}
.quote-side ul { list-style: none; display: flex; flex-direction: column; gap: 0.85rem; }
.quote-side ul li {
  display: flex; align-items: flex-start; gap: 0.7rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.5;
}
.quote-side ul li svg { color: var(--green); flex-shrink: 0; margin-top: 2px; }
.quote-side ul li strong { color: var(--ink); display: block; margin-bottom: 2px; }
.success-banner {
  background: linear-gradient(135deg, #e9f8f1, #d6f1e3);
  border: 1px solid #14a07a;
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.success-banner svg { color: var(--green); flex-shrink: 0; }
.success-banner h2 { color: var(--ink); margin-bottom: 0.4rem; font-size: 1.3rem; }
.success-banner p { color: var(--ink-soft); margin: 0; }
.checkboxes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}
@media (max-width: 540px) { .checkboxes { grid-template-columns: 1fr; } }
.cb-item {
  display: flex; align-items: center; gap: 0.55rem;
  padding: 0.65rem 0.85rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 0.92rem;
  transition: all 0.15s ease;
}
.cb-item:hover { border-color: var(--brand-bright); background: var(--brand-mist); }
.cb-item input { width: auto; margin: 0; }
.cb-item input:checked + span { color: var(--brand-deep); font-weight: 600; }

/* ============================================================
   Permanent-lights additions on top of base.css
   (house scene, scene picker, cost calculator, extra form bits)
   ============================================================ */

/* ── hero house scene (replaces the pool photo slot) ── */
.hero-image.scene { aspect-ratio: auto; background: var(--night); display: flex; flex-direction: column; }
.scene-svg { width: 100%; height: auto; display: block; }
.scene-svg .bulb { transition: fill 0.5s ease; }
.scene-picker {
  display: flex; flex-wrap: wrap; gap: 0.4rem;
  padding: 0.9rem 1rem 1rem;
  background: color-mix(in srgb, var(--night) 88%, white);
}
.scene-picker span { width: 100%; font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.6); margin-bottom: 0.1rem; }
.scene-picker button {
  font: inherit; font-size: 0.8rem; font-weight: 600;
  color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
  cursor: pointer;
}
.scene-picker button:hover { background: rgba(255,255,255,0.16); }
.scene-picker button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.hero-image.scene .hero-badge { bottom: auto; top: 1rem; left: 1rem; }

/* ── cost calculator ── */
.calc {
  display: grid; grid-template-columns: 1.15fr 0.85fr;
  background: white; border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden;
  text-align: left;
}
@media (max-width: 860px) { .calc { grid-template-columns: 1fr; } }
.calc-inputs { padding: 1.8rem; }
.calc-inputs .fg { margin-bottom: 1.1rem; }
.calc-inputs input[type=range] { width: 100%; accent-color: var(--brand); padding: 0; border: 0; }
.range-row { display: flex; justify-content: space-between; font-size: 0.8rem; color: var(--ink-mute); }
.seg { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.seg label {
  position: relative; flex: 1 1 auto; text-align: center; cursor: pointer;
  border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: 0.55rem 0.7rem; font-size: 0.88rem; font-weight: 500; color: var(--ink-soft);
  margin: 0;
}
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label:has(input:checked) { border-color: var(--brand); background: var(--brand-mist); color: var(--brand-deep); font-weight: 600; }
.seg label:has(input:focus-visible) { outline: 2px solid var(--brand); outline-offset: 1px; }
.calc-result {
  background: linear-gradient(160deg, var(--brand-deep), var(--night));
  color: white; padding: 1.8rem;
  display: flex; flex-direction: column; justify-content: center;
}
.calc-result .lbl { font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.65); }
.calc-result .price { font-family: var(--font-display); font-size: clamp(2rem, 4.5vw, 2.6rem); font-weight: 700; color: white; margin: 0.35rem 0 0.25rem; line-height: 1.1; }
.calc-result .ft { color: rgba(255,255,255,0.8); margin-bottom: 1.3rem; font-size: 0.95rem; }
.calc-result .fine { font-size: 0.76rem; color: rgba(255,255,255,0.55); margin-top: 1rem; line-height: 1.5; }
.calc-result .btn-primary { align-self: flex-start; }

/* ── form extras ── */
.fg .opt { color: var(--ink-mute); font-weight: 400; }
.fg .hint { display: block; font-size: 0.78rem; color: var(--ink-mute); margin-top: 0.3rem; }
.radio-row { display: flex; flex-wrap: wrap; gap: 1rem; }
.radio-row label { display: flex; align-items: center; gap: 0.4rem; font-weight: 500; font-size: 0.92rem; margin: 0; }
.radio-row input { width: auto; margin: 0; accent-color: var(--brand); }
.estimate-chip {
  display: none; margin-bottom: 1.2rem;
  background: var(--brand-mist); border: 1px solid var(--brand-soft);
  border-radius: var(--radius); padding: 0.8rem 1rem; font-size: 0.9rem; color: var(--brand-deep);
}
.estimate-chip.show { display: block; }

/* ── brand comparison table + sample letter ── */
.table-wrap { overflow-x: auto; margin: 1.2rem 0 1.6rem; }
.table-wrap .cost-table { margin: 0; min-width: 560px; }
.sample-letter {
  background: var(--bg-cream); border: 1px dashed var(--ink-mute); border-radius: var(--radius);
  padding: 1.4rem 1.5rem; margin: 1.2rem 0 1.6rem;
  font-size: 0.93rem; line-height: 1.65; white-space: pre-wrap;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.copy-btn { margin-top: -0.8rem; margin-bottom: 1.6rem; }

/* ── occasion grid ── */
.occasions { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1rem; }
.occasion { background: white; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.2rem 1.3rem; }
.occasion h3 { font-size: 1.02rem; margin-bottom: 0.2rem; }
.occasion .when { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); font-weight: 600; }
.occasion .colors { font-size: 0.9rem; font-weight: 600; color: var(--brand-deep); margin: 0.5rem 0 0.3rem; }
.occasion p { font-size: 0.88rem; color: var(--ink-soft); margin: 0; }

/* ── neighborhoods pills ── */
.pill-list { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; margin: 0.6rem 0 1.2rem; padding: 0; }
.pill-list li { background: var(--brand-mist); border: 1px solid var(--brand-soft); color: var(--brand-deep); border-radius: 999px; padding: 0.3rem 0.8rem; font-size: 0.86rem; }

/* ── network page ── */
.network-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }

/* Form first on phones (the pool site lifts its "prefer to call" card above the form; no phone here yet) */
@media (max-width: 860px) { .quote-side { order: 0; } }

/* ── sibling-site links row (footer) ── */
.footer-network { font-size: 0.85rem; color: rgba(255,255,255,0.55); margin-bottom: 1.25rem; line-height: 1.8; }
.footer-network span { text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.72rem; font-weight: 600; margin-right: 0.35rem; }
.footer-network a { color: rgba(255,255,255,0.8); }
.footer-network a:hover { color: white; }

/* ── area pills: center short rows (e.g. 3 nearby cities) instead of left-aligning in a 4-col grid ── */
.areas-grid { display: flex; flex-wrap: wrap; justify-content: center; }
.areas-grid .area-pill { flex: 0 0 calc((100% - 3 * 0.85rem) / 4); }
@media (max-width: 860px) { .areas-grid .area-pill { flex-basis: calc((100% - 0.85rem) / 2); } }
@media (max-width: 480px) { .areas-grid .area-pill { flex-basis: 100%; } }

/* ── mobile polish ── */
/* keep the visually-hidden calculator radios inside their pill so nothing pokes past the viewport */
.seg input { top: 0; left: 0; width: 1px; height: 1px; }
/* iOS Safari zooms the page when a focused field's text is under 16px */
@media (max-width: 860px) {
  .fg input, .fg select, .fg textarea { font-size: 16px; }
}

/* ── photo scene picker (regions with real photos) ── */
.scene-photos { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--night); }
.scene-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.45s ease; }
.scene-photo.active { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .scene-photo { transition: none; } }
/* badge sits low over the driveway so it never covers the lit roofline */
.hero-image.scene .scene-photos .hero-badge { top: auto; bottom: 0.9rem; left: 0.9rem; }
.scene-photo { object-position: center 30%; }

/* ── header logo = favicon mark (tile is drawn inside the SVG) ── */
.brand-mark { width: 40px; height: 40px; background: none; border-radius: 9px; overflow: hidden; }
.brand-mark svg { width: 40px; height: 40px; display: block; }

:root { --font-display: 'Playfair Display', Georgia, serif; }
/* Region theme — generated by build.py */
:root {
  --brand-deep: #2a1b5e;
  --brand: #5a3fd0;
  --brand-bright: #8c78ff;
  --brand-soft: #e3ddff;
  --brand-mist: #f5f3ff;
  --accent: #d9971a;
  --accent-deep: #b07610;
  --accent-soft: #fdf3dc;
  --night: #120d2b;
}
