/*
  Mahogany Garage Door Repair — site styles
  ------------------------------------------
  Tokens first; components below. No framework, no build step.
  Type: Manrope (variable). Headings 800, text 400–600.
  Colour roles:
    mahogany   brand, primary actions, links, card icons
    signal     phone, accents on dark backgrounds, safety
    steel      dark bands, hero overlay, footer
*/

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("../fonts/manrope-latin-wght.938c6e8019b6.woff2") format("woff2-variations"), url("../fonts/manrope-latin-wght.938c6e8019b6.woff2") format("woff2");
}

:root {
  --mahogany: #5a1e14;
  --mahogany-deep: #3f140d;
  --mahogany-tint: #f4ebe8;
  --signal: #f5b700;
  --signal-deep: #d99f00;
  --steel: #2e3a43;
  --steel-deep: #232c33;
  --steel-light: #5d6c77;
  --ink: #1c2226;
  --ink-soft: #46525a;
  --panel: #f6f7f6;
  --white: #ffffff;
  --rule: #d3d9dc;
  --ok: #1f6b3a;
  --error: #b42318;

  --font: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.5rem;
  --step-3: clamp(1.9rem, 2.6vw + 1rem, 3rem);
  --step-4: clamp(2.4rem, 4.6vw + 1rem, 4.6rem);

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 5rem;

  --measure: 40rem;
  --wide: 76rem;
  --radius: 8px;
  --radius-lg: 16px;
  --pill: 999px;
  --slant: 3.5vw;
  --sticky-bar-h: 0px;
  --shadow: 0 1px 2px rgba(28, 34, 38, 0.06), 0 8px 24px rgba(28, 34, 38, 0.06);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 6rem; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink);
  background: var(--panel);
  padding-bottom: var(--sticky-bar-h);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--mahogany); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0 0 var(--space-4);
  text-wrap: balance;
}
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); margin-top: var(--space-7); }
h3 { font-size: var(--step-1); font-weight: 750; letter-spacing: -0.015em; margin-top: var(--space-6); }
p, ul, ol { margin: 0 0 var(--space-4); }
p { text-wrap: pretty; }
li + li { margin-top: var(--space-2); }
strong { font-weight: 700; }

.wrap { width: min(100% - 2rem, var(--wide)); margin-inline: auto; }
.measure { max-width: var(--measure); }
.lede { font-size: var(--step-1); line-height: 1.55; color: var(--ink-soft); max-width: 38rem; }
.accent { color: var(--mahogany); }

/* Eyebrow: small caps label with a leading rule */
.eyebrow {
  display: flex; align-items: center; gap: var(--space-3);
  margin: 0 0 var(--space-4); font-size: 0.8rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mahogany);
}
.eyebrow::before { content: ""; width: 2rem; height: 2px; background: currentColor; flex: none; }
.section-head { max-width: 46rem; margin-bottom: var(--space-7); }
.section-head h2 { margin-top: 0; }
.section-head .section-intro { margin-bottom: 0; }
.text-link { display: inline-flex; align-items: center; gap: var(--space-2); font-weight: 700; text-decoration: none; }
.text-link svg { width: 1.1em; height: 1.1em; transition: transform .15s; }
.text-link:hover svg { transform: translateX(3px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: 3rem; padding: 0.7rem 1.4rem;
  font: inherit; font-weight: 700; font-size: var(--step-0); line-height: 1.1;
  border: 2px solid transparent; border-radius: var(--radius);
  text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn-pill { border-radius: var(--pill); min-height: 3.4rem; padding: 0.8rem 1.6rem; }
.btn-primary { background: var(--mahogany); color: var(--white); }
.btn-primary:hover { background: var(--mahogany-deep); }
.btn-call { background: var(--signal); color: var(--ink); }
.btn-call:hover { background: var(--signal-deep); }
.btn-ghost { background: transparent; color: var(--mahogany); border-color: currentColor; }
.btn-ghost:hover { background: var(--mahogany-tint); }
.btn-white { background: var(--white); color: var(--ink); }
.btn-white svg { color: var(--mahogany); }
.btn-white:hover { background: var(--signal); }
.btn-white:hover svg { color: var(--ink); }
.btn-outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.7); }
.btn-outline-light:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }
.btn[disabled], .btn[aria-busy="true"] { opacity: 0.7; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3); }

/* ---------- Announcement, top bar, header ---------- */
.announcement { background: var(--mahogany); color: var(--white); font-size: var(--step--1); text-align: center; padding: var(--space-2) var(--space-4); }
.announcement a { color: var(--white); }

.topbar { background: var(--steel-deep); color: #c9d0d4; font-size: 0.82rem; font-weight: 500; }
.topbar .wrap { display: flex; align-items: center; gap: var(--space-5); min-height: 2.5rem; }
.tb-item { display: inline-flex; align-items: center; gap: var(--space-2); color: inherit; text-decoration: none; white-space: nowrap; }
.tb-item svg { width: 0.95rem; height: 0.95rem; color: var(--signal); }
.tb-item .dot { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--signal); }
.tb-right { margin-left: auto; }
a.tb-item:hover { color: var(--white); }
.topbar .tb-right, .topbar .tb-hours { display: none; }
@media (min-width: 40rem) { .topbar .tb-hours { display: inline-flex; } }
@media (min-width: 64rem) { .topbar .tb-right { display: inline-flex; } }

.site-header { background: var(--white); border-bottom: 1px solid var(--rule); position: sticky; top: 0; z-index: 40; }
.site-header .wrap { display: flex; align-items: center; gap: var(--space-5); min-height: 4.75rem; }
.brand { display: flex; align-items: center; gap: var(--space-3); text-decoration: none; color: var(--ink); margin-right: auto; }
.brand-mark { width: 2.6rem; height: 2.6rem; flex: none; }
.brand-name { display: flex; flex-direction: column; line-height: 1; }
.brand-name strong { font-weight: 800; font-size: 1.3rem; color: var(--mahogany); letter-spacing: -0.02em; }
.brand-name span { font-size: 0.72rem; font-weight: 700; color: var(--ink-soft); margin-top: 0.3rem; letter-spacing: 0.08em; text-transform: uppercase; }

.primary-nav { display: none; }
.primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: var(--space-1); }
.primary-nav li + li { margin-top: 0; }
.primary-nav a, .primary-nav summary {
  display: block; padding: 0.5rem 0.75rem; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.98rem; border-radius: var(--pill); cursor: pointer;
}
.primary-nav a:hover, .primary-nav summary:hover { color: var(--mahogany); }
.primary-nav a[aria-current="page"] { color: var(--mahogany); background: var(--mahogany-tint); }
.primary-nav details { position: relative; }
.primary-nav summary { list-style: none; }
.primary-nav summary::-webkit-details-marker { display: none; }
.primary-nav summary::after { content: ""; display: inline-block; margin-left: 0.4rem; border: 0.3rem solid transparent; border-top-color: currentColor; transform: translateY(0.15rem); }
.primary-nav .submenu {
  position: absolute; top: calc(100% + 0.5rem); left: 0; min-width: 17rem; background: var(--white); border: 1px solid var(--rule);
  border-radius: var(--radius-lg); box-shadow: 0 16px 40px rgba(28, 34, 38, 0.16); padding: var(--space-2); display: block;
}
.primary-nav .submenu a { border-radius: var(--radius); }
.primary-nav .submenu a:hover { background: var(--mahogany-tint); }
.primary-nav .submenu li + li { margin-top: 0; }

.header-call { display: none; align-items: center; gap: var(--space-3); text-decoration: none; color: var(--ink); }
.call-circle { width: 2.9rem; height: 2.9rem; border-radius: 50%; background: var(--steel-deep); color: var(--signal); display: grid; place-items: center; flex: none; transition: background .15s; }
.call-circle svg { width: 1.25rem; height: 1.25rem; }
.header-call:hover .call-circle { background: var(--mahogany); }
.call-text { display: flex; flex-direction: column; line-height: 1.1; }
.call-text small { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); }
.call-text strong { font-size: 1.15rem; font-weight: 800; letter-spacing: -0.01em; }

.menu-toggle {
  display: inline-grid; place-items: center; background: none; border: 1px solid var(--rule); border-radius: 50%;
  width: 2.9rem; height: 2.9rem; padding: 0; color: var(--ink); cursor: pointer;
}
.menu-toggle svg { width: 1.35rem; height: 1.35rem; }
.mobile-nav { display: none; border-top: 1px solid var(--rule); background: var(--white); }
.mobile-nav.is-open { display: block; }
.mobile-nav ul { list-style: none; margin: 0; padding: var(--space-3) 0 var(--space-5); }
.mobile-nav li + li { margin-top: 0; }
.mobile-nav a { display: block; padding: 0.7rem 0; color: var(--ink); text-decoration: none; font-weight: 700; border-bottom: 1px solid var(--panel); }
.mobile-nav .sub a { padding-left: var(--space-4); font-weight: 500; }

@media (min-width: 40rem) { .header-call { display: flex; } }
@media (min-width: 64rem) {
  .primary-nav { display: block; }
  .menu-toggle, .mobile-nav, .mobile-nav.is-open { display: none; }
}

/* ---------- Photo hero (home) + dark page heads ---------- */
.hero, .page-head, .cta-photo {
  position: relative; isolation: isolate; overflow: hidden; color: var(--white);
  background: var(--steel-deep);
}
.hero-bg, .hero-bg img, .cta-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::before, .page-head.has-image::before, .cta-photo::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(35, 44, 51, 0.96) 0%, rgba(35, 44, 51, 0.86) 45%, rgba(35, 44, 51, 0.55) 100%);
}
.hero, .page-head { clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--slant)), 0 100%); }
.hero h1, .page-head h1, .cta-photo h2 { color: var(--white); }
.hero .accent, .page-head .accent, .cta-photo .accent { color: var(--signal); }
.hero .eyebrow, .page-head .eyebrow, .cta-photo .eyebrow { color: var(--signal); }
.hero .lede, .page-head .lede { color: #dfe4e6; }

.hero-inner { padding: var(--space-8) 0 calc(var(--space-8) + var(--slant)); }
.hero h1 { max-width: 16ch; margin-bottom: var(--space-5); }
.hero .lede { margin-bottom: var(--space-6); }
@media (min-width: 64rem) { .hero-inner { padding: 7.5rem 0 calc(7rem + var(--slant)); } }

.trust-strip {
  list-style: none; margin: var(--space-7) 0 0; padding: var(--space-4) var(--space-5);
  display: grid; gap: var(--space-4) var(--space-5); grid-template-columns: 1fr;
  border: 1px solid rgba(255,255,255,0.18); border-radius: var(--radius-lg); background: rgba(255,255,255,0.06);
  backdrop-filter: blur(6px); max-width: 64rem;
}
@media (min-width: 40rem) { .trust-strip { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .trust-strip { grid-template-columns: repeat(4, 1fr); padding: var(--space-5) var(--space-6); } }
.trust-strip li { margin: 0; display: flex; align-items: center; gap: var(--space-3); font-weight: 600; font-size: 0.95rem; line-height: 1.3; color: var(--white); }
.trust-strip svg { width: 2.4rem; height: 2.4rem; padding: 0.5rem; flex: none; border-radius: var(--radius); background: rgba(245, 183, 0, 0.14); color: var(--signal); }

.hero-hours { display: flex; align-items: center; gap: var(--space-2); margin: var(--space-4) 0 0; font-size: var(--step--1); color: #c5ccd0; }
.hero-hours svg { width: 1rem; height: 1rem; color: var(--signal); flex: none; }

/* Inner page heads */
.page-head-inner { padding: var(--space-5) 0 calc(var(--space-7) + var(--slant)); }
.page-head.has-image .page-head-inner { padding-bottom: calc(var(--space-8) + var(--slant)); }
.page-head h1 { max-width: 22ch; margin-top: var(--space-6); font-size: clamp(2.1rem, 3.6vw + 1rem, 3.75rem); }
.page-head .lede { margin-bottom: var(--space-5); }

.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; font-size: var(--step--1); color: var(--ink-soft); }
.breadcrumbs li { margin: 0; }
.breadcrumbs li + li::before { content: "/"; margin: 0 0.5rem; color: var(--rule); }
.breadcrumbs a { color: var(--ink-soft); }
.page-head .breadcrumbs ol { color: #aeb8be; }
.page-head .breadcrumbs a { color: #dfe4e6; }
.page-head .breadcrumbs li + li::before { color: #6c7a83; }

/* ---------- Content layout ---------- */
.content-grid { display: grid; gap: var(--space-7); padding: var(--space-6) 0 var(--space-8); }
@media (min-width: 64rem) { .content-grid.with-aside { grid-template-columns: minmax(0, 1fr) 21rem; } }
.prose { max-width: var(--measure); }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3rem; }

.aside-card { position: sticky; top: 6.5rem; background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius-lg); padding: var(--space-6) var(--space-5); box-shadow: var(--shadow); }
.aside-card h2 { font-size: var(--step-2); margin-top: 0; }
.aside-card .btn { width: 100%; border-radius: var(--pill); }
.aside-card .btn + .btn { margin-top: var(--space-3); }
.aside-card p { font-size: var(--step--1); color: var(--ink-soft); }
.aside-card .small { margin: var(--space-4) 0 0; }

.band { padding: var(--space-8) 0; }
.band-white { background: var(--white); }
.band-steel { background: var(--steel); color: var(--white); }
.band-steel h2, .band-steel h3 { color: var(--white); }
.band > .wrap > h2:first-child { margin-top: 0; }
.section-intro { max-width: var(--measure); color: var(--ink-soft); margin-bottom: var(--space-6); }

/* ---------- Service cards ---------- */
.service-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr)); }
.service-cards li { margin: 0; }
.service-card {
  position: relative; display: flex; flex-direction: column; height: 100%;
  padding: var(--space-6) var(--space-5) var(--space-5); border-radius: var(--radius-lg);
  background: var(--white); border: 1px solid var(--rule); color: var(--ink); text-decoration: none;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.band-white .service-card { background: var(--panel); }
.service-card:hover { border-color: var(--mahogany); box-shadow: 0 14px 34px rgba(90, 30, 20, 0.12); transform: translateY(-2px); }
.sc-icon { width: 3.5rem; height: 3.5rem; border-radius: 14px; background: var(--mahogany); color: var(--white); display: grid; place-items: center; margin-bottom: var(--space-5); }
.sc-icon svg { width: 1.75rem; height: 1.75rem; }
.service-card.is-emergency .sc-icon { background: var(--signal); color: var(--ink); }
.service-card h3 { margin: 0 0 var(--space-2); font-size: 1.3rem; }
.service-card p { margin: 0 0 var(--space-5); color: var(--ink-soft); font-size: 0.98rem; }
.sc-arrow { margin-top: auto; width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 1px solid var(--rule); display: grid; place-items: center; color: var(--mahogany); transition: background .15s, color .15s, border-color .15s; }
.sc-arrow svg { width: 1.1rem; height: 1.1rem; }
.service-card:hover .sc-arrow { background: var(--mahogany); border-color: var(--mahogany); color: var(--white); }

/* ---------- Photo CTA band ---------- */
.cta-photo { clip-path: polygon(0 var(--slant), 100% 0, 100% 100%, 0 100%); }
.cta-photo-inner { display: grid; gap: var(--space-6); align-items: center; padding: calc(var(--space-8) + var(--slant)) 0 var(--space-8); }
.cta-photo h2 { margin: 0; }
@media (min-width: 60rem) { .cta-photo-inner { grid-template-columns: 1.3fr auto; } }
/* ---------- Why / reasons ---------- */
.reasons { display: grid; gap: var(--space-6); }
@media (min-width: 48rem) { .reasons { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 72rem) { .reasons { grid-template-columns: repeat(4, 1fr); } }
.reasons h3 { margin-top: 0; padding-top: var(--space-4); border-top: 4px solid var(--signal); }
.band-steel .reasons p { color: #d5dbde; }

/* ---------- Areas ---------- */
.area-columns { display: grid; gap: var(--space-6); }
@media (min-width: 48rem) { .area-columns { grid-template-columns: 1.3fr 1fr; } }
.chip-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: var(--space-2); }
.chip-list li { margin: 0; }
.chip-list a, .chip-list span { display: inline-block; padding: 0.35rem 0.7rem; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--white); color: var(--ink); text-decoration: none; font-size: var(--step--1); font-weight: 600; }
.chip-list a:hover { border-color: var(--mahogany); color: var(--mahogany); }
.chip-list .base { border-color: var(--mahogany); color: var(--mahogany); }

/* ---------- Cards (projects / guides) ---------- */
.card-grid { display: grid; gap: var(--space-5); grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr)); list-style: none; padding: 0; margin: 0; }
.card-grid > li { margin: 0; }
.card { display: flex; flex-direction: column; height: 100%; background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; color: var(--ink); text-decoration: none; }
.card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.card-body { padding: var(--space-4) var(--space-5) var(--space-5); }
.card h3 { margin: 0 0 var(--space-2); font-size: var(--step-1); color: var(--mahogany); }
.card p { margin: 0; color: var(--ink-soft); font-size: var(--step--1); }
.card .meta { margin-bottom: var(--space-2); font-size: var(--step--1); color: var(--ink-soft); }
a.card:hover h3 { text-decoration: underline; }

/* ---------- Blocks ---------- */
.callout { border-left: 6px solid var(--steel-light); background: var(--white); padding: var(--space-4) var(--space-5); margin: var(--space-6) 0; border-radius: 0 var(--radius) var(--radius) 0; }
.callout h3 { margin: 0 0 var(--space-2); font-size: var(--step-1); }
.callout > :last-child { margin-bottom: 0; }
.callout-safety { border-left-color: var(--signal); background: #fff8e1; }
.callout-safety h3::before { content: "!"; display: inline-grid; place-items: center; width: 1.4rem; height: 1.4rem; margin-right: 0.5rem; background: var(--ink); color: var(--signal); font-size: 0.95rem; clip-path: polygon(50% 0, 100% 100%, 0 100%); padding-top: 0.25rem; vertical-align: -0.1em; }
.callout-tip { border-left-color: var(--mahogany); }

.steps { counter-reset: step; list-style: none; padding: 0; margin: var(--space-5) 0; }
.steps li { counter-increment: step; position: relative; padding-left: 3.25rem; margin: 0 0 var(--space-5); }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 2.25rem; height: 2.25rem; display: grid; place-items: center; background: var(--steel); color: var(--white); font-weight: 800; border-radius: var(--radius); }
.steps h3 { margin: 0 0 var(--space-1); font-size: var(--step-1); }
.steps p { margin: 0; }

.symptoms { width: 100%; border-collapse: collapse; margin: var(--space-5) 0; font-size: var(--step--1); background: var(--white); }
.symptoms th, .symptoms td { text-align: left; padding: var(--space-3); border-bottom: 1px solid var(--rule); vertical-align: top; }
.symptoms thead th { background: var(--steel); color: var(--white); font-weight: 700; }
.safe { display: inline-block; font-weight: 700; padding: 0.1rem 0.45rem; border-radius: var(--radius); white-space: nowrap; }
.safe-no { background: var(--ink); color: var(--signal); }
.safe-caution { background: #fff1c2; color: var(--ink); }
.safe-yes { background: #e3f1e7; color: var(--ok); }
@media (max-width: 40rem) {
  .symptoms thead { display: none; }
  .symptoms tr { display: block; border-bottom: 2px solid var(--rule); padding: var(--space-2) 0; }
  .symptoms td { display: block; border: 0; padding: var(--space-1) var(--space-3); }
  .symptoms td::before { content: attr(data-label) ": "; font-weight: 700; }
}

.table-scroll { overflow-x: auto; margin: var(--space-5) 0; }
.table-scroll table, .price-table { width: 100%; border-collapse: collapse; background: var(--white); font-size: var(--step--1); }
.table-scroll th, .table-scroll td, .price-table th, .price-table td { padding: var(--space-3); border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
.table-scroll thead th { background: var(--panel); }
.price-table td.price { font-weight: 800; white-space: nowrap; text-align: right; font-size: var(--step-0); }
.price-table .note { display: block; color: var(--ink-soft); font-size: 0.8rem; margin-top: 0.15rem; }
.price-footnote { font-size: var(--step--1); color: var(--ink-soft); }

.faq { margin: var(--space-6) 0; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq details:first-of-type { border-top: 1px solid var(--rule); }
.faq summary { cursor: pointer; list-style: none; padding: var(--space-4) 2.25rem var(--space-4) 0; position: relative; font-weight: 700; font-size: var(--step-1); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0.25rem; top: 50%; transform: translateY(-50%); font-size: 1.6rem; font-weight: 500; color: var(--mahogany); }
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding-bottom: var(--space-4); }

.figure { margin: var(--space-6) 0; }
.figure img { border-radius: var(--radius); }
.figure figcaption { font-size: var(--step--1); color: var(--ink-soft); margin-top: var(--space-2); }

.cta-band { background: var(--mahogany); color: var(--white); padding: var(--space-6); border-radius: var(--radius); margin: var(--space-7) 0; }
.cta-band h2 { color: var(--white); margin-top: 0; }
.cta-band p { color: #f1dfda; }
.cta-band .btn-ghost { color: var(--white); }

/* ---------- Request form ---------- */
.request-section { background: var(--white); border-top: 1px solid var(--rule); padding: var(--space-8) 0; }
.request-layout { display: grid; gap: var(--space-7); }
@media (min-width: 60rem) { .request-layout { grid-template-columns: 0.85fr 1.15fr; } }
.next-steps h2 { margin-top: 0; }
.next-steps ol { padding-left: 1.3rem; }
.next-steps .call-line { margin-top: var(--space-5); padding: var(--space-4); background: var(--panel); border-left: 6px solid var(--signal); }

.lead-form { background: var(--panel); border: 1px solid var(--rule); border-radius: var(--radius); padding: var(--space-5); }
@media (min-width: 40rem) { .lead-form { padding: var(--space-6); } }
.lead-form h2, .lead-form h3 { margin-top: 0; }
.field { margin-bottom: var(--space-4); }
.field label { display: block; font-weight: 700; margin-bottom: var(--space-1); }
.field .opt { font-weight: 400; color: var(--ink-soft); }
.field .req { color: var(--mahogany); font-weight: 400; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; /* ≥16px prevents iOS zoom */
  padding: 0.7rem 0.8rem; border: 2px solid #b5bec3; border-radius: var(--radius); background: var(--white); color: var(--ink);
}
.field textarea { min-height: 7.5rem; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--mahogany); outline: 3px solid rgba(90, 30, 20, 0.18); outline-offset: 0; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--error); }
.field-row { display: grid; gap: 0 var(--space-4); }
@media (min-width: 40rem) { .field-row { grid-template-columns: 1fr 1fr; } }
.field-error { color: var(--error); font-size: var(--step--1); font-weight: 600; margin-top: var(--space-1); }
.field-error:empty { display: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-bottom: var(--space-4); padding: var(--space-4); border-radius: var(--radius); }
.form-status:empty { display: none; }
.form-status.is-error { background: #fdecea; color: var(--error); border: 1px solid #f3b8b2; }
.form-privacy { font-size: 0.85rem; color: var(--ink-soft); margin: var(--space-4) 0 0; }
.lead-form .btn-primary { width: 100%; }
@media (min-width: 40rem) { .lead-form .btn-primary { width: auto; } }
.spinner { width: 1.1rem; height: 1.1rem; border: 3px solid rgba(255,255,255,0.4); border-top-color: var(--white); border-radius: 50%; animation: spin 0.8s linear infinite; display: none; }
.btn[aria-busy="true"] .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation-duration: 2s; } }
.form-success { background: var(--white); border: 1px solid var(--rule); border-top: 6px solid var(--ok); border-radius: var(--radius); padding: var(--space-6); }
.form-success h2, .form-success h3 { margin-top: 0; }
.turnstile { margin-bottom: var(--space-4); min-height: 0; }

/* ---------- Reviews ---------- */
.review-summary { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-3); margin-bottom: var(--space-5); }
.review-summary .rating { font-size: var(--step-3); font-weight: 850; }
.stars { color: var(--signal-deep); letter-spacing: 0.1em; }
.review { background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); padding: var(--space-5); margin: 0; }
.review blockquote { margin: var(--space-3) 0; }
.review footer { font-size: var(--step--1); color: var(--ink-soft); }
.google-attribution { font-size: var(--step--1); color: var(--ink-soft); }

/* ---------- Footer ---------- */
.site-footer { background: var(--steel-deep); color: #c9d0d4; padding: var(--space-8) 0 var(--space-6); font-size: 0.95rem; }
.cta-photo + .request-section { border-top: 0; }
.site-footer a { color: #e6eaec; text-decoration: none; }
.site-footer a:hover { color: var(--signal); }
.footer-grid { display: grid; gap: var(--space-7) var(--space-6); }
@media (min-width: 48rem) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.5fr; } }
.brand-light strong { color: var(--white); }
.brand-light span { color: #aeb8be; }
.footer-tag { margin: var(--space-5) 0 var(--space-4); max-width: 22rem; }
.footer-note { display: inline-flex; align-items: center; gap: var(--space-2); padding: 0.45rem 0.9rem; border: 1px solid #3b4851; border-radius: var(--pill); font-weight: 600; color: var(--white); font-size: 0.85rem; }
.footer-note svg { width: 1rem; height: 1rem; color: var(--signal); }
.site-footer h2 { color: var(--white); font-size: 0.8rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; margin: 0 0 var(--space-5); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li + li { margin-top: var(--space-3); }
.footer-contact li { display: flex; gap: var(--space-3); align-items: flex-start; }
.footer-contact a { display: inline-flex; gap: var(--space-3); align-items: flex-start; word-break: break-word; }
.footer-contact svg { width: 1.1rem; height: 1.1rem; color: var(--signal); flex: none; margin-top: 0.2rem; }
.footer-legal { border-top: 1px solid #3b4851; margin-top: var(--space-7); padding-top: var(--space-5); display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-5); justify-content: space-between; font-size: 0.85rem; }
.footer-legal span:last-child { display: flex; gap: var(--space-5); }

/* ---------- Mobile bottom bar ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: grid; grid-template-columns: 1.2fr 1fr;
  padding-bottom: env(safe-area-inset-bottom);
  background: var(--steel-deep); box-shadow: 0 -6px 18px rgba(28, 34, 38, 0.18);
}
.sticky-cta .tab { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.2rem; min-height: 3.9rem; text-decoration: none; font-weight: 800; font-size: 0.9rem; }
.sticky-cta .tab svg { width: 1.35rem; height: 1.35rem; }
.tab-call { background: var(--signal); color: var(--ink); }
.tab-request { background: var(--mahogany); color: var(--white); }
body { --sticky-bar-h: calc(3.9rem + env(safe-area-inset-bottom)); }
@media (min-width: 64rem) {
  .sticky-cta { display: none; }
  body { --sticky-bar-h: 0px; }
}

/* ---------- Misc ---------- */
.skip-link { position: absolute; left: var(--space-4); top: -5rem; background: var(--ink); color: var(--white); padding: var(--space-3) var(--space-4); z-index: 100; }
.skip-link:focus { top: var(--space-4); }
.notice-404 { padding: var(--space-8) 0; }
.filter-bar { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-6); }
.filter-bar a { padding: 0.4rem 0.8rem; border: 1px solid var(--rule); border-radius: var(--radius); text-decoration: none; color: var(--ink); background: var(--white); font-weight: 600; font-size: var(--step--1); }
.filter-bar a[aria-current="true"] { background: var(--mahogany); border-color: var(--mahogany); color: var(--white); }
.contact-list { list-style: none; padding: 0; margin: 0 0 var(--space-5); }
.contact-list li { display: grid; grid-template-columns: 7rem 1fr; gap: var(--space-3); padding: var(--space-3) 0; border-bottom: 1px solid var(--rule); margin: 0; }
.contact-list dt, .contact-list .k { font-weight: 700; }
.gallery { display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); margin: var(--space-6) 0; }
.gallery figure { margin: 0; }
.gallery figcaption { font-size: var(--step--1); color: var(--ink-soft); margin-top: var(--space-1); }
.stage-tag { font-weight: 700; color: var(--ink); }

/* ---------- Technical diagrams ---------- */
.diagram { background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); padding: var(--space-4); }
.diagram-svg { width: 100%; height: auto; }

/* ---------- Photo gallery ---------- */
.photo-gallery { margin: var(--space-7) 0; }
.photo-gallery .gallery img { border-radius: var(--radius); width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.home-body { padding-top: var(--space-6); }
.home-body > .prose, .home-body > * { max-width: 100%; }
@media (min-width: 64rem) { .photo-gallery .gallery { grid-template-columns: repeat(3, 1fr); } }

/* Community lists on service-area pages: compact columns */
.area-page .prose p + ul { columns: 3 11rem; column-gap: var(--space-5); padding-left: 1.1rem; }
.area-page .prose p + ul li { break-inside: avoid; margin-top: 0; margin-bottom: var(--space-1); }

/* Redesign touches */
.band-white + .cta-photo, .band + .cta-photo { margin-top: calc(-1 * var(--slant)); }
.lead-form { border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow); }
.lead-form .btn-primary { border-radius: var(--pill); min-height: 3.4rem; padding-inline: 2rem; }
.field input, .field textarea { border-radius: var(--radius); border-width: 1px; }
.request-section { background: var(--panel); border-top: 0; }
.next-steps .call-line { border-radius: 0 var(--radius) var(--radius) 0; background: var(--white); }
.chip-list a, .chip-list span { border-radius: var(--pill); padding: 0.4rem 0.9rem; }
.callout { border-radius: 0 var(--radius-lg) var(--radius-lg) 0; }
@media (max-width: 40rem) {
  .hero-inner { padding: var(--space-6) 0 calc(var(--space-7) + var(--slant)); }
  .hero .eyebrow { font-size: 0.72rem; }
  .hero .lede { font-size: 1.1rem; }
  .section-head { margin-bottom: var(--space-6); }
}

/* Service cards with photos */
.service-card .sc-body { display: flex; flex-direction: column; flex: 1; }
.service-card.has-photo { padding: 0; overflow: hidden; }
.service-card.has-photo .sc-body { padding: var(--space-5) var(--space-5) var(--space-5); }
.sc-photo { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--steel-deep); }
.sc-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.service-card:hover .sc-photo img { transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) { .sc-photo img { transition: none; } }
