/* ============================================================
   Palm City Dryer Vent Services, redesign system
   Palette: petrol navy ink / linen ground / washed-sky tint /
   ember (CTA + fire only) / star gold. Light theme, committed.
   Type: Archivo (display) + Source Sans 3 (body).
   ============================================================ */

:root {
  --ink: #12303f;          /* petrol navy, headings, footer ground */
  --ink-2: #1c4d63;        /* deep sea, panels, gradient partner */
  --body: #33505d;         /* body text on light */
  --muted: #5d7683;        /* secondary text */
  --paper: #faf9f6;        /* linen page ground */
  --tint: #e9f0f2;         /* washed-sky alt sections */
  --card: #ffffff;
  --line: #d8e2e6;
  --ember: #c4460f;        /* CTA + fire-risk accents ONLY. 4.7:1 as text on linen, 5.0:1 under white text */
  --ember-deep: #a3380a;   /* hover state. 6.7:1 under white text, a clearly visible step down */
  --ember-light: #f0905e;  /* same hue lifted for dark grounds. 5.8:1 on navy, where --ember is only 2.8:1 */
  --gold: #f2a81d;         /* review stars */
  --ok: #2f9e44;           /* checklist ticks */
  --on-ink: #f2f6f7;       /* text on navy */
  --on-ink-muted: #a8c0cb;
  --focus: #1c7ed6;

  --font-display: "Archivo", "Segoe UI", system-ui, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;

  --wrap: 1140px;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(18, 48, 63, 0.10);
  --shadow-soft: 0 4px 14px rgba(18, 48, 63, 0.07);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--body);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

/* height:auto is load-bearing, the width/height attributes on each <img> would
   otherwise pin the rendered height, distorting scaled images and defeating
   aspect-ratio on the hero. */
img { max-width: 100%; height: auto; display: block; }

/* ---------- type scale ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.12;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 5.2vw, 3.4rem); font-weight: 900; letter-spacing: -0.015em; }
/* Holds a phrase together as one wrapping unit: it drops to the next line whole
   rather than leaving a stray word behind on the line above. Its own text still
   wraps normally when the phrase alone is wider than the line. */
.keep { display: inline-block; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 800; letter-spacing: -0.01em; }
h3 { font-size: 1.22rem; font-weight: 700; }
p  { max-width: 62ch; }

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ember);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--ember); }

a { color: var(--ink-2); }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- layout primitives ---------- */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.25rem; }
section { padding: clamp(3.2rem, 7vw, 5.5rem) 0; }
/* stop the sticky header covering a heading when a menu link jumps to it */
section[id] { scroll-margin-top: 90px; }
.section-head { max-width: 640px; margin-bottom: 2.4rem; }
.section-head p { color: var(--muted); }
.tint { background: var(--tint); }

/* ---------- buttons ---------- */
.btn {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
/* shadow is a deep brown-red, not an orange glow. An orange halo goes muddy on the linen header */
.btn-ember { background: var(--ember); color: #fff; box-shadow: 0 2px 6px rgba(88, 30, 6, 0.24); }
.btn-ember:hover { background: var(--ember-deep); box-shadow: 0 5px 14px rgba(88, 30, 6, 0.34); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--on-ink); }
.btn-ghost-light { border-color: var(--on-ink-muted); color: var(--on-ink); background: transparent; }
.btn-ghost-light:hover { background: rgba(255,255,255,0.12); }

/* ---------- header ---------- */
.topbar {
  background: var(--ink);
  color: var(--on-ink-muted);
  font-size: 0.85rem;
  padding: 0.4rem 0;
}
.topbar .wrap { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.topbar a { color: var(--on-ink); text-decoration: none; font-weight: 600; }
.topbar a:hover { text-decoration: underline; text-underline-offset: 3px; }

header.site {
  position: sticky;
  top: 0;
  /* must outrank .callbar (55) so the open mobile menu covers the fixed call bar */
  z-index: 60;
  background: rgba(250, 249, 246, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
}
.logo { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.logo img { height: 62px; width: auto; display: block; }

nav.primary { display: flex; align-items: center; gap: 1.4rem; }
nav.primary a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.98rem;
}
/* `nav.primary a` outranks `.btn-ember`, which left the header CTA with dark text
   on orange. Re-assert white here and in the mobile panel. */
nav.primary a.btn-ember,
nav.primary a.btn-ember:hover { color: #fff; }
/* underline as well as color, so hover isn't signalled by color alone */
nav.primary a:not(.btn):hover {
  color: var(--ember-deep);
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 2px;
}
.nav-call { display: inline-flex; }

/* mobile nav */
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 0.4rem; }
.nav-toggle svg { display: block; }
.nav-close { display: none; }   /* panel-only control; must stay hidden on desktop */

@media (max-width: 860px) {
  /* wraps to two lines and eats the top of the screen; the phone number stays
     reachable via the fixed call bar, and hours repeat in the footer */
  .topbar { display: none; }

  .nav-toggle { display: block; }
  .logo img { height: 48px; }

  /* backdrop-filter makes an element the containing block for its position:fixed
     descendants, which traps the menu panel inside the header strip. Drop the blur
     at mobile widths so the panel can size itself to the viewport. */
  header.site { backdrop-filter: none; background: var(--paper); }

  nav.primary {
    position: fixed;
    inset: 0;
    z-index: 65;               /* above .nav-toggle so the panel covers the hamburger */
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 4.5rem 1.5rem calc(2rem + env(safe-area-inset-bottom));
    background: var(--ink);
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.28s ease;
  }
  nav.primary.open { transform: translateX(0); }

  /* full-width rows: big tap targets, listed in the order they appear down the page */
  nav.primary a:not(.btn) {
    color: var(--on-ink);
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    padding: 1.05rem 0.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }
  nav.primary a:not(.btn):hover { color: #fff; text-decoration: none; }

  .nav-call { margin-top: 1.75rem; font-size: 1.05rem; padding: 0.95rem 1.6rem; }

  .nav-close {
    display: block;
    position: absolute;
    top: 0.9rem;
    right: 1.1rem;
    background: none;
    border: 0;
    color: var(--on-ink);
    cursor: pointer;
    padding: 0.5rem;
    line-height: 0;
  }

  /* overscroll-behavior keeps touch scrolling inside the panel. An overflow:hidden
     lock on <body> is unreliable on iOS and its release raced the anchor jump. */
  nav.primary { overscroll-behavior: contain; }
}

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(3rem, 6vw, 5rem) 0 clamp(3.2rem, 6vw, 5.2rem); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero-copy h1 span.geo { color: var(--ink-2); }
.hero-copy .lede { font-size: 1.18rem; color: var(--muted); margin: 1.1rem 0 1.6rem; }
.hero-ctas { display: flex; gap: 0.9rem; flex-wrap: wrap; margin-bottom: 1.8rem; }
.hero-proof { display: flex; gap: 1.6rem; flex-wrap: wrap; }
.proof { display: flex; flex-direction: column; gap: 0.15rem; }
.proof strong {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--ink);
  font-size: 1.18rem;
  font-variant-numeric: tabular-nums;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.proof strong svg { flex-shrink: 0; color: var(--ink-2); }
.proof small { color: var(--muted); font-size: 0.85rem; }
.stars { color: var(--gold); letter-spacing: 0.1em; }

.hero-media { position: relative; }
.hero-media .photo {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3.1;
  object-fit: cover;
  width: 100%;
  background: var(--tint);
}
.hero-chip {
  position: absolute;
  left: -1rem;
  bottom: 1.4rem;
  background: var(--card);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 0.7rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.9rem;
  color: var(--ink);
  font-weight: 600;
  border: 1px solid var(--line);
}
.hero-chip .flame { color: var(--ember); }

/* airflow ribbon behind hero */
.air {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.55;
}
.air path {
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 14 22;
  animation: airflow 26s linear infinite;
}
.air .a1 { stroke: #c4d8de; }
.air .a2 { stroke: #d9e6ea; animation-duration: 34s; }
.air .a3 { stroke: rgba(196, 70, 15, 0.26); animation-duration: 22s; }
@keyframes airflow { to { stroke-dashoffset: -720; } }
@media (prefers-reduced-motion: reduce) {
  .air path { animation: none; }
  html { scroll-behavior: auto; }
  .btn, .card, .callbar--auto { transition: none; }
}

/* Desktop: the photo matches the height of the copy column beside it.
   The 4/3.1 ratio alone leaves it ~120px short. That used to be masked because the
   img height attribute pinned the height, until img{height:auto} let the ratio apply. */
@media (min-width: 861px) {
  .hero .wrap,
  .city-hero .split { align-items: stretch; }
  .hero-media { display: flex; flex-direction: column; }
  .hero-media .photo { flex: 1 1 auto; aspect-ratio: auto; min-height: 430px; }
}

/* .hero collapses at 860 but .split collapses at 900, so on the city pages there is
   a 40px band where the layout is already stacked. Keep the banner crop there. */
@media (min-width: 861px) and (max-width: 900px) {
  .city-hero .hero-media .photo {
    flex: none;
    min-height: 0;
    aspect-ratio: 20 / 9;
    object-position: center 52%;
  }
}

@media (max-width: 860px) {
  .hero { padding-top: 1.6rem; }
  .hero .wrap { grid-template-columns: 1fr; gap: 1.5rem; }
  .hero-media { order: -1; }

  /* Condensed banner crop. 52% vertical keeps the dryer door in frame while
     shrinking the image enough that the headline is visible without scrolling. */
  .hero-media .photo { aspect-ratio: 20 / 9; object-position: center 52%; }
  .hero-chip { display: none; }   /* same stat appears in the fire-risk card below */

  /* headline block and everything under it reads centred on a narrow screen */
  .hero-copy { text-align: center; }
  /* the leading rule strands itself on the left once centred text wraps */
  .hero-copy .eyebrow::before { display: none; }
  .hero-copy .lede { margin-left: auto; margin-right: auto; }
  /* scoped to the hero, the heroes band and CTA band set their own alignment */
  .hero-copy .hero-ctas { justify-content: center; }
  .hero-copy .hero-proof { justify-content: center; gap: 1.6rem; }
  .proof { align-items: center; }
}

/* Tablet keeps the three proof points in one staggered row, there is room, so
   size them up rather than leaving them small in the middle of the page. */
@media (min-width: 641px) and (max-width: 860px) {
  .hero-copy .hero-proof { gap: 2.2rem; }
  .hero-copy .proof strong { font-size: 1.34rem; gap: 0.55rem; }
  .hero-copy .proof strong svg { width: 23px; height: 23px; }
  .hero-copy .proof small { font-size: 0.95rem; }
  .hero-copy .stars { font-size: 1.1rem; }
}

/* Phone has no room for that row, stack them instead. */
@media (max-width: 640px) {
  .hero-copy .hero-proof { flex-direction: column; align-items: center; gap: 0.85rem; }
}

/* ---------- benefit cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card .icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: grid; place-items: center;
  margin-bottom: 1rem;
  background: var(--tint);
  color: var(--ink-2);
}
.card .icon.hot { background: #fdeae0; color: var(--ember); }
.card h3 { margin-bottom: 0.5rem; }
.card p { font-size: 0.98rem; color: var(--muted); }
.card .stat {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--ink);
  font-size: 0.9rem;
  margin-top: 0.9rem;
  display: inline-block;
  background: var(--tint);
  border-radius: 999px;
  padding: 0.25rem 0.8rem;
}

/* ---------- what every cleaning includes ---------- */
/* margin set here, not inline: an inline `margin: x 0` would zero out the
   left/right auto margins that centre the list on narrow screens. */
.checklist { margin: 1.4rem 0; }
.included-note { margin-top: 1.3rem; font-size: 0.95rem; }

/* photo collage. width:100% is what makes these fill the column, max-width
   alone let them sit at their intrinsic size and float left of the space. */
.finds { display: grid; grid-template-columns: 1.1fr 1fr; gap: 1rem; }
.finds img {
  width: 100%;
  display: block;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}
.finds-tall { aspect-ratio: 3 / 4; }          /* sets the height of the whole group */
.finds-stack { display: grid; grid-template-rows: 1fr 1fr; gap: 1rem; }
.finds-stack img { height: 100%; }
.finds-caption { font-size: 0.85rem; color: var(--muted); margin-top: 0.7rem; }

/* Photo beside a copy column (the condos section). width:100% so it fills the
   column instead of stopping at its intrinsic size. */
.split-media {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: var(--shadow);
}

/* Single column (tablet down): centre the copy so it isn't pinned to the left
   of a full-width column, but keep the checklist rows left-aligned to read.
   Shared by the includes section and the condos section. */
@media (max-width: 900px) {
  .split-copy { text-align: center; }
  .split-copy .eyebrow::before { display: none; }
  .split-copy p { margin-left: auto; margin-right: auto; }
  .split-copy .checklist {
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
  }
  /* The global p{max-width:62ch} caps this box well short of the photo group,
     so text-align alone centred the words inside a box still pinned left.
     Release the cap to the column and balance the wrap so it breaks evenly
     rather than leaving an orphan on line two. */
  .finds-caption {
    max-width: 100%;
    text-align: center;
    text-wrap: balance;
  }
}

@media (max-width: 560px) {
  .finds { grid-template-columns: 1fr; }
  .finds-tall { aspect-ratio: 4 / 3; }
  .finds-stack { grid-template-rows: auto auto; }
  .finds-stack img { height: auto; aspect-ratio: 16 / 9; }
}

/* ---------- included checklist ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.checklist { list-style: none; display: grid; gap: 0.85rem; }
.checklist li { display: flex; gap: 0.75rem; align-items: flex-start; }
.checklist .tick {
  flex-shrink: 0;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(47, 158, 68, 0.12);
  color: var(--ok);
  display: grid; place-items: center;
  font-size: 0.8rem;
  margin-top: 0.15rem;
}
.checklist strong { color: var(--ink); }
.checklist span.note { display: block; font-size: 0.92rem; color: var(--muted); }

/* ---------- service packages ---------- */
.packages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; align-items: stretch; }
.pkg { display: flex; flex-direction: column; position: relative; }
.pkg.featured { border: 2px solid var(--ember); }
.pkg .flag {
  position: absolute;
  top: -0.8rem;
  left: 1.4rem;
  background: var(--ember);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  white-space: nowrap;
}
.pkg .tier { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; color: var(--ink); margin-bottom: 0.2rem; }
.pkg .for { font-size: 0.9rem; color: var(--muted); margin-bottom: 1.2rem; }
.pkg ul { list-style: none; display: grid; gap: 0.65rem; margin: 0 0 1.5rem; padding: 0; font-size: 0.95rem; }
.pkg ul li { display: flex; gap: 0.6rem; align-items: flex-start; text-align: left; }
.pkg ul .tick { color: var(--ok); font-weight: 700; flex-shrink: 0; }
.pkg .btn { margin-top: auto; }
.packages-note { margin: 1.6rem auto 0; font-size: 0.95rem; text-align: center; }

/* Same collapsed-layout treatment as the other card grids: centre the copy,
   keep the tick rows left-aligned inside a centred block so they stay scannable. */
@media (max-width: 900px) {
  .pkg { text-align: center; }
  .pkg ul { max-width: 340px; margin-left: auto; margin-right: auto; }
  .pkg .flag { left: 50%; transform: translateX(-50%); }
}
/* One tier per row from tablet down. Three cards in a two-track grid always end
   on a half-empty row, and spanning the third across the full width made it read
   as more important than the other two. Stacking keeps all three equal. */
@media (max-width: 900px) {
  .packages { grid-template-columns: 1fr; }
}

/* ---------- reviews ---------- */
.reviews-band { background: var(--ink); color: var(--on-ink); }
.reviews-band h2, .reviews-band h3 { color: var(--on-ink); }
.reviews-band .section-head p { color: var(--on-ink-muted); }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
@media (max-width: 900px) { .review-grid { grid-template-columns: 1fr; } }
.review {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.review p { color: var(--on-ink); font-size: 0.98rem; }
.review footer { color: var(--on-ink-muted); font-size: 0.88rem; font-weight: 600; }
.gbadge {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  font-size: 0.9rem; font-weight: 600; color: var(--on-ink);
}

/* Badge sits above the social line rather than beside it, so the primary call
   (read the reviews) is never competing with the secondary one for the same row.
   align-items:start keeps the pill hugging its text instead of stretching. */
.review-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.9rem;
  margin-top: 2rem;
}
.also-find { font-size: 0.85rem; color: var(--on-ink-muted); }
.also-find a {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  color: var(--on-ink);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255, 255, 255, 0.35);
}
.also-find a:hover { text-decoration-color: currentColor; }
/* Marks inherit the link colour rather than wearing Facebook blue and Nextdoor
   green, which would fight the palette on the navy band. */
.also-find svg { width: 15px; height: 15px; flex: none; }

/* Centred on tablet and phone to match the section head above it. */
@media (max-width: 900px) {
  .review-links { align-items: center; }
  .also-find { text-align: center; }
}

/* ---------- service areas ---------- */
.areas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
@media (max-width: 900px) { .areas { grid-template-columns: repeat(2, 1fr); } }
.area {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem 1.1rem;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.area:hover { border-color: var(--ink-2); transform: translateY(-2px); }
.area strong { font-family: var(--font-display); color: var(--ink); font-size: 1.02rem; }
.area small { color: var(--muted); font-size: 0.82rem; }
.area.hq { background: var(--ink); border-color: var(--ink); }
.area.hq strong { color: #fff; }
.area.hq small { color: var(--on-ink-muted); }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; }
.faq details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 0.8rem;
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.05rem 1.3rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.3rem; color: var(--ember); flex-shrink: 0; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 1.3rem 1.2rem; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--ink) 40%, var(--ink-2));
  color: var(--on-ink);
  text-align: center;
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(2.5rem, 6vw, 4rem) 1.5rem;
  position: relative;
  overflow: hidden;
}
.cta-band h2 { color: #fff; margin-bottom: 0.6rem; }
.cta-band p { color: var(--on-ink-muted); margin: 0 auto 1.6rem; }
.cta-band .hero-ctas { justify-content: center; margin-bottom: 0; }

/* ---------- footer ---------- */
footer.site {
  background: var(--ink);
  color: var(--on-ink-muted);
  padding: 3.5rem 0 6.5rem; /* bottom room for mobile call bar */
  font-size: 0.95rem;
}
footer.site .cols {
  display: grid;
  /* areas column is wider: it carries 12 towns and needs to hold two tracks */
  grid-template-columns: 1.4fr 1fr 1.8fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
/* Collapse to 2-up at 1020, not 900. Between those widths the 4-up areas column
   is too narrow to hold its two town tracks and the footer doubles in height. */
@media (max-width: 1020px) { footer.site .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { footer.site .cols { grid-template-columns: 1fr; } }
footer.site h4 { color: var(--on-ink); font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 0.9rem; }
.footer-logo { height: 66px; width: auto; margin-bottom: 1rem; }
footer.site ul { list-style: none; display: grid; gap: 0.5rem; }
/* One town per line means 12 entries, which would run this column to twice the
   height of its neighbours. Two tracks keep the footer row even. auto-fit so it
   drops to one column when the track can no longer hold "Palm Beach Gardens". */
footer.site .foot-areas {
  /* 132px is the width of the longest town, "Palm Beach Gardens". Below that a
     second track would clip it, so auto-fit correctly drops to one column. */
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  column-gap: 1.2rem;
}
footer.site .foot-areas [aria-current="page"] { color: var(--on-ink); font-weight: 600; }
footer.site a { color: var(--on-ink-muted); text-decoration: none; }
footer.site a:hover { color: #fff; }
footer.site .legal {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.82rem;
}

/* ---------- mobile call bar ---------- */
.callbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 55;
  display: none;
  gap: 0;
  box-shadow: 0 -6px 20px rgba(18, 48, 63, 0.25);
}
/* JS adds .callbar--auto, so with no JS the bar simply stays put.
   It then slides in only once the hero's own buttons have scrolled away,
   instead of competing with them on first paint. */
.callbar--auto { transform: translateY(110%); transition: transform 0.28s ease; }
.callbar--auto.is-visible { transform: translateY(0); }
.callbar a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 0.5rem calc(0.95rem + env(safe-area-inset-bottom));
  font-family: var(--font-display);
  font-weight: 700;
  text-decoration: none;
  font-size: 1rem;
}
/* white line icon. The phone emoji rendered red-on-orange and vanished */
.callbar a svg { flex-shrink: 0; }
.callbar .call { background: var(--ember); color: #fff; }
.callbar .book { background: var(--ink); color: var(--on-ink); }
@media (max-width: 860px) { .callbar { display: flex; } }

/* ---------- breadcrumbs / city page ---------- */
.crumbs { font-size: 0.85rem; color: var(--muted); padding: 1rem 0 0; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ember); }
.crumbs .wrap { display: flex; gap: 0.5rem; flex-wrap: wrap; }

.city-hero { padding: clamp(2.2rem, 5vw, 3.6rem) 0; }
/* Longhand margins on purpose. The `margin` shorthand would reset left/right to
   0 and, sitting later in the file at equal specificity, would beat the
   `margin-left/right:auto` the centred hero sets at <=860, leaving this 58ch box
   pinned to the left of a centred headline. */
.city-hero .lede {
  font-size: 1.15rem;
  color: var(--muted);
  margin-top: 1rem;
  margin-bottom: 1.5rem;
  max-width: 58ch;
}

.local-notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
@media (max-width: 900px) { .local-notes { grid-template-columns: 1fr; } }

.neighborhood-tags,
.tag-list { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: 1rem; list-style: none; padding: 0; }
.neighborhood-tags span,
.tag-list li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.3rem 0.9rem;
  font-size: 0.88rem;
  color: var(--ink);
  font-weight: 600;
}

/* trailing note under a pill row */
.tags-note { margin-top: 1.6rem; font-size: 0.95rem; }

/* carries the star rating as text, since the star glyphs are decorative */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* tier medals. The metal look comes from a multi-stop diagonal gradient
   (light / dark / light again) plus a soft radial gloss over the top. */
.medal {
  display: block;
  width: 58px;
  height: 58px;
  margin-bottom: 0.9rem;
  filter: drop-shadow(0 2px 4px rgba(18, 48, 63, 0.22));
}
@media (max-width: 900px) {
  .pkg .medal { margin-left: auto; margin-right: auto; }
}

/* ---------- hometown heroes ---------- */
.heroes-band {
  position: relative;
  /* navy fallback paints first, so the band still reads correctly if the photo fails */
  background-color: var(--ink);
  background-image:
    linear-gradient(100deg, rgba(14, 38, 50, 0.95) 0%, rgba(16, 45, 59, 0.91) 45%, rgba(28, 77, 99, 0.76) 100%),
    url("https://images.pexels.com/photos/1243903/pexels-photo-1243903.jpeg?auto=compress&cs=tinysrgb&w=1920");
  background-size: cover;
  background-position: 62% 42%;
  background-repeat: no-repeat;
  color: var(--on-ink);
}
.heroes-band h2 { color: #fff; }
.heroes-band p { color: var(--on-ink-muted); }
.heroes-inner { max-width: 660px; }

.eyebrow-light { color: var(--ember-light); }
.eyebrow-light::before { background: var(--ember-light); }

.hero-groups {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.6rem 0 1.9rem;
  padding: 0;
}
.hero-groups li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 0.45rem 1rem 0.45rem 0.8rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: #fff;
}
.hero-groups svg { flex-shrink: 0; color: var(--ember-light); }
.heroes-band .fineprint { font-size: 0.88rem; color: var(--on-ink-muted); margin-top: 1.1rem; }

@media (max-width: 700px) {
  .heroes-band { background-position: 70% 40%; }
  .hero-groups { gap: 0.5rem; }
  .hero-groups li { font-size: 0.86rem; padding: 0.4rem 0.85rem 0.4rem 0.7rem; }
}

/* ---------- collapsed-layout balance (tablet and below) ----------
   Same treatment the includes section gets: once a grid stops being multi-column,
   centre the heading block so it isn't pinned to the left of a full-width row,
   and keep cards two-up rather than stretching one across each line.
   Must sit after the .grid-3 / .local-notes collapse rules to win the cascade. */
@media (max-width: 900px) {
  .section-head { margin-left: auto; margin-right: auto; text-align: center; }
  .section-head .eyebrow::before { display: none; }
  .section-head p { margin-left: auto; margin-right: auto; }

  /* pill rows sit under centred copy, so centre the row too */
  .tag-list,
  .neighborhood-tags { justify-content: center; }

  /* and the note that trails them. Same fix as .finds-caption: the global
     p{max-width:62ch} leaves the box pinned left, so release the cap to the
     column and let the wrap balance. */
  .tags-note {
    max-width: 100%;
    text-align: center;
    text-wrap: balance;
  }

  .grid-3 .card,
  .local-notes .card { text-align: center; }
  .grid-3 .card .icon,
  .local-notes .card .icon { margin-left: auto; margin-right: auto; }
  .grid-3 .card p,
  .local-notes .card p { max-width: 46ch; margin-left: auto; margin-right: auto; }
}

/* No two-up tablet step for the three-card grids. They collapse straight to one
   column at 900 (see .grid-3 / .local-notes above), same as phone, so the last
   row is never half empty and no card is accidentally promoted by spanning.

   Stacked, a card would otherwise run the full 860px of a tablet and read as a
   thin band. Cap and centre the stack instead. 560px is wider than any phone
   column, so this binds on tablet only and phone layout is untouched. */
@media (max-width: 900px) {
  .grid-3,
  .grid-2,
  .local-notes,
  .packages,
  .review-grid {
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ---------- technicians (appointment prep) ---------- */
.tech-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
.tech {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  margin: 0;
}
.tech img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 22%; }
.tech figcaption { padding: 0.85rem 1.1rem 1rem; }
.tech strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.12rem;
  color: var(--ink);
}
.tech span { font-size: 0.88rem; color: var(--muted); }

@media (max-width: 900px) {
  .tech-grid { max-width: 520px; margin-left: auto; margin-right: auto; }
  .tech figcaption { text-align: center; }
}

/* skip link */
.skip {
  position: absolute;
  left: -9999px;
  top: 0.5rem;
  background: var(--ink);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  z-index: 100;
}
.skip:focus { left: 0.5rem; }
