/* ==========================================================================
   XpertWorker — SEO landing-page design system
   Loaded by the two static generators ONLY: guides/tips/hubs and the 1,133 zone
   pages. Nothing else on the site links it, so it is the right place for the
   shared token set — change it here and both layers move together.

   TOKENS COME FROM THE CLAUDE DESIGN SYSTEM, not from BRAND.md.
   The old palette was navy #111111, gold #f59e0b and Plus Jakarta Sans. The
   design replaces all three: near-black #111111, a neutral grey ramp with amber
   reserved for warnings, and Manrope. The variable NAMES are kept — --ink,
   --gold, --black and the rest are referenced in hundreds of places across both
   generators, and repointing them re-skins everything at once rather than
   requiring every rule to be rewritten.

   Where a name no longer describes its value (--gold is amber now, --ink is not
   navy) the comment says so. Renaming them would be a bigger and more fragile
   change than it is worth.
   ========================================================================== */

:root {
  --ink:        #111111;  /* near-black — headings, primary text, links       */
  --ink-soft:   #374151;  /* secondary                                        */
  --black:      #111111;  /* primary CTA                                      */
  --gold:       #f59e0b;  /* NOT gold any more — amber, warnings only         */
  --gold-dark:  #374151;  /* amber label text                                 */
  --gold-soft:  #f3f4f6;  /* was a gold wash; now a neutral hover fill        */
  --surface:    #f8f9fa;  /* page background                                  */
  --card:       #FFFFFF;
  --surface-2:  #f5f5f5;  /* card fill, matching the guide pages         */
  --muted-fill: #f5f5f5;  /* flat card fill                                   */
  --line:       #e5e7eb;  /* borders                                          */
  --line-soft:  #f3f4f6;  /* hairline                                         */
  --text:       #374151;  /* body text                                        */
  --text-2:     #6b7280;  /* secondary text                                   */
  --text-3:     #9ca3af;  /* labels / disclaimers                             */
  --ok:         #059669;  /* success / verified                               */
  --ok-bg:      #f5f5f5;
  --ok-text:    #059669;
  --panel:      #111827;  /* dark panel — CTA bands, hero if it goes dark     */
  --footer-bg:  #101010;
  --accent:     #111111;
  --radius-lg:  12px;     /* the design settles on 8 and 12 only              */
  --radius:     8px;
  --shadow-sm:  0 1px 2px rgba(0,0,0,.04), 0 1px 3px rgba(0,0,0,.05);
  --maxw:       960px;
  --font-display: 'Manrope','Inter',system-ui,sans-serif;
  --font-mono:  'JetBrains Mono',ui-monospace,SFMono-Regular,Menlo,monospace;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.22;
}

a { color: var(--ink); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Inline SVG icon base */
.i { width: 1em; height: 1em; display: inline-block; vertical-align: -0.125em; flex-shrink: 0; }

/* Accessibility utilities */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius:8px; }

/* ── Sticky header ──────────────────────────────────────────────────────── */
.seo-hdr {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.seo-hdr-in {
  max-width: var(--maxw);
  margin: 0 auto;
  height: 60px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.seo-brand {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.22rem;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.seo-brand:hover { text-decoration: none; }
.seo-brand .dot { color: var(--gold); }
.seo-nav { display: flex; align-items: center; gap: 4px; }
.seo-nav a {
  padding: 8px 12px;
  font-size: .92rem;
  font-weight: 500;
  color: var(--text-2);
  border-radius:12px;
}
.seo-nav a:hover { color: var(--ink); background: var(--muted-fill); text-decoration: none; }
.seo-nav a.cta {
  background: var(--black);
  color: #fff;
  font-weight: 600;
  padding: 9px 16px;
}
.seo-nav a.cta:hover { background: #000; color: #fff; }
@media (max-width: 560px) {
  .seo-nav a.ghost { display: none; }   /* keep just the CTA on small phones */
}

/* ── Layout column ──────────────────────────────────────────────────────── */
.seo-wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 22px 16px 48px;
}

/* ── Breadcrumb ─────────────────────────────────────────────────────────── */
.seo-bc {
  font-size: .82rem;
  color: var(--text-3);
  margin: 6px 0 20px;
  line-height: 1.7;
}
.seo-bc a { color: var(--text-2); }
.seo-bc a:hover { color: var(--ink); }
.seo-bc .sep { margin: 0 6px; color: var(--line); }

/* ── Hero ────────────────────────────────────────────────────────────────────
   Was a navy radial-gradient panel with white text. The design system has no
   navy at all, so it becomes what the guide hero already is: white, ink text,
   hairline border, photo to the side rather than behind the words. That is the
   "exact same" reading — the two page families now open identically.

   Everything below that sets a white or translucent-white colour has to be
   repointed with it, which is what the .seo-hero rules further down do. */
.seo-hero {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--text);
  padding: 30px 30px 28px;
  margin: 4px 0 22px;
  box-shadow: none;
}
.seo-hero .seo-h1 { color: var(--ink); }
.seo-hero .seo-sub { color: var(--text-2); }
/* Photo hero (SPLIT): full navy panel on the LEFT holds the text; the photo sits
   on the RIGHT — no text over the image. On mobile it stacks: photo on top (full
   view), text below. Opt in per page:
   <section class="seo-hero has-photo" style="--hero-photo:url('/assets/img/seo/plumber.jpg')"> */
/* Photo hero: words left, picture right — which is exactly the guide page's
   answer-first hero, so it needed no structural change, only the colours. */
.seo-hero.has-photo {
  background: var(--card);
  padding-right: 45%;                    /* left = text */
  min-height: 360px;
  display: flex; flex-direction: column; justify-content: center;
}
.seo-hero.has-photo::before {            /* the photo — rounded card on the right */
  content: "";
  position: absolute; top: 22px; right: 22px; bottom: 22px; left: auto;
  width: 40%;
  border-radius: var(--radius-lg);
  background: var(--hero-photo, none) right center / cover no-repeat;
  background-color: var(--muted-fill);   /* empty state is a flat grey card, not a navy one */
  box-shadow: none;
}
.seo-hero.has-photo .seo-eyebrow {
  background: var(--muted-fill);
  color: var(--text);
}
.seo-hero.has-photo .seo-h1  { font-size: 1.9rem; }
.seo-hero.has-photo .seo-sub { font-size: 1rem; max-width: 46ch; }
@media (max-width: 640px) {
  .seo-hero.has-photo { padding-right: 18px; min-height: 0; display: block; }
  .seo-hero.has-photo::before {          /* photo on top, full-bleed to the rounded corners */
    position: relative; display: block; top: auto; right: auto; bottom: auto; left: auto;
    width: auto; aspect-ratio: 3 / 2;
    margin: -24px -18px 18px;
    border-radius: 0; box-shadow: none;
    background: var(--hero-photo, none) center 30% / cover no-repeat;
    background-color: var(--ink);
  }
  .seo-hero.has-photo .seo-h1  { font-size: 1.5rem; }   /* rein in the desktop-hero size on phones */
  .seo-hero.has-photo .seo-sub { font-size: .95rem; max-width: none; }
  .seo-hero.has-photo .seo-eyebrow { margin-bottom: 12px; }
}
/* The gold glow and diagonal texture were painted for the navy panel. On the
   white hero they read as a cream cast, so the layer is dropped entirely. */
.seo-hero::before { content: none; }
.seo-hero > * { position: relative; }
/* Neutral grey pill, matching the guide page's type/trade chips exactly. */
.seo-eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 11px; border-radius:12px;
  border: 0;
  background: var(--muted-fill);
  color: var(--text);
  font-family: "Inter", sans-serif;
  font-size: .66rem; font-weight: 500; letter-spacing: 0; text-transform: none;
  margin-bottom: 16px;
}
.seo-eyebrow .i { width: 14px; height: 14px; }
/* These were white for the navy hero. The hero is white now, so a white H1 was
   invisible — and this rule sits after the one in the hero block with equal
   specificity, so it won. Fixed at source rather than by piling on another
   override. */
.seo-h1 { font-size: 2.05rem; font-weight: 600; letter-spacing: -.035em; margin: 0 0 12px; color: var(--ink); }
.seo-hero .seo-h1 { color: var(--ink); }
.seo-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,.82);
  margin: 0;
  line-height: 1.6;
  max-width: 54ch;
}

/* Stats row (real data only) */
/* The stats row read as white-on-navy. On the white hero it becomes the same
   divided strip the guides use for the price snapshot — hairline gaps, ink
   numbers, muted labels — so the two page families share one visual idea for
   "a row of figures". */
.seo-stats {
  display: flex;
  margin: 22px 0 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  overflow: hidden;
}
.seo-stat { flex: 1; padding: 13px 16px; border-left: 1px solid var(--line); }
.seo-stat:first-child { border-left: 0; }
.seo-stat .n {
  font-family: var(--font-display);
  font-size: 1.32rem; font-weight: 600; color: var(--ink); letter-spacing: -.03em;
  font-variant-numeric: tabular-nums; line-height: 1.1;
}
.seo-stat .l { font-size: .73rem; color: var(--text-2); margin-top: 3px; line-height: 1.3; }

/* Hero actions */
.seo-hero .seo-actions { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
.seo-call-link {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--text); font-weight: 600; font-size: .92rem;
}
.seo-call-link .i { width: 17px; height: 17px; color: var(--text-2); }
.seo-call-link:hover { color: var(--ink); }
.seo-fineprint { font-size: .78rem; color: var(--text-3); margin: 14px 0 0; line-height: 1.5; }

/* `on-navy` is a legacy class name — the hero is white now, so the primary
   action is the dark button, matching every other primary on the site. */
.seo-cta.on-navy { background: var(--black); color: #fff; }
.seo-cta.on-navy:hover { background: #000; color: #fff; box-shadow: none; }

/* ── "About" band — its own card so the keyword text reads cleanly ──────── */
.seo-about {
  margin: 0 0 32px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
}
.seo-about .seo-h2 { margin-top: 0; }
.seo-body {
  font-size: 1rem;
  color: var(--text-2);
  margin: 0 0 14px;
  line-height: 1.78;
  max-width: 72ch;
}
.seo-body:last-child, .seo-locality:last-child { margin-bottom: 0; }
.seo-locality {
  font-size: .98rem;
  color: var(--text-2);
  margin: 0;
  line-height: 1.78;
  max-width: 72ch;
}
.seo-block { margin: 0 0 32px; }

/* ── Hero trust strip — confident stat row ──────────────────────────────── */
.seo-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 0 0 32px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.seo-trust .t { padding: 28px 30px; position: relative; transition: background .2s ease; }
.seo-trust .t + .t { border-left: 1px solid var(--line); }
.seo-trust .t:hover { background: #ffffff; }
.seo-trust .lead {
  font: 800 2rem/1 var(--font-display);
  color: var(--ink); letter-spacing: -.02em;
  display: flex; align-items: baseline; gap: 6px;
}
.seo-trust .lead em { font-style: normal; color: var(--ink); }
.seo-trust .lead em.unit { font-size: 1.05rem; font-weight: 700; }
.seo-trust .ttl { font: 700 1rem/1.2 var(--font-display); color: var(--ink); margin: 13px 0 0; }

/* ── Trust pill ─────────────────────────────────────────────────────────── */
.seo-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border-radius:12px;
  padding: 10px 18px;
  margin: 0 0 24px;
  font-size: .92rem;
  font-weight: 600;
}
.seo-pill.ok   { background: var(--ok-bg); color: var(--ok-text); }
.seo-pill.info { background: var(--muted-fill); color: var(--ink-soft); font-weight: 500; }
.seo-pill .i { width: 18px; height: 18px; }

/* ── Section heading ────────────────────────────────────────────────────── */
.seo-h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
/* The gold dash before every section heading is gone: headings in the design
   carry no accent mark. Kept as a zero-width rule rather than deleted so the
   flex gap on .seo-h2 does not need touching. */
.seo-h2::before { content: none; }

/* ── Price / service tables ─────────────────────────────────────────────── */
.seo-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow-sm);
}
.seo-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .94rem;
}
.seo-table thead th {
  background: var(--surface);
  text-align: left;
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--text-2);
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
}
.seo-table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
}
.seo-table tbody tr:last-child td { border-bottom: 0; }
.seo-table tbody tr:hover td { background: #ffffff; }
.seo-rate {
  color: var(--ink);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.seo-dur { color: var(--text-2); white-space: nowrap; }
.seo-tag {
  display: inline-block;
  background: var(--muted-fill);
  color: var(--ink);
  font-size: .72rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius:12px;
  margin-left: 8px;
  vertical-align: middle;
}
.seo-note {
  font-size: .82rem;
  color: var(--text-2);
  margin: 14px 0 0;
  line-height: 1.7;
  background: var(--muted-fill);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 16px;
}
.seo-note strong { color: var(--ink); }

/* ── CTA button ─────────────────────────────────────────────────────────── */
.seo-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--black);
  color: #fff;
  padding: 13px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .97rem;
  margin: 0;
  box-shadow: var(--shadow-sm);
  transition: transform .12s ease, box-shadow .12s ease;
}
.seo-cta:hover {
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(17,17,17,.16);
}
.seo-cta:active { transform: translateY(0); }
.seo-cta .i { width: 18px; height: 18px; }

/* ── How it works (3-step sequence) ─────────────────────────────────────── */
.seo-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 0; }
.seo-step {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px 18px; box-shadow: var(--shadow-sm);
}
.seo-step .num {
  font-family: var(--font-display);
  font-size: .82rem; font-weight: 800; color: var(--text-3); letter-spacing: .08em;
}
.seo-step h3 { font-size: 1.04rem; margin: 9px 0 6px; color: var(--ink); }
.seo-step p { font-size: .9rem; color: var(--text-2); margin: 0; line-height: 1.6; }

/* ── Mid-page CTA band ──────────────────────────────────────────────────── */
/* Flat dark panel, same as the guide page's CTA — no gradient, no shadow. */
.seo-cta-band {
  position: relative; overflow: hidden;
  background: var(--panel);
  border-radius: var(--radius-lg);
  padding: 26px 28px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 20px;
  box-shadow: none;
  margin: 0 0 32px;
}
.seo-cta-band .bt { font-family: var(--font-display); font-weight: 800; font-size: 1.18rem; color: #fff; }
.seo-cta-band p { margin: 5px 0 0; font-size: .9rem; color: rgba(255,255,255,.72); max-width: 44ch; }

/* ── Reviews slot (reserved — no fake reviews / no schema yet) ──────────── */
.seo-reviews-slot {
  display: flex; align-items: center; gap: 14px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 20px 24px; box-shadow: var(--shadow-sm);
}
.seo-reviews-slot .ri {
  flex: 0 0 44px; width: 44px; height: 44px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--ok-bg); color: var(--ok-text);
}
.seo-reviews-slot .ri .i { width: 22px; height: 22px; }
.seo-reviews-slot strong { display: block; color: var(--ink); font-size: 1rem; font-weight: 700; }
.seo-reviews-slot span { font-size: .9rem; color: var(--text-2); }

/* ── Sticky mobile action bar (mobile only) ─────────────────────────────── */
.seo-sticky { display: none; }
.seo-sticky-in { display: flex; gap: 10px; max-width: var(--maxw); margin: 0 auto; }
.seo-call {
  flex: 0 0 52px; width: 52px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius);
  background: var(--ok); color: #fff; border: 0;
}
.seo-call:hover { background: #059669; }
.seo-call .i { width: 23px; height: 23px; }
@media (max-width: 600px) {
  .seo-sticky {
    display: block;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 50;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.94);
    backdrop-filter: saturate(180%) blur(8px);
    border-top: 1px solid var(--line);
  }
  .seo-cta.sticky { flex: 1; justify-content: center; margin: 0; min-height: 50px; }
  body { padding-bottom: 84px; }   /* reserve room so footer isn't hidden */
}

/* ── "Why XpertWorker" card ─────────────────────────────────────────────── */
.seo-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px 26px;
  margin: 0 0 32px;
  box-shadow: var(--shadow-sm);
}
.seo-card .seo-h2 { margin-top: 0; }
/* ── "Why book" — split navy panel + gold-check list ────────────────────── */
.seo-why {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  margin: 0 0 32px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.seo-why-side {
  background: var(--panel);
  color: #fff;
  padding: 38px 34px;
  display: flex; flex-direction: column; justify-content: center;
  position: relative;
  border-right: 1px solid var(--line);
}
.seo-why-side::after {
  content: ""; position: absolute; left: 34px; bottom: 34px;
  width: 42px; height: 3px; background: var(--line); border-radius:8px;
}
.seo-why-side .kick {
  font: 700 .72rem/1 var(--font-display);
  letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); margin: 0 0 14px; font-family: var(--font-mono);
}
.seo-why-side h3 { font: 800 1.7rem/1.2 var(--font-display); color: #fff; margin: 0 0 12px; letter-spacing: -.01em; }
.seo-why-side p { font-size: .92rem; color: #9ca3af; margin: 0; line-height: 1.6; }
.seo-why-body { padding: 30px 36px; }
.seo-uvps { list-style: none; margin: 0; padding: 0; }
.seo-uvps li { display: flex; gap: 13px; align-items: flex-start; padding: 13px 0; }
.seo-uvps li + li { border-top: 1px solid var(--line); }
.seo-uvps .chk {
  width: 24px; height: 24px; border-radius:8px; flex-shrink: 0;
  display: grid; place-items: center;
  background: var(--surface-2); color: var(--ok-text);
}
.seo-uvps .chk .i { width: 15px; height: 15px; }
.seo-uvps li > span:last-child { font-size: .95rem; color: var(--text); line-height: 1.5; }

/* ── Service tiles — directory rows with gold rail + chevron ─────────────── */
.seo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 0;
}
.seo-tile {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius:12px;
  position: relative;
  overflow: hidden;
  transition: background .2s ease, border-color .2s ease;
}
.seo-tile::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--ink); transform: scaleY(0); transform-origin: top; transition: transform .25s ease;
}
.seo-tile:hover { text-decoration: none; background: var(--surface); border-color: var(--line); }
.seo-tile:hover::before { transform: scaleY(1); }
.seo-tile-ic {
  width: 46px; height: 46px; flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--ink);
  transition: background .25s ease, border-color .25s ease, color .25s ease;
}
.seo-tile:hover .seo-tile-ic { border-color: var(--line); }
.seo-tile-ic .i { width: 23px; height: 23px; }
.seo-tile-meta { flex: 1; min-width: 0; }
.seo-tile-meta strong { display: block; font: 700 1rem/1.2 var(--font-display); color: var(--ink); }
.seo-tile-meta small { color: var(--text-2); font-size: .8rem; }
.seo-tile-chev { color: var(--text-3); display: inline-flex; flex-shrink: 0; transition: transform .25s ease, color .25s ease; }
.seo-tile-chev .i { width: 20px; height: 20px; }
.seo-tile:hover .seo-tile-chev { transform: translateX(4px); color: var(--ink); }

/* ── FAQ accordions ─────────────────────────────────────────────────────── */
.seo-faq details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0;
  margin-bottom: 10px;
  overflow: hidden;
}
.seo-faq summary {
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
  font-size: .98rem;
  padding: 16px 48px 16px 20px;
  position: relative;
}
.seo-faq summary::-webkit-details-marker { display: none; }
.seo-faq summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--text-3);
  transition: transform .15s ease;
}
.seo-faq details[open] summary::after { content: "\2212"; }
.seo-faq details[open] summary { color: var(--ink); }
.seo-faq .ans {
  margin: 0;
  padding: 0 20px 18px;
  color: var(--text-2);
  line-height: 1.75;
}

/* ── Related-area chips ─────────────────────────────────────────────────── */
.seo-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.seo-chip {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius:12px;
  color: var(--ink-soft);
  font-size: .89rem;
  font-weight: 600;
}
.seo-chip:hover { text-decoration: none; border-color: var(--ink-soft); background: var(--surface); }

/* ── Rich footer ────────────────────────────────────────────────────────── */
/* Flat #101010, no gold rule — identical to the footer now on the guides. */
.seo-ft {
  background: var(--footer-bg);
  color: rgba(255,255,255,.55);
  margin-top: 56px;
  border-top: 0;
}
.seo-ft-in {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 44px 16px 28px;
}
.seo-ft-cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px 24px;
}
.seo-ft-brand .b {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  color: #fff;
  letter-spacing: -0.02em;
}
.seo-ft-brand .b .dot { color: var(--gold); }
.seo-ft-brand p { font-size: .9rem; color: #9ca3af; margin: 10px 0 0; line-height: 1.7; max-width: 32ch; }
.seo-ft h4 {
  font-family: var(--font-display);
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 14px;
}
.seo-ft ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.seo-ft ul a { color: #9ca3af; font-size: .9rem; line-height: 1.35; }
.seo-ft ul a:hover { color: #fff; text-decoration: none; }
.seo-ft-bottom {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 18px 16px 28px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  align-items: center;
  justify-content: space-between;
  font-size: .82rem;
  color: #6b7280;
}
.seo-ft-bottom .pay { color: #9ca3af; }

/* Anchor targets clear the sticky header when scrolled to */
/* Smooth in-page movement. The header is 60px and sticky, so every anchor the
   jump bar or the rail can point at needs to clear it — 84px leaves 24px of air
   above the heading rather than parking it against the header. One rule for all
   of them, because a target that gets missed lands *under* the header and reads
   as a broken link. Honoured on the scroll container, not just html, so it works
   wherever the page is scrolled from. */
html { scroll-behavior: smooth; }
#services, #prices, #how, #about, #reviews, #faq, #areas,
.seo-about, .seo-faq, .seo-block[id], .seo-card[id] { scroll-margin-top: 84px; }

/* Anyone who has asked the OS for less motion gets the jump, not the glide. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Uniform vertical rhythm between top-level sections (overrides per-section margins) */
.seo-wrap > * { margin-bottom: 28px; }
.seo-wrap > .seo-bc { margin-bottom: 18px; }
.seo-wrap > *:last-child { margin-bottom: 0; }

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 820px) {
  .seo-ft-cols { grid-template-columns: 1fr 1fr; }
  .seo-ft-brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .seo-hero { padding: 24px 18px 22px; border-radius:12px; }
  .seo-h1 { font-size: 1.7rem; line-height: 1.22; }
  .seo-sub { font-size: 1rem; }
  .seo-h2 { font-size: 1.16rem; margin: 0 0 12px; }
  .seo-wrap { padding: 16px 16px 40px; }
  .seo-wrap > * { margin-bottom: 22px; }
  .seo-wrap > .seo-bc { margin-bottom: 14px; }
  .seo-hero .seo-cta { display: none; }     /* sticky bar carries the primary action */
  /* stats compress without overflow */
  .seo-stats { margin-top: 18px; }
  .seo-stat { padding: 11px 9px; }
  .seo-stat .n { font-size: 1.12rem; }
  .seo-stat .l { font-size: .67rem; }
  /* trust strip: 3 compact stat columns in ONE row */
  .seo-trust { grid-template-columns: repeat(3, 1fr); gap: 0; }
  .seo-trust .t { padding: 16px 8px; text-align: center; }
  .seo-trust .lead { font-size: 1.4rem; justify-content: center; }
  .seo-trust .ttl { font-size: .76rem; line-height: 1.2; margin: 7px 0 0; }
  /* service rows: single column directory rows */
  .seo-grid { grid-template-columns: 1fr; gap: 10px; }
  .seo-tile { padding: 13px 15px; gap: 13px; }
  .seo-tile-ic { width: 40px; height: 40px; border-radius:12px; }
  .seo-tile-ic .i { width: 20px; height: 20px; }
  .seo-tile-meta strong { font-size: .95rem; }
  /* "Why" split stacks: navy panel on top, list below */
  .seo-why { grid-template-columns: 1fr; }
  .seo-why-side { padding: 26px 22px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .seo-why-side::after { display: none; }
  .seo-why-side h3 { font-size: 1.35rem; }
  .seo-why-body { padding: 6px 22px 4px; }
  /* stack multi-column blocks */
  .seo-steps { grid-template-columns: 1fr; }
  .seo-chip { min-height: 44px; }
  /* Footer: on a phone the columns stack, so the desktop 28px row gap + 14px heading gap read as
     big empty bands between short link lists. Tighten the whole rhythm and pull the copyright row in. */
  .seo-ft { margin-top: 40px; }
  .seo-ft-in { padding: 30px 18px 22px; }
  .seo-ft-cols { gap: 22px 22px; }
  .seo-ft h4 { margin-bottom: 10px; }
  .seo-ft ul { gap: 7px; }
  .seo-ft-brand p { margin-top: 8px; }
  .seo-ft-bottom { padding: 14px 18px 24px; gap: 4px 14px; }
}
@media (max-width: 440px) {
  /* One clean column, links snug — not a tall ladder of far-apart rows. */
  .seo-ft-cols { grid-template-columns: 1fr; gap: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

/* ══════════════════════════════════════════════════════════════════════════
   SHELL PARITY WITH THE GUIDE PAGES

   The zone pages were a single column with no progress bar, no jump bar, no
   rail and no methodology close, so they read as a different product from the
   guides even once the palette matched. These are the same components with the
   same measurements, so the two families now share one page shape.
   ══════════════════════════════════════════════════════════════════════════ */

/* Progress bar — 3px, above the sticky header. */
.seo-prog { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60;
  background: var(--line-soft); pointer-events: none; }
.seo-prog i { display: block; height: 100%; width: 0; background: var(--ink); }

/* Jump bar — horizontal, always open, between the hero and the body. */
.seo-jump { background: var(--surface); border-bottom: 1px solid var(--line);
  margin: 0 0 22px; border-radius: var(--radius); }
.seo-jump-in { display: flex; align-items: center; gap: 14px; padding: 11px 14px;
  overflow-x: auto; scrollbar-width: none; }
.seo-jump-in::-webkit-scrollbar { display: none; }
.seo-jump b { flex: 0 0 auto; font-family: var(--font-mono); font-size: 9.5px;
  font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
.seo-jump nav { display: flex; gap: 8px; flex: 0 0 auto; }
.seo-jump a { display: inline-flex; align-items: center; min-height: 28px; padding: 0 12px;
  border-radius:12px; background: var(--card); border: 1px solid var(--line);
  font-size: 10.5px; font-weight: 500; color: var(--text); white-space: nowrap; }
.seo-jump a:hover { color: var(--ink); text-decoration: none; }
.seo-jump a.on { background: var(--ink); border-color: var(--ink); color: #fff; }

/* Two columns, same 284px rail and 28px gutter as a guide. Named seo-shell, not
   seo-grid: seo-grid is the card grid and predates this by a long way. */
.seo-shell { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 1040px) { .seo-shell { grid-template-columns: minmax(0, 1fr) 284px; } }
.seo-col { min-width: 0; }

.seo-rail { display: none; }
@media (min-width: 1040px) { .seo-rail { display: block; position: sticky; top: 78px; } }
.seo-rail nav { background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 18px; }
.seo-rail h2 { font-family: var(--font-mono); font-size: 9.5px; font-weight: 500;
  letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); margin: 0 0 10px; }
.seo-rail nav a { display: block; font-size: 12.5px; line-height: 1.45; color: var(--text-2);
  padding: 7px 0 7px 11px; border-left: 2px solid var(--line-soft); }
.seo-rail nav a:hover { color: var(--ink); text-decoration: none; }
.seo-rail nav a.on { color: var(--ink); font-weight: 600; border-left-color: var(--ink); }

/* Dark quote box, above the section list. */
.seo-rail .mini { background: var(--ink); border-radius: var(--radius-lg); padding: 18px; margin: 0 0 14px; }
.seo-rail .mini b { display: block; font-family: var(--font-mono); font-size: 9.5px; font-weight: 500;
  letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.5); margin: 0 0 9px; }
.seo-rail .mini p { font-size: 12.5px; line-height: 1.55; color: rgba(255,255,255,.85); margin: 0 0 13px; }
.seo-rail .mini a { display: block; padding: 10px; border-radius: var(--radius); background: #fff;
  color: var(--ink); font-size: 11.5px; font-weight: 600; text-align: center; }
.seo-rail .mini a:hover { background: #f3f4f6; text-decoration: none; }
.seo-rail .mini em { display: block; font-style: normal; font-size: 9.5px;
  color: rgba(255,255,255,.45); text-align: center; margin-top: 9px; }

/* Methodology close. */
.seo-method { border-top: 1px solid var(--line-soft); padding: 18px 0 0; margin: 34px 0 0; }
.seo-method h2 { font-family: "Inter", sans-serif; font-size: 12px; font-weight: 500;
  color: var(--text-2); margin: 0 0 9px; }
.seo-method p { font-size: 13px; line-height: 1.65; color: var(--text-2); margin: 0; max-width: 70ch; }
.seo-method-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 12px !important;
  font-size: 10.5px; color: var(--text-3); }
.seo-method-meta span { display: inline-flex; align-items: center; gap: 7px; }
.seo-method-meta span::before { content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--ok); }

/* The rail replaces the sticky bar on desktop, exactly as on a guide. */
@media (min-width: 1040px) { .seo-sticky { display: none !important; } }

/* ── Hero + related components, ported from the guide pages ──────────────────
   Values mirror the guide's design-system block exactly, so a zone page and a
   guide render these identically. */

.seo-tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 10px; }
.seo-tag { display: inline-flex; align-items: center; gap: 7px;
  border-radius:12px; border: 0; background: var(--surface-2); color: var(--text);
  font-size: 10.5px; font-weight: 500; letter-spacing: 0; padding: 5px 11px; }
.seo-tag svg { width: 12px; height: 12px; flex: 0 0 auto; }

.seo-metarow { display: flex; flex-wrap: wrap; gap: 6px 10px;
  font-size: 11px; color: var(--text-2); margin: 16px 0 0; }
.seo-metarow span { display: inline-flex; align-items: center; gap: 6px; }
.seo-metarow span::before { content: "·"; color: var(--text-3); }
.seo-metarow span:first-child::before { content: none; }
.seo-metarow .ok { color: var(--ok-text); }

.seo-answer { background: var(--surface); border: 0; border-radius: var(--radius-lg);
  padding: 20px; margin: 20px 0 0; }
.seo-answer h2 { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .06em;
  color: var(--text-3); font-weight: 500; text-transform: uppercase; margin: 0 0 8px; }
.seo-answer p { font-size: 15px; line-height: 1.62; color: var(--text);
  font-weight: 400; margin: 0; max-width: 66ch; }
.seo-answer p + p { margin-top: 9px; color: var(--text-2); }

.seo-more { margin: 36px 0 42px; }
.seo-more > h2 { font-size: 20px; font-weight: 800; color: var(--ink); margin: 0 0 14px; }
.seo-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.seo-relcard { display: block; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 18px; text-decoration: none;
  transition: transform .15s ease; }
.seo-relcard:hover { transform: translateY(-2px); text-decoration: none;
  border-color: var(--ink); }
.seo-relcard .k { display: block; font-family: var(--font-mono); font-size: 9.5px;
  letter-spacing: .06em; color: var(--text-3); text-transform: uppercase; }
.seo-relcard h3 { font-size: 16.5px; color: var(--ink); margin: 8px 0 6px;
  font-weight: 800; line-height: 1.35; }
.seo-relcard p { font-size: 14px; color: var(--text-2); margin: 0; line-height: 1.6; }

/* Category tile photo — the same /media/catalog asset the homepage tiles use.
   The line icon renders underneath as the fallback; the photo covers it, so a
   missing or broken image degrades to the icon rather than an empty box. */
.seo-tile-ic.has-img { position: relative; overflow: hidden; background: var(--surface-2); }
.seo-tile-ic.has-img img { position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 1; }
.seo-tile-ic.has-img .i { color: var(--text-3); }
