/* Arizona Valley Roofing. Colors and font match the existing azvalleyroof.com (Nov 3, 2026):
   burnt orange #ad5223 from the logo for every action, navy #162345 for dark bands, #001446 headings,
   light gray #f5f5f5 bands, Barlow type. Job photos behind the heroes with a navy wash.
   Layout and class names follow the Desert Renovations site so the agents work the same way on both. */
:root {
  --paper: #f5f5f5;      /* light gray bands, as on the old site */
  --white: #ffffff;      /* panels and cards */
  --ink: #0a0a0a;        /* body text */
  --heading: #001446;    /* headings on light backgrounds */
  --steel: #55595f;      /* secondary text */
  --rule: #e2e2e2;       /* hairlines */
  --tile: #ad5223;       /* burnt orange from the logo, every action */
  --tile-deep: #8c4119;  /* hover */
  --sun: #f7be00;        /* small accents only (old site gold) */
  --night: #162345;      /* heroes, footer (old site navy) */
  --night-2: #1f2f58;
  --night-text: #eef0f5;
  --night-muted: #aab3c7;

  --display: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --brand: "Barlow Condensed", "Barlow", "Arial Narrow", sans-serif;
  --body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.6rem;
  --step-3: clamp(1.9rem, 1.3rem + 2.4vw, 2.6rem);
  --step-4: clamp(2.4rem, 1.4rem + 4.4vw, 4.1rem);

  --wrap: 1180px;
  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: var(--step-0); line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
video { max-width: 100%; height: auto; display: block; background: #000; border-radius: 6px; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; color: var(--heading); line-height: 1.08; margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
.hero h1, .hero h2, .page-hero h1, .page-hero h2, .dark h2, .dark h3, .site-foot h2, .price-box p { color: #fff; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--tile); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.band { padding-block: clamp(56px, 8vw, 104px); }
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 16px; top: 16px; z-index: 20; background: var(--white); padding: 10px 14px; }

/* Barrel tile pattern, drawn in CSS */
.tiles {
  background-color: var(--night);
  background-image:
    radial-gradient(circle at 50% 0, transparent 13px, rgba(247, 190, 0, 0.05) 14px, rgba(247, 190, 0, 0.05) 15px, transparent 16px),
    radial-gradient(circle at 50% 0, transparent 13px, rgba(173, 82, 35, 0.14) 14px, rgba(173, 82, 35, 0.14) 15px, transparent 16px);
  background-size: 32px 22px, 32px 22px;
  background-position: 0 0, 16px 11px;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 24px; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--display); font-weight: 700; font-size: 1.02rem; text-decoration: none;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn-tile { background: var(--tile); color: #fff; }
.btn-tile:hover { background: var(--tile-deep); }
.btn-line { border-color: var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--white); }
.btn-line-light { border-color: var(--night-text); color: var(--night-text); }
.btn-line-light:hover { background: var(--night-text); color: var(--night); }

/* Header */
.site-head { position: sticky; top: 0; z-index: 5; background: var(--white); border-bottom: 1px solid var(--rule); }
.site-head .wrap { display: flex; align-items: center; gap: 20px; min-height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand-mark { flex: none; width: 72px; height: auto; }
.brand-name { display: grid; font-family: var(--brand); font-weight: 700; font-size: 1.02rem; letter-spacing: 0.04em; text-transform: uppercase; line-height: 1; color: var(--ink); }
.brand-name b { font-size: 1.42rem; letter-spacing: 0.05em; font-weight: 700; }
.head-nav { display: none; gap: 22px; }
.head-nav a { text-decoration: none; font-weight: 600; font-size: 0.98rem; }
.head-nav a:hover { color: var(--tile); }
.head-actions { display: flex; align-items: center; gap: 16px; }
.head-phone { font-weight: 700; font-size: 1.08rem; text-decoration: none; white-space: nowrap; }
.head-phone:hover { color: var(--tile); }
.head-actions .btn { min-height: 44px; padding: 0 18px; }
@media (min-width: 1140px) { .head-nav { display: flex; } }
@media (max-width: 680px) { .head-actions .btn { display: none; } .head-phone { font-size: 1rem; } }

/* Mobile call bar */
.call-bar {
  position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom, 0px)); z-index: 6;
  display: block; text-align: center; padding: 14px; border-radius: 999px; text-decoration: none;
  background: var(--tile); color: #fff; font-weight: 800; box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
}
body { padding-bottom: 80px; }
@media (min-width: 900px) { .call-bar { display: none; } body { padding-bottom: 0; } }

/* Home hero: copy left, roof check card right */
.hero { position: relative; color: #fff; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 6px; background: linear-gradient(90deg, var(--tile), var(--sun)); }
.hero .wrap {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px);
  grid-template-areas: "copy card" "more card"; grid-template-rows: auto 1fr;
  column-gap: clamp(32px, 6vw, 88px); row-gap: 26px; align-content: start; align-items: start;
  padding-block: clamp(52px, 7vw, 92px) clamp(44px, 5vw, 68px);
}
.hero-copy { grid-area: copy; min-width: 0; }
.hero-more { grid-area: more; display: grid; gap: 10px; align-content: start; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sun); }
.kicker::before { content: ""; width: 22px; height: 3px; border-radius: 2px; background: var(--sun); }
.hero h1 { margin-top: 16px; font-size: var(--step-4); font-weight: 800; line-height: 1; max-width: 14ch; }
.hero-sub { margin-top: 20px; font-size: var(--step-1); color: #dfe3e8; max-width: 38ch; line-height: 1.5; }
.creds { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-weight: 600; font-size: 0.95rem; }
.creds li { display: flex; align-items: center; gap: 8px; }
.creds li::before {
  content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%;
  background: var(--tile) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-6.5' fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.hero-call { font-size: var(--step--1); color: var(--night-muted); }
.hero-call a { color: #fff; font-weight: 700; }
.hero-cta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-template-areas: "copy" "card" "more"; padding-block: 40px 44px; }
  .hero h1 { font-size: clamp(2.2rem, 1.2rem + 4.6vw, 3.3rem); }
  .estimate { max-width: 540px; width: 100%; }
}

/* Roof check card (same structure as DR's estimate) */
.estimate { grid-area: card; min-width: 0; scroll-margin-top: 92px; }
.est { color: var(--ink); background: var(--white); border-radius: 14px; padding: clamp(20px, 2.4vw, 28px); box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.6), 0 2px 6px rgba(0, 0, 0, 0.16); border-top: 5px solid var(--tile); }
.est svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.est-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 32px; }
.est-eyebrow { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--steel); }
.est-eyebrow::before { content: ""; width: 18px; height: 3px; border-radius: 2px; background: var(--tile); }
.est-back { display: inline-flex; align-items: center; gap: 2px; min-height: 32px; padding: 0 8px 0 0; margin-left: -4px; border: 0; background: none; color: var(--ink); font: 600 0.92rem var(--body); cursor: pointer; }
.est-back svg { width: 20px; height: 20px; stroke-width: 2.5; }
.est-back:hover { color: var(--tile); }
.est-eyebrow[hidden], .est-back[hidden] { display: none; }
.est-count { margin-left: auto; font-size: 0.82rem; font-weight: 600; color: var(--steel); white-space: nowrap; font-variant-numeric: tabular-nums; }
.est-count b { color: var(--ink); }
.est-bar { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; margin: 12px 0 22px; }
.est-bar span { height: 4px; border-radius: 2px; background: var(--rule); transition: background-color 0.3s ease; }
.est-bar span.is-on { background: var(--tile); }
.est-q { font-size: clamp(1.55rem, 1.2rem + 1vw, 1.95rem); font-weight: 800; line-height: 1.05; outline: none; }
.est-lede { margin-top: 8px; color: var(--steel); font-size: 0.98rem; line-height: 1.5; }
.est-lede a { color: var(--ink); font-weight: 700; }
.est-lede[hidden] { display: none; }
.est-note { margin-top: 14px; font-size: 0.85rem; color: var(--steel); }
.est-opts { display: grid; gap: 10px; margin-top: 18px; }
.est-opt {
  display: grid; grid-template-columns: 42px minmax(0, 1fr) 16px; align-items: center; gap: 14px;
  width: 100%; min-height: 62px; padding: 10px 16px 10px 10px; text-align: left; cursor: pointer;
  background: var(--white); color: var(--ink); border: 1.5px solid var(--rule); border-radius: 10px;
  font-family: var(--display); font-weight: 700; font-size: 1.1rem; line-height: 1.15;
  transition: border-color 0.15s ease, background-color 0.15s ease, transform 0.12s ease;
}
.est-plain { grid-template-columns: minmax(0, 1fr) 16px; min-height: 58px; padding-left: 18px; }
.est-ico { width: 42px; height: 42px; border-radius: 8px; display: grid; place-items: center; background: var(--paper); color: var(--tile); transition: background-color 0.15s ease, color 0.15s ease; }
.est-ico svg { width: 23px; height: 23px; stroke-width: 1.9; }
.est-go { width: 9px; height: 9px; justify-self: center; border-top: 2.5px solid var(--steel); border-right: 2.5px solid var(--steel); transform: translateX(-2px) rotate(45deg); transition: transform 0.15s ease, border-color 0.15s ease; }
@media (hover: hover) {
  .est-opt:hover { border-color: var(--ink); }
  .est-opt:hover .est-ico { background: var(--tile); color: #fff; }
  .est-opt:hover .est-go { border-color: var(--tile); transform: translateX(1px) rotate(45deg); }
}
.est-opt:active { transform: scale(0.985); }
.est-opt.is-picked { border-color: var(--tile); background: #fbf1ec; }
.est-opt.is-picked .est-ico { background: var(--tile); color: #fff; }
.est-opt.is-picked .est-go { border-color: var(--tile); }
.est-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.est-field { display: grid; gap: 5px; min-width: 0; }
.est-field[hidden] { display: none; }
.est-wide { grid-column: 1 / -1; }
.est-field label { font-size: 0.82rem; font-weight: 600; }
.est-field input { width: 100%; min-height: 50px; padding: 0 14px; border: 1.5px solid var(--rule); border-radius: 8px; background: var(--white); color: var(--ink); font: 400 1rem var(--body); transition: border-color 0.15s ease, box-shadow 0.15s ease; }
.est-field input:focus { outline: none; border-color: var(--tile); box-shadow: 0 0 0 4px rgba(173, 82, 35, 0.16); }
.est-field input:user-invalid { border-color: var(--tile); }
.est-meta { position: absolute; left: -9999px; top: 0; width: 1px; height: 1px; overflow: hidden; }
.est-consent { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; margin-top: 14px; padding: 12px; background: var(--paper); border-radius: 8px; cursor: pointer; font-size: 0.74rem; line-height: 1.45; color: var(--steel); }
.est-consent input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--tile); }
.est-consent a { color: var(--ink); font-weight: 600; }
.est-cta { width: 100%; min-height: 56px; margin-top: 16px; font-size: 1.12rem; }
.est-cta svg { width: 20px; height: 20px; stroke-width: 2.5; }
.est-cta[hidden] { display: none; }
.est-done { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 16px; background: var(--tile); color: #fff; }
.est-done svg { width: 26px; height: 26px; stroke-width: 3; }
@keyframes est-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.est.is-live .est-pane:not([hidden]) { animation: est-in 0.32s cubic-bezier(0.23, 1, 0.32, 1) both; }
@media (prefers-reduced-motion: reduce) { .est.is-live .est-pane:not([hidden]) { animation: none; } .est-opt, .est-ico, .est-go, .est-bar span { transition: none; } }
@media (max-width: 359px) { .est-fields { grid-template-columns: minmax(0, 1fr); } }

/* Section heads */
.section-head { display: grid; gap: 12px; margin-bottom: clamp(28px, 4vw, 44px); max-width: 62ch; }
.section-head h2 { font-size: var(--step-3); font-weight: 800; }
.section-head p { color: var(--steel); }

/* Services list */
.service-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.service-list a { display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 24px; text-decoration: none; background: var(--white); border: 1px solid var(--rule); border-radius: 12px; border-top: 4px solid var(--tile); transition: border-color .15s ease, transform .15s ease; }
.service-list h3, .service-list h2 { font-size: var(--step-1); font-weight: 800; }
.service-list p { color: var(--steel); flex: 1; }
.service-list .more { font-size: var(--step--1); font-weight: 700; color: var(--tile); }
.service-list .more::after { content: " \2192"; }
.service-list a:hover { border-color: var(--ink); border-top-color: var(--tile); }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 3vw, 36px); counter-reset: s; }
.steps li { counter-increment: s; border-top: 3px solid var(--tile); padding-top: 18px; }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font-weight: 800; font-size: 0.9rem; color: var(--tile); letter-spacing: 0.08em; margin-bottom: 8px; }
.steps h3 { font-size: var(--step-1); font-weight: 800; }
.steps p { margin-top: 8px; color: var(--steel); }
@media (max-width: 760px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* Dark story band */
.dark { color: var(--night-text); }
.dark h2 { color: #fff; }
.dark .section-head p, .dark p { color: var(--night-muted); }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 80px); align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: minmax(0, 1fr); } }
.signs { list-style: none; margin: 0; padding: 0; }
.signs li { padding: 14px 0 14px 34px; border-top: 1px solid #2f3e50; position: relative; color: var(--night-text); }
.signs li::before { content: ""; position: absolute; left: 0; top: 18px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--sun); }
.dark .signs li { color: var(--night-text); }

/* Area */
.area { background: var(--white); border-block: 1px solid var(--rule); }
.area .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(24px, 5vw, 64px); }
.cities { list-style: none; margin: 0; padding: 0; columns: 3 9rem; column-gap: 24px; }
.cities li { padding: 8px 0; border-bottom: 1px solid var(--rule); break-inside: avoid; font-weight: 600; }
.cities a { color: var(--tile-deep); }
@media (max-width: 760px) { .area .wrap { grid-template-columns: minmax(0, 1fr); } }

/* FAQ */
.faq-list { border-top: 2px solid var(--ink); max-width: 820px; }
.faq-list details { border-bottom: 1px solid var(--rule); }
.faq-list summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font-weight: 700; font-size: var(--step-1); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 2.5px solid var(--tile); border-bottom: 2.5px solid var(--tile); transform: rotate(45deg); transition: transform .15s ease; }
.faq-list details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq-list details p { padding: 0 0 22px; color: var(--steel); max-width: 64ch; }
.faq-list details p a { color: var(--tile-deep); font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .btn, .faq-list summary::after { transition: none; } }

/* Closing CTA */
.closing { background: var(--white); border-top: 1px solid var(--rule); }
.closing .wrap { display: grid; grid-template-columns: minmax(0, 1.3fr) auto; gap: 20px 40px; align-items: end; }
.closing h2 { font-size: var(--step-3); font-weight: 800; max-width: 22ch; }
.closing p { margin-top: 12px; color: var(--steel); max-width: 52ch; }
.closing .hero-cta { margin-top: 0; }
@media (max-width: 860px) { .closing .wrap { grid-template-columns: minmax(0, 1fr); } }

/* Footer */
.site-foot { background: var(--night); color: var(--night-muted); font-size: var(--step--1); padding-block: 52px 40px; }
.site-foot .wrap { display: grid; grid-template-columns: 1.3fr repeat(3, minmax(0, 1fr)); gap: 28px; }
.foot-name { font-size: 1.15rem; font-weight: 800; color: #fff; margin-bottom: 10px; }
.foot-id p + p { margin-top: 12px; }
.site-foot h2 { font-size: 1rem; color: #fff; font-weight: 700; margin-bottom: 10px; }
.site-foot a { color: var(--night-text); }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.pref-source { margin-top: 16px; }
.site-foot .legal { grid-column: 1 / -1; border-top: 1px solid #2f3e50; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 8px 24px; }
@media (max-width: 860px) { .site-foot .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .site-foot .wrap { grid-template-columns: minmax(0, 1fr); } }

/* Inner pages */
.page-hero { color: #fff; padding-block: clamp(40px, 6vw, 76px); position: relative; }
.page-hero::after { content: ""; position: absolute; inset: auto 0 0; height: 5px; background: linear-gradient(90deg, var(--tile), var(--sun)); }
.page-hero { background-color: var(--night); background-image: radial-gradient(circle at 50% 0, transparent 13px, rgba(247, 190, 0, 0.05) 14px, rgba(247, 190, 0, 0.05) 15px, transparent 16px), radial-gradient(circle at 50% 0, transparent 13px, rgba(173, 82, 35, 0.14) 14px, rgba(173, 82, 35, 0.14) 15px, transparent 16px); background-size: 32px 22px, 32px 22px; background-position: 0 0, 16px 11px; }
.page-hero h1 { font-size: var(--step-4); font-weight: 800; line-height: 1; max-width: 18ch; margin-top: 14px; }
.page-sub { margin-top: 18px; font-size: var(--step-1); color: #dfe3e8; max-width: 48ch; line-height: 1.5; }
.page-hero .hero-cta { margin-top: 28px; }
.page-hero .creds { color: #fff; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: var(--step--1); color: var(--night-muted); }
.crumbs li + li::before { content: "/"; margin: 0 8px; color: #5d6976; }
.crumbs a { color: var(--night-text); text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }

.split { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } }
.page-hero + .band { background: var(--white); border-bottom: 1px solid var(--rule); }

.prose { max-width: 68ch; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: var(--step-2); font-weight: 800; margin-top: 1.6em; }
.prose h3 { font-size: var(--step-1); font-weight: 700; margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: 0.35em; }
.prose a { color: var(--tile-deep); font-weight: 600; text-underline-offset: 3px; }
.prose img, .prose figure { margin-block: 1.6em; }
.prose figure { margin-inline: 0; }
.prose figcaption, figure.video figcaption { margin-top: 8px; font-size: var(--step--1); color: var(--steel); }
.prose .lede { font-size: var(--step-1); color: var(--ink); }
.answer { background: var(--paper); border-left: 4px solid var(--tile); border-radius: 0 10px 10px 0; padding: 16px 18px; font-size: 1.12rem; }

.side-card { background: var(--white); border: 1px solid var(--rule); border-top: 5px solid var(--tile); border-radius: 12px; padding: clamp(20px, 3vw, 28px); position: sticky; top: 92px; }
.side-card h2 { font-size: var(--step-1); font-weight: 800; }
.side-card .btn { width: 100%; margin-top: 18px; }
.side-note { margin-top: 18px; color: var(--steel); font-size: 0.98rem; }
.side-call { margin-top: 12px; font-size: var(--step--1); color: var(--steel); }
.side-call a { color: var(--ink); font-weight: 600; }
.checklist { list-style: none; margin: 16px 0 0; padding: 0; }
.checklist li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; padding: 9px 0; border-top: 1px solid var(--rule); }
.checklist li::before { content: ""; width: 18px; height: 18px; margin-top: 4px; border-radius: 50%; background: var(--tile) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-6.5' fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }

.price-box { background: var(--night); color: #fff; border-radius: 12px; padding: 20px 22px; }
.price-label { font-weight: 600; color: var(--night-muted); }
.price-range { font-size: var(--step-3); font-weight: 800; margin-top: 4px; }
.price-note { margin-top: 8px; font-size: var(--step--1); color: var(--night-muted); }

/* Cards */
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: clamp(16px, 2.4vw, 28px); }
.card a { display: flex; flex-direction: column; height: 100%; background: var(--white); border: 1px solid var(--rule); border-radius: 12px; overflow: hidden; text-decoration: none; transition: border-color .15s ease; }
.card a:hover { border-color: var(--ink); }
.card a:hover h3 { color: var(--tile); }
.card-img img, .card-img .photo-slot { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; border: 0; }
.card-body { padding: 18px 20px 22px; }
.card-meta { font-size: var(--step--1); font-weight: 600; color: var(--steel); }
.card h3 { font-size: var(--step-1); font-weight: 800; margin-top: 6px; }
.card-body p:last-child { margin-top: 8px; color: var(--steel); font-size: 0.98rem; }
.photo-slot { aspect-ratio: 4 / 3; width: 100%; display: flex; align-items: flex-end; padding: 14px; color: var(--night-muted); font-size: var(--step--1); background-color: var(--night-2); background-image: radial-gradient(circle at 50% 0, transparent 13px, rgba(173, 82, 35, 0.28) 14px, rgba(173, 82, 35, 0.28) 15px, transparent 16px); background-size: 32px 22px; }
.recent { background: var(--paper); }
.empty { color: var(--steel); font-size: var(--step-1); }

.page-photo { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; }
.post-meta { margin-top: 14px; color: var(--night-muted); font-size: var(--step--1); }
.facts { margin: 16px 0 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 16px; font-size: var(--step--1); }
.facts dt { color: var(--steel); }
.facts dd { margin: 0; font-weight: 600; }
.gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; }
.gallery figcaption { margin-top: 6px; font-size: var(--step--1); color: var(--steel); }
.prose .gallery { padding-left: 0; }
.prose .gallery li + li { margin-top: 0; }
figure.video { margin: 1.6em 0; max-width: 420px; }
figure.video.wide { max-width: none; }
.legal-text { max-width: 72ch; }
.legal-text h2 { font-size: var(--step-1); font-weight: 700; margin-top: 1.8em; }
.legal-text p, .legal-text ul { margin-top: 0.8em; }
.legal-text ul { padding-left: 1.2em; }
.recent + .faq, .recent + .recent, .faq + .recent, .faq + .closing, .recent + .closing { padding-top: 0; }

/* Service areas page */
.grid-areas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 4vw, 48px); }
.grid-areas h2 { font-size: var(--step-1); font-weight: 800; margin-bottom: 12px; }
.grid-areas .cities { columns: 1; }
.area-note { margin-top: 32px; color: var(--steel); }
.area-note a { color: var(--ink); font-weight: 700; }
@media (max-width: 760px) { .grid-areas { grid-template-columns: minmax(0, 1fr); } }

/* Photo heroes: a job photo behind the copy with a navy wash so text stays readable */
.has-photo { position: relative; isolation: isolate; overflow: hidden; }
.hero-photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.has-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(12, 16, 24, 0.86) 0%, rgba(12, 16, 24, 0.58) 40%, rgba(12, 16, 24, 0) 76%), linear-gradient(to top, rgba(12, 16, 24, 0.45) 0%, rgba(12, 16, 24, 0) 40%); }
.page-hero.has-photo { background-image: none; padding-block: clamp(64px, 9vw, 124px); }
@media (max-width: 900px) { .has-photo::before { background: linear-gradient(180deg, rgba(12, 16, 24, 0.7) 0%, rgba(12, 16, 24, 0.55) 45%, rgba(12, 16, 24, 0.2) 100%); } }
.photo-row { list-style: none; margin: 1.6em 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.photo-row img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; margin: 0; }
.photo-row .tall img { aspect-ratio: 3 / 4; }
.prose .photo-row { padding-left: 0; }
.prose .photo-row li + li { margin-top: 0; }
.prose figure img { border-radius: 8px; }
.est h2, .est .est-q { color: var(--heading); }
.brand-name { white-space: nowrap; }
@media (max-width: 480px) { .brand-mark { width: 54px; } .brand-name { font-size: 0.86rem; } .brand-name b { font-size: 1.2rem; } .head-phone { font-size: 0.95rem; } }

/* Hero: no color wash, the photo shows through like the Restoration X site */
.hero.has-photo { background: #101722; }
.hero.has-photo::after { display: none; }
.hero h1, .hero-sub, .kicker, .hero-fine { text-shadow: 0 1px 14px rgba(0, 0, 0, 0.35); }
.hero-fine { margin-top: 18px; font-size: var(--step--1); color: #e6e9ee; font-weight: 600; }
.page-hero.has-photo::after { display: none; }

/* Trust strip under the hero, scrolls slowly */
.trust-strip { background: var(--white); border-bottom: 1px solid var(--rule); overflow: hidden; }
.trust-track { display: flex; width: max-content; animation: trust 46s linear infinite; }
.trust-strip:hover .trust-track { animation-play-state: paused; }
.trust-list { list-style: none; margin: 0; padding: 0; display: flex; }
.trust-list li { display: flex; align-items: center; gap: 12px; padding: 20px 34px; white-space: nowrap; font-size: 0.86rem; color: var(--steel); border-right: 1px solid var(--rule); }
.trust-list b { display: block; color: var(--heading); font-size: 1rem; }
.trust-list svg { width: 28px; height: 28px; fill: none; stroke: var(--tile); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.trust-list li:first-child b { color: var(--sun); letter-spacing: 0.05em; }
.t-big { font-size: 2rem; font-weight: 800; color: var(--heading); line-height: 1; }
@keyframes trust { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .trust-track { animation: none; } .trust-list[aria-hidden] { display: none; } .trust-strip { overflow-x: auto; } }

/* Photos inside bands */
.band-photo { margin: 0 0 20px; }
.band-photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 12px; }
.checklist.light li { border-top-color: #2f3e60; color: var(--night-text); }
.storm .btn { margin-top: 24px; }
.storm h2 { font-size: var(--step-3); font-weight: 800; }
.storm p { margin-top: 14px; max-width: 52ch; }

/* Tear off to finished */
.transform { background: var(--paper); }
.tf-top { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: center; margin-bottom: clamp(28px, 4vw, 44px); }
.tf-top h2 { font-size: var(--step-3); font-weight: 800; }
.tf-lede { margin: 14px 0 22px; color: var(--steel); max-width: 52ch; font-size: var(--step-1); line-height: 1.5; }
.tf-quote { margin: 0; padding: 22px 24px; background: var(--white); border-left: 4px solid var(--tile); border-radius: 0 12px 12px 0; }
.tf-quote p { font-size: var(--step-1); font-weight: 600; color: var(--heading); line-height: 1.45; }
.tf-quote cite { display: block; margin-top: 10px; font-style: normal; font-size: var(--step--1); color: var(--steel); }
.tf-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.tf-steps figure { margin: 0; background: var(--white); border: 1px solid var(--rule); border-radius: 12px; overflow: hidden; height: 100%; }
.tf-steps img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.tf-steps figcaption { padding: 16px 18px 20px; color: var(--steel); font-size: 0.98rem; }
.tf-steps figcaption b { display: flex; align-items: center; gap: 10px; color: var(--heading); font-size: 1.1rem; margin-bottom: 4px; }
.tf-steps .n { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--tile); color: #fff; font-size: 0.9rem; }
@media (max-width: 860px) { .tf-top, .tf-steps { grid-template-columns: minmax(0, 1fr); } }

/* Reviews */
.reviews-band { background: var(--white); }
.reviews-head { display: grid; gap: 10px; margin-bottom: 30px; max-width: 62ch; }
.reviews-head h2 { font-size: var(--step-3); font-weight: 800; }
.reviews-head a { color: var(--tile-deep); font-weight: 700; }
.reviews-score { display: flex; align-items: center; gap: 14px; font-size: 0.95rem; color: var(--steel); }
.reviews-score b { display: block; }
.reviews-score.light, .reviews-score.light .t-big { color: #fff; }
.stars { color: var(--sun); letter-spacing: 0.06em; font-size: 1.1rem; }
.reviews { list-style: none; margin: 0; padding: 0; columns: 3 300px; column-gap: 18px; }
.reviews-3 { columns: auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 900px) { .reviews-3 { grid-template-columns: minmax(0, 1fr); } }
.review { break-inside: avoid; margin: 0 0 18px; padding: 22px 22px 20px; background: var(--paper); border-radius: 12px; border-top: 4px solid var(--tile); }
.reviews-3 .review { margin: 0; }
.review-stars { color: var(--sun); letter-spacing: 0.08em; font-size: 1.05rem; }
.review blockquote { margin: 10px 0 0; }
.review blockquote p { color: var(--ink); line-height: 1.6; }
.review-by { margin-top: 14px; font-size: var(--step--1); color: var(--steel); }
.review-by b { color: var(--heading); }

/* Warranty band: Arizona's 2 year window against AVR's guarantee (off until Scott OKs it) */
.warranty h2 { font-size: var(--step-3); font-weight: 800; max-width: 18ch; }
.warranty p { margin-top: 14px; max-width: 50ch; }
.w-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.w-bars { display: grid; gap: 22px; }
.w-row p { display: flex; justify-content: space-between; gap: 12px; margin: 0 0 8px; max-width: none; color: var(--night-text); font-size: 0.95rem; }
.w-row b { color: #fff; white-space: nowrap; }
.w-track { height: 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.w-fill { display: block; height: 100%; border-radius: 999px; }
.w-state { background: #8a94a8; }
.w-ours { background: linear-gradient(90deg, var(--tile), var(--sun)); }
.w-scale { display: flex; justify-content: space-between; font-size: 0.78rem; color: var(--night-muted); }
.w-points { list-style: none; margin: clamp(32px, 5vw, 56px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 3vw, 36px); }
.w-points li { border-top: 3px solid var(--tile); padding-top: 16px; }
.w-points h3 { color: #fff; font-size: var(--step-1); font-weight: 700; }
.w-points p { margin-top: 8px; font-size: 0.98rem; }
.w-note { margin-top: 28px; font-size: var(--step--1); color: var(--night-muted); }
@media (max-width: 860px) { .w-top, .w-points { grid-template-columns: minmax(0, 1fr); } }
