/*
Theme Name: Eastwind Heating
Theme URI: https://furnacerepairgresham.us/
Author: Eastwind Heating
Description: Custom classic theme for Eastwind Heating — furnace repair in Gresham, OR. First-person provider site: the homepage is the primary authority page, with a dedicated template for every service, location, About and Contact page. Design system: Navy #0B2545 + Orange #F97316, Sora headings + Inter body.
Version: 2.7.0
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
Text Domain: eastwindheating
*/

/* ===== Full design stylesheet (identical to assets/styles.css, Phase 2) ===== */
/* ==========================================================================
   Eastwind Heating — furnacerepairgresham.us
   styles.css · Phase 2 design system (single production stylesheet)
   --------------------------------------------------------------------------
   Brand:  Navy #0B2545 (primary, Preset A) · Orange #F97316 (accent, CTAs only)
   Type:   Sora 700–800 headings · Inter 400–500 body
           Enqueued via Google Fonts in WordPress (preconnect + display=swap).
   Voice:  first-person provider ("we", "our technicians").
   Phone:  +1 (971) 399-8257 — owner's real number, supplied 22 Oct 2026.
   Notes:  mobile-first (360px base, breakpoints 640 / 768 / 1024 / 1280).
           Content stays visible without JS — reveal styles are gated
           behind the `js` class on <html>. Reduced motion respected.
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Primary navy scale (built from #0B2545) */
  --p-50:  #eef4fb;
  --p-100: #d9e6f5;
  --p-200: #b3ccea;
  --p-300: #84a9d8;
  --p-400: #5583c0;
  --p-500: #33639f;
  --p-600: #1e4a7d;
  --p-700: #14365f;
  --p-800: #0e2c4e;
  --p-900: #0b2545;

  --dark:      #071a33;   /* deepest navy: CTA band, footer */
  --ink:       #14273f;   /* heading text on light */
  --body-text: #33475e;   /* body text on light */
  --off-white: #f7f9fc;   /* alternating section tint */
  --border:    #dce5ef;
  --white:     #ffffff;

  /* Accent — CTAs and highlights ONLY */
  --accent:      #f97316;
  --accent-deep: #ea580c; /* accent text on light backgrounds (AA large/bold) */
  --accent-soft: #fff3e8;

  /* Feedback / callouts */
  --tip-bg:     #eef4fb;
  --warn-bg:    #fdf3e7;
  --warn-line:  #ea580c;

  /* Type */
  --font-head: "Sora", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
  --fs-body:   1.0625rem;
  --lh-body:   1.7;

  /* Shape + elevation */
  --radius:    20px;
  --radius-sm: 14px;
  --shadow-1:  0 1px 2px rgba(11, 37, 69, .05), 0 4px 14px rgba(11, 37, 69, .06);
  --shadow-2:  0 2px 4px rgba(11, 37, 69, .06), 0 14px 34px rgba(11, 37, 69, .12);
  --shadow-cta: 0 10px 26px rgba(249, 115, 22, .38);

  /* Layout */
  --container: 1200px;
  --gutter: 1.25rem;
  --section-pad: 2.5rem;        /* 40px mobile */
  --header-h: 4.5rem;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

@media (min-width: 1024px) {
  :root { --section-pad: 4rem; } /* 64px desktop */
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--body-text);
  background: var(--white);
  /* Room for the sticky mobile call bar (removed on desktop) */
  padding-bottom: calc(4.25rem + env(safe-area-inset-bottom));
  overflow-x: hidden;
}
@media (min-width: 1024px) {
  body { padding-bottom: 0; }
}
body.menu-open { overflow: hidden; }

img, svg, video { max-width: 100%; height: auto; display: block; }
svg.icon { display: inline-block; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 .6em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 6vw + 1rem, 4.5rem); font-weight: 800; }
h2 { font-size: clamp(1.65rem, 2.4vw + 1rem, 2.25rem); font-weight: 800; }
h3 { font-size: clamp(1.25rem, 1vw + 1rem, 1.5rem); font-weight: 700; line-height: 1.25; }
h4 { font-size: 1.125rem; font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; }

p { margin: 0 0 1.1em; max-width: 68ch; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.35em; }
li { margin-bottom: .45em; }
li::marker { color: var(--accent-deep); font-weight: 700; }

a { color: var(--p-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--p-800); }

strong { color: var(--ink); }

::selection { background: var(--p-200); color: var(--p-900); }

:focus { outline: none; }
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: 1rem; top: -100px;
  z-index: 200;
  background: var(--p-900);
  color: var(--white);
  padding: .7rem 1.2rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 1rem; color: var(--white); }

/* ---------- Layout utilities ---------- */
.container {
  width: min(var(--container), 100% - (var(--gutter) * 2));
  margin-inline: auto;
}

.section { padding-block: var(--section-pad); position: relative; }
.section--off   { background: var(--off-white); }
.section--tint  { background: var(--p-50); }
.section--dark  { background: var(--p-900); color: #d7e3f2; }
.section--dark h2, .section--dark h3, .section--dark h4 { color: var(--white); }
.section--dark a { color: var(--p-200); }

.section-head { max-width: 46rem; margin-bottom: 1.375rem; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .section-intro { margin-inline: auto; }

.section-intro { font-size: 1.125rem; color: var(--body-text); }
.section--dark .section-intro { color: #c3d4ea; }

/* Angled / wave section dividers (wind-streak motif) */
.divider { display: block; width: 100%; height: 2.5rem; margin-bottom: -1px; }
.divider--flip { transform: scaleY(-1); }
@media (min-width: 1024px) { .divider { height: 4rem; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 3.25rem;
  padding: .8rem 1.7rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease),
              background-color .18s var(--ease), color .18s var(--ease);
  width: 100%;
}
@media (min-width: 640px) { .btn { width: auto; } }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }

/* Accent pill — navy text on orange passes AA (5.8:1) and stays on-brand */
.btn--primary {
  background: var(--accent);
  color: var(--p-900);
  box-shadow: var(--shadow-cta);
}
.btn--primary:hover {
  background: #ff8a3d;
  color: var(--p-900);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(249, 115, 22, .45);
}

.btn--outline {
  background: transparent;
  border-color: var(--p-900);
  color: var(--p-900);
}
.btn--outline:hover { background: var(--p-900); color: var(--white); transform: translateY(-2px); }

.btn--outline-light {
  background: transparent;
  border-color: rgba(255, 255, 255, .65);
  color: var(--white);
}
.btn--outline-light:hover { background: var(--white); color: var(--p-900); transform: translateY(-2px); }

.btn--lg { min-height: 3.6rem; padding: 1rem 2.2rem; font-size: 1.1rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.6rem; }

/* Text link with arrow (card / inline CTAs) */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .98rem;
  color: var(--p-700);
  text-decoration: none;
}
.link-arrow svg { width: 1.05em; height: 1.05em; transition: transform .18s var(--ease); }
.link-arrow:hover { color: var(--accent-deep); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Icon chip (inline SVG line icons, Lucide style) ---------- */
.icon-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem; height: 3.25rem;
  flex: none;
  border-radius: 16px;
  background: var(--p-50);
  color: var(--p-700);
}
.icon-chip svg {
  width: 1.55rem; height: 1.55rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-chip--accent { background: var(--accent-soft); color: var(--accent-deep); }
.icon-chip--on-dark { background: rgba(255, 255, 255, .1); color: #ffb25e; }

/* ---------- Header / navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand img, .brand svg { width: auto; height: 2.75rem; }
.brand-name {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--p-900);
  line-height: 1.05;
}
.brand-name small {
  display: block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .28em;
  color: var(--accent-deep);
}

.main-nav { display: none; }
@media (min-width: 1024px) {
  .main-nav { display: block; }
  .main-nav ul {
    display: flex;
    align-items: center;
    gap: .35rem;
    list-style: none;
    margin: 0; padding: 0;
  }
  .main-nav li { margin: 0; position: relative; }
  .main-nav a {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .6rem .85rem;
    border-radius: 999px;
    font-family: var(--font-head);
    font-size: .95rem;
    font-weight: 600;
    color: var(--ink);
    text-decoration: none;
    transition: background-color .15s var(--ease), color .15s var(--ease);
  }
  .main-nav a:hover, .main-nav a[aria-current="page"] { background: var(--p-50); color: var(--p-900); }
  .main-nav .nav-caret { width: .8rem; height: .8rem; transition: transform .18s var(--ease); }

  /* Dropdown (Services / Areas) — hover + keyboard focus */
  .has-dropdown > .dropdown {
    position: absolute;
    top: calc(100% + .45rem);
    left: 50%;
    transform: translate(-50%, 6px);
    min-width: 17rem;
    display: block;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-2);
    padding: .6rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
  }
  .has-dropdown:hover > .dropdown,
  .has-dropdown:focus-within > .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
  }
  .has-dropdown:hover .nav-caret, .has-dropdown:focus-within .nav-caret { transform: rotate(180deg); }
  .dropdown li a { display: flex; width: 100%; border-radius: 10px; padding: .55rem .8rem; font-weight: 500; }
  .dropdown li a:hover { background: var(--p-50); }
}

.header-call { display: none; }
@media (min-width: 1024px) {
  .header-call { display: inline-flex; min-height: 2.9rem; padding: .6rem 1.35rem; width: auto; }
}

/* Hamburger — below 1024px */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem; height: 3rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--p-900);
  cursor: pointer;
}
.nav-toggle svg { width: 1.5rem; height: 1.5rem; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
@media (min-width: 1024px) { .nav-toggle { display: none; } }

/* Full-screen mobile panel */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--p-900);
  padding: calc(var(--header-h) + 1.25rem) var(--gutter) 2rem;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.mobile-menu[hidden] { display: none; }
.mobile-menu ul { list-style: none; margin: 0 0 1.5rem; padding: 0; }
.mobile-menu li { margin: 0; border-bottom: 1px solid rgba(255, 255, 255, .09); }
.mobile-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 3.25rem;
  padding: .8rem .25rem;
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
}
.mobile-menu .menu-group-label {
  display: block;
  padding: 1.1rem .25rem .35rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #ffb25e;
}
.mobile-menu .btn { margin-top: .5rem; }
@media (min-width: 1024px) { .mobile-menu { display: none; } }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs {
  font-size: .92rem;
  color: var(--body-text);
  padding: 1.1rem 0 0;
}
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  list-style: none;
  margin: 0; padding: 0;
}
.breadcrumbs li { margin: 0; display: inline-flex; align-items: center; gap: .4rem; }
.breadcrumbs li + li::before { content: "/"; color: var(--p-300); }
.breadcrumbs a { color: var(--p-600); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs [aria-current="page"] { color: var(--ink); font-weight: 600; }

/* ---------- Hero (layered: gradient mesh + grain + glass) ---------- */
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: #d7e3f2;
  background:
    radial-gradient(58rem 30rem at 88% -10%, rgba(249, 115, 22, .28), transparent 60%),
    radial-gradient(50rem 34rem at -12% 108%, rgba(51, 99, 159, .55), transparent 62%),
    linear-gradient(155deg, var(--p-700) 0%, var(--p-900) 52%, var(--dark) 100%);
  padding: 3rem 0 3.25rem;
}
@media (min-width: 1024px) { .hero { padding: 4.25rem 0 4.75rem; } }

/* Soft grain overlay (SVG noise, decorative) */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .5;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
}
/* Wind-streak motif sweeping across the hero */
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: -6rem; top: 12%;
  width: 34rem; height: 16rem;
  opacity: .35;
  pointer-events: none;
  background:
    radial-gradient(closest-side, rgba(255, 255, 255, .16), transparent) 0 0 / 60% 6% no-repeat,
    radial-gradient(closest-side, rgba(255, 255, 255, .12), transparent) 30% 38% / 70% 6% no-repeat,
    radial-gradient(closest-side, rgba(255, 178, 94, .20), transparent) 10% 72% / 55% 6% no-repeat;
}

.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: start;
}
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 4rem; }
}

.hero h1 { color: var(--white); margin-bottom: 1.1rem; }
.hero-sub { font-size: 1.16rem; color: #c3d4ea; max-width: 56ch; }

/* Hero photo + point cards in flow below the hero grid (design pass v2.2.0) */
.hero-media { margin: 0; }
.hero-media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-2);
}
.hero-points {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}
@media (min-width: 768px) { .hero-points { grid-template-columns: repeat(3, 1fr); } }
.hero-point {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .9rem 1.05rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .18);
  color: var(--white);
  font-size: .94rem;
  line-height: 1.45;
}
.hero-point p { margin: 0; max-width: none; }
.hero-point strong { color: var(--white); display: block; font-family: var(--font-head); font-size: 1rem; }
.hero-point .icon-chip {
  width: 2.7rem; height: 2.7rem; border-radius: 12px; flex: none;
  background: rgba(255, 255, 255, .14); color: #ffb25e;
}

/* Trust chip row */
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  list-style: none;
  margin: 1.9rem 0 0;
  padding: 0;
}
.trust-row li {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin: 0;
  padding: .5rem .95rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .25);
  background: rgba(255, 255, 255, .07);
  font-size: .92rem;
  font-weight: 600;
  color: var(--white);
}
.trust-row svg { width: 1rem; height: 1rem; color: #ffb25e; flex: none; }
/* On light sections the same chips go navy-tinted */
.section:not(.section--dark) .trust-row li, .trust-row--light li {
  border-color: var(--border);
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow-1);
}
.section:not(.section--dark) .trust-row svg, .trust-row--light svg { color: var(--accent-deep); }

/* Compact inner-page hero (services / locations) */
.page-hero {
  position: relative;
  overflow: hidden;
  color: #d7e3f2;
  background:
    radial-gradient(44rem 22rem at 92% -20%, rgba(249, 115, 22, .24), transparent 60%),
    linear-gradient(150deg, var(--p-700), var(--p-900) 60%, var(--dark));
  padding: 2.25rem 0 2.5rem;
}
@media (min-width: 1024px) { .page-hero { padding: 3rem 0 3.25rem; } }
.page-hero h1 { color: var(--white); font-size: clamp(2.1rem, 4vw + 1rem, 3.4rem); }
.page-hero .hero-sub { font-size: 1.08rem; }
/* Direct-answer block that sits right under inner-page H1s (AI Overviews) */
.answer-box {
  margin-top: 1.5rem;
  padding: 1.15rem 1.3rem;
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: rgba(255, 255, 255, .08);
  color: #e6eef9;
  max-width: 62ch;
}
.answer-box strong { color: var(--white); }
.section .answer-box { background: var(--p-50); color: var(--body-text); }
.section .answer-box strong { color: var(--ink); }

/* ---------- Cards + services bento grid ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  padding: 1.7rem;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-2); }
.card h3 { margin-top: 1rem; }
.card p { margin-bottom: 1rem; }
.card-media { margin: -1.7rem -1.7rem 1.1rem; }
.card-media img {
  display: block;
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: var(--radius) var(--radius) 0 0;
}
.bento .card--featured .card-media img { height: 230px; }
.section--dark .card { background: var(--p-800); border-color: rgba(255, 255, 255, .1); color: #d7e3f2; }
.section--dark .card h3 { color: var(--white); }

.bento {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 640px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .bento { grid-template-columns: repeat(4, 1fr); grid-auto-flow: dense; }
  .bento .card--featured { grid-column: span 3; }
  .bento .card--wide { grid-column: span 2; }
}
.bento .card--featured {
  background: linear-gradient(150deg, var(--p-800), var(--p-900));
  border-color: var(--p-800);
  color: #d7e3f2;
  display: flex;
  flex-direction: column;
}
.bento .card--featured h3 { color: var(--white); font-size: 1.6rem; }
.bento .card--featured .link-arrow { color: #ffb25e; margin-top: auto; }
.bento .card--featured .icon-chip { background: rgba(255, 255, 255, .1); color: #ffb25e; }

/* Generic responsive grid */
.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 640px)  { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Symptom checker ---------- */
.symptom-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 640px)  { .symptom-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .symptom-grid { grid-template-columns: repeat(3, 1fr); } }
.symptom-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem 1.35rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  text-decoration: none;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.symptom-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: var(--p-300); }
.symptom-card h3 { font-size: 1.12rem; margin: .1rem 0 .35rem; }
.symptom-card p { font-size: .96rem; margin: 0; }
.symptom-card .go {
  margin-left: auto;
  align-self: center;
  color: var(--accent-deep);
  flex: none;
}
.symptom-card .go svg { width: 1.25rem; height: 1.25rem; }

/* ---------- Cost-factor cards (tables converted, design pass v2.2.0) ---------- */
.factor-caption {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--ink);
  font-size: 1.05rem;
  margin-bottom: 1rem;
}
.factor-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 640px)  { .factor-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .factor-grid { grid-template-columns: repeat(3, 1fr); } }
.factor-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  padding: 1.1rem 1.25rem;
}
.factor-card h3 { font-size: 1.05rem; margin-bottom: .45rem; }
.factor-card p { margin: 0; color: var(--body-text); font-size: .96rem; }
.factor-card__label {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: .3rem;
}

/* ---------- Numbered process ---------- */
.process {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  gap: 2.25rem;
  counter-reset: step;
}
@media (min-width: 1024px) {
  .process { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
}
.process-step { position: relative; padding-top: 3.4rem; }
.process-step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: -0.6rem; left: -0.3rem;
  font-family: var(--font-head);
  font-size: 4.2rem;
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px var(--p-300);
}
.process-step h3 { position: relative; }
/* Connecting line (desktop row) */
@media (min-width: 1024px) {
  .process::before {
    content: "";
    position: absolute;
    left: 0; right: 0; top: 1.35rem;
    border-top: 2px dashed var(--p-200);
  }
  .process { position: relative; }
  .process-step::after {
    content: "";
    position: absolute;
    top: 1.28rem; left: 0;
    width: .85rem; height: .85rem;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 5px var(--white);
  }
  .section--off .process-step::after  { box-shadow: 0 0 0 5px var(--off-white); }
  .section--tint .process-step::after { box-shadow: 0 0 0 5px var(--p-50); }
  .section--dark .process-step::after { box-shadow: 0 0 0 5px var(--p-900); }
}

/* ---------- Split sections + callouts ---------- */
.split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .split { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .split--reverse .split-media { order: 2; }
}
.split-media img, .split-media svg {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-2);
}
.check-list { list-style: none; padding: 0; }
.check-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: .7rem;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .28em;
  width: 1.3rem; height: 1.3rem;
  border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23EA580C' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / .8rem no-repeat;
}

.callout {
  display: flex;
  gap: 1rem;
  padding: 1.25rem 1.4rem;
  margin: 1.6rem 0;
  border-radius: var(--radius-sm);
  border-left: 5px solid var(--p-500);
  background: var(--tip-bg);
}
.callout p { margin: 0; }
.callout .callout-title {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: .3rem;
}
.callout .icon-chip { width: 2.6rem; height: 2.6rem; border-radius: 12px; background: var(--white); }
.callout--warning { border-left-color: var(--warn-line); background: var(--warn-bg); }
.callout--warning .callout-title { color: #9a3412; }
.callout--warning .icon-chip { color: var(--warn-line); }

/* ---------- Areas served ---------- */
.area-list {
  display: grid;
  gap: 1.25rem;
  align-items: start;
  grid-template-columns: 1fr;
  list-style: none;
  margin: 0; padding: 0;
}
@media (min-width: 640px)  { .area-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .area-list { grid-template-columns: repeat(3, 1fr); } }
.area-list li { margin: 0; }
.area-card {
  display: block;
  height: 100%;
  padding: 1.4rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  text-decoration: none;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.area-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.area-card h3 { margin-bottom: .45rem; }
.area-card p { color: var(--body-text); margin-bottom: .8rem; font-size: .98rem; }

/* ---------- Dark CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(150deg, var(--p-800), var(--dark));
  color: #d7e3f2;
  text-align: center;
  padding: var(--section-pad) 0;
}
/* Ember glow behind the phone number */
.cta-band::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%; top: 54%;
  width: 46rem; height: 22rem;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(249, 115, 22, .38), transparent);
  pointer-events: none;
}
.cta-band h2 { color: var(--white); }
.cta-band p { margin-inline: auto; color: #c3d4ea; }
.cta-phone {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  font-size: clamp(2.3rem, 7.5vw, 4.6rem);
  color: var(--white);
  text-decoration: none;
  margin: .4rem 0 1.2rem;
  text-shadow: 0 0 34px rgba(249, 115, 22, .45);
}
.cta-phone:hover { color: #ffd9ae; }

/* ---------- FAQ accordion (<details>, no JS needed) ---------- */
.faq { max-width: 52rem; margin-inline: auto; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-1);
  margin-bottom: .9rem;
  overflow: hidden;
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.5rem;
  padding: 1.05rem 1.35rem;
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--p-700); }
.faq-icon {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem; height: 2rem;
  border-radius: 50%;
  background: var(--p-50);
  color: var(--p-700);
  transition: transform .25s var(--ease), background-color .25s var(--ease);
}
.faq-icon svg { width: 1rem; height: 1rem; }
.faq-item[open ] .faq-icon { transform: rotate(45deg); background: var(--accent); color: var(--p-900); }
.faq-body { padding: 0 1.35rem 1.3rem; }
.faq-body p:last-child { margin-bottom: 0; }

/* ---------- Service-page layout: TOC + sticky call card ---------- */
.service-layout { display: block; }
@media (min-width: 1024px) {
  .service-layout {
    display: grid;
    grid-template-columns: 17rem minmax(0, 1fr);
    gap: 3rem;
    align-items: start;
  }
}
.toc {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.3rem 1.4rem;
  margin-bottom: 2rem;
}
@media (min-width: 1024px) {
  .service-sidebar { position: sticky; top: calc(var(--header-h) + 1.25rem); }
  .toc { margin-bottom: 1.25rem; }
}
.toc-title {
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 .8rem;
}
.toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.toc li { margin-bottom: .3rem; }
.toc a {
  display: block;
  padding: .42rem .6rem;
  border-radius: 9px;
  font-size: .96rem;
  color: var(--body-text);
  text-decoration: none;
}
.toc a:hover { background: var(--p-50); color: var(--p-900); }

.call-card {
  background: linear-gradient(155deg, var(--p-800), var(--p-900));
  color: #d7e3f2;
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow-2);
}
.call-card h3 { color: var(--white); margin-top: 0; }
.call-card p { color: #c3d4ea; }
.call-card .call-number {
  display: block;
  font-family: var(--font-head);
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--white);
  text-decoration: none;
  margin: .5rem 0 1rem;
}
.call-card .btn { width: 100%; }

/* ---------- Footer (dark, 4 columns) ---------- */
.site-footer {
  background: var(--dark);
  color: #b9cadd;
  padding: 3rem 0 1.75rem;
}
.footer-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px)  { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer h3, .site-footer h4 {
  color: var(--white);
  font-size: 1rem;
  letter-spacing: .02em;
  margin-bottom: 1rem;
}
.footer-brand .brand-name { color: var(--white); }
.footer-brand p { font-size: .97rem; max-width: 34ch; }
.footer-phone {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
  text-decoration: none;
}
.footer-phone:hover { color: #ffb25e; }
.footer-phone svg { width: 1.15rem; height: 1.15rem; color: var(--accent); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .55rem; }
.site-footer ul a {
  color: #b9cadd;
  text-decoration: none;
  font-size: .97rem;
}
.site-footer ul a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.footer-note { font-size: .9rem; color: #8fa6c0; }
.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 2rem;
  justify-content: space-between;
  font-size: .9rem;
  color: #8fa6c0;
}
.footer-bottom p { margin: 0; max-width: none; }

/* ---------- Sticky mobile call bar ---------- */
.call-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  display: flex;
  gap: .7rem;
  padding: .65rem .85rem calc(.65rem + env(safe-area-inset-bottom));
  background: rgba(7, 26, 51, .96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.call-bar .btn { flex: 1; min-height: 3.1rem; width: auto; }
.call-bar .btn--outline-light { flex: 0 0 auto; padding-inline: 1.1rem; }
@media (min-width: 1024px) { .call-bar { display: none; } }

/* ---------- WordPress content area (Gutenberg-built page bodies) ---------- */
.entry-content > * + * { margin-top: 1.1em; }
.entry-content h2 { margin-top: 2.4rem; }
.entry-content h3 { margin-top: 1.8rem; }
.entry-content img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
}
.entry-content figure { margin: 1.8rem 0; }
.entry-content figcaption { font-size: .9rem; color: var(--body-text); margin-top: .55rem; }

/* ---------- Scroll reveal (JS-gated: hidden ONLY when <html class="js">) --- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
  transition-delay: calc(var(--reveal-delay, 0) * 90ms);
}
.js [data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsive fine-tuning ---------- */
@media (max-width: 639.98px) {
  /* Keep tap targets generous on small screens */
  .card { padding: 1.4rem; }
  .card-media { margin: -1.4rem -1.4rem 1.1rem; }
  .hero { padding-top: 3.5rem; }
}
@media (min-width: 768px) {
  :root { --gutter: 2rem; }
  .hero-sub { font-size: 1.22rem; }
}
@media (min-width: 1280px) {
  :root { --container: 1240px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
  .card:hover, .btn:hover, .symptom-card:hover, .area-card:hover { transform: none; }
}
