/* ==========================================================================
   First Rate Home Services — styles.css
   Rebuilt 2026-08-26. Design system + motion.

   Fonts are SELF-HOSTED (assets/fonts/*.woff2). The old build pulled Playfair
   and Inter from fonts.googleapis.com, which cost two render-blocking round
   trips to a third-party origin before any text could paint.

   Motion rules, applied throughout:
     - only transform and opacity are animated (compositor-only, no layout)
     - every reveal has a no-JS fallback: the .reveal class only *adds* the
       hidden state once JS confirms IntersectionObserver exists
     - prefers-reduced-motion: reduce disables all of it, no exceptions
   ========================================================================== */

/* Fonts ---------------------------------------------------------------- */
@font-face {
  font-family: 'Playfair Display';
  src: url('/assets/fonts/playfair-display-var-latin.woff2') format('woff2-variations');
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('/assets/fonts/inter-var-latin.woff2') format('woff2-variations');
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}

/* Tokens --------------------------------------------------------------- */
:root {
  --navy-dark: #0F2A4A;
  --navy: #1F4E79;
  --navy-light: #3E76A8;
  --navy-pale: #A9C6E4;
  --gold: #C9A227;
  --gold-soft: #E3C766;
  --white: #FFFFFF;
  --ink: #16202B;
  --ink-soft: #4A5866;
  --gray-light: #F4F6F8;
  --gray-lighter: #FAFBFC;
  --gray-border: #E1E5EA;

  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --container: 1180px;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 2px 10px rgba(15, 42, 74, 0.07);
  --shadow: 0 10px 34px rgba(15, 42, 74, 0.11);
  --shadow-lg: 0 24px 60px rgba(15, 42, 74, 0.20);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  /* Height of the sticky mobile action bar; 0 on desktop. Pages add this to
     their bottom padding so the bar never covers the last line of content. */
  --actionbar-h: 0px;
}

/* 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: 17px;
  line-height: 1.68;
  color: var(--ink);
  background: var(--white);
  padding-bottom: var(--actionbar-h);
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; transition: color .18s var(--ease); }
a:hover { color: var(--navy-light); }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--navy-dark);
  line-height: 1.14;
  letter-spacing: -0.015em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.45rem); font-weight: 600; }
h4 { font-size: 1.02rem; font-family: var(--font-body); font-weight: 700;
     letter-spacing: .01em; margin-bottom: .5em; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 820px; }
.center { text-align: center; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--navy-dark); color: var(--white); padding: 12px 20px;
}
.skip-link:focus { left: 0; color: var(--white); }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 3px; }

/* Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 15px 30px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 650;
  font-size: .97rem;
  letter-spacing: .005em;
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
  will-change: transform;
  transition: background .2s var(--ease), color .2s var(--ease),
              border-color .2s var(--ease), transform .2s var(--ease),
              box-shadow .2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--gold); color: var(--navy-dark); box-shadow: 0 6px 18px rgba(201, 162, 39, .32); }
.btn-primary:hover { background: var(--gold-soft); color: var(--navy-dark); box-shadow: 0 10px 26px rgba(201, 162, 39, .40); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-dark); color: var(--white); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-ghost { border-color: rgba(255,255,255,.55); color: var(--white); background: transparent; }
.btn-ghost:hover { background: var(--white); color: var(--navy-dark); border-color: var(--white); }
.btn-block { display: flex; width: 100%; }
.btn-lg { padding: 18px 38px; font-size: 1.05rem; }

/* Top bar -------------------------------------------------------------- */
.topbar { background: var(--navy-dark); color: var(--white); font-size: .85rem; }
.topbar .container {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; padding-top: 9px; padding-bottom: 9px;
}
.topbar a { color: var(--white); }
.topbar a:hover { color: var(--gold-soft); }
.topbar-phone { font-weight: 650; letter-spacing: .01em; }
.topbar-note { color: var(--navy-pale); }

/* Header --------------------------------------------------------------- */
.site-header {
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--gray-border);
  position: sticky; top: 0; z-index: 100;
  transition: box-shadow .25s var(--ease), padding .25s var(--ease);
}
.site-header.is-stuck { box-shadow: 0 6px 26px rgba(15, 42, 74, .13); }
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 22px; padding-top: 14px; padding-bottom: 14px;
  transition: padding .25s var(--ease);
}
.site-header.is-stuck .container { padding-top: 9px; padding-bottom: 9px; }
.logo { display: flex; align-items: center; }
.logo img { height: 54px; width: auto; transition: height .25s var(--ease); }
.site-header.is-stuck .logo img { height: 44px; }

.main-nav ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.main-nav a {
  position: relative; color: var(--ink); font-weight: 500; font-size: .95rem;
  padding: 6px 0;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform .24s var(--ease);
}
.main-nav a:hover::after, .main-nav a.is-active::after { transform: scaleX(1); }
.main-nav a.is-active { color: var(--navy-dark); font-weight: 650; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.header-phone { font-weight: 700; color: var(--navy-dark); white-space: nowrap; font-size: 1.02rem; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 0; padding: 8px; cursor: pointer;
}
.nav-toggle span {
  width: 26px; height: 2.5px; background: var(--navy-dark); border-radius: 2px;
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ==========================================================================
   HERO
   Full-bleed photograph under a navy scrim. The scrim is what makes white
   type legible over an unknown photo — it is not decoration, and it must stay
   when the placeholder is swapped for a real job photo.
   ========================================================================== */
.hero {
  position: relative;
  color: var(--white);
  padding: 104px 0 96px;
  isolation: isolate;
  overflow: hidden;
}
.hero-media {
  position: absolute; inset: 0; z-index: -2;
}
.hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 55%;
  animation: heroZoom 24s var(--ease) forwards;
}
@keyframes heroZoom {
  from { transform: scale(1.10); }
  to   { transform: scale(1.00); }
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(105deg, rgba(9,26,46,.94) 0%, rgba(15,42,74,.88) 46%, rgba(15,42,74,.60) 100%),
    linear-gradient(to top, rgba(9,26,46,.85) 0%, rgba(9,26,46,0) 42%);
}
.hero .container {
  display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center;
}
.hero h1 { color: var(--white); margin-bottom: .38em; }
.hero h1 em { color: var(--gold-soft); font-style: normal; }
.hero .lead { font-size: 1.12rem; color: #DCE6F1; max-width: 54ch; }

.hero-eyebrow, .section-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  text-transform: uppercase; letter-spacing: .16em;
  font-size: .74rem; font-weight: 700; margin-bottom: 16px;
  color: var(--navy-light);
}
.hero-eyebrow { color: var(--gold-soft); }
.hero-eyebrow::before, .section-eyebrow::before {
  content: ""; width: 26px; height: 2px; background: currentColor; flex: none;
}
.section-heading.center .section-eyebrow::before { display: none; }

.hero-cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.hero-points {
  list-style: none; margin: 30px 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 10px 22px;
}
.hero-points li {
  position: relative; padding-left: 26px; font-size: .93rem; color: #CBDBEC;
}
.hero-points li::before {
  content: ""; position: absolute; left: 0; top: .52em;
  width: 13px; height: 7px; border-left: 2.5px solid var(--gold);
  border-bottom: 2.5px solid var(--gold); transform: rotate(-45deg);
}

/* ==========================================================================
   QUOTE WIZARD
   The old hero form asked for five fields up front. This asks one question at
   a time with tap targets instead of a keyboard, and only reaches for the
   keyboard on the last step.

   Progressive enhancement: every field is present in the HTML as an ordinary
   form. JS groups the fieldsets into steps. With JS off it is one plain form
   that still submits.
   ========================================================================== */
.quote-card {
  background: var(--white); color: var(--ink);
  border-radius: var(--radius); padding: 30px 30px 26px;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.quote-card .offer {
  display: inline-block; background: rgba(201,162,39,.14); color: #8A6D12;
  font-size: .7rem; font-weight: 750; text-transform: uppercase; letter-spacing: .12em;
  padding: 6px 12px; border-radius: 999px; margin-bottom: 14px;
}
.quote-card .form-title { font-size: 1.5rem; margin-bottom: 4px; }
.quote-card .form-sub { font-size: .9rem; color: var(--ink-soft); margin-bottom: 18px; }

.wiz-progress { height: 4px; background: var(--gray-border); border-radius: 999px; overflow: hidden; margin-bottom: 22px; }
.wiz-progress i { display: block; height: 100%; width: 33%; background: var(--gold);
                  border-radius: 999px; transition: width .38s var(--ease); }

.wiz-step { border: 0; margin: 0; padding: 0; }
.wiz-step[hidden] { display: none; }
.wiz-step legend {
  font-family: var(--font-heading); font-size: 1.16rem; font-weight: 600;
  color: var(--navy-dark); padding: 0; margin-bottom: 14px;
}

/* Tap-target choices — the whole tile is the label, so there is no small
   radio to hit. */
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.choice {
  position: relative; display: flex; flex-direction: column; align-items: flex-start;
  gap: 3px; padding: 14px 15px; border: 2px solid var(--gray-border);
  border-radius: var(--radius-sm); cursor: pointer; background: var(--white);
  font-size: .93rem; font-weight: 550; line-height: 1.3; min-height: 56px;
  justify-content: center;
  transition: border-color .18s var(--ease), background .18s var(--ease), transform .18s var(--ease);
}
.choice:hover { border-color: var(--navy-light); transform: translateY(-1px); }
.choice input { position: absolute; opacity: 0; width: 0; height: 0; }
.choice span.sub { font-size: .76rem; color: var(--ink-soft); font-weight: 450; }
.choice:has(input:checked) { border-color: var(--gold); background: rgba(201,162,39,.09); }
.choice input:focus-visible + span { text-decoration: underline; }

.wiz-fields label { display: block; font-size: .8rem; font-weight: 650; margin: 14px 0 5px; color: var(--navy-dark); }
.wiz-fields label .opt { font-weight: 400; color: var(--ink-soft); text-transform: none; }
input[type=text], input[type=email], input[type=tel], select, textarea {
  width: 100%; padding: 14px 14px; border: 2px solid var(--gray-border);
  border-radius: var(--radius-sm); font-family: var(--font-body); font-size: 1rem;
  background: var(--white); color: var(--ink);
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--navy-light);
  box-shadow: 0 0 0 4px rgba(62,118,168,.16);
}
textarea { min-height: 130px; resize: vertical; }

.wiz-nav { display: flex; gap: 10px; margin-top: 20px; }
.wiz-back {
  background: none; border: 0; color: var(--ink-soft); font-family: var(--font-body);
  font-size: .9rem; cursor: pointer; padding: 10px 4px; font-weight: 550;
}
.wiz-back:hover { color: var(--navy); }
.wiz-reassure { font-size: .78rem; color: var(--ink-soft); margin: 12px 0 0; text-align: center; }

.form-success {
  display: none; margin: 16px 0 0; padding: 14px 16px;
  background: rgba(30,140,90,.10); border: 1px solid rgba(30,140,90,.28);
  border-radius: var(--radius-sm); color: #14663F; font-size: .93rem; font-weight: 550;
}
.form-success.is-visible { display: block; animation: popIn .32s var(--ease); }
@keyframes popIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.hp { position: absolute !important; left: -9999px !important; }

/* ==========================================================================
   SECTIONS
   ========================================================================== */
.section { padding: 92px 0; }
.section-sm { padding: 62px 0; }
.section-alt { background: var(--gray-light); }
.section-navy { background: var(--navy-dark); color: #DCE6F1; }
.section-navy h2, .section-navy h3, .section-navy h4 { color: var(--white); }
.section-navy .section-eyebrow { color: var(--gold-soft); }
.section-navy .section-heading p,
.section-navy .lead-sm,
.section-navy p { color: #C6D6E7; }
.section-navy a { color: var(--gold-soft); }
.section-heading { margin-bottom: 44px; max-width: 62ch; }
.section-heading.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-heading p { color: var(--ink-soft); font-size: 1.05rem; margin-top: -.2em; }
.lead-sm { font-size: 1.04rem; color: var(--ink-soft); }

/* Trust strip ---------------------------------------------------------- */
.trust-strip { background: var(--navy-dark); color: var(--white); padding: 26px 0; }
.trust-strip .container {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center;
}
.trust-stat .num {
  font-family: var(--font-heading); font-size: clamp(1.7rem, 3vw, 2.35rem);
  font-weight: 700; color: var(--gold-soft); line-height: 1; display: block;
}
.trust-stat .lbl {
  font-size: .78rem; text-transform: uppercase; letter-spacing: .12em;
  color: var(--navy-pale); margin-top: 8px; display: block;
}

/* Service cards -------------------------------------------------------- */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.service-card {
  background: var(--white); border: 1px solid var(--gray-border);
  border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
  transition: box-shadow .28s var(--ease), transform .28s var(--ease),
              border-color .28s var(--ease);
}
.service-card:hover {
  box-shadow: var(--shadow); transform: translateY(-5px); border-color: transparent;
}
.service-card .card-media { position: relative; overflow: hidden; aspect-ratio: 4 / 3; }
.service-card .card-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .55s var(--ease);
}
.service-card:hover .card-media img { transform: scale(1.06); }
.service-card .card-body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.service-card h3 { margin-bottom: .35em; }
.service-card p { font-size: .95rem; color: var(--ink-soft); }
.service-card .card-link { margin-top: auto; padding-top: 14px; font-weight: 650; font-size: .92rem; }
.service-card .card-link::after { content: " →"; transition: none; }

.service-card.is-ask {
  background: linear-gradient(140deg, var(--navy-dark) 0%, var(--navy) 100%);
  border-color: transparent; color: #DCE6F1; justify-content: center;
}
.service-card.is-ask h3 { color: var(--white); }
.service-card.is-ask p { color: #C6D6E7; }
.service-card.is-ask .card-link { color: var(--gold-soft); }

/* The price line is the whole point of this site — competitors publish
   nothing. Treat it as a design element, not body text. */
.price-tag {
  display: inline-flex; flex-direction: column; gap: 2px;
  background: var(--gray-light); border-left: 3px solid var(--gold);
  padding: 9px 14px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 14px 0 4px;
}
.price-tag .amount {
  font-family: var(--font-heading); font-weight: 700; font-size: 1.12rem;
  color: var(--navy-dark); line-height: 1.15;
}
.price-tag .meta { font-size: .76rem; color: var(--ink-soft); letter-spacing: .02em; }
.section-navy .price-tag { background: rgba(255,255,255,.07); }
.section-navy .price-tag .amount { color: var(--white); }
.section-navy .price-tag .meta { color: var(--navy-pale); }

/* Split ---------------------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }

/* Before / after ------------------------------------------------------- */
.ba {
  position: relative; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); aspect-ratio: 4 / 3; user-select: none; touch-action: none;
  cursor: ew-resize; background: var(--gray-light);
}
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba .ba-after { clip-path: inset(0 0 0 var(--pos, 50%)); }
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos, 50%);
  width: 3px; background: var(--white); transform: translateX(-50%);
  box-shadow: 0 0 0 1px rgba(15,42,74,.18);
}
.ba-handle::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 46px; height: 46px; transform: translate(-50%,-50%);
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 22 22'%3E%3Cpath d='M8 5 3 11l5 6M14 5l5 6-5 6' fill='none' stroke='%230F2A4A' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/22px no-repeat;
  border-radius: 50%; box-shadow: 0 4px 16px rgba(15,42,74,.28);
}
.ba-label {
  position: absolute; bottom: 14px; padding: 5px 12px; border-radius: 999px;
  background: rgba(9,26,46,.72); color: var(--white); font-size: .74rem;
  font-weight: 650; letter-spacing: .1em; text-transform: uppercase;
}
.ba-label.is-before { left: 14px; }
.ba-label.is-after { right: 14px; }

/* Process steps -------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; counter-reset: step; }
.step { position: relative; padding-top: 52px; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; top: 0; left: 0;
  font-family: var(--font-heading); font-size: 2.1rem; font-weight: 700;
  color: var(--gold); line-height: 1;
}
.step::after {
  content: ""; position: absolute; top: 18px; left: 58px; right: -13px; height: 1px;
  background: var(--gray-border);
}
.step:last-child::after { display: none; }
.section-navy .step::after { background: rgba(255,255,255,.16); }
.step h3 { font-size: 1.1rem; }
.step p { font-size: .93rem; color: var(--ink-soft); margin: 0; }
.section-navy .step p { color: var(--navy-pale); }

/* Areas ---------------------------------------------------------------- */
.area-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.area-card {
  display: block; padding: 22px 22px 20px; border: 1px solid var(--gray-border);
  border-radius: var(--radius); background: var(--white);
  transition: transform .24s var(--ease), box-shadow .24s var(--ease), border-color .24s var(--ease);
}
.area-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: var(--navy-light); }
.area-card strong { display: block; font-family: var(--font-heading); font-size: 1.15rem; color: var(--navy-dark); }
.area-card span { font-size: .84rem; color: var(--ink-soft); }

/* Gallery -------------------------------------------------------------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery-grid a { display: block; border-radius: var(--radius-sm); overflow: hidden; position: relative; aspect-ratio: 1; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery-grid a:hover img { transform: scale(1.07); }
.gallery-grid a::after {
  content: ""; position: absolute; inset: 0; background: rgba(15,42,74,0);
  transition: background .3s var(--ease);
}
.gallery-grid a:hover::after { background: rgba(15,42,74,.22); }

.lightbox {
  position: fixed; inset: 0; z-index: 400; background: rgba(9,26,46,.94);
  display: none; align-items: center; justify-content: center; padding: 30px;
}
.lightbox.is-open { display: flex; animation: fadeIn .22s var(--ease); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.lightbox img { max-width: 92vw; max-height: 88vh; width: auto; border-radius: var(--radius-sm); }
.lightbox-close {
  position: absolute; top: 22px; right: 26px; background: none; border: 0;
  color: var(--white); font-size: 2.4rem; line-height: 1; cursor: pointer;
}

/* FAQ ------------------------------------------------------------------ */
.faq { border-top: 1px solid var(--gray-border); }
.faq-item { border-bottom: 1px solid var(--gray-border); }
.faq-item summary {
  cursor: pointer; padding: 22px 44px 22px 0; position: relative;
  font-weight: 600; font-size: 1.05rem; color: var(--navy-dark);
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 11px; height: 11px;
  border-right: 2.5px solid var(--navy-light); border-bottom: 2.5px solid var(--navy-light);
  transform: translateY(-70%) rotate(45deg); transition: transform .26s var(--ease);
}
.faq-item[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.faq-answer { padding: 0 30px 24px 0; color: var(--ink-soft); animation: slideDown .3s var(--ease); }
@keyframes slideDown { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* CTA banner ----------------------------------------------------------- */
.cta-banner {
  background: linear-gradient(112deg, var(--navy-dark) 0%, var(--navy) 100%);
  color: var(--white); padding: 76px 0; text-align: center; position: relative; overflow: hidden;
}
.cta-banner::after {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg, rgba(255,255,255,.028) 0 2px, transparent 2px 34px);
}
.cta-banner .container { position: relative; z-index: 1; }
.cta-banner h2 { color: var(--white); margin-bottom: .55em; }
.cta-banner .eyebrow {
  display: block; color: var(--gold-soft); font-size: .78rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; margin-bottom: 12px;
}
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 8px; }

/* Page header ---------------------------------------------------------- */
.page-header {
  background: linear-gradient(112deg, var(--navy-dark) 0%, var(--navy) 100%);
  color: var(--white); padding: 66px 0 58px;
}
.page-header h1 { color: var(--white); margin-bottom: .3em; }
.page-header .sub { color: #C6D6E7; font-size: 1.06rem; max-width: 62ch; margin: 0; }
.breadcrumb { font-size: .84rem; color: var(--navy-pale); margin-top: 16px; }
.breadcrumb a { color: var(--navy-pale); text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb a:hover { color: var(--white); }

/* Prose ---------------------------------------------------------------- */
.prose h2 { margin-top: 1.7em; }
.prose h3 { margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .5em; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .95rem; }
.prose th, .prose td { text-align: left; padding: 13px 14px; border-bottom: 1px solid var(--gray-border); }
.prose th { background: var(--gray-light); font-weight: 650; color: var(--navy-dark); }
.prose blockquote {
  margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--gold);
  color: var(--ink-soft); font-size: 1.04rem;
}
.table-wrap { overflow-x: auto; }

/* Badges --------------------------------------------------------------- */
.trust-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--gray-light); border: 1px solid var(--gray-border);
  border-radius: 999px; padding: 8px 15px; font-size: .84rem; font-weight: 550;
  color: var(--navy-dark);
}
.hero .badge, .section-navy .badge {
  background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.2); color: #DCE6F1;
}

/* Footer --------------------------------------------------------------- */
.site-footer { background: var(--navy-dark); color: #B9CBDD; padding: 72px 0 0; font-size: .93rem; }
.site-footer h4 { color: var(--white); font-size: .8rem; text-transform: uppercase; letter-spacing: .13em; margin-bottom: 16px; }
.site-footer a { color: #B9CBDD; }
.site-footer a:hover { color: var(--gold-soft); }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 44px; padding-bottom: 48px; }
.footer-logo img { height: 54px; width: auto; margin-bottom: 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer address { font-style: normal; margin-top: 16px; line-height: 2; }
.footer-social { margin-top: 18px; display: flex; gap: 14px; }
.footer-map iframe { width: 100%; height: 170px; border: 0; border-radius: var(--radius-sm); margin-top: 18px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12); padding: 22px 0 28px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: .85rem; color: #8FA6BC;
}
.footer-bottom a { color: #8FA6BC; }

/* ==========================================================================
   STICKY MOBILE ACTION BAR
   The primary conversion on a contractor site is a phone call. On mobile the
   phone number was previously hidden entirely below 1080px.
   ========================================================================== */
.actionbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
  display: none; background: var(--navy-dark);
  border-top: 1px solid rgba(255,255,255,.13);
  padding: 9px 10px calc(9px + env(safe-area-inset-bottom));
  transform: translateY(110%); transition: transform .34s var(--ease);
  box-shadow: 0 -8px 26px rgba(9,26,46,.30);
}
.actionbar.is-up { transform: translateY(0); }
.actionbar-inner { display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: 8px; }
.actionbar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px; padding: 9px 4px; border-radius: 10px;
  font-size: .74rem; font-weight: 650; letter-spacing: .02em;
  color: var(--white); background: rgba(255,255,255,.09);
  min-height: 50px;
}
.actionbar a.primary { background: var(--gold); color: var(--navy-dark); }
.actionbar svg { width: 19px; height: 19px; }

/* ==========================================================================
   SCROLL REVEAL
   .reveal does nothing until JS adds .js-reveal to <html>. No JS, no hiding.
   ========================================================================== */
.js-reveal .reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity .62s var(--ease), transform .62s var(--ease);
  will-change: opacity, transform;
}
.js-reveal .reveal.is-in { opacity: 1; transform: none; }
.js-reveal .reveal-d1 { transition-delay: .08s; }
.js-reveal .reveal-d2 { transition-delay: .16s; }
.js-reveal .reveal-d3 { transition-delay: .24s; }
.js-reveal .reveal-d4 { transition-delay: .32s; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1080px) {
  .header-phone { display: none; }
  .main-nav ul { gap: 20px; }
}

@media (max-width: 1000px) {
  .hero .container { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 76px 0 72px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 34px; }
  .step:nth-child(2)::after { display: none; }
  .area-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 34px; }
  .split.reverse .split-media { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 820px) {
  :root { --actionbar-h: 70px; }
  .actionbar { display: block; }

  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--gray-border);
    box-shadow: var(--shadow); padding: 8px 24px 18px;
    display: none;
  }
  .main-nav.is-open { display: block; animation: slideDown .26s var(--ease); }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav li { border-bottom: 1px solid var(--gray-border); }
  .main-nav li:last-child { border-bottom: 0; }
  .main-nav a { display: block; padding: 15px 0; font-size: 1.02rem; }
  .main-nav a::after { display: none; }
  .site-header .container { position: relative; }

  .topbar-note { display: none; }
  .section { padding: 66px 0; }
  .trust-strip .container { grid-template-columns: 1fr 1fr; gap: 26px; }
  .quote-card { padding: 24px 20px 22px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 18px; }
  .service-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .area-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step::after { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .choice-grid.cols-3 { grid-template-columns: 1fr 1fr; }
  .hero-cta-row .btn { flex: 1; }
  .cta-row .btn { width: 100%; }
}

/* ==========================================================================
   MOTION OFF
   Not a nicety. Vestibular disorders are real and this is one media query.
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .hero-media img { animation: none; transform: none; }
  .js-reveal .reveal { opacity: 1; transform: none; }
  .btn:hover, .service-card:hover, .area-card:hover { transform: none; }
}

/* Print ---------------------------------------------------------------- */
@media print {
  .topbar, .site-header, .actionbar, .cta-banner, .lightbox { display: none !important; }
  body { padding-bottom: 0; font-size: 11pt; }
  .hero { color: var(--ink); padding: 0 0 20px; }
  .hero::before, .hero-media { display: none; }
  .hero h1, .hero .lead { color: var(--ink); }
}
