/* ============================================================================
   SUMMIT & SLATE — CORE PAGE SYSTEM (shared styles)
   "THE SPEC SHEET" art direction — same token roles as the homepage template.
   Used by: Service Page, Location Page, and the Core Pages Map.
   RE-SKIN: edit the :root token block only.
   ============================================================================ */

:root {
  --color-ink:           #121A23;
  --color-ink-soft:      #1E2935;
  --color-slate:         #19242F;
  --color-paper:         #F0F3F4;
  --color-paper-alt:     #E4E9EB;
  --color-paper-card:    #FAFBFC;
  --color-accent:        #1457A8;
  --color-accent-ink:    #0F4488;
  --color-urgent:        #B01C12;
  --color-urgent-ink:    #8E1610;
  --color-rating:        #B5800E;
  --color-success:       #2C6E40;
  --color-text:          #19242F;
  --color-text-muted:    #57646F;
  --color-line:          #CBD4D9;
  --color-line-strong:   #A4B1BA;
  --color-on-dark:       #F0F3F4;
  --color-on-dark-muted: #92A3B0;
  --color-on-dark-line:  #2B3947;

  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body:    "Public Sans", "Helvetica Neue", Arial, sans-serif;
  --font-mono:    "Spline Sans Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --fs-h1:   clamp(2.1rem, 1.2rem + 3.6vw, 3.6rem);
  --fs-h2:   clamp(1.6rem, 1.1rem + 2.2vw, 2.5rem);
  --fs-h3:   clamp(1.15rem, 1rem + 0.8vw, 1.45rem);
  --fs-lead: clamp(1.04rem, 0.96rem + 0.5vw, 1.22rem);
  --fs-body: clamp(1rem, 0.97rem + 0.18vw, 1.06rem);
  --fs-sm:   0.875rem;
  --fs-xs:   0.78rem;
  --fs-mono: 0.74rem;
  --lh-tight: 1.0;
  --lh-snug:  1.16;
  --lh-body:  1.62;
  --track-mono: 0.14em;

  --section-y: clamp(48px, 6.5vw, 96px);
  --container: 1240px;
  --gutter: clamp(18px, 5vw, 48px);
  --radius-sm: 2px;
  --radius:    3px;
  --shadow:    8px 8px 0 rgba(18,26,35,.06);
  --shadow-lg: 14px 14px 0 rgba(18,26,35,.10);
  --ease: cubic-bezier(.2,.7,.3,1);
}

/* ---------------- RESET / BASE ---------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font-family: var(--font-body); font-size: var(--fs-body); line-height: var(--lh-body);
  color: var(--color-text); background: var(--color-paper);
  background-image: radial-gradient(rgba(18,26,35,.018) 1px, transparent 1px);
  background-size: 4px 4px;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: var(--lh-tight); font-weight: 800; letter-spacing: -0.025em; color: var(--color-ink); }
h1 { font-size: var(--fs-h1); letter-spacing: -0.035em; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: var(--lh-snug); letter-spacing: -0.018em; }
p { text-wrap: pretty; }
a { color: inherit; }
button { font-family: inherit; cursor: pointer; }
.mono { font-family: var(--font-mono); letter-spacing: var(--track-mono); text-transform: uppercase; }
.tnum { font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }
.muted { color: var(--color-text-muted); }
.ico { width: 20px; height: 20px; flex: none; }
:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 2px; }
.on-dark :focus-visible { outline-color: #85B6F2; }
.skip-link { position: absolute; left: 12px; top: -100px; z-index: 200; background: var(--color-ink); color: var(--color-paper); padding: 12px 18px; border-radius: var(--radius-sm); font-weight: 700; text-decoration: none; font-family: var(--font-mono); font-size: var(--fs-sm); transition: top .15s var(--ease); }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); position: relative; }
.section--surface { background: var(--color-paper-alt); }
.section--dark { background: var(--color-slate); color: var(--color-on-dark); }
.section--dark h2, .section--dark h3 { color: #fff; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-mono); letter-spacing: var(--track-mono); text-transform: uppercase; font-weight: 600; font-size: var(--fs-mono); color: var(--color-accent); }
.eyebrow::before { content: ""; width: 9px; height: 9px; background: currentColor; display: inline-block; transform: translateY(-1px); }
.eyebrow svg { width: 14px; height: 14px; flex: none; }
.section--dark .eyebrow { color: #6FAAF0; }
.section-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head h2 { margin-top: 16px; }
.section-head p { color: var(--color-text-muted); font-size: var(--fs-lead); margin-top: 16px; max-width: 60ch; }
.section--dark .section-head p { color: var(--color-on-dark-muted); }

/* ---------------- BUTTONS / TEL ---------------- */
.btn {
  --btn-bg: var(--color-accent); --btn-fg: #fff; --btn-hover: var(--color-ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 54px; padding: 15px 26px;
  font-family: var(--font-display); font-weight: 800; font-size: 1.02rem; letter-spacing: -0.01em;
  color: var(--btn-fg); background: var(--btn-bg); border: 0; border-radius: var(--radius-sm);
  text-decoration: none; white-space: nowrap;
  transition: background .16s var(--ease), color .16s var(--ease);
}
.btn:hover { background: var(--btn-hover); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn--lg { min-height: 62px; padding: 19px 34px; font-size: 1.12rem; }
.btn--urgent { --btn-bg: var(--color-urgent); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--color-ink); box-shadow: inset 0 0 0 2px var(--color-ink-soft); }
.btn--ghost:hover { background: transparent; color: var(--color-ink); box-shadow: inset 0 0 0 2px var(--color-ink); }
.on-dark .btn--ghost, .section--dark .btn--ghost { --btn-fg: #fff; box-shadow: inset 0 0 0 2px rgba(240,243,244,.36); }
.on-dark .btn--ghost:hover, .section--dark .btn--ghost:hover { color: #fff; box-shadow: inset 0 0 0 2px #fff; background: rgba(255,255,255,.06); }
.btn--block { width: 100%; }
.tel { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; white-space: nowrap; font-family: var(--font-display); font-weight: 800; color: inherit; letter-spacing: -0.01em; }
.tel .ico { width: 22px; height: 22px; color: var(--color-accent); }
.tel svg { width: 22px; height: 22px; flex: none; }
.tel small { display: block; font-family: var(--font-mono); font-weight: 500; font-size: var(--fs-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--color-text-muted); margin-top: 2px; }
.on-dark .tel .ico { color: #6FAAF0; }
.on-dark .tel small { color: var(--color-on-dark-muted); }

.stars { display: inline-flex; gap: 2px; color: var(--color-rating); }
.stars svg { width: 17px; height: 17px; }

.checks { list-style: none; padding: 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 11px; align-items: flex-start; font-weight: 600; }
.checks .ico { width: 19px; height: 19px; color: var(--color-success); margin-top: 4px; }
.on-dark .checks .ico { color: #6FE39A; }

/* ---------------- PHOTO PLACEHOLDER ---------------- */
.ph { position: relative; background: linear-gradient(135deg,#1C2733 0%,#19242F 46%,#0D141C 100%); overflow: hidden; }
.ph::before { content: ""; position: absolute; inset: 0; opacity: .55; background:
  repeating-linear-gradient(125deg,rgba(240,243,244,.045) 0 2px,transparent 2px 13px),
  radial-gradient(130% 95% at 78% 8%,color-mix(in srgb,var(--color-accent) 32%,transparent),transparent 58%); }
.ph::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 42%; background: linear-gradient(0deg,rgba(0,0,0,.5),transparent); }
.ph .ph__tag { position: absolute; left: 12px; bottom: 10px; z-index: 1; font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: rgba(240,243,244,.62); }

/* ---------------- SAMPLE BANNER ---------------- */
.sample-banner { position: relative; z-index: 60; display: flex; align-items: center; justify-content: center; gap: 12px; background: var(--color-ink); color: #9FC2EE; font-family: var(--font-mono); font-size: var(--fs-mono); letter-spacing: .06em; text-transform: uppercase; padding: 9px 16px; text-align: center; border-bottom: 2px solid var(--color-accent); }
.sample-banner strong { color: #C9DEF8; }
.sample-banner .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--color-accent); flex: none; }

/* ---------------- HEADER + DROPDOWN NAV ---------------- */
.header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--color-paper) 90%, transparent); backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid var(--color-line-strong); }
.header__bar { display: flex; align-items: center; gap: 16px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 13px; text-decoration: none; color: var(--color-ink); flex: none; }
.brand__mark { width: 46px; height: 46px; border-radius: 2px; flex: none; background: var(--color-ink); color: var(--color-paper); display: grid; place-items: center; position: relative; }
.brand__mark::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 4px; background: var(--color-accent); }
.brand__mark svg { width: 26px; height: 26px; }
.brand__name { font-family: var(--font-display); font-weight: 900; font-size: 1.2rem; letter-spacing: -0.03em; line-height: 1; text-transform: uppercase; }
.brand__name small { display: block; font-family: var(--font-mono); font-weight: 500; font-size: 10px; letter-spacing: .14em; color: var(--color-text-muted); margin-top: 5px; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 2px; margin-inline: auto; }
.nav > a, .nav__toggle { text-decoration: none; color: var(--color-text); font-weight: 600; font-size: .95rem; padding: 9px 13px; white-space: nowrap; position: relative; background: none; border: 0; display: inline-flex; align-items: center; gap: 6px; font-family: inherit; }
.nav > a::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 4px; height: 2px; background: var(--color-accent); transform: scaleX(0); transform-origin: left; transition: transform .18s var(--ease); }
.nav > a:hover::after, .nav > a[aria-current="page"]::after { transform: scaleX(1); }
.nav__toggle svg { width: 14px; height: 14px; transition: transform .18s var(--ease); }
.nav__group { position: relative; }
.nav__group.open .nav__toggle svg { transform: rotate(180deg); }
.nav__menu {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 250px; z-index: 60;
  background: var(--color-paper-card); border: 1px solid var(--color-line-strong); border-top: 3px solid var(--color-accent);
  box-shadow: var(--shadow-lg); padding: 8px;
  display: none;
}
.nav__group.open .nav__menu { display: block; }
.nav__menu a { display: flex; align-items: center; justify-content: space-between; gap: 14px; text-decoration: none; padding: 11px 12px; font-weight: 600; font-size: .92rem; color: var(--color-ink); border-radius: 2px; }
.nav__menu a:hover { background: var(--color-paper-alt); }
.nav__menu a .sub { font-family: var(--font-mono); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; color: var(--color-text-muted); font-weight: 500; }
.nav__menu .nav__all { border-top: 1px solid var(--color-line); margin-top: 6px; color: var(--color-accent); font-weight: 700; }
.header__actions { display: flex; align-items: center; gap: 18px; flex: none; }
.header__lic { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-mono); letter-spacing: .08em; text-transform: uppercase; font-size: 10px; font-weight: 600; color: var(--color-text-muted); white-space: nowrap; }
.header__lic svg { width: 15px; height: 15px; color: var(--color-success); }
@media (max-width: 1100px) { .header__lic { display: none; } }
@media (max-width: 980px) { .nav { display: none; } .header__bar { justify-content: space-between; } }
@media (max-width: 640px) { .header .tel small { display: none; } .brand__name { font-size: 1rem; } }
@media (max-width: 560px) { .header .tel, .header__actions .btn { display: none; } }

/* ---------------- BREADCRUMBS ---------------- */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; color: var(--color-on-dark-muted); }
.crumbs a { text-decoration: none; color: inherit; }
.crumbs a:hover { color: #fff; }
.crumbs .sep { color: var(--color-on-dark-line); }
.crumbs [aria-current="page"] { color: #6FAAF0; }

/* ---------------- PAGE HERO (interior pages) ---------------- */
.phero { background: var(--color-slate); color: var(--color-on-dark); position: relative; overflow: hidden; }
.phero::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 14px; background-image: repeating-linear-gradient(90deg, var(--color-on-dark-line) 0 1px, transparent 1px 28px); opacity: .5; pointer-events: none; }
.phero__inner { padding-block: clamp(36px, 5vw, 72px); position: relative; z-index: 1; }
.phero h1 { color: #fff; margin-top: 18px; max-width: 18ch; }
.phero h1 .hl { color: #6FAAF0; }
.phero__lead { color: var(--color-on-dark-muted); font-size: var(--fs-lead); margin-top: 18px; max-width: 56ch; }
.phero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 22px; }
.phero__rating { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; font-weight: 600; }
.phero__rating b { font-family: var(--font-display); font-weight: 800; }
.phero__rating small { color: var(--color-on-dark-muted); font-family: var(--font-mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; }
.phero__chip { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--color-on-dark-line); padding: 8px 13px; border-radius: 2px; font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--color-on-dark-muted); }
.phero__chip b { color: #fff; font-weight: 700; }
.phero__chip svg { width: 15px; height: 15px; color: #6FAAF0; }
.phero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

/* ---------------- TWO-COL LAYOUT: content + sticky lead aside ---------------- */
.page-grid { display: grid; grid-template-columns: minmax(0, 1fr) 384px; gap: clamp(28px, 4vw, 56px); align-items: start; }
.page-grid > * { min-width: 0; }
.page-aside { position: sticky; top: 96px; }
@media (max-width: 980px) { .page-grid { grid-template-columns: minmax(0, 1fr); } .page-aside { position: static; order: -1; } }

/* lead capture card (sidebar) */
.leadcard { background: var(--color-paper-card); border: 1px solid var(--color-line-strong); border-top: 4px solid var(--color-accent); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.leadcard__title { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; letter-spacing: -0.02em; }
.leadcard__sub { font-size: var(--fs-sm); color: var(--color-text-muted); margin-top: 6px; }
.leadcard form { margin-top: 18px; display: grid; gap: 12px; }
.field label { display: block; font-family: var(--font-mono); font-weight: 600; font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 6px; color: var(--color-text-muted); }
.field input, .field select { width: 100%; min-height: 52px; padding: 12px 14px; border: 1px solid var(--color-line-strong); border-radius: 2px; font-size: 1rem; font-family: inherit; background: var(--color-paper); color: var(--color-text); }
.field input:focus, .field select:focus { border-color: var(--color-accent); background: #fff; outline: none; box-shadow: inset 0 0 0 1px var(--color-accent); }
.leadcard__trust { display: flex; align-items: flex-start; gap: 9px; margin-top: 14px; font-size: var(--fs-xs); color: var(--color-text-muted); }
.leadcard__trust .ico { width: 15px; height: 15px; color: var(--color-success); margin-top: 2px; }
.leadcard__or { text-align: center; font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--color-text-muted); margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--color-line); }
.leadcard__tel { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 10px; text-decoration: none; font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; color: var(--color-ink); }
.leadcard__tel .ico { color: var(--color-accent); }
.leadcard__done { text-align: center; padding: 20px 0; display: none; }
.leadcard__done .check { width: 54px; height: 54px; border-radius: 2px; background: var(--color-success); color: #fff; display: grid; place-items: center; margin: 0 auto 14px; }
.leadcard__done .check svg { width: 30px; height: 30px; }
.leadcard__done p { color: var(--color-text-muted); font-size: var(--fs-sm); margin-top: 8px; }
.leadcard[data-state="done"] form, .leadcard[data-state="done"] .leadcard__sub { display: none; }
.leadcard[data-state="done"] .leadcard__done { display: block; }

/* aside mini trust list */
.aside-trust { margin-top: 16px; border: 1px solid var(--color-line-strong); border-radius: var(--radius); background: var(--color-paper-card); padding: 18px 20px; }
.aside-trust .checks { gap: 10px; }
.aside-trust .checks li { font-size: var(--fs-sm); }

/* ---------------- PROSE (SEO body copy) ---------------- */
.prose { max-width: 68ch; }
.prose p { margin-top: 14px; color: var(--color-ink-soft); }
.prose p:first-child { margin-top: 0; }
.prose .lead { font-size: var(--fs-lead); color: var(--color-text); }
.prose h2 { margin-top: 40px; }
.prose h3 { margin-top: 28px; }
.prose ul { margin-top: 14px; padding-left: 22px; }
.prose li { margin-top: 6px; }

/* ---------------- SPEC TABLE (what's included) ---------------- */
.spec { border: 1px solid var(--color-line-strong); border-radius: var(--radius); overflow: hidden; }
.spec__row { display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: 18px 20px; background: var(--color-paper-card); border-bottom: 1px solid var(--color-line-strong); align-items: start; }
.spec__row:last-child { border-bottom: 0; }
.spec__n { font-family: var(--font-mono); font-weight: 700; font-size: 1.6rem; color: var(--color-line-strong); line-height: 1.1; }
.spec__row h3 { font-size: 1.08rem; }
.spec__row p { color: var(--color-text-muted); font-size: var(--fs-sm); margin-top: 4px; }
.spec__row .tag { display: inline-block; margin-left: 8px; vertical-align: 2px; background: var(--color-accent); color: #fff; font-family: var(--font-mono); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; padding: 3px 7px; border-radius: 2px; }

/* ---------------- PRICE TABLE ---------------- */
.pricetable { border: 1px solid var(--color-line-strong); border-radius: var(--radius); overflow: hidden; }
.pricetable table { width: 100%; border-collapse: collapse; background: var(--color-paper-card); }
.pricetable th { text-align: left; font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--color-on-dark-muted); background: var(--color-ink); padding: 14px 18px; font-weight: 600; }
.pricetable td { padding: 16px 18px; border-bottom: 1px solid var(--color-line); vertical-align: top; }
.pricetable tr:last-child td { border-bottom: 0; }
.pricetable td b { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.01em; }
.pricetable td .sub { display: block; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--color-text-muted); margin-top: 4px; }
.pricetable .range { font-family: var(--font-display); font-weight: 800; white-space: nowrap; }
.pricetable .life { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--color-text-muted); white-space: nowrap; }
.pricenote { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; font-size: var(--fs-sm); color: var(--color-text-muted); max-width: 70ch; }
.pricenote .ico { width: 16px; height: 16px; color: var(--color-accent); margin-top: 3px; }

/* ---------------- PROJECT CARDS ---------------- */
.projgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .projgrid { grid-template-columns: 1fr; } }
.proj { background: var(--color-paper-card); border: 1px solid var(--color-line-strong); border-radius: var(--radius); overflow: hidden; }
.proj .ph { height: 190px; }
.proj__meta { padding: 16px 18px; }
.proj__meta .loc { display: inline-flex; align-items: center; gap: 7px; font-weight: 800; font-family: var(--font-display); letter-spacing: -0.01em; }
.proj__meta .loc .ico { width: 15px; height: 15px; color: var(--color-accent); }
.proj__meta .sub { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 7px; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--color-text-muted); }
.proj__meta .recency { display: inline-flex; align-items: center; gap: 6px; color: var(--color-success); font-weight: 600; }
.proj__meta .recency::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--color-success); }

/* ---------------- TESTIMONIALS ---------------- */
.tgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 860px) { .tgrid { grid-template-columns: 1fr; } }
.tcard { background: var(--color-paper-card); border: 1px solid var(--color-line-strong); border-radius: var(--radius); padding: 24px; }
.tcard blockquote { font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; line-height: 1.45; color: var(--color-ink); letter-spacing: -0.015em; margin-top: 12px; }
.tcard__who { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--color-line); }
.tcard__who .ph { width: 44px; height: 44px; border-radius: 2px; flex: none; }
.tcard__who b { font-family: var(--font-display); display: block; line-height: 1.1; font-weight: 800; }
.tcard__who .loc { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--color-text-muted); }
.tcard__verified { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--color-success); font-weight: 600; }
.tcard__verified .ico { width: 14px; height: 14px; }

/* ---------------- STATS ROW ---------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--color-line-strong); border-radius: var(--radius); overflow: hidden; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; } .stats .stat:nth-child(-n+2) { border-bottom: 1px solid var(--color-line-strong); } }
.stat { background: var(--color-paper-card); padding: 22px; border-right: 1px solid var(--color-line-strong); }
.stat:last-child { border-right: 0; }
@media (max-width: 760px) { .stat:nth-child(2n) { border-right: 0; } }
.stat b { display: block; font-family: var(--font-display); font-weight: 900; font-size: clamp(1.6rem, 2.6vw, 2.2rem); color: var(--color-ink); letter-spacing: -0.04em; line-height: 1; }
.stat span { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--color-text-muted); display: block; margin-top: 9px; }

/* ---------------- FAQ ---------------- */
.faq { border-top: 1px solid var(--color-line-strong); max-width: 820px; }
.faq__item { border-bottom: 1px solid var(--color-line-strong); }
.faq__q { width: 100%; background: none; border: 0; text-align: left; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 2px; font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; color: var(--color-ink); letter-spacing: -0.015em; line-height: 1.3; }
.faq__q .pm { width: 30px; height: 30px; border-radius: 2px; box-shadow: inset 0 0 0 1px var(--color-line-strong); display: grid; place-items: center; flex: none; }
.faq__q .pm svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.faq__q[aria-expanded="true"] .pm { background: var(--color-accent); box-shadow: none; color: #fff; }
.faq__q[aria-expanded="true"] .pm svg { transform: rotate(45deg); }
.faq__a { overflow: hidden; max-height: 0; transition: max-height .3s var(--ease); }
.faq__a-inner { padding: 0 2px 24px; color: var(--color-text-muted); max-width: 66ch; }
@media (prefers-reduced-motion: reduce) { .faq__a { transition: none; } }

/* ---------------- INTERNAL LINK GRIDS ---------------- */
.linkgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.linkcard { display: flex; align-items: center; justify-content: space-between; gap: 12px; text-decoration: none; background: var(--color-paper-card); border: 1px solid var(--color-line-strong); border-radius: var(--radius); padding: 16px 18px; min-height: 60px; transition: border-color .15s var(--ease); }
.linkcard:hover { border-color: var(--color-ink); }
.linkcard b { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.01em; line-height: 1.2; }
.linkcard .sub { display: block; font-family: var(--font-mono); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; color: var(--color-text-muted); margin-top: 4px; font-weight: 500; }
.linkcard .go { color: var(--color-accent); flex: none; }
.linkcard .go svg { width: 18px; height: 18px; }
.linkcard--current { border-color: var(--color-accent); position: relative; }
.linkcard--current::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--color-accent); }

/* ---------------- CTA BAND ---------------- */
.ctaband { background: var(--color-slate); color: var(--color-on-dark); position: relative; overflow: hidden; }
.ctaband::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 14px; background-image: repeating-linear-gradient(90deg, var(--color-on-dark-line) 0 1px, transparent 1px 28px); opacity: .5; pointer-events: none; }
.ctaband__inner { padding-block: clamp(44px, 6vw, 80px); display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(24px, 4vw, 56px); align-items: center; position: relative; z-index: 1; }
@media (max-width: 860px) { .ctaband__inner { grid-template-columns: 1fr; } }
.ctaband h2 { color: #fff; margin-top: 14px; }
.ctaband p { color: var(--color-on-dark-muted); margin-top: 14px; font-size: var(--fs-lead); max-width: 50ch; }
.ctaband__actions { display: grid; gap: 12px; }
.ctaband__promise { display: flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--color-on-dark); justify-content: center; }
.ctaband__promise .pulse { width: 8px; height: 8px; border-radius: 50%; background: #4FB477; flex: none; box-shadow: 0 0 0 0 rgba(79,180,119,.6); animation: ssr-pulse 2.2s infinite; }
@keyframes ssr-pulse { 70% { box-shadow: 0 0 0 8px rgba(79,180,119,0); } 100% { box-shadow: 0 0 0 0 rgba(79,180,119,0); } }
@media (prefers-reduced-motion: reduce) { .ctaband__promise .pulse { animation: none; } }

/* ---------------- FOOTER (internal-linking, NAP) ---------------- */
.footer { background: var(--color-ink); color: var(--color-on-dark-muted); padding-block: clamp(44px, 6vw, 72px) 28px; font-size: var(--fs-sm); }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: clamp(24px, 4vw, 48px); }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }
.footer h4 { color: #fff; font-size: .8rem; font-family: var(--font-mono); letter-spacing: .12em; text-transform: uppercase; font-weight: 600; margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; display: grid; gap: 9px; }
.footer a { color: inherit; text-decoration: none; }
.footer a:hover { color: #fff; }
.footer__nap b { color: #fff; font-family: var(--font-display); font-size: 1.1rem; font-weight: 900; text-transform: uppercase; letter-spacing: -0.02em; }
.footer__nap p { margin-top: 10px; line-height: 1.8; }
.footer__nap .tel-lg { color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: space-between; margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--color-on-dark-line); font-size: var(--fs-xs); }
.footer__disc { max-width: 72ch; line-height: 1.6; }

/* ---------------- MOBILE: hamburger, drawer, bottom bar ---------------- */
.hamburger { display: none; width: 48px; height: 48px; border: 1px solid var(--color-line-strong); background: var(--color-paper-card); border-radius: 2px; place-items: center; color: var(--color-ink); flex: none; }
.hamburger svg { width: 24px; height: 24px; }
@media (max-width: 980px) { .hamburger { display: grid; } }
@media (max-width: 640px) { .header__actions .btn { display: none; } }

.drawer { position: fixed; inset: 0; z-index: 80; visibility: hidden; }
.drawer[aria-hidden="false"] { visibility: visible; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(18,26,35,.55); opacity: 0; transition: opacity .25s var(--ease); border: 0; width: 100%; }
.drawer[aria-hidden="false"] .drawer__scrim { opacity: 1; }
.drawer__panel { position: absolute; top: 0; right: 0; height: 100%; width: min(86vw, 360px); background: var(--color-paper); border-left: 3px solid var(--color-accent); padding: 22px; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .28s var(--ease); overflow-y: auto; }
.drawer[aria-hidden="false"] .drawer__panel { transform: none; }
.drawer__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.drawer__title { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; letter-spacing: -0.02em; font-size: 1.05rem; color: var(--color-ink); }
.drawer__close { width: 44px; height: 44px; border: 1px solid var(--color-line-strong); background: var(--color-paper-card); border-radius: 2px; display: grid; place-items: center; color: var(--color-ink); }
.drawer__close svg { width: 22px; height: 22px; }
.drawer__label { font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--color-text-muted); font-weight: 600; margin: 18px 0 4px; }
.drawer nav { display: flex; flex-direction: column; }
.drawer nav a { text-decoration: none; color: var(--color-ink); font-weight: 700; font-family: var(--font-display); padding: 12px 4px; border-bottom: 1px solid var(--color-line); letter-spacing: -0.01em; }
.drawer .btn { margin-top: 22px; }
@media (prefers-reduced-motion: reduce) { .drawer__scrim, .drawer__panel { transition: none; } }

.bottombar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: none; grid-auto-flow: column; grid-auto-columns: 1fr; background: var(--color-ink); padding-bottom: env(safe-area-inset-bottom); transition: transform .25s var(--ease); }
.bottombar a { min-height: 64px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; text-decoration: none; font-family: var(--font-display); font-weight: 800; font-size: .85rem; color: #fff; border-right: 1px solid rgba(255,255,255,.14); }
.bottombar a:last-child { border-right: 0; }
.bottombar a svg { width: 19px; height: 19px; }
.bottombar .bb-call { background: var(--color-urgent); }
.bottombar .bb-quote { background: var(--color-accent); }
.bottombar small { font-family: var(--font-mono); font-size: 8.5px; letter-spacing: .06em; text-transform: uppercase; opacity: .85; font-weight: 500; }
@media (max-width: 760px) { .bottombar { display: grid; } body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); } }

/* mobile polish */
.pricetable { overflow-x: auto; }
.pricetable table { min-width: 540px; }
@media (max-width: 560px) {
  .phero__ctas { display: grid; }
  .phero__ctas .btn { width: 100%; }
  .ctaband__actions .btn { width: 100%; }
}

/* ---------------- ANSWER BLOCK (GEO: liftable direct answer) ----------------
   Sits directly under the H1 on every page. 40–60 words, plain text — the
   block AI engines (ChatGPT, Perplexity, AI Overviews) quote verbatim. */
.answer { position: relative; margin-top: 24px; max-width: 64ch; background: var(--color-paper-card); color: var(--color-text); border-left: 4px solid var(--color-accent); border-radius: var(--radius-sm); padding: 20px 24px 18px; font-size: var(--fs-lead); line-height: 1.6; box-shadow: var(--shadow); }
.answer::before { content: "The short answer"; display: block; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--color-accent); font-weight: 600; margin-bottom: 10px; }
.answer b { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.01em; }
@media (max-width: 560px) { .answer { padding: 16px 18px 14px; font-size: 1.02rem; } }

/* ---------------- VISUAL POLISH ---------------- */
.phero__inner { position: relative; z-index: 1; }
.phero::after { content: ""; position: absolute; right: -6%; top: -12%; width: 42%; height: 130%; border-left: 1px solid var(--color-on-dark-line); transform: skewX(-12deg); opacity: .4; pointer-events: none; }
article h2::after { content: ""; display: block; width: 44px; height: 4px; background: var(--color-accent); margin-top: 14px; }
.tcard { box-shadow: var(--shadow); }
.pricetable tbody tr:nth-child(even) td { background: var(--color-paper); }
.pricetable tbody tr:hover td { background: color-mix(in srgb, var(--color-accent) 5%, var(--color-paper-card)); }
.linkcard .go svg { transition: transform .15s var(--ease); }
.linkcard:hover { box-shadow: var(--shadow); }
.linkcard:hover .go svg { transform: translateX(3px); }
.spec__row { transition: background .15s var(--ease); }
.spec__row:hover { background: color-mix(in srgb, var(--color-accent) 4%, var(--color-paper-card)); }

/* ---------------- REVEALS ---------------- */
[data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; } }
