/* =========================================================
   San Antonio Roofing: shared stylesheet (v2)
   Palette: deep Texas-night navy, roofing orange, sun gold,
   steel blue and ice. Type: Archivo (condensed display) + Manrope.
   ========================================================= */

:root {
  --navy-950: #061325;
  --navy-900: #0a1d34;
  --navy-800: #102c4c;
  --navy-700: #183f6a;
  --steel: #6d87a3;
  --steel-200: #b9c8d9;
  --ice: #eaf1f8;
  --paper: #f5f8fb;
  --white: #ffffff;
  --ink: #0c1b2c;
  --muted: #4d6074;
  --line: #d6e0ea;
  --orange: #f26b1f;
  --orange-600: #dc5712;
  --orange-700: #b8450b;
  --orange-50: #fff2e9;
  --gold: #ffb547;

  --grad-orange: linear-gradient(135deg, #ff8a3d 0%, #f26b1f 45%, #d9500d 100%);
  --grad-navy: linear-gradient(155deg, #12355c 0%, #0a1d34 55%, #061325 100%);

  --font-display: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Manrope", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(10, 29, 52, 0.06), 0 4px 14px rgba(10, 29, 52, 0.06);
  --shadow-card: 0 2px 4px rgba(10, 29, 52, 0.05), 0 16px 40px rgba(10, 29, 52, 0.08);
  --shadow-lift: 0 4px 8px rgba(10, 29, 52, 0.06), 0 28px 60px rgba(10, 29, 52, 0.16);
  --shadow-orange: 0 10px 26px rgba(242, 107, 31, 0.35);

  --container: 1220px;
  --gutter: 24px;
  --section-pad: clamp(68px, 8.5vw, 120px);
  --header-h: 84px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.7; font-weight: 500;
  color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--orange-700); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:hover { color: var(--orange-600); }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-stretch: 84%; color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
::selection { background: var(--orange); color: var(--white); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
.ph { font-style: italic; color: var(--steel); }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 300; background: var(--white); color: var(--ink);
  padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 700; text-decoration: none; box-shadow: var(--shadow-card);
}
.skip-link:focus { top: 12px; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: var(--section-pad); }
.bg-white { background: var(--white); }
.bg-paper { background: var(--paper); }
.bg-ice { background: var(--ice); }
.bg-navy { background: var(--grad-navy); color: var(--white); }

/* ---------- Type ---------- */
.h2 {
  font-size: clamp(32px, 4.3vw, 56px); line-height: 1.02; font-weight: 800; letter-spacing: -0.018em; text-wrap: balance;
}
.h2::after {
  content: ""; display: block; width: 64px; height: 5px; margin-top: 20px; border-radius: 4px;
  background: var(--grad-orange); transform-origin: left; transform: scaleX(var(--bar, 1)); transition: transform 900ms var(--ease) 200ms;
}
.center .h2::after, .h2.center::after { margin-inline: auto; }
.js .reveal .h2::after, .js .h2.reveal::after { --bar: 0; }
.js .reveal.is-visible .h2::after, .js .h2.reveal.is-visible::after { --bar: 1; }
.h3 { font-size: clamp(23px, 2.3vw, 30px); line-height: 1.12; font-weight: 800; letter-spacing: -0.01em; }
.lead { font-size: clamp(17px, 1.4vw, 19px); color: var(--muted); max-width: 62ch; }
.bg-navy .lead, .bg-navy p { color: #c7d4e2; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head .lead { margin-top: 18px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lead { margin-inline: auto; }
.prose p { color: var(--muted); }
.bg-navy .prose p { color: #c7d4e2; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 13px 24px; border: 2px solid transparent; border-radius: 999px;
  font-family: var(--font-body); font-weight: 800; font-size: 16px; line-height: 1.2; letter-spacing: 0.005em;
  text-decoration: none; cursor: pointer; overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: transform 250ms var(--ease), box-shadow 250ms ease, background-color 250ms ease, color 250ms ease, border-color 250ms ease;
}
.btn svg { font-size: 19px; transition: transform 250ms var(--ease); }
.btn:hover { transform: translateY(-3px); }
.btn:hover svg.i-arrow { transform: translateX(4px); }
.btn::after {
  /* shine sweep */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform 700ms var(--ease);
}
.btn:hover::after { transform: translateX(120%); }
.btn-sm { min-height: 44px; padding: 10px 20px; font-size: 15px; }
.btn-lg { min-height: 58px; padding: 15px 30px; font-size: 17px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--grad-orange); color: var(--white); box-shadow: var(--shadow-orange); text-shadow: 0 1px 1px rgba(120, 40, 0, 0.25); }
.btn-primary:hover { color: var(--white); box-shadow: 0 16px 34px rgba(242, 107, 31, 0.45); }
.btn-outline-light { border-color: rgba(255, 255, 255, 0.35); color: var(--white); background: rgba(255, 255, 255, 0.04); backdrop-filter: blur(6px); }
.btn-outline-light:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.12); color: var(--white); }
.btn-outline { border-color: var(--line); color: var(--ink); background: var(--white); }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); }
.btn-white { background: var(--white); color: var(--navy-900); box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18); }
.btn-white:hover { color: var(--orange-700); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; }
.topbar {
  background: var(--navy-950); color: #c7d4e2; font-size: 13.5px; font-weight: 600;
  max-height: 44px; overflow: hidden; transition: max-height 350ms var(--ease), opacity 250ms ease;
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 44px; }
.topbar p { margin: 0; display: inline-flex; align-items: center; gap: 8px; }
.topbar svg { color: var(--gold); font-size: 16px; }
.topbar-right { display: flex; align-items: center; gap: 22px; }
.topbar a { color: var(--white); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.topbar a:hover { color: var(--gold); }
.site-header.scrolled .topbar { max-height: 0; opacity: 0; }

.mainbar {
  position: relative; background: rgba(255, 255, 255, 0.97); backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid var(--line);
  transition: box-shadow 300ms ease;
}
.site-header.scrolled .mainbar { box-shadow: 0 12px 34px rgba(10, 29, 52, 0.12); }
.header-inner { display: flex; align-items: center; gap: 22px; min-height: var(--header-h); transition: min-height 300ms var(--ease); }
.site-header.scrolled .header-inner { min-height: 70px; }
.progress { position: absolute; left: 0; bottom: -1px; height: 3px; width: 100%; background: var(--grad-orange); transform-origin: left; transform: scaleX(var(--p, 0)); }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy-900); flex-shrink: 0; }
.brand:hover { color: var(--navy-900); }
.brand-mark { width: 46px; height: 46px; padding: 7px; border-radius: 12px; background: var(--navy-900); stroke-width: 3.2; transition: transform 400ms var(--ease); }
.brand:hover .brand-mark { transform: rotate(-6deg) scale(1.05); }
.brand-mark .roof { stroke: var(--white); }
.brand-mark .body { stroke: var(--orange); }
.brand-name { display: flex; flex-direction: column; font-family: var(--font-display); font-stretch: 84%; font-weight: 900; font-size: 22px; line-height: 1; letter-spacing: -0.01em; }
.brand-name small { font-family: var(--font-body); font-weight: 700; font-size: 12px; color: var(--steel); letter-spacing: 0.02em; margin-top: 5px; }
.brand--light { color: var(--white); }
.brand--light:hover { color: var(--white); }
.brand--light .brand-mark { background: rgba(255, 255, 255, 0.08); }
.brand--light .brand-name small { color: var(--steel-200); }

.main-nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 2px; }
.nav-link {
  position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 12px 14px; white-space: nowrap;
  color: var(--ink); text-decoration: none; font-weight: 700; font-size: 15.5px;
}
.nav-link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2.5px; border-radius: 2px;
  background: var(--orange); transform: scaleX(0); transform-origin: right; transition: transform 350ms var(--ease);
}
.nav-link:hover::after, .nav-link[aria-current="page"]::after, .has-menu:focus-within > .nav-link::after { transform: scaleX(1); transform-origin: left; }
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--navy-900); }
.nav-chev { font-size: 15px; transition: transform 300ms var(--ease); }
.has-menu { position: relative; }
.has-menu:hover .nav-chev, .has-menu:focus-within .nav-chev { transform: rotate(180deg); }

.mega {
  position: absolute; top: calc(100% + 14px); left: 50%; translate: -42% 0;
  display: grid; grid-template-columns: repeat(4, minmax(200px, 1fr)); gap: 6px 26px;
  width: max-content; padding: 28px 30px 30px; background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift); border: 1px solid var(--line);
  opacity: 0; visibility: hidden; transform: translateY(12px) scale(0.98); transform-origin: top center;
  transition: opacity 250ms ease, transform 350ms var(--ease), visibility 250ms;
}
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 18px; }
.has-menu:hover .mega, .has-menu:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.mega-title { font-family: var(--font-display); font-stretch: 84%; font-weight: 900; font-size: 15px; color: var(--orange-700); margin: 0 0 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.mega-col { display: flex; flex-direction: column; }
.mega-col a {
  display: flex; align-items: center; gap: 10px; padding: 8px 8px; margin-inline: -8px; border-radius: 10px;
  color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 700; transition: background-color 200ms ease, color 200ms ease, transform 200ms ease;
}
.mega-col a svg { font-size: 20px; color: var(--steel); transition: color 200ms ease; }
.mega-col a:hover { background: var(--orange-50); color: var(--orange-700); transform: translateX(3px); }
.mega-col a:hover svg { color: var(--orange); }
.mega-col span.mega-plain { display: flex; align-items: center; gap: 10px; padding: 8px 0; font-size: 15px; font-weight: 600; color: var(--muted); }
.mega-col span.mega-plain svg { font-size: 20px; color: var(--steel-200); }

.nav-mobile-cta { display: none; }
.header-actions { display: flex; align-items: center; gap: 18px; }
.header-phone { display: inline-flex; align-items: center; gap: 12px; white-space: nowrap; color: var(--navy-900); text-decoration: none; font-weight: 800; font-size: 16px; line-height: 1.15; }
.header-phone .ring {
  position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--orange-50); color: var(--orange-600);
}
.header-phone .ring::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--orange); opacity: 0; animation: ping 2.6s ease-out infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: 0.7; } 80%, 100% { transform: scale(1.6); opacity: 0; } }
.header-phone svg { font-size: 20px; }
.header-phone:hover { color: var(--orange-700); }

.menu-toggle {
  display: none; width: 48px; height: 48px; align-items: center; justify-content: center; border: 0; border-radius: 12px;
  background: var(--navy-900); color: var(--white); cursor: pointer;
}
.menu-toggle svg { font-size: 24px; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--white); background: var(--grad-navy);
  padding: clamp(56px, 7vw, 100px) 0 clamp(130px, 13vw, 190px); isolation: isolate;
}
.hero-glow { position: absolute; z-index: -1; border-radius: 50%; filter: blur(70px); opacity: 0.55; pointer-events: none; }
.hero-glow.g1 { width: 520px; height: 520px; right: -120px; top: -120px; background: radial-gradient(circle, rgba(242, 107, 31, 0.55), transparent 65%); animation: drift 14s ease-in-out infinite alternate; }
.hero-glow.g2 { width: 460px; height: 460px; left: -160px; bottom: -160px; background: radial-gradient(circle, rgba(64, 132, 214, 0.45), transparent 65%); animation: drift 18s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate(-60px, 50px) scale(1.15); } }
.hero-rain { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0.35;
  background-image: repeating-linear-gradient(105deg, transparent 0 22px, rgba(185, 200, 217, 0.08) 22px 23px);
  background-size: 300px 300px; animation: rain 1.6s linear infinite;
}
@keyframes rain { to { background-position: -60px 300px; } }
.hero-grid { display: grid; grid-template-columns: 1.06fr 1fr; gap: clamp(36px, 5vw, 76px); align-items: center; }
.kicker {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 24px; padding: 8px 16px 8px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.14); font-weight: 700; font-size: 14px; color: #dbe5ef;
}
.kicker .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(255, 181, 71, 0.6); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(255, 181, 71, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 181, 71, 0); } }
.hero-title { font-size: clamp(42px, 5.3vw, 78px); line-height: 0.95; font-weight: 900; font-stretch: 72%; letter-spacing: -0.02em; margin-bottom: 26px; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero-title .line > span { display: inline-block; }
.hero-title .accent { background: linear-gradient(90deg, #ffb547, #f26b1f 60%, #ff8a3d); -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 200% 100%; animation: sheen 6s ease-in-out infinite alternate; }
@keyframes sheen { to { background-position: 100% 0; } }
.hero-lead { font-size: clamp(18px, 1.5vw, 20px); line-height: 1.65; color: #e3ebf3; max-width: 56ch; }
.hero-sub { color: #aebfd1; max-width: 56ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 28px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-proof li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1); font-weight: 700; font-size: 14.5px; color: #e3ebf3; }
.hero-proof svg { color: var(--gold); font-size: 17px; stroke-width: 2.8; }

/* entrance sequence */
.js .enter { opacity: 0; transform: translateY(22px); animation: enter 900ms var(--ease) forwards; animation-delay: var(--d, 0ms); }
.js .hero-title .line > span { transform: translateY(110%); animation: rise 1000ms var(--ease) forwards; animation-delay: var(--d, 0ms); }
@keyframes enter { to { opacity: 1; transform: none; } }
@keyframes rise { to { transform: none; } }

.gable { position: relative; margin: 0; isolation: isolate; }
.gable-frame {
  position: relative; aspect-ratio: 5 / 5.2; overflow: hidden; border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  clip-path: polygon(0 22%, 50% 0, 100% 22%, 100% 100%, 0 100%); background: var(--navy-800);
}
.gable-frame img, .gable-frame .swatch { width: 100%; height: 100%; object-fit: cover; }
.js .gable-frame img { animation: kenburns 22s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.14) translate(-2%, -1%); } }
.gable-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(6, 19, 37, 0.5)); pointer-events: none; }
.gable::before {
  content: ""; position: absolute; inset: -18px 18px 18px -18px; z-index: -1;
  clip-path: polygon(0 22%, 50% 0, 100% 22%, 100% 100%, 0 100%); background: var(--grad-orange); border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}
.gable::after {
  content: ""; position: absolute; inset: 18px -18px -18px 18px; z-index: -2; border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  clip-path: polygon(0 22%, 50% 0, 100% 22%, 100% 100%, 0 100%); border: 2px dashed rgba(255, 255, 255, 0.18); background: rgba(255, 255, 255, 0.03);
}
.float-card {
  position: absolute; left: -34px; bottom: 34px; max-width: 300px; display: flex; gap: 14px; align-items: flex-start;
  padding: 18px 20px; border-radius: var(--radius-md); background: var(--white); color: var(--ink); box-shadow: var(--shadow-lift);
  font-size: 14.5px; line-height: 1.5; font-weight: 600; animation: bob 6s ease-in-out infinite;
}
.float-card .ic { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--orange-50); color: var(--orange-600); flex-shrink: 0; }
.float-card .ic svg { font-size: 22px; }
@keyframes bob { 50% { transform: translateY(-10px); } }

.roofline { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(60px, 8vw, 120px); stroke: none; }
.roofline path { fill: var(--next-bg, var(--white)); }
.roofline .back { fill: rgba(255, 255, 255, 0.06); }

/* ---------- Marquee ---------- */
.marquee { position: relative; background: var(--white); border-bottom: 1px solid var(--line); padding: 26px 0; overflow: hidden; }
.marquee::before, .marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(90deg, var(--white), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--white), transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track ul { display: flex; align-items: center; gap: 0; padding-right: 0; }
.marquee-track li { display: inline-flex; align-items: center; gap: 14px; padding: 0 28px; font-family: var(--font-display); font-stretch: 84%; font-weight: 800; font-size: clamp(20px, 2.2vw, 28px); color: var(--navy-900); white-space: nowrap; }
.marquee-track li svg { font-size: 26px; color: var(--orange); }
.marquee-track a { color: inherit; text-decoration: none; }
.marquee-track a:hover { color: var(--orange-700); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Quick answer ---------- */
.qa {
  position: relative; padding: clamp(24px, 3vw, 34px) clamp(24px, 3vw, 38px); border-radius: var(--radius-lg);
  background: var(--white); box-shadow: var(--shadow-card); border: 1px solid var(--line); overflow: hidden;
}
.qa::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--grad-orange); }
.qa-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.qa-head .ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--navy-900); color: var(--gold); }
.qa-head .ic svg { font-size: 20px; }
.qa-head h2 { font-size: 22px; font-weight: 900; color: var(--navy-900); }
.qa p { font-size: 16.5px; color: var(--ink); }
.qa-float { position: relative; z-index: 3; margin-top: calc(-1 * clamp(70px, 8vw, 110px)); }

/* ---------- Split layouts ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.split.flip > :first-child { order: 2; }
.photo { position: relative; margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lift); aspect-ratio: 4 / 4.4; background: var(--navy-800); }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.photo:hover img { transform: scale(1.05); }
.photo-tag {
  position: absolute; left: 18px; bottom: 18px; right: 18px; display: flex; gap: 12px; align-items: center;
  padding: 14px 16px; border-radius: var(--radius-md); background: rgba(10, 29, 52, 0.78); color: var(--white);
  backdrop-filter: blur(8px); font-weight: 700; font-size: 14.5px; line-height: 1.45;
}
.photo-tag svg { font-size: 24px; color: var(--gold); }
.photo-stack { position: relative; }
.photo-stack .accent-box { position: absolute; z-index: -1; right: -22px; bottom: -22px; width: 60%; height: 60%; border-radius: var(--radius-lg); background: var(--grad-orange); opacity: 0.9; }
.photo-stack .dots { position: absolute; z-index: -1; left: -26px; top: -26px; width: 140px; height: 140px; background-image: radial-gradient(var(--steel-200) 2px, transparent 2px); background-size: 16px 16px; }

/* ---------- Icon cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.icard {
  position: relative; display: flex; flex-direction: column; padding: 28px 26px 26px; border-radius: var(--radius-md);
  background: var(--white); border: 1px solid var(--line); overflow: hidden; isolation: isolate;
  transition: transform 400ms var(--ease), box-shadow 400ms ease, border-color 300ms ease;
}
.bg-white .icard { background: var(--paper); }
.icard::before {
  /* cursor spotlight */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity 300ms ease;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(242, 107, 31, 0.12), transparent 60%);
}
.icard::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--grad-orange); transform: scaleX(0); transform-origin: left; transition: transform 450ms var(--ease); }
.icard:hover { transform: translateY(-8px); box-shadow: var(--shadow-lift); border-color: transparent; background: var(--white); }
.icard:hover::before { opacity: 1; }
.icard:hover::after { transform: scaleX(1); }
.icard .ic {
  display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 20px; border-radius: 16px;
  background: var(--navy-900); color: var(--white); transition: transform 500ms var(--ease), background 300ms ease;
}
.icard .ic svg { font-size: 27px; stroke-width: 1.7; }
.icard:hover .ic { transform: rotate(-8deg) scale(1.08); background: var(--grad-orange); }
.icard h3 { font-size: 22px; font-weight: 800; line-height: 1.15; margin-bottom: 10px; }
.icard h3 a { color: inherit; text-decoration: none; }
.icard h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.icard p { font-size: 15.5px; color: var(--muted); line-height: 1.65; flex: 1; }
.icard .go {
  position: absolute; right: 22px; top: 26px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  border: 1.5px solid var(--line); color: var(--navy-900); transition: all 350ms var(--ease);
}
.icard .go svg { font-size: 18px; transform: rotate(-45deg); transition: transform 350ms var(--ease); }
.icard:hover .go { background: var(--orange); border-color: var(--orange); color: var(--white); }
.icard:hover .go svg { transform: rotate(0); }
.icard--dark { background: var(--grad-navy) !important; border-color: transparent; color: var(--white); }
.icard--dark p { color: #c7d4e2; }
.icard--dark .ic { background: var(--grad-orange); }
.icard--dark .go { border-color: rgba(255, 255, 255, 0.25); color: var(--white); }

/* compact list cards (kv on navy) */
.bg-navy .icard { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.12); color: var(--white); backdrop-filter: blur(6px); }
.bg-navy .icard p { color: #c7d4e2; }
.bg-navy .icard .ic { background: rgba(255, 255, 255, 0.08); color: var(--gold); }
.bg-navy .icard:hover { background: rgba(255, 255, 255, 0.09); }

/* ---------- Feature rows (kv as list) ---------- */
.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 44px; }
.feature-list li { display: flex; gap: 18px; padding: 22px 0; border-top: 1px solid var(--line); }
.feature-list .ic { display: grid; place-items: center; width: 46px; height: 46px; flex-shrink: 0; border-radius: 14px; background: var(--orange-50); color: var(--orange-600); transition: transform 400ms var(--ease); }
.feature-list li:hover .ic { transform: scale(1.1) rotate(-6deg); }
.feature-list .ic svg { font-size: 22px; }
.feature-list h3 { font-size: 20px; font-weight: 800; margin-bottom: 4px; line-height: 1.2; }
.feature-list h3 a { color: var(--ink); text-decoration-color: var(--steel-200); }
.feature-list h3 a:hover { color: var(--orange-700); }
.feature-list p { font-size: 15.5px; color: var(--muted); }

/* ---------- Checklist ---------- */
.checklist { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 28px 0; }
.checklist.one { grid-template-columns: 1fr; }
.checklist li {
  display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: var(--radius-md);
  background: var(--white); border: 1px solid var(--line); font-weight: 700; line-height: 1.45;
  transition: transform 300ms var(--ease), border-color 300ms ease, box-shadow 300ms ease;
}
.bg-white .checklist li { background: var(--paper); }
.checklist li:hover { transform: translateX(6px); border-color: var(--orange); box-shadow: var(--shadow-sm); }
.checklist .tick { display: grid; place-items: center; width: 26px; height: 26px; flex-shrink: 0; border-radius: 50%; background: var(--grad-orange); color: var(--white); margin-top: -1px; }
.checklist .tick svg { font-size: 15px; stroke-width: 3.2; }
.bg-navy .checklist li { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.12); color: var(--white); }

/* ---------- Steps ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(var(--n, 4), 1fr); gap: 28px; }
.steps .track { position: absolute; left: 34px; right: calc(100% / var(--n, 4) - 34px); top: 33px; height: 3px; background: var(--line); border-radius: 3px; overflow: hidden; }
.steps .track::after { content: ""; position: absolute; inset: 0; background: var(--grad-orange); transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease) 300ms; }
.steps.is-visible .track::after { transform: scaleX(1); }
.step { position: relative; }
.step-num {
  position: relative; display: grid; place-items: center; width: 68px; height: 68px; margin-bottom: 22px; border-radius: 50%;
  background: var(--white); color: var(--navy-900); border: 3px solid var(--line);
  font-family: var(--font-display); font-stretch: 78%; font-weight: 900; font-size: 30px;
  transition: background 500ms ease, color 500ms ease, border-color 500ms ease, transform 500ms var(--ease);
  transition-delay: calc(var(--i, 0) * 300ms + 300ms);
}
.steps.is-visible .step-num { background: var(--navy-900); color: var(--white); border-color: var(--navy-900); }
.steps.is-visible .step:first-child .step-num { background: var(--grad-orange); border-color: var(--orange); }
.step:hover .step-num { transform: scale(1.08); }
.step h3 { font-size: 22px; font-weight: 800; line-height: 1.2; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 16px; }

/* ---------- Compare (vs) ---------- */
.versus { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.vs-card { position: relative; padding: 34px 32px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform 400ms var(--ease), box-shadow 400ms ease; }
.vs-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.vs-card:last-of-type { background: var(--grad-navy); color: var(--white); border-color: transparent; }
.vs-card:last-of-type p { color: #c7d4e2; }
.vs-card h3 { font-size: 28px; font-weight: 900; margin-bottom: 12px; }
.vs-card .ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; margin-bottom: 18px; background: var(--orange-50); color: var(--orange-600); }
.vs-card:last-of-type .ic { background: rgba(255, 255, 255, 0.1); color: var(--gold); }
.vs-card .ic svg { font-size: 26px; }
.vs-badge {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%; z-index: 2; display: grid; place-items: center;
  width: 64px; height: 64px; border-radius: 50%; background: var(--grad-orange); color: var(--white); box-shadow: 0 0 0 8px var(--paper), var(--shadow-orange);
  font-family: var(--font-display); font-stretch: 78%; font-weight: 900; font-size: 22px;
}
.bg-white .vs-badge { box-shadow: 0 0 0 8px var(--white), var(--shadow-orange); }
.compare-table { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow-sm); }
.compare-row { display: grid; grid-template-columns: 220px 1fr; border-top: 1px solid var(--line); transition: background 250ms ease; }
.compare-row:first-child { border-top: 0; }
.compare-row:hover { background: var(--orange-50); }
.compare-row dt { padding: 20px 24px; font-family: var(--font-display); font-stretch: 84%; font-weight: 900; font-size: 20px; background: var(--navy-900); color: var(--white); display: flex; align-items: center; gap: 10px; }
.compare-row dt svg { color: var(--gold); font-size: 20px; }
.compare-row dd { margin: 0; padding: 20px 24px; color: var(--ink); font-weight: 600; }

/* ---------- Prose grid ---------- */
.info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.info-card {
  position: relative; padding: 32px 32px 30px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line);
  transition: transform 400ms var(--ease), box-shadow 400ms ease, border-color 300ms ease; overflow: hidden;
}
.bg-white .info-card { background: var(--paper); }
.info-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); border-color: transparent; }
.info-card .ic { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; margin-bottom: 18px; background: var(--navy-900); color: var(--gold); transition: transform 500ms var(--ease); }
.info-card:hover .ic { transform: rotate(-8deg) scale(1.08); }
.info-card .ic svg { font-size: 24px; }
.info-card h2, .info-card h3 { font-size: clamp(22px, 2vw, 27px); font-weight: 800; line-height: 1.15; margin-bottom: 12px; }
.info-card p { color: var(--muted); font-size: 16px; }
.info-card.wide { grid-column: 1 / -1; }

/* ---------- Bands ---------- */
.band { position: relative; overflow: hidden; isolation: isolate; }
.band-alert { background: var(--grad-orange); color: var(--white); }
.band-alert .h2::after { background: var(--white); }
.band-alert p { color: #fff3ea; font-size: 18px; }
.band-alert .band-grid { display: grid; grid-template-columns: auto 1fr auto; gap: 34px; align-items: center; }
.band-alert .siren { display: grid; place-items: center; width: 96px; height: 96px; border-radius: 28px; background: rgba(255, 255, 255, 0.16); border: 1px solid rgba(255, 255, 255, 0.3); }
.band-alert .siren svg { font-size: 46px; animation: wobble 3s ease-in-out infinite; }
@keyframes wobble { 0%, 100% { transform: rotate(0); } 10% { transform: rotate(-10deg); } 20% { transform: rotate(8deg); } 30% { transform: rotate(0); } }
.band-alert::before { content: ""; position: absolute; inset: 0; z-index: -1; background: repeating-linear-gradient(120deg, rgba(255, 255, 255, 0.05) 0 2px, transparent 2px 22px); }

.bg-photo { position: absolute; inset: 0; z-index: -2; }
.bg-photo img { width: 100%; height: 120%; object-fit: cover; opacity: 0.5; will-change: transform; }
.bg-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 19, 37, 0.6), rgba(6, 19, 37, 0.92) 70%); }

/* ---------- Materials swatches ---------- */
.material-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.material { position: relative; display: flex; flex-direction: column; border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow-card); overflow: hidden; transition: transform 500ms var(--ease), box-shadow 400ms ease; transform-style: preserve-3d; }
.material:hover { box-shadow: var(--shadow-lift); }
.swatch { position: relative; aspect-ratio: 4 / 3; clip-path: polygon(0 26%, 50% 0, 100% 26%, 100% 100%, 0 100%); overflow: hidden; }
.swatch::before { content: ""; position: absolute; inset: 0; background: inherit; transition: transform 900ms var(--ease); }
.material:hover .swatch::before { transform: scale(1.12); }
.swatch::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 20%, rgba(255, 255, 255, 0.35) 40%, transparent 60%); transform: translateX(-100%); transition: transform 1s var(--ease); }
.material:hover .swatch::after { transform: translateX(100%); }
.swatch--shingle {
  background-color: #39424a;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='44'%3E%3Crect width='64' height='44' fill='%23414b55'/%3E%3Crect y='22' width='64' height='22' fill='%23394350'/%3E%3Crect y='15' width='64' height='7' fill='%23000' fill-opacity='.22'/%3E%3Crect y='37' width='64' height='7' fill='%23000' fill-opacity='.22'/%3E%3Cpath d='M0 21.5h64M0 43.5h64' stroke='%23202833' stroke-width='1.6'/%3E%3Cpath d='M1 0v22M33 0v22M17 22v22M49 22v22' stroke='%23202833' stroke-width='1.6'/%3E%3Ccircle cx='9' cy='7' r='.8' fill='%23798591'/%3E%3Ccircle cx='24' cy='12' r='.7' fill='%23798591'/%3E%3Ccircle cx='44' cy='5' r='.8' fill='%23798591'/%3E%3Ccircle cx='56' cy='30' r='.7' fill='%23798591'/%3E%3Ccircle cx='30' cy='33' r='.8' fill='%23798591'/%3E%3C/svg%3E");
  background-size: 64px 44px;
}
.swatch--metal { background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.25) 45%, rgba(255, 255, 255, 0) 70%), repeating-linear-gradient(90deg, #7b8a99 0 3px, #dbe3ea 3px 5px, #adbbc8 5px 34px, #94a3b2 34px 37px); }
.swatch--tile {
  background-color: #8f3417;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='30'%3E%3Crect width='44' height='30' fill='%237e2c12'/%3E%3Cpath d='M0 30V15a11 11 0 0 1 22 0v15zM22 30V15a11 11 0 0 1 22 0v15z' fill='%23c4562a'/%3E%3Cpath d='M5 15a6 6 0 0 1 12 0M27 15a6 6 0 0 1 12 0' stroke='%23e8946a' stroke-width='2.2' fill='none' stroke-linecap='round' opacity='.75'/%3E%3Crect y='25' width='44' height='5' fill='%23000' fill-opacity='.2'/%3E%3C/svg%3E");
  background-size: 44px 30px;
}
.swatch--tpo { background-color: #eef2f6; background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.6), rgba(205, 214, 224, 0.5)), repeating-linear-gradient(180deg, transparent 0 46px, #c8d3de 46px 48px, #f8fafc 48px 52px), repeating-linear-gradient(90deg, transparent 0 120px, rgba(160, 172, 186, 0.35) 120px 121px); }
.material-body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.material-body h3 { font-size: 23px; font-weight: 800; margin-bottom: 6px; }
.material-body p { font-size: 15.5px; color: var(--muted); flex: 1; }
.material-body a { margin-top: 14px; display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 15px; text-decoration: none; }
.material-body a svg { transition: transform 300ms var(--ease); }
.material-body a:hover svg { transform: translateX(4px); }

/* ---------- Weather cards ---------- */
.weather-card { position: relative; padding: 34px 30px; border-radius: var(--radius-lg); background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); backdrop-filter: blur(8px); overflow: hidden; transition: transform 400ms var(--ease), background 300ms ease; }
.weather-card:hover { transform: translateY(-8px); background: rgba(255, 255, 255, 0.1); }
.weather-card .big-ic { font-size: 54px; color: var(--gold); stroke-width: 1.4; margin-bottom: 22px; }
.weather-card:hover .big-ic { animation: wobble 1.6s ease-in-out; }
.weather-card h3 { font-size: 32px; font-weight: 900; margin-bottom: 10px; }
.weather-card p { color: #c7d4e2; }
.weather-card .ghost { position: absolute; right: -24px; bottom: -30px; font-size: 170px; color: rgba(255, 255, 255, 0.04); stroke-width: 1; }
.callout { display: flex; align-items: center; gap: 20px; margin-top: 26px; padding: 24px 28px; border-radius: var(--radius-lg); background: var(--grad-orange); color: var(--white); font-weight: 700; font-size: 17px; }
.callout svg { font-size: 34px; }

/* ---------- Decide ---------- */
.decide-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 30px; }
.decide-card { position: relative; padding: 30px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); overflow: hidden; transition: transform 400ms var(--ease), box-shadow 400ms ease; }
.decide-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.decide-card .ic { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; margin-bottom: 18px; background: var(--orange-50); color: var(--orange-600); }
.decide-card .ic svg { font-size: 26px; }
.decide-card.strong { background: var(--grad-navy); color: var(--white); border-color: transparent; }
.decide-card.strong p { color: #d3dfeb; }
.decide-card.strong a { color: var(--gold); }
.decide-card.strong .ic { background: rgba(255, 255, 255, 0.1); color: var(--gold); }
.decide-foot { margin-top: 24px; font-weight: 800; font-size: 18px; color: var(--navy-900); display: flex; align-items: center; gap: 12px; }
.decide-foot svg { color: var(--orange); font-size: 24px; }

/* ---------- Why us ---------- */
.why-list { display: grid; gap: 14px; }
.why-item { display: grid; grid-template-columns: 54px 1fr; gap: 18px; align-items: start; padding: 22px 24px; border-radius: var(--radius-md); background: var(--white); border: 1px solid var(--line); transition: transform 350ms var(--ease), box-shadow 350ms ease, border-color 300ms ease; }
.why-item:hover { transform: translateX(8px); box-shadow: var(--shadow-card); border-color: var(--orange); }
.why-item .ic { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: var(--navy-900); color: var(--gold); }
.why-item .ic svg { font-size: 25px; }
.why-item h3 { font-size: 21px; font-weight: 800; line-height: 1.2; margin-bottom: 4px; }
.why-item p { color: var(--muted); font-size: 15.5px; }

/* ---------- Placeholder blocks ---------- */
.ph-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.ph-card { padding: 30px; border-radius: var(--radius-lg); border: 2px dashed var(--steel-200); background: rgba(255, 255, 255, 0.5); }
.ph-card h2 { font-size: clamp(24px, 2.4vw, 32px); font-weight: 800; margin-bottom: 14px; }
.ph-card p { color: var(--steel); font-style: italic; }
.ph-card p.normal { font-style: normal; color: var(--muted); }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { margin: 0; padding: 28px; border-radius: var(--radius-lg); border: 2px dashed var(--steel-200); color: var(--steel); }
.review blockquote { margin: 0 0 16px; font-size: 18px; font-style: italic; }
.review figcaption { font-weight: 700; font-size: 15px; }
.review .quote-ic { font-size: 34px; color: var(--steel-200); margin-bottom: 12px; }

/* ---------- Areas ---------- */
.areas-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.area-chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22); background: rgba(255, 255, 255, 0.05); font-weight: 700; font-size: 16px; color: #e3ebf3;
  transition: transform 300ms var(--ease), background 300ms ease, border-color 300ms ease;
}
.chip:hover { transform: translateY(-4px); background: rgba(255, 255, 255, 0.12); border-color: var(--gold); }
.chip svg { color: var(--gold); }
.chip--main { background: var(--grad-orange); border-color: transparent; color: var(--white); font-size: 18px; padding: 15px 26px; }
.chip--main svg { color: var(--white); }
.js .area-chips .chip { opacity: 0; transform: scale(0.85); transition: opacity 500ms ease, transform 500ms var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.js .area-chips.is-visible .chip { opacity: 1; transform: none; }
.areas-ask { font-weight: 800; color: var(--white) !important; margin-top: 18px; }
.areas-ask a { color: var(--gold); }
.map-art { position: absolute; right: -80px; top: 50%; translate: 0 -50%; width: 520px; height: 520px; z-index: -1; opacity: 0.08; color: var(--white); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 0.85fr 1.4fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq-head { position: sticky; top: 130px; }
.faq-head .art { margin-top: 30px; display: grid; place-items: center; width: 110px; height: 110px; border-radius: 30px; background: var(--grad-navy); color: var(--gold); box-shadow: var(--shadow-lift); }
.faq-head .art svg { font-size: 54px; }
.faq-list { display: grid; gap: 12px; }
.faq-item { border-radius: var(--radius-md); background: var(--white); border: 1px solid var(--line); transition: border-color 300ms ease, box-shadow 300ms ease; overflow: hidden; }
.bg-white .faq-item { background: var(--paper); }
.faq-item[open] { border-color: var(--orange); box-shadow: var(--shadow-card); background: var(--white); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 22px; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { font-family: var(--font-body); font-stretch: 100%; font-size: 17.5px; font-weight: 800; line-height: 1.4; }
.faq-item summary .pm { display: grid; place-items: center; width: 38px; height: 38px; flex-shrink: 0; border-radius: 50%; background: var(--ice); color: var(--navy-900); transition: transform 400ms var(--ease), background 300ms ease, color 300ms ease; }
.faq-item summary .pm svg { font-size: 20px; }
.faq-item[open] summary .pm { transform: rotate(135deg); background: var(--grad-orange); color: var(--white); }
.faq-item summary:hover h3 { color: var(--orange-700); }
.faq-body { padding: 0 22px 22px; color: var(--muted); }

/* ---------- Page hero (inner) ---------- */
.page-hero { position: relative; overflow: hidden; isolation: isolate; background: var(--grad-navy); color: var(--white); padding: clamp(40px, 5vw, 70px) 0 clamp(150px, 15vw, 200px); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 26px; font-size: 14px; font-weight: 700; color: #aebfd1; }
.crumbs a { color: #dbe5ef; text-decoration: none; }
.crumbs a:hover { color: var(--gold); }
.crumbs svg { font-size: 14px; transform: rotate(-90deg); color: var(--steel); }
.page-title { font-size: clamp(40px, 5.2vw, 74px); line-height: 0.98; font-weight: 900; font-stretch: 74%; letter-spacing: -0.02em; margin-bottom: 24px; text-wrap: balance; }
.page-hero .gable-frame { aspect-ratio: 5 / 4.6; }

/* ---------- Final CTA ---------- */
.cta { position: relative; overflow: hidden; isolation: isolate; background: var(--navy-950); color: var(--white); padding: calc(var(--section-pad) + 50px) 0 var(--section-pad); }
.cta::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 80px; z-index: 1; background: var(--prev-bg, var(--paper)); clip-path: polygon(0 0, 100% 0, 50% 100%); }
.cta .glow { position: absolute; z-index: -1; width: 700px; height: 700px; right: -200px; bottom: -300px; border-radius: 50%; background: radial-gradient(circle, rgba(242, 107, 31, 0.45), transparent 65%); filter: blur(30px); }
.cta .glow.b { left: -250px; top: -200px; right: auto; bottom: auto; background: radial-gradient(circle, rgba(64, 132, 214, 0.35), transparent 65%); }
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.cta-title { font-size: clamp(40px, 5.2vw, 70px); line-height: 0.98; font-weight: 900; font-stretch: 74%; letter-spacing: -0.02em; margin-bottom: 22px; text-wrap: balance; }
.cta-copy > p { font-size: 18px; color: #c7d4e2; max-width: 52ch; }
.cta-phone { display: inline-flex; align-items: center; gap: 16px; margin: 30px 0 16px; color: var(--white); text-decoration: none; }
.cta-phone .ring { position: relative; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--grad-orange); box-shadow: var(--shadow-orange); }
.cta-phone .ring::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--orange); animation: ping 2.4s ease-out infinite; }
.cta-phone .ring svg { font-size: 28px; }
.cta-phone strong { font-family: var(--font-display); font-stretch: 80%; font-weight: 900; font-size: clamp(30px, 3.2vw, 42px); line-height: 1; }
.cta-phone:hover { color: var(--gold); }
.cta-small { font-weight: 700; color: var(--steel-200) !important; font-size: 15.5px !important; }

.estimate-form { position: relative; background: var(--white); color: var(--ink); border-radius: var(--radius-lg); padding: clamp(26px, 3.5vw, 40px); box-shadow: 0 40px 80px rgba(0, 0, 0, 0.35); }
.estimate-form::before { content: ""; position: absolute; inset: -2px; z-index: -1; border-radius: calc(var(--radius-lg) + 2px); background: var(--grad-orange); }
.form-title { font-size: 28px; font-weight: 900; margin-bottom: 6px; }
.form-sub { color: var(--muted); font-size: 15.5px; margin-bottom: 22px; }
.field { margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { display: block; font-weight: 800; font-size: 14.5px; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--paper);
  transition: border-color 200ms ease, background 200ms ease, box-shadow 200ms ease;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); background: var(--white); box-shadow: 0 0 0 4px rgba(242, 107, 31, 0.15); }
.field.has-error input, .field.has-error select { border-color: #b3261e; }
.field-error { color: #b3261e; font-size: 14px; margin: 6px 0 0; font-weight: 700; }
.field-error:empty { display: none; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.form-note { margin: 14px 0 0; font-weight: 800; color: #17703c; }
.form-note:empty { display: none; }

/* ---------- Contact cards ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.contact-card { padding: 28px 24px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); transition: transform 400ms var(--ease), box-shadow 400ms ease; }
.contact-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.contact-card .ic { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; margin-bottom: 18px; background: var(--grad-orange); color: var(--white); }
.contact-card .ic svg { font-size: 25px; }
.contact-card h3 { font-size: 22px; font-weight: 800; margin-bottom: 6px; }
.contact-card p, .contact-card a { color: var(--muted); font-weight: 700; word-break: break-word; }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--navy-950); color: #aebfd1; padding-top: clamp(60px, 7vw, 90px); font-size: 15.5px; overflow: hidden; isolation: isolate; }
.site-footer::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(600px circle at 90% 0%, rgba(242, 107, 31, 0.12), transparent 60%); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; }
.footer-brand p { margin-top: 22px; max-width: 40ch; }
.footer-title { font-size: 19px; font-weight: 900; color: var(--white); margin-bottom: 18px; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: #aebfd1; text-decoration: none; transition: color 200ms ease, padding 250ms var(--ease); }
.footer-col a:hover { color: var(--white); padding-left: 6px; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact svg { color: var(--orange); font-size: 18px; margin-top: 5px; }
.footer-cta { margin-top: 22px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-block: 24px; border-top: 1px solid rgba(255, 255, 255, 0.08); font-size: 14px; }
.footer-bottom ul { display: flex; gap: 20px; }
.footer-bottom a { color: #aebfd1; }
.footer-bottom p { margin: 0; }

/* ---------- Floating helpers ---------- */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 80; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%;
  border: 0; background: var(--navy-900); color: var(--white); cursor: pointer; box-shadow: var(--shadow-lift);
  opacity: 0; transform: translateY(20px) scale(0.8); pointer-events: none; transition: opacity 300ms ease, transform 400ms var(--ease);
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top svg.arrow { font-size: 22px; transform: rotate(-90deg); position: relative; z-index: 1; }
.to-top .ring-svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.to-top .ring-svg circle { fill: none; stroke-width: 3; }
.to-top .ring-svg .bgc { stroke: rgba(255, 255, 255, 0.15); }
.to-top .ring-svg .fgc { stroke: var(--orange); stroke-dasharray: 151; stroke-dashoffset: calc(151 - 151 * var(--p, 0)); }
.to-top:hover { background: var(--orange-600); }
.call-bar { display: none; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(34px); transition: opacity 900ms ease, transform 900ms var(--ease); transition-delay: var(--delay, 0ms); }
.js .reveal.from-left { transform: translateX(-46px); }
.js .reveal.from-right { transform: translateX(46px); }
.js .reveal.zoom { transform: scale(0.92); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .wipe { clip-path: inset(0 100% 0 0 round var(--radius-lg)); transition: clip-path 1.3s var(--ease); }
.js .wipe.is-visible { clip-path: inset(0 0 0 0 round var(--radius-lg)); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1360px) {
  .header-phone span:not(.ring) { display: none; }
}
@media (max-width: 1240px) {
  .nav-link { padding: 12px 10px; }
  .nav-link::after { left: 10px; right: 10px; }
  .mega { grid-template-columns: repeat(2, minmax(220px, 1fr)); translate: -50% 0; }
}
@media (max-width: 1180px) {
  .card-grid.cols-4, .material-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1023px) {
  :root { --header-h: 70px; }
  .topbar-right .tb-hide { display: none; }
  .mainbar { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--white); }
  .menu-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .main-nav {
    position: fixed; left: 0; right: 0; top: var(--nav-top, 114px); bottom: 0; margin: 0; padding: 18px var(--gutter) 40px; overflow-y: auto;
    background: var(--white); border-top: 1px solid var(--line);
    opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity 250ms ease, transform 300ms var(--ease), visibility 250ms;
  }
  .main-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: 1px solid var(--line); }
  .nav-link { width: 100%; font-size: 19px; padding: 16px 0; justify-content: space-between; }
  .nav-link::after { display: none; }
  .nav-chev { display: none; }
  .mega { position: static; translate: none; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; width: auto; padding: 0 0 16px; grid-template-columns: 1fr 1fr; gap: 6px 18px; }
  .mega-title { margin-top: 8px; }
  .nav-mobile-cta { display: grid; gap: 12px; margin-top: 24px; }
  body.nav-open { overflow: hidden; }

  .hero-grid, .split, .areas-grid, .faq-grid, .cta-grid { grid-template-columns: 1fr; }
  .split.flip > :first-child { order: 0; }
  .gable { max-width: 560px; width: 100%; margin-inline: auto; }
  .gable-frame, .page-hero .gable-frame { aspect-ratio: 5 / 4; }
  .float-card { left: 14px; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-list { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .steps .track { display: none; }
  .steps .step-num { background: var(--navy-900); color: var(--white); border-color: var(--navy-900); }
  .info-grid { grid-template-columns: 1fr; }
  .band-alert .band-grid { grid-template-columns: 1fr; gap: 20px; }
  .faq-head { position: static; }
  .faq-head .art { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .review-grid { grid-template-columns: 1fr; }
  .decide-wrap { grid-template-columns: 1fr; }
  .photo { aspect-ratio: 16 / 11; }
  .map-art { display: none; }
}
@media (max-width: 767px) {
  :root { --gutter: 18px; }
  body { font-size: 16.5px; }
  .topbar-inner { justify-content: center; }
  .topbar-left { display: none; }
  .brand-name { font-size: 19px; }
  .brand-name small { font-size: 11px; }
  .brand-mark { width: 42px; height: 42px; }
  .header-actions { gap: 10px; }
  .header-phone .ring { width: 46px; height: 46px; }
  .hero-actions .btn { width: 100%; }
  .btn { white-space: normal; text-align: center; }
  .photo-stack .accent-box { right: -10px; bottom: -14px; }
  .photo-stack .dots { left: -10px; top: -14px; }
  .float-card { position: relative; left: auto; bottom: auto; margin: -40px 14px 0; max-width: none; }
  .card-grid, .card-grid.cols-2, .card-grid.cols-4 { grid-template-columns: 1fr; }
  .material-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .material-body { padding: 16px; }
  .material-body h3 { font-size: 19px; }
  .checklist { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .versus { grid-template-columns: 1fr; }
  .vs-badge { position: relative; left: auto; top: auto; translate: none; margin: -40px auto; }
  .compare-row { grid-template-columns: 1fr; }
  .ph-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .site-footer { padding-bottom: 62px; }
  .callout { flex-direction: column; align-items: flex-start; }
  .js .reveal { transition-delay: 0ms !important; }
  .js .reveal.from-left, .js .reveal.from-right { transform: translateY(30px); }
  .to-top { bottom: 76px; right: 14px; width: 48px; height: 48px; }
  .call-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: grid; grid-template-columns: 1fr 1fr; height: 60px; box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.18); }
  .call-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 800; text-decoration: none; font-size: 16px; color: var(--white); }
  .call-bar a:hover { color: var(--white); }
  .call-bar svg { font-size: 19px; }
  .call-bar-call { background: var(--navy-900); }
  .call-bar-quote { background: var(--grad-orange); }
}
@media (max-width: 420px) {
  .material-grid { grid-template-columns: 1fr; }
  .mega { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .js .reveal, .js .enter { opacity: 1; transform: none; }
  .js .wipe { clip-path: none; }
  .js .hero-title .line > span { transform: none; }
  .marquee-track { animation: none; }
}

/* ---------- v2 refinements ---------- */
.card-grid.flex { display: flex; flex-wrap: wrap; justify-content: center; }
.card-grid.flex > * { flex: 0 1 calc((100% - 40px) / 3); }
.bg-navy .icard .go { border-color: rgba(255, 255, 255, 0.25); color: var(--white); }
.cta-small { margin-top: 6px; }
@media (max-width: 1023px) { .card-grid.flex > * { flex-basis: calc((100% - 20px) / 2); } }
@media (max-width: 767px) { .card-grid.flex > * { flex-basis: 100%; } }
.why-list.two { grid-template-columns: repeat(2, 1fr); }
.why-list > *, .card-grid > *, .split > * { min-width: 0; }
@media (max-width: 767px) { .why-list.two { grid-template-columns: 1fr; } }
@media (max-width: 1279px) {
  .photo-stack .accent-box { right: -10px; bottom: -14px; }
  .photo-stack .dots { left: -10px; top: -14px; }
}
main { overflow-x: clip; }
.topbar a { white-space: nowrap; }
@media (max-width: 767px) { .topbar .topbar-left { display: none; } }
