/* ============================================================
   SCOTT'S H PLUMBING — "WORK ORDER" DESIGN SYSTEM
   York, PA · Graphite / warm paper / brass / burnt orange
   Display: Archivo · Body: system stack · Data: mono stack
   ============================================================ */

:root {
  /* Palette */
  --graphite: #23272B;        /* primary dark — headers, footer, ink */
  --graphite-soft: #3C434A;   /* soft text on light */
  --paper: #FAF7F2;           /* warm page background */
  --paper-card: #FFFFFF;      /* card surfaces */
  --paper-shade: #EFE9DF;     /* alternating section tint */
  --brass: #9A6A1F;           /* structural accent, rules, markers */
  --brass-light: #C99B4A;     /* brass on dark backgrounds */
  --action: #C4551B;          /* burnt orange — CALL ACTIONS ONLY */
  --steel: #33566B;           /* secondary accent, links */
  --line: #DDD5C7;            /* light rules */
  --line-dark: #3A4046;       /* rules on graphite */
  --ok: #4C7A45;              /* success/positive marker */

  /* Type */
  --font-display: 'Archivo', 'Arial Black', 'Helvetica Neue', sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  /* Scale */
  --fs-h1: clamp(2.1rem, 5.5vw, 3.5rem);
  --fs-h2: clamp(1.5rem, 3.4vw, 2.2rem);
  --fs-h3: 1.15rem;
  --fs-body: 1rem;
  --fs-small: 0.85rem;

  /* Space */
  --sp-1: 0.25rem; --sp-2: 0.5rem; --sp-3: 1rem;
  --sp-4: 1.5rem; --sp-5: 2.5rem; --sp-6: 4rem;

  /* Shape */
  --radius-s: 4px;
  --radius-m: 8px;
  --shadow-card: 0 1px 3px rgba(35, 39, 43, 0.08), 0 4px 14px rgba(35, 39, 43, 0.06);
  --shadow-lift: 0 8px 28px rgba(35, 39, 43, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--graphite);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1160px; margin: 0 auto; padding: 0 1.25rem; }

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; margin: 0 0 var(--sp-3); letter-spacing: -0.01em; }
h1 { font-size: var(--fs-h1); font-weight: 800; text-transform: none; }
h2 { font-size: var(--fs-h2); font-weight: 700; }
h3 { font-size: var(--fs-h3); font-weight: 700; }
p { margin: 0 0 var(--sp-3); }
a { color: var(--steel); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }
.max-prose { max-width: 68ch; }

/* ---------- WORK-ORDER TICKET MOTIF ---------- */
/* Signature element: content blocks styled like a filled-out job ticket */
.ticket {
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-card);
  position: relative;
}
.ticket::before {
  /* brass staple mark, top-left, like a stapled work order */
  content: "";
  position: absolute;
  top: 14px; left: 14px;
  width: 18px; height: 5px;
  background: var(--brass);
  border-radius: 2px;
  transform: rotate(-6deg);
  opacity: 0.85;
}
.ticket-head {
  border-bottom: 1px dashed var(--line);
  padding: var(--sp-4) var(--sp-4) var(--sp-3) calc(var(--sp-4) + 24px);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brass);
}
.ticket-body { padding: var(--sp-4); }

/* ---------- EYEBROW / LABELS ---------- */
.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: var(--sp-2);
}
.section-ink .eyebrow { color: var(--brass-light); }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-s);
  border: none;
  cursor: pointer;
  text-decoration: none !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-call {
  background: var(--action);
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(196, 85, 27, 0.35);
  animation: pulseBtn 2.4s infinite;
}
.btn-call:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(196, 85, 27, 0.4); animation: none; }
.btn-call .num { font-family: var(--font-mono); font-weight: 700; }
.btn-outline {
  background: transparent;
  color: var(--graphite) !important;
  border: 2px solid var(--graphite);
}
.btn-outline:hover { background: var(--graphite); color: var(--paper) !important; }
.btn-lg { padding: 1.05rem 1.9rem; font-size: 1.05rem; }
.pulse { animation: pulseBtn 2.4s infinite; }
@keyframes pulseBtn {
  0% { box-shadow: 0 0 0 0 rgba(196, 85, 27, 0.45); }
  70% { box-shadow: 0 0 0 14px rgba(196, 85, 27, 0); }
  100% { box-shadow: 0 0 0 0 rgba(196, 85, 27, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .pulse, .btn-call, .sticky-cta-bar { animation: none; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ---------- TOP BAR ---------- */
.top-bar {
  background: var(--graphite);
  color: #B9C2C9;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  text-align: left;
}
.top-bar-inner {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  padding-top: 0.4rem;
  padding-bottom: 0.4rem;
  gap: var(--sp-3);
}
.top-bar-hours {
  font-weight: 600;
  letter-spacing: 0.04em;
}
.social-topbar { gap: 0.1rem; }
.social-topbar a {
  width: 28px; height: 28px;
  justify-content: center;
  border-radius: var(--radius-s);
  color: #B9C2C9;
  transition: color .15s ease, background .15s ease;
}
.social-topbar a:hover,
.social-topbar a:focus-visible { color: var(--brass-light); background: rgba(255,255,255,0.08); }
.social-topbar svg { width: 15px; height: 15px; }

/* ---------- HEADER ---------- */
.site-header {
  background: var(--paper-card);
  border-bottom: 2px solid var(--graphite);
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
}
.brand { display: flex; align-items: center; gap: 0.65rem; text-decoration: none !important; }

.main-nav { display: none; }
.main-nav ul { display: flex; list-style: none; padding: 0; margin: 0; gap: var(--sp-4); }
.main-nav > ul > li { position: relative; }
.main-nav a { color: var(--graphite); font-weight: 600; font-size: 0.92rem; }
.main-nav a:hover { color: var(--action); text-decoration: none; }
.main-nav .has-dropdown > a::after { content: "\25BE"; font-size: 0.62em; margin-left: 0.3em; color: var(--brass); }
.main-nav .dropdown {
  display: none;
  position: absolute;
  top: 100%; left: 0;
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-top: 3px solid var(--brass);
  border-radius: 0 0 var(--radius-m) var(--radius-m);
  box-shadow: var(--shadow-lift);
  min-width: 280px;
  padding: 0.4rem 0;
  z-index: 120;
  list-style: none;
  margin: 0;
}
.main-nav .has-dropdown:hover .dropdown,
.main-nav .has-dropdown:focus-within .dropdown { display: block; }
.main-nav .dropdown li { margin: 0; }
.main-nav .dropdown a {
  display: block;
  padding: 0.55rem 1rem;
  font-weight: 500;
  font-size: 0.87rem;
  white-space: nowrap;
}
.main-nav .dropdown a::after { content: none; }
.main-nav .dropdown a:hover { background: var(--paper-shade); color: var(--action); }

.header-call { display: none; }
.nav-toggle {
  width: 44px; height: 44px;
  background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block;
  width: 24px; height: 2.5px;
  background: var(--graphite);
  border-radius: 2px;
  position: absolute;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle span::before { transform: translateY(-8px); }
.nav-toggle span::after { transform: translateY(8px); }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: rotate(-45deg); }

.mobile-nav {
  display: none;
  background: var(--paper-card);
  border-bottom: 2px solid var(--graphite);
  padding: var(--sp-3) 1.25rem var(--sp-4);
  max-height: calc(100vh - 62px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.mobile-nav.open { display: block; }
.mobile-nav ul { list-style: none; padding: 0; margin: 0 0 var(--sp-3); }
.mobile-nav li { border-bottom: 1px solid var(--line); }
.mobile-nav a { display: block; padding: 0.72rem 0.75rem; color: var(--graphite); font-weight: 600; transition: background 0.15s ease, color 0.15s ease; border-radius: 4px; }
.mobile-nav a:hover { background: var(--paper-shade); color: var(--brass); }

/* Section headings (Home, Plumbing Services, HVAC Services, Service Areas, About, FAQ, Contact) */
.mobile-nav .mn-section { border-bottom: none; }
.mobile-nav .mn-section a {
  font-weight: 800;
  font-size: 1rem;
  color: var(--graphite);
  padding: 0.85rem 0.75rem;
  border-left: 3px solid var(--brass);
  background: rgba(154,106,31,.04);
  border-radius: 0;
  margin-top: 0.15rem;
}
.mobile-nav .mn-section a:hover {
  background: rgba(154,106,31,.1);
  color: var(--brass);
}

/* Sub-items (indented service links) */
.mobile-nav .mn-sub a {
  padding: 0.55rem 0.75rem 0.55rem 1.6rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: #555;
}
.mobile-nav .mn-sub a:hover {
  background: var(--paper-shade);
  color: var(--brass);
  padding-left: 1.9rem;
}

@media (min-width: 980px) {
  .main-nav { display: block; }
  .header-call { display: inline-flex; }
  .nav-toggle { display: none; }
}

/* ---------- HERO ---------- */
.hero {
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper-shade) 100%);
  border-bottom: 1px solid var(--line);
  padding: var(--sp-6) 0 var(--sp-6);
}
.hero-grid { display: grid; gap: var(--sp-5); grid-template-columns: 1fr; align-items: center; }
.hero .lead { font-size: 1.12rem; color: var(--graphite-soft); max-width: 56ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin: var(--sp-4) 0 var(--sp-3); }
.badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--graphite);
  color: var(--brass-light);
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
}
.hero-meta { display: flex; flex-wrap: wrap; gap: var(--sp-3); font-size: var(--fs-small); color: var(--graphite-soft); }
.hero-meta span { display: inline-flex; align-items: center; gap: 0.4rem; }
.hero-meta span::before { content: "\2713"; color: var(--ok); font-weight: 700; }

@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; }
}

/* ---------- SECTIONS ---------- */
section { padding: var(--sp-6) 0; }
.section-shade { background: var(--paper-shade); }
.section-ink { background: var(--graphite); color: var(--paper); }
.section-ink h2, .section-ink h3 { color: #fff; }
.section-ink a { color: var(--brass-light); }
.section-head { max-width: 66ch; margin-bottom: var(--sp-5); }

/* Brass rule divider — like a ruled line on a work order pad */
.rule-divider {
  border: none;
  height: 3px;
  background: repeating-linear-gradient(90deg, var(--brass) 0 26px, transparent 26px 38px);
  margin: 0;
  opacity: 0.55;
}

/* ---------- ANSWER-FIRST BLOCK (AIO) ---------- */
.answer-block {
  background: var(--paper-card);
  border-left: 5px solid var(--brass);
  border-radius: 0 var(--radius-m) var(--radius-m) 0;
  box-shadow: var(--shadow-card);
  padding: var(--sp-4) var(--sp-4);
  margin: var(--sp-5) 0;
  font-size: 1.04rem;
}
.answer-block p { margin: 0; }
.answer-block a { font-weight: 700; color: var(--action); }

/* ---------- CTA BANDS ---------- */
.cta-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-4);
  border-radius: var(--radius-m);
  margin: var(--sp-5) 0;
}
.cta-band p { margin: 0; max-width: 62ch; }
.cta-band.hook {
  background: var(--paper-card);
  border: 1.5px solid var(--brass);
}
.cta-band.hook a { color: var(--action); font-weight: 700; }
.cta-band.close {
  background: var(--graphite);
  color: var(--paper);
}
.cta-band.close .eyebrow { color: var(--brass-light); }

/* ---------- FEATURE LIST ---------- */
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--sp-4); grid-template-columns: 1fr; }
.feature-list li { display: flex; gap: var(--sp-3); align-items: flex-start; }
.feature-list .marker {
  flex-shrink: 0;
  width: 38px; height: 38px;
  border: 2px solid var(--brass);
  border-radius: var(--radius-s);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--brass);
  background: var(--paper-card);
}
.feature-list strong { display: block; margin-bottom: 0.2rem; font-family: var(--font-display); }
.feature-list p { margin: 0; color: var(--graphite-soft); font-size: 0.95rem; }
@media (min-width: 820px) { .feature-list { grid-template-columns: 1fr 1fr; } }

/* ---------- CARD GRID ---------- */
.card-grid { display: grid; gap: var(--sp-4); grid-template-columns: 1fr; }
.card {
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: var(--sp-4);
  box-shadow: var(--shadow-card);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.card h3 a { color: var(--graphite); }
.card h3 a:hover { color: var(--action); text-decoration: none; }
.card p { color: var(--graphite-soft); font-size: 0.95rem; }
.card-link { font-weight: 700; font-size: 0.9rem; color: var(--action); }
@media (min-width: 700px) { .card-grid { grid-template-columns: 1fr 1fr; } .card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }

/* ---------- AREA CARDS (service-areas index) ---------- */
.area-card { display: block; text-decoration: none !important; color: inherit; transition: transform 0.18s ease, box-shadow 0.18s ease; }
.area-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.area-card h3 { margin: 0 0 0.4rem; font-size: 1.05rem; }
.area-card p { margin: 0; color: var(--graphite-soft); font-size: 0.92rem; }

/* ---------- TWO-COL SERVICE LIST ---------- */
.two-col-list { display: grid; gap: var(--sp-5); grid-template-columns: 1fr; }
.two-col-list ul { list-style: none; padding: 0; margin: 0; }
.two-col-list li { padding: 0.45rem 0; border-bottom: 1px dotted var(--line); }
.two-col-list li:last-child { border-bottom: none; }
.two-col-list a { color: var(--graphite); font-weight: 600; font-size: 0.92rem; }
.two-col-list a:hover { color: var(--action); }
@media (min-width: 700px) { .two-col-list { grid-template-columns: 1.2fr 0.8fr; } }

/* ---------- STEPS (numbered process) ---------- */
.step-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--sp-4); }
.step-list li { display: flex; gap: var(--sp-3); }
.step-list .step-num {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--brass);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-weight: 700;
}
.step-list strong { font-family: var(--font-display); }
.step-list p { margin: 0.15rem 0 0; color: var(--graphite-soft); font-size: 0.95rem; }

/* ---------- FAQ ACCORDION ---------- */
.faq-list { max-width: 780px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-3);
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--graphite);
  padding: 1.05rem 0.25rem;
  cursor: pointer;
}
.faq-question:hover { color: var(--action); }
.faq-question .plus {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 1.3rem;
  color: var(--brass);
  transition: transform 0.2s ease;
}
.faq-question[aria-expanded="true"] .plus { transform: rotate(45deg); }
.faq-answer { display: none; padding: 0 0.25rem 1.1rem; color: var(--graphite-soft); }
.faq-answer.open { display: block; }
.faq-answer p { margin: 0; }

/* ---------- SPEC PANELS (CSS-only visuals, no images) ---------- */
.dispatch-panel {
  background: var(--graphite);
  border-radius: var(--radius-m);
  padding: var(--sp-5);
  color: var(--paper);
  max-width: 520px;
}
.dispatch-panel .dp-eyebrow {
  display: flex; align-items: center; gap: 0.5em;
  font-family: var(--font-mono);
  font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--brass-light);
  margin-bottom: var(--sp-4);
}
.dispatch-panel .dp-eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: #5FBF6C; }
.dispatch-panel .dp-eyebrow .dot.live { animation: liveDot 1.8s infinite; }
@keyframes liveDot {
  0% { box-shadow: 0 0 0 0 rgba(95,191,108,.55); }
  70% { box-shadow: 0 0 0 8px rgba(95,191,108,0); }
  100% { box-shadow: 0 0 0 0 rgba(95,191,108,0); }
}
.dispatch-panel .dp-readout { font-family: var(--font-mono); font-size: clamp(2.1rem, 6vw, 2.9rem); font-weight: 700; line-height: 1; }
.dispatch-panel .dp-label { font-size: 0.8rem; color: #B9C2C9; margin-top: 0.35rem; }
.dispatch-panel .dp-rule { height: 1px; background: var(--line-dark); margin: var(--sp-4) 0; }
.dispatch-panel .dp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-3); text-align: center; }
.dispatch-panel .dp-grid strong { display: block; font-family: var(--font-mono); font-size: 1rem; color: #fff; }
.dispatch-panel .dp-grid span { font-size: 0.72rem; color: #B9C2C9; }

.jobsheet-panel {
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: var(--sp-5);
  box-shadow: var(--shadow-card);
  max-width: 520px;
}
.jobsheet-panel .jp-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--brass);
  border-bottom: 1px dashed var(--line);
  padding-bottom: var(--sp-3);
  margin-bottom: var(--sp-3);
  display: block;
}
.jobsheet-panel ul { list-style: none; padding: 0; margin: 0; }
.jobsheet-panel li { display: flex; gap: 0.7rem; align-items: flex-start; padding: 0.55rem 0; border-bottom: 1px dotted var(--line); }
.jobsheet-panel li:last-child { border-bottom: none; }
.jobsheet-panel .jp-check { color: var(--ok); font-weight: 700; flex-shrink: 0; }
.jobsheet-panel .jp-name { font-weight: 700; font-size: 0.92rem; display: block; }
.jobsheet-panel .jp-spec { font-family: var(--font-mono); font-size: 0.77rem; color: var(--graphite-soft); display: block; }

/* ---------- BREADCRUMBS ---------- */
.breadcrumbs { padding: var(--sp-3) 1.25rem 0; font-size: var(--fs-small); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; padding: 0; margin: 0; color: var(--graphite-soft); }
.breadcrumbs li + li::before { content: "/"; margin-right: 0.4rem; color: var(--brass); }
.breadcrumbs a { color: var(--steel); }

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--graphite);
  color: #C9CFD4;
  padding: var(--sp-6) 0 var(--sp-4);
  font-size: 0.92rem;
}
.footer-grid { display: grid; gap: var(--sp-5); grid-template-columns: 1fr; margin-bottom: var(--sp-5); }
.footer-brand .brand { margin-bottom: var(--sp-3); }
.footer-nap p { margin: 0 0 var(--sp-2); }
.footer-nap a { color: var(--brass-light); font-weight: 700; }
.site-footer h4 {
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--sp-3);
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: 0.45rem; }
.site-footer ul a { color: #C9CFD4; font-size: 0.88rem; }
.site-footer ul a:hover { color: var(--brass-light); }
.footer-view-all { color: var(--brass-light) !important; font-weight: 600; margin-top: 0.35rem; display: inline-block; }
.footer-view-all:hover { text-decoration: underline; }
.footer-map { margin-bottom: var(--sp-5); border-radius: var(--radius-m); overflow: hidden; border: 1px solid var(--line-dark); }
.footer-map iframe { display: block; width: 100%; height: 320px; }
.footer-bottom {
  border-top: 1px solid var(--line-dark);
  padding-top: var(--sp-4);
  font-size: var(--fs-small);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--sp-2);
  color: #8C959C;
}
@media (min-width: 820px) and (max-width: 1059px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
}
@media (min-width: 1060px) {
  .footer-grid { grid-template-columns: 1.4fr 1.1fr 0.7fr 0.8fr 0.8fr; }
}

/* ---------- STICKY MOBILE CALL BAR ---------- */
.sticky-cta-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 90;
  background: var(--action);
  text-align: center;
  transition: transform 0.25s ease;
  animation: stickeyPulse 2.8s infinite;
}
@keyframes stickeyPulse {
  0%, 100% { box-shadow: 0 -2px 10px rgba(196,85,27,0.3); }
  50% { box-shadow: 0 -4px 22px rgba(196,85,27,0.65); }
}
.sticky-cta-bar.hidden { transform: translateY(100%); }
.sticky-cta-bar a {
  display: block;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.02rem;
  padding: 0.95rem 1rem;
  text-decoration: none;
}
.sticky-cta-bar .num { font-family: var(--font-mono); }
@media (min-width: 900px) { .sticky-cta-bar { display: none; } }
body { padding-bottom: 56px; }
@media (min-width: 900px) { body { padding-bottom: 0; } }

/* ---------- SCROLL REVEAL ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- HERO PHOTO (real photography) ---------- */
.hero-photo {
  margin: 0;
  position: relative;
  border-radius: var(--radius-m);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
  border: 1px solid var(--line-dark);
}
.hero-photo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.hero-photo-cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: linear-gradient(to top, rgba(35,39,43,0.92), rgba(35,39,43,0));
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 2.2rem 0.9rem 0.7rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.hero-photo-cap .dot.live {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 0 rgba(76,122,69,0.7);
  animation: pulse-dot 2s infinite;
  flex: none;
}
@keyframes pulse-dot {
  0%   { box-shadow: 0 0 0 0 rgba(76,122,69,0.6); }
  70%  { box-shadow: 0 0 0 8px rgba(76,122,69,0); }
  100% { box-shadow: 0 0 0 0 rgba(76,122,69,0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-photo-cap .dot.live { animation: none; }
}

/* ---------- SECTION PHOTO (real photography, in-page) ---------- */
.section-photo {
  margin: var(--sp-5) auto;
  max-width: 720px;
  border-radius: var(--radius-m);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--line);
}
.section-photo img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- FOOTER LEGAL LINKS ---------- */
.footer-legal {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.1rem;
}
.footer-legal li { margin: 0; }
.footer-legal a {
  font-size: 0.8rem;
  opacity: 0.75;
  text-decoration: none;
}
.footer-legal a:hover,
.footer-legal a:focus-visible { opacity: 1; text-decoration: underline; }
@media (max-width: 640px) {
  .footer-legal { justify-content: center; }
}

/* ---------- SOCIAL / CITATION LINKS ---------- */
.icon-sprite { display: none; }

.social-links { list-style: none; margin: 0; padding: 0; display: flex; }
.social-links a { display: inline-flex; align-items: center; text-decoration: none; }
.social-links svg { width: 18px; height: 18px; fill: currentColor; flex: none; }

/* Top-bar social styles are in the TOP BAR section above */

/* Footer: labelled, stacked */
.footer-social { margin-top: var(--sp-4); }
.social-footer { flex-direction: column; gap: 0.4rem; }
.social-footer a { gap: 0.55rem; color: inherit; opacity: 0.75; font-size: 0.9rem; }
.social-footer a:hover,
.social-footer a:focus-visible { opacity: 1; color: var(--brass-light); text-decoration: underline; }

/* ---------- PAGE HEAD ILLUSTRATIONS / MAP EMBED (moved from per-page <style> blocks) ---------- */
.hero-illustration {
  width: 100%;
  max-width: 560px;
  border-radius: 8px;
  box-shadow: 0 4px 24px rgba(35,39,43,0.12);
  display: block;
  margin: 0 auto;
}
.section-illustration {
  width: 100%;
  max-width: 680px;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(35,39,43,0.08);
  display: block;
  margin: 2rem auto;
}
.site-map-section {
  width: 100%;
  background: var(--graphite);
  padding: 0;
  line-height: 0;
}
.map-embed-wrap {
  width: 100%;
  max-height: 360px;
  overflow: hidden;
  line-height: 0;
}
.map-embed-wrap iframe {
  width: 100%;
  height: 360px;
  display: block;
  border: 0;
}

/* ============================================================
   HOMEPAGE — NEW SECTIONS
   ============================================================ */

/* Hero bullets */
.hero-bullets {
  list-style: none;
  padding: 0;
  margin: var(--sp-3) 0 var(--sp-4);
}
.hero-bullets li {
  position: relative;
  padding-left: 1.6em;
  margin-bottom: var(--sp-2);
  font-size: var(--fs-body);
  color: var(--graphite-soft);
}
.hero-bullets li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--ok);
  font-weight: 700;
}

/* Stat grid */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--sp-3);
  text-align: center;
  padding: var(--sp-4) 0;
}
.stat-card {
  padding: var(--sp-4) var(--sp-2);
}
.stat-value {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--graphite);
  line-height: 1.1;
}
.stat-label {
  font-size: var(--fs-small);
  color: var(--graphite-soft);
  margin-top: var(--sp-1);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
@media (max-width: 820px) {
  .stat-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Review grid */
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
}
.review-card {
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: var(--sp-5);
  margin: 0;
}
.review-stars {
  color: var(--brass);
  font-size: 1.3rem;
  letter-spacing: 0.1em;
  margin-bottom: var(--sp-2);
}
.review-card p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--graphite-soft);
  margin: 0 0 var(--sp-3);
}
.review-card cite {
  font-style: normal;
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--graphite);
}
@media (max-width: 820px) {
  .review-grid { grid-template-columns: 1fr; }
}

/* Warning list */
.warning-list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 52rem;
}
.warning-list li {
  position: relative;
  padding: var(--sp-3) 0 var(--sp-3) 2rem;
  border-bottom: 1px solid var(--line);
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--graphite-soft);
}
.warning-list li::before {
  content: "\26A0";
  position: absolute;
  left: 0;
  color: var(--action);
  font-size: 1.1rem;
}
.warning-list li:last-child {
  border-bottom: none;
}

/* Guarantee block */
.guarantee-block {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
}
.guarantee-copy {
  flex: 1;
}
.guarantee-copy h2 {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  color: var(--graphite);
  margin: var(--sp-2) 0 var(--sp-3);
}
.guarantee-copy p {
  color: var(--graphite-soft);
  line-height: 1.7;
  margin-bottom: var(--sp-3);
}
.guarantee-cta {
  flex-shrink: 0;
}
@media (max-width: 640px) {
  .guarantee-block { flex-direction: column; align-items: flex-start; }
}

/* Check list */
.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.check-list li {
  position: relative;
  padding-left: 1.6em;
  margin-bottom: var(--sp-2);
  color: var(--graphite-soft);
}
.check-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--ok);
  font-weight: 700;
}

/* Compare table */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.compare-table th {
  background: var(--graphite);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  text-align: left;
  padding: var(--sp-3);
  white-space: nowrap;
}
.compare-table td {
  padding: var(--sp-3);
  border-bottom: 1px solid var(--line);
  color: var(--graphite-soft);
  vertical-align: top;
}
.compare-table tr:last-child td {
  border-bottom: none;
}
.compare-table tbody tr:nth-child(even) {
  background: rgba(239,233,223,0.4);
}

/* Area grid (homepage) */
.area-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-3);
}
.area-grid .area-card {
  text-align: center;
}
@media (max-width: 640px) {
  .area-grid { grid-template-columns: repeat(2, 1fr); }
}


/* ── Skip navigation link (accessibility) ───────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  padding: .5rem 1rem;
  background: var(--graphite, #23272b);
  color: #fff;
  font-weight: 700;
  z-index: 9999;
  text-decoration: none;
}
.skip-link:focus {
  top: 0;
}

/* ── Contact form ───────────────────────────────────────────── */
.contact-form {
  max-width: 640px;
}
.form-row {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  margin-bottom: var(--sp-sm, 1rem);
}
.form-row label {
  font-weight: 600;
  font-size: .9rem;
  color: var(--graphite, #23272b);
}
.form-row label span {
  color: #c0392b;
}
.form-row input,
.form-row select,
.form-row textarea {
  padding: .65rem .85rem;
  border: 1px solid var(--line, #d4cec6);
  border-radius: 6px;
  font-size: 1rem;
  background: #fff;
  color: var(--graphite, #23272b);
  font-family: inherit;
  width: 100%;
  box-sizing: border-box;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: 2px solid var(--clr-accent, #C99B4A);
  border-color: var(--clr-accent, #C99B4A);
}
.form-row textarea {
  resize: vertical;
  min-height: 110px;
}
