/* ==========================================================================
   SummitShield Roofing — Design System & Styles
   One stylesheet for every page. Mobile-first.
   Sections:
   01. Tokens            08. Services bento      15. Wizard (quote)
   02. Reset & base      09. Why / counters      16. Contact & map
   03. Layout helpers    10. Gallery & B/A       17. Page heroes & sub-pages
   04. Buttons & chips   11. Reviews & video     18. Footer
   05. Banners & header  12. Process & table     19. Mobile bar, modal, lightbox
   06. Hero              13. Quiz                20. Animations & reveal
   07. Section headings  14. Insurance / FAQ     21. Reduced motion
   ========================================================================== */

/* 01. Tokens ------------------------------------------------------------- */
:root {
  --navy-950: #07111f;
  --navy-900: #0c1b30;
  --navy-800: #12274a;
  --navy-700: #1b3764;
  --navy-600: #2a4c80;
  --cream: #faf7f2;
  --cream-2: #f2ece2;
  --white: #ffffff;
  --ink: #0c1b30;
  --ink-2: #2b3a52;
  --muted: #5d6a7e;
  --muted-on-dark: #a9b6cb;
  --line: rgba(12, 27, 48, 0.1);
  --line-dark: rgba(255, 255, 255, 0.12);
  --orange: #ff6b1a;
  --orange-600: #e2560a;
  --orange-100: #ffeadd;
  --success: #15803d;
  --danger: #c62828;
  --star: #ffb020;

  --font-head: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-sm: 12px;
  --r: 20px;
  --r-lg: 28px;
  --r-xl: 36px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(12, 27, 48, 0.06), 0 2px 8px rgba(12, 27, 48, 0.05);
  --shadow: 0 14px 34px -14px rgba(12, 27, 48, 0.22);
  --shadow-lg: 0 34px 70px -24px rgba(12, 27, 48, 0.38);
  --glow: 0 12px 30px -8px rgba(255, 107, 26, 0.6);

  --container: 1240px;
  --gutter: 16px;
  --header-h: 68px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (min-width: 768px) {
  :root { --gutter: 28px; --header-h: 76px; }
}

/* 02. Reset & base ------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
a { color: inherit; text-decoration: none; }
p a, .text-link { color: var(--orange-600); text-decoration: underline; text-underline-offset: 3px; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.12; letter-spacing: -0.025em; font-weight: 800; text-wrap: balance; }
p { text-wrap: pretty; }
table { border-collapse: collapse; width: 100%; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
.section-dark :focus-visible, .hero :focus-visible, .site-footer :focus-visible { outline-color: #ffb27f; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--orange); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); font-weight: 700; transition: transform .2s var(--ease); }
.skip-link:focus { transform: translateY(72px); }

.icon { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.icon-fill { fill: currentColor; stroke: none; }

/* 03. Layout helpers ----------------------------------------------------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: 72px; position: relative; }
.section-sm { padding-block: 48px; }
@media (min-width: 1024px) { .section { padding-block: 112px; } .section-sm { padding-block: 64px; } }
.section-alt { background: var(--cream-2); }
.section-white { background: var(--white); }
.section-dark { background: var(--navy-900); color: var(--muted-on-dark); }
.section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-dark .lead { color: var(--muted-on-dark); }

.grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid { gap: 24px; } .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; gap: 72px; } .split-rev > :first-child { order: 2; } }

.stack > * + * { margin-top: 16px; }
.center { text-align: center; }
.mt-0 { margin-top: 0 !important; }

/* Image wrappers: every <img> sits inside .media so missing files degrade to a branded placeholder */
.media { position: relative; overflow: hidden; border-radius: var(--r-lg); background: linear-gradient(135deg, var(--navy-800), var(--navy-600)); isolation: isolate; }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media.img-fallback::before {
  content: ""; position: absolute; inset: 0; z-index: 0; opacity: .25;
  background:
    repeating-linear-gradient(135deg, transparent 0 22px, rgba(255,255,255,.08) 22px 24px),
    radial-gradient(circle at 70% 20%, rgba(255,107,26,.5), transparent 55%);
}
.media.img-fallback img { opacity: 0; }
.media.img-fallback::after {
  content: attr(data-missing); position: absolute; left: 12px; bottom: 12px; z-index: 1;
  font: 500 11px/1.3 ui-monospace, SFMono-Regular, Menlo, monospace; color: rgba(255,255,255,.7);
  background: rgba(0,0,0,.25); padding: 4px 8px; border-radius: 6px; pointer-events: none;
}
.ratio-4x3 { aspect-ratio: 4 / 3; }
.ratio-16x10 { aspect-ratio: 16 / 10; }
.ratio-1 { aspect-ratio: 1; }
.ratio-3x4 { aspect-ratio: 3 / 4; }

/* 04. Buttons & chips ---------------------------------------------------- */
.btn {
  --btn-bg: var(--navy-900); --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 52px; padding: 0 26px; border-radius: var(--r-pill);
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--font-head); font-weight: 700; font-size: 1rem; letter-spacing: -.005em; line-height: 1;
  border: 2px solid transparent; white-space: nowrap; position: relative;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn .icon { transition: transform .25s var(--ease); }
.btn:hover .icon-arrow { transform: translateX(4px); }
.btn-primary { --btn-bg: var(--orange); box-shadow: 0 6px 18px -8px rgba(255,107,26,.7); }
.btn-primary:hover { --btn-bg: var(--orange-600); box-shadow: var(--glow), 0 0 0 6px rgba(255,107,26,.14); }
.btn-dark:hover { box-shadow: var(--shadow); }
.btn-ghost { --btn-bg: rgba(255,255,255,.08); border-color: rgba(255,255,255,.35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-ghost:hover { --btn-bg: rgba(255,255,255,.16); border-color: #fff; }
.btn-outline { --btn-bg: transparent; --btn-fg: var(--ink); border-color: var(--line); background: transparent; border-color: rgba(12,27,48,.2); }
.btn-outline:hover { border-color: var(--ink); }
.btn-white { --btn-bg: #fff; --btn-fg: var(--ink); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: .9375rem; }
.btn-lg { min-height: 60px; padding: 0 32px; font-size: 1.0625rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font: 700 .8125rem/1 var(--font-head); letter-spacing: .12em; text-transform: uppercase; color: var(--orange-600);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.section-dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: #ff9a5c; }

.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 16px;
  border-radius: var(--r-pill); background: var(--white); border: 1px solid var(--line);
  font-weight: 600; font-size: .9375rem; color: var(--ink);
  transition: transform .2s var(--ease), border-color .2s, background-color .2s, color .2s;
}
a.chip:hover { transform: translateY(-2px); border-color: var(--orange); color: var(--orange-600); }
.chip .icon { color: var(--orange); width: 1em; height: 1em; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }

.glass {
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  color: #fff;
}

.stars { display: inline-flex; gap: 2px; color: var(--star); }
.stars .icon { width: 18px; height: 18px; }

/* Trust badges (placeholders — swap for real badge artwork) */
.badges { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px;
  border-radius: 16px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  font-size: .8125rem; line-height: 1.2; color: var(--muted);
}
.badge strong { display: block; color: var(--ink); font-family: var(--font-head); font-size: .9375rem; }
.badge-mark { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font: 800 .8125rem/1 var(--font-head); color: #fff; background: var(--navy-800); flex-shrink: 0; }
.badge-mark.orange { background: var(--orange); }
.badge-mark.green { background: var(--success); }
.badge-mark .icon { width: 22px; height: 22px; }
.section-dark .badge { background: rgba(255,255,255,.06); border-color: var(--line-dark); color: var(--muted-on-dark); box-shadow: none; }
.section-dark .badge strong { color: #fff; }

/* 05. Banners & header --------------------------------------------------- */
.offer-banner { background: linear-gradient(90deg, var(--orange-600), var(--orange)); color: #fff; font-size: .875rem; position: relative; z-index: 60; }
.offer-inner { display: flex; align-items: center; gap: 12px; min-height: 44px; padding-block: 8px; padding-right: 48px; position: relative; }
.offer-inner p { flex: 1; line-height: 1.4; }
.offer-tag { display: none; padding: 3px 10px; border-radius: var(--r-pill); background: rgba(0,0,0,.18); font-weight: 700; font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; }
.offer-link { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.offer-close { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: #fff; transition: background-color .2s; margin-right: -8px; }
.offer-close:hover { background: rgba(0,0,0,.15); }
.offer-banner.is-closing { animation: fadeUp .3s var(--ease) reverse forwards; }
@media (min-width: 768px) { .offer-tag { display: inline-block; } .offer-inner { justify-content: center; } .offer-inner p { flex: 0 1 auto; } }

.storm-strip { background: var(--navy-950); color: #dbe4f2; font-size: .8125rem; }
.storm-inner { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 38px; padding-block: 6px; text-align: center; }
.storm-inner .icon { color: #ffb020; width: 16px; height: 16px; }
.storm-inner a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.storm-pulse { width: 8px; height: 8px; border-radius: 50%; background: #ff4d4d; position: relative; flex-shrink: 0; }
.storm-pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: pulse 2s infinite; }
.storm-long { display: none; }
@media (min-width: 640px) { .storm-long { display: inline; } }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,247,242,.86); backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s, background-color .3s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 30px -18px rgba(12,27,48,.35); background: rgba(250,247,242,.94); }
.header-inner { display: flex; align-items: center; gap: 16px; height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 800; font-size: 1.125rem; color: var(--ink); letter-spacing: -.02em; line-height: 1.05; }
.logo-mark { width: 38px; height: 38px; }
.logo-mark .s { fill: var(--navy-900); }
.logo small { display: block; font-size: .6875rem; font-weight: 700; letter-spacing: .16em; color: var(--orange-600); text-transform: uppercase; }

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 4px; list-style: none; padding: 0; }
.main-nav li > a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: var(--r-pill); font-weight: 600; font-size: .9375rem; color: var(--ink-2); transition: background-color .2s, color .2s; position: relative; }
.main-nav li > a:hover { background: rgba(12,27,48,.06); color: var(--ink); }
.main-nav li > a[aria-current="page"] { color: var(--ink); }
.main-nav li > a[aria-current="page"]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 8px; height: 2px; border-radius: 2px; background: var(--orange); }
.nav-mobile-extras { display: none; }

.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.header-phone { display: none; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 800; color: var(--ink); font-size: 1rem; padding: 6px 8px; border-radius: var(--r-sm); }
.header-phone .ph-icon { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--orange-100); color: var(--orange-600); }
.header-phone .ph-icon .icon { width: 18px; height: 18px; }
.header-phone small { display: block; font: 500 .75rem/1.1 var(--font-body); color: var(--muted); }
.header-phone:hover .ph-icon { background: var(--orange); color: #fff; }

.nav-toggle { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-900); color: #fff; }
.nav-toggle-bars { width: 18px; height: 12px; position: relative; }
.nav-toggle-bars span { position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle-bars span:nth-child(1) { top: 0; }
.nav-toggle-bars span:nth-child(2) { top: 5px; }
.nav-toggle-bars span:nth-child(3) { top: 10px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) { opacity: 0; transform: scaleX(.2); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 1079px) {
  .header-cta { display: none; }
  /* backdrop-filter would make the header the containing block for the fixed menu panel, clipping it */
  .site-header, .site-header.is-scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(250,247,242,.98); }
  .main-nav {
    position: fixed; inset: var(--nav-top, var(--header-h)) 0 0 0; z-index: 49;
    background: var(--cream); padding: 24px var(--gutter) 120px; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity .3s var(--ease), transform .35s var(--ease), visibility 0s linear .35s;
  }
  .main-nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .3s var(--ease), transform .35s var(--ease), visibility 0s; }
  .main-nav ul { flex-direction: column; gap: 4px; }
  .main-nav li { opacity: 0; transform: translateY(10px); transition: opacity .3s var(--ease), transform .4s var(--ease); }
  .main-nav.is-open li { opacity: 1; transform: none; }
  .main-nav.is-open li:nth-child(2) { transition-delay: .04s; }
  .main-nav.is-open li:nth-child(3) { transition-delay: .08s; }
  .main-nav.is-open li:nth-child(4) { transition-delay: .12s; }
  .main-nav.is-open li:nth-child(5) { transition-delay: .16s; }
  .main-nav.is-open li:nth-child(6) { transition-delay: .2s; }
  .main-nav li > a { font-family: var(--font-head); font-size: 1.5rem; font-weight: 700; min-height: 56px; padding: 0 4px; width: 100%; border-radius: 0; border-bottom: 1px solid var(--line); color: var(--ink); }
  .main-nav li > a:hover { background: none; color: var(--orange-600); }
  .main-nav li > a[aria-current="page"]::after { left: auto; right: 4px; bottom: auto; top: 50%; width: 8px; height: 8px; border-radius: 50%; transform: translateY(-50%); }
  .nav-mobile-extras { display: grid; gap: 12px; margin-top: 28px; }
  .nav-mobile-extras p { font-size: .875rem; color: var(--muted); text-align: center; }
  body.nav-open { overflow: hidden; }
}
@media (min-width: 600px) { .header-phone { display: inline-flex; } }
@media (max-width: 599px) { .logo small { display: none; } }
@media (min-width: 1080px) { .nav-toggle { display: none; } .header-actions { margin-left: 8px; } }

/* 06. Hero --------------------------------------------------------------- */
.hero { position: relative; color: #fff; background: var(--navy-950); overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: -6% 0 -6% 0; z-index: -2; will-change: transform; border-radius: 0; }
.hero-media img { animation: heroZoom 24s var(--ease) both; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, rgba(7,17,31,.94) 0%, rgba(7,17,31,.78) 45%, rgba(7,17,31,.35) 100%),
  linear-gradient(0deg, rgba(7,17,31,.9) 0%, rgba(7,17,31,0) 40%); }
.hero-inner { min-height: min(92svh, 860px); display: grid; align-content: center; gap: 40px; padding-block: 72px 56px; }
.hero-content { max-width: 720px; }
.hero h1 { color: #fff; font-size: clamp(2.5rem, 7.2vw, 5rem); line-height: 1.02; letter-spacing: -.035em; margin: 18px 0 20px; }
.hero h1 em { font-style: normal; color: var(--orange); background: linear-gradient(90deg, #ff8a3d, #ffb27f); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-sub { font-size: clamp(1.0625rem, 2vw, 1.25rem); color: #cdd7e6; max-width: 580px; }
.hero .btn-row { margin-top: 32px; }
.hero-pill { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: var(--r-pill); font-size: .875rem; font-weight: 600; }
.hero-pill b { background: var(--orange); color: #fff; padding: 4px 10px; border-radius: var(--r-pill); font-size: .75rem; letter-spacing: .04em; }
.trust-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.trust-chip { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 18px; font-size: .875rem; line-height: 1.25; }
.trust-chip strong { display: block; font-family: var(--font-head); font-size: .9375rem; }
.trust-chip span { color: #cdd7e6; font-size: .8125rem; }
.trust-chip .tc-icon { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,107,26,.2); color: #ffb27f; }
.trust-chip .tc-icon .icon { width: 20px; height: 20px; }
.hero-card { display: none; }
.hero-scroll { display: none; }
@media (min-width: 1100px) {
  .hero-inner { grid-template-columns: 1fr 360px; align-items: end; }
  .hero-content { align-self: center; }
  .hero-card { display: block; padding: 24px; border-radius: var(--r-lg); animation: floatY 6s ease-in-out infinite; }
  .hero-card h2 { color: #fff; font-size: 1.25rem; margin-bottom: 6px; }
  .hero-card p { color: #cdd7e6; font-size: .9375rem; }
  .hero-card .hc-row { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.14); font-size: .9375rem; }
  .hero-card .hc-row:first-of-type { margin-top: 16px; }
  .hero-card .hc-row .icon { color: #ffb27f; }
  .hero-card .btn { margin-top: 12px; }
  .trust-chips { grid-column: 1 / -1; }
}

/* page-load stagger for hero children */
.load-in > * { animation: fadeUp .9s var(--ease) both; }
.load-in > *:nth-child(2) { animation-delay: .08s; }
.load-in > *:nth-child(3) { animation-delay: .16s; }
.load-in > *:nth-child(4) { animation-delay: .24s; }
.load-in > *:nth-child(5) { animation-delay: .32s; }
.load-in > *:nth-child(6) { animation-delay: .4s; }

/* 07. Section headings --------------------------------------------------- */
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head.center { margin-inline: auto; }
.section-head h2 { font-size: clamp(2rem, 4.6vw, 3.25rem); margin: 14px 0 16px; }
.lead { font-size: clamp(1.0625rem, 1.6vw, 1.1875rem); color: var(--muted); }
.head-row { display: flex; flex-wrap: wrap; gap: 24px; align-items: end; justify-content: space-between; margin-bottom: 44px; }
.head-row .section-head { margin-bottom: 0; }

.section-cta {
  margin-top: 48px; padding: 24px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; box-shadow: var(--shadow-sm);
}
.section-cta p { font-family: var(--font-head); font-weight: 700; font-size: 1.125rem; color: var(--ink); }
.section-cta p span { display: block; font: 400 .9375rem/1.5 var(--font-body); color: var(--muted); margin-top: 2px; }
.section-dark .section-cta { background: rgba(255,255,255,.05); border-color: var(--line-dark); box-shadow: none; }
.section-dark .section-cta p { color: #fff; }
.section-dark .section-cta p span { color: var(--muted-on-dark); }
.section-alt .section-cta { background: var(--cream); }

/* 08. Services bento ----------------------------------------------------- */
.bento { display: grid; gap: 16px; grid-template-columns: 1fr; }
.card {
  position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px; box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s;
}
.card-hover:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card h3 { font-size: 1.375rem; margin-bottom: 10px; }
.card p { color: var(--muted); }
.icon-tile { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: var(--orange-100); color: var(--orange-600); margin-bottom: 20px; transition: transform .4s var(--ease), background-color .3s, color .3s; }
.icon-tile .icon { width: 26px; height: 26px; }
.card-hover:hover .icon-tile { transform: rotate(-6deg) scale(1.06); background: var(--orange); color: #fff; }
.card-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; font-family: var(--font-head); font-weight: 700; color: var(--ink); }
.card-link .icon { transition: transform .3s var(--ease); color: var(--orange); }
.card-hover:hover .card-link .icon { transform: translateX(5px); }
.card-link::after { content: ""; position: absolute; inset: 0; }

.service-feature { padding: 0; color: #fff; background: var(--navy-900); border: 0; min-height: 420px; display: flex; align-items: flex-end; }
.service-feature .media { position: absolute; inset: 0; border-radius: 0; }
.service-feature .media img { transition: transform 1.2s var(--ease); }
.service-feature:hover .media img { transform: scale(1.06); }
.service-feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7,17,31,.95) 10%, rgba(7,17,31,.2) 70%); z-index: 1; }
.service-feature .sf-body { position: relative; z-index: 2; padding: 32px; }
.service-feature h3 { color: #fff; font-size: 1.875rem; }
.service-feature p { color: #cdd7e6; max-width: 440px; }
.service-feature .card-link { color: #fff; }
.service-feature .tag { display: inline-block; margin-bottom: 14px; padding: 6px 12px; border-radius: var(--r-pill); background: var(--orange); color: #fff; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.card-dark { background: var(--navy-900); border-color: var(--navy-900); }
.card-dark h3 { color: #fff; }
.card-dark p { color: var(--muted-on-dark); }
.card-dark .icon-tile { background: rgba(255,107,26,.16); color: #ffb27f; }
.card-dark .card-link { color: #fff; }

@media (min-width: 700px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento .b-1 { grid-column: span 2; }
  .bento .b-6 { grid-column: span 2; }
}
@media (min-width: 1024px) {
  .bento { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .bento .b-1 { grid-column: span 2; grid-row: span 2; min-height: 100%; }
  .bento .b-2 { grid-column: span 2; }
  .bento .b-5 { grid-column: span 2; }
  .bento .b-6 { grid-column: span 2; }
}

/* 09. Why choose us / counters ------------------------------------------ */
.why-grid { display: grid; gap: 40px; }
@media (min-width: 1024px) { .why-grid { grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: start; } }
.counters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 36px; }
.counter { padding: 20px 14px; border-radius: var(--r); background: rgba(255,255,255,.05); border: 1px solid var(--line-dark); }
.counter-num { font: 800 clamp(1.75rem, 5vw, 3rem)/1 var(--font-head); color: #fff; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.counter-num .suffix { color: var(--orange); }
.counter-label { margin-top: 8px; font-size: .8125rem; line-height: 1.35; }
@media (min-width: 640px) { .counter { padding: 26px 22px; } .counter-label { font-size: .9375rem; } }
.features { display: grid; gap: 14px; }
@media (min-width: 640px) { .features { grid-template-columns: 1fr 1fr; } }
.feature { padding: 24px; border-radius: var(--r); background: rgba(255,255,255,.04); border: 1px solid var(--line-dark); transition: transform .35s var(--ease), background-color .3s, border-color .3s; }
.feature:hover { transform: translateY(-4px); background: rgba(255,255,255,.07); border-color: rgba(255,107,26,.4); }
.feature .icon-tile { width: 48px; height: 48px; border-radius: 14px; margin-bottom: 16px; background: rgba(255,107,26,.16); color: #ffb27f; }
.feature h3 { font-size: 1.125rem; margin-bottom: 6px; }
.feature p { font-size: .9375rem; }

.help-grid { display: grid; gap: 20px; margin-top: 56px; }
@media (min-width: 960px) { .help-grid { grid-template-columns: 1fr 1.4fr; } }
.finance-card { padding: 32px; border-radius: var(--r-lg); background: linear-gradient(140deg, var(--orange) 0%, #ff8f4d 100%); color: #fff; position: relative; overflow: hidden; }
.finance-card::after { content: ""; position: absolute; width: 280px; height: 280px; right: -80px; top: -80px; border-radius: 50%; background: rgba(255,255,255,.14); }
.finance-card h3 { color: #fff; font-size: 1.75rem; margin: 12px 0 8px; position: relative; }
.finance-card p { color: rgba(255,255,255,.9); position: relative; }
.finance-card .big { font: 800 3.25rem/1 var(--font-head); letter-spacing: -.04em; margin-top: 20px; position: relative; }
.finance-card .big small { font-size: 1rem; font-weight: 600; letter-spacing: 0; }
.finance-card .btn { margin-top: 24px; position: relative; }
.finance-card .eyebrow { color: #fff; }

/* 14a. Insurance claim help (3 steps) */
.claim-card { padding: 32px; border-radius: var(--r-lg); background: var(--white); color: var(--ink-2); }
.claim-card h3 { font-size: 1.75rem; margin: 12px 0 8px; color: var(--ink) !important; }
.claim-card > p { color: var(--muted); }
.claim-steps { display: grid; gap: 14px; margin-top: 24px; counter-reset: claim; list-style: none; padding: 0; }
@media (min-width: 700px) { .claim-steps { grid-template-columns: repeat(3, 1fr); } }
.claim-steps li { position: relative; padding: 20px; border-radius: var(--r); background: var(--cream); border: 1px solid var(--line); }
.claim-steps li::before { counter-increment: claim; content: "0" counter(claim); font: 800 .875rem/1 var(--font-head); color: var(--orange-600); display: block; margin-bottom: 12px; }
.claim-steps h4 { font-size: 1.0625rem; margin-bottom: 6px; color: var(--ink) !important; }
.claim-steps p { font-size: .875rem; color: var(--muted); }
.claim-card .btn-row { margin-top: 24px; }

/* 10. Gallery & before/after -------------------------------------------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-btn { min-height: 44px; padding: 0 20px; border-radius: var(--r-pill); border: 1px solid rgba(12,27,48,.16); background: var(--white); font-weight: 600; font-size: .9375rem; color: var(--ink-2); transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease); }
.filter-btn:hover { border-color: var(--ink); transform: translateY(-1px); }
.filter-btn[aria-pressed="true"] { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.filter-btn .count { opacity: .55; margin-left: 4px; font-size: .8125rem; }

.gallery { display: grid; gap: 16px; grid-template-columns: 1fr; margin-top: 28px; }
@media (min-width: 600px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .gallery { grid-template-columns: repeat(3, 1fr); gap: 20px; } .gallery .g-wide { grid-column: span 2; } }
.g-item { position: relative; border-radius: var(--r-lg); overflow: hidden; transition: opacity .35s var(--ease), transform .45s var(--ease); }
.g-item.is-hiding { opacity: 0; transform: scale(.94); }
.g-item .media { border-radius: 0; aspect-ratio: 4 / 3; }
.g-item.g-wide .media { aspect-ratio: auto; height: 100%; min-height: 260px; }
.g-item .media img { transition: transform .9s var(--ease); }
.g-item:hover .media img { transform: scale(1.06); }
.g-cap { position: absolute; inset: auto 0 0 0; z-index: 2; padding: 56px 20px 18px; color: #fff; background: linear-gradient(0deg, rgba(7,17,31,.9), transparent); display: flex; align-items: end; justify-content: space-between; gap: 12px; }
.g-cap h3 { color: #fff; font-size: 1.0625rem; }
.g-cap p { font-size: .8125rem; color: #cdd7e6; }
.g-tag { flex-shrink: 0; padding: 5px 10px; border-radius: var(--r-pill); font-size: .75rem; font-weight: 700; background: rgba(255,255,255,.16); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.g-open { position: absolute; inset: 0; z-index: 3; }
.g-open:focus-visible { outline-offset: -4px; border-radius: var(--r-lg); }

.ba-wrap { display: grid; gap: 32px; margin-top: 72px; align-items: center; }
@media (min-width: 960px) { .ba-wrap { grid-template-columns: 1.4fr 1fr; gap: 56px; } }
.ba { --pos: 50%; position: relative; aspect-ratio: 16 / 10; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); user-select: none; -webkit-user-select: none; touch-action: pan-y; }
.ba .media { position: absolute; inset: 0; border-radius: 0; }
.ba .ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); z-index: 1; background: linear-gradient(135deg, #3b2a22, #6b4a3a); }
.ba-label { position: absolute; top: 16px; z-index: 3; padding: 6px 12px; border-radius: var(--r-pill); font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: rgba(7,17,31,.6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); pointer-events: none; }
.ba-label.l { left: 16px; }
.ba-label.r { right: 16px; background: var(--orange); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); z-index: 2; width: 3px; margin-left: -1.5px; background: #fff; pointer-events: none; box-shadow: 0 0 20px rgba(0,0,0,.4); }
.ba-handle::after { content: ""; position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; transform: translate(-50%, -50%); border-radius: 50%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230c1b30' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 18-6-6 6-6M15 6l6 6-6 6'/%3E%3C/svg%3E") center / 24px no-repeat; box-shadow: 0 8px 24px rgba(0,0,0,.35); }
.ba-range { position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; -webkit-appearance: none; appearance: none; }
.ba:has(.ba-range:focus-visible) { outline: 3px solid var(--orange); outline-offset: 4px; }
.ba-list { list-style: none; padding: 0; display: grid; gap: 12px; margin-top: 24px; }
.ba-list li { display: flex; gap: 12px; align-items: flex-start; }
.ba-list .icon { color: var(--success); margin-top: 3px; }

/* 11. Reviews & video ---------------------------------------------------- */
.rating-summary { display: flex; align-items: center; gap: 16px; padding: 14px 20px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); }
.rating-summary .big { font: 800 2.5rem/1 var(--font-head); color: var(--ink); letter-spacing: -.03em; }
.rating-summary small { display: block; color: var(--muted); font-size: .8125rem; }

.carousel { position: relative; }
.carousel-track { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 6px 2px 24px; overscroll-behavior-x: contain; }
.carousel-track::-webkit-scrollbar { display: none; }
@media (min-width: 720px) { .carousel-track { grid-auto-columns: calc((100% - 16px) / 2); } }
@media (min-width: 1100px) { .carousel-track { grid-auto-columns: calc((100% - 40px) / 3); gap: 20px; } }
.review { scroll-snap-align: start; display: flex; flex-direction: column; gap: 16px; padding: 28px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.review:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.review blockquote { font-size: 1.0625rem; color: var(--ink-2); line-height: 1.6; flex: 1; }
.review-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.review-service { font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--orange-600); background: var(--orange-100); padding: 5px 10px; border-radius: var(--r-pill); white-space: nowrap; }
.review-author { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font: 700 .9375rem/1 var(--font-head); color: #fff; background: var(--navy-700); flex-shrink: 0; }
.review-author strong { display: block; color: var(--ink); font-family: var(--font-head); font-size: .9375rem; }
.review-author span { font-size: .8125rem; color: var(--muted); }
.verified { display: inline-flex; align-items: center; gap: 4px; color: var(--success) !important; font-weight: 600; }
.verified .icon { width: 14px; height: 14px; }
.carousel-controls { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 8px; }
.carousel-dots { display: flex; gap: 8px; }
.carousel-dots button { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; }
.carousel-dots button::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: rgba(12,27,48,.2); transition: transform .3s var(--ease), background-color .3s; }
.carousel-dots button[aria-current="true"]::before { background: var(--orange); transform: scale(1.4); }
.carousel-arrows { display: flex; gap: 10px; }
.icon-btn { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--white); border: 1px solid rgba(12,27,48,.16); color: var(--ink); transition: background-color .2s, color .2s, transform .2s var(--ease), border-color .2s; }
.icon-btn:hover { background: var(--navy-900); color: #fff; border-color: var(--navy-900); transform: translateY(-2px); }

.video-block { margin-top: 72px; }
.video-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .video-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .video-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.video-card { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--navy-900); text-align: left; width: 100%; color: #fff; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.video-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.video-card .media { border-radius: 0; aspect-ratio: 16 / 10; }
.video-card .media img { transition: transform .9s var(--ease); }
.video-card:hover .media img { transform: scale(1.05); }
.video-card .media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7,17,31,.85), rgba(7,17,31,.1) 60%); }
.play { position: absolute; top: 50%; left: 50%; z-index: 2; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%; display: grid; place-items: center; background: var(--orange); color: #fff; box-shadow: 0 0 0 10px rgba(255,107,26,.25); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.play .icon { width: 26px; height: 26px; margin-left: 4px; }
.video-card:hover .play { transform: scale(1.1); box-shadow: 0 0 0 16px rgba(255,107,26,.2); }
.video-meta { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 20px; display: flex; justify-content: space-between; align-items: end; gap: 12px; }
.video-meta strong { display: block; font-family: var(--font-head); font-size: 1.0625rem; }
.video-meta span { font-size: .8125rem; color: #cdd7e6; }
.duration { padding: 4px 8px; border-radius: 8px; background: rgba(0,0,0,.5); font-size: .75rem; font-weight: 600; font-variant-numeric: tabular-nums; }

/* reviews wall */
.reviews-wall { columns: 1; column-gap: 20px; margin-top: 28px; }
@media (min-width: 700px) { .reviews-wall { columns: 2; } }
@media (min-width: 1100px) { .reviews-wall { columns: 3; } }
.reviews-wall .review { break-inside: avoid; margin-bottom: 20px; }
.reviews-wall .review.is-hiding { opacity: 0; transform: scale(.96); }
.reviews-wall .review { transition: opacity .3s var(--ease), transform .35s var(--ease), box-shadow .35s; }
.rating-panel { display: grid; gap: 24px; padding: 28px; border-radius: var(--r-lg); align-items: center; }
@media (min-width: 720px) { .rating-panel { grid-template-columns: auto 1fr; gap: 40px; } }
.rating-panel .score { font: 800 4.5rem/1 var(--font-head); letter-spacing: -.04em; }
.rating-bars { display: grid; gap: 8px; list-style: none; padding: 0; font-size: .875rem; }
.rating-bars li { display: grid; grid-template-columns: 48px 1fr 44px; gap: 12px; align-items: center; }
.bar { height: 8px; border-radius: 8px; background: rgba(255,255,255,.15); overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--star); border-radius: inherit; transform-origin: left; transform: scaleX(var(--w, 0)); transition: transform 1.2s var(--ease); }
.js .reveal:not(.is-visible) .bar i { transform: scaleX(0); }

/* 12. Process & materials ----------------------------------------------- */
.steps { display: grid; gap: 16px; counter-reset: step; list-style: none; padding: 0; position: relative; }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .steps::before { content: ""; position: absolute; top: 52px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, rgba(12,27,48,.2) 0 8px, transparent 8px 16px); }
}
.step { position: relative; padding: 28px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s; }
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.step-num { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-900); color: #fff; font: 800 1.125rem/1 var(--font-head); margin-bottom: 20px; position: relative; box-shadow: 0 0 0 8px var(--cream-2); }
.section-white .step-num { box-shadow: 0 0 0 8px var(--white); }
.step:hover .step-num { background: var(--orange); }
.step h3 { font-size: 1.25rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .9375rem; }
.step .step-time { display: inline-block; margin-top: 14px; font-size: .8125rem; font-weight: 600; color: var(--orange-600); }

.table-wrap { margin-top: 64px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare { min-width: 640px; font-size: .9375rem; }
.compare caption { text-align: left; padding: 24px 24px 8px; font: 800 1.375rem/1.2 var(--font-head); color: var(--ink); }
.compare caption span { display: block; font: 400 .9375rem/1.5 var(--font-body); color: var(--muted); margin-top: 4px; }
.compare th, .compare td { padding: 18px 24px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.compare thead th { font-family: var(--font-head); color: var(--ink); font-size: 1.0625rem; }
.compare thead th small { display: block; font: 500 .8125rem/1.3 var(--font-body); color: var(--muted); }
.compare tbody th { font-weight: 600; color: var(--ink); width: 22%; }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare .col-hl { background: rgba(255,107,26,.05); }
.compare thead .col-hl { position: relative; }
.pop { display: inline-block; margin-left: 6px; padding: 3px 8px; border-radius: var(--r-pill); background: var(--orange); color: #fff; font: 700 .6875rem/1.3 var(--font-body); letter-spacing: .04em; text-transform: uppercase; vertical-align: middle; }
.meter { display: flex; gap: 4px; margin-top: 6px; }
.meter i { width: 22px; height: 6px; border-radius: 4px; background: rgba(12,27,48,.12); }
.meter i.on { background: var(--orange); }

/* 13. Quiz --------------------------------------------------------------- */
.quiz { margin-top: 64px; display: grid; gap: 32px; padding: 28px; border-radius: var(--r-xl); background: var(--navy-900); color: var(--muted-on-dark); position: relative; overflow: hidden; }
.quiz::before { content: ""; position: absolute; width: 520px; height: 520px; right: -200px; bottom: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(255,107,26,.35), transparent 65%); pointer-events: none; }
@media (min-width: 960px) { .quiz { grid-template-columns: .85fr 1.15fr; padding: 48px; gap: 48px; } }
.quiz h2, .quiz h3 { color: #fff; }
.quiz-intro h2 { font-size: clamp(1.75rem, 3.6vw, 2.5rem); margin: 14px 0 12px; }
.quiz-form { position: relative; display: grid; gap: 10px; }
.quiz-q { display: grid; gap: 12px; padding: 16px 18px; border-radius: var(--r); background: rgba(255,255,255,.05); border: 1px solid var(--line-dark); transition: border-color .25s, background-color .25s; }
.quiz-q.is-answered { border-color: rgba(255,107,26,.45); background: rgba(255,255,255,.07); }
@media (min-width: 640px) { .quiz-q { grid-template-columns: 1fr auto; align-items: center; } }
.quiz-q legend { float: left; color: #fff; font-weight: 600; font-size: .9375rem; line-height: 1.45; padding: 0; }
.quiz-q fieldset, fieldset.quiz-q { border: 1px solid var(--line-dark); margin: 0; min-width: 0; }
.yn { display: flex; gap: 8px; }
.yn label { position: relative; }
.yn input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.yn span { display: inline-flex; align-items: center; justify-content: center; min-width: 64px; min-height: 40px; padding: 0 14px; border-radius: var(--r-pill); border: 1px solid rgba(255,255,255,.25); color: #fff; font-weight: 600; font-size: .875rem; transition: background-color .2s, border-color .2s, transform .2s var(--ease); }
.yn input:checked + span { background: var(--orange); border-color: var(--orange); }
.yn input:focus-visible + span { outline: 3px solid #ffb27f; outline-offset: 2px; }
.yn label:hover span { transform: translateY(-1px); border-color: #fff; }
.quiz-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 8px; }
.quiz-progress { font-size: .875rem; }
.quiz-error { color: #ffb4a8; font-size: .875rem; font-weight: 600; }
.quiz-result { position: relative; padding: 28px; border-radius: var(--r-lg); background: var(--white); color: var(--ink-2); animation: popIn .5s var(--ease) both; }
.quiz-result h3 { color: var(--ink); font-size: 1.5rem; margin: 12px 0 8px; }
.quiz-result p { color: var(--muted); }
.quiz-result .btn-row { margin-top: 20px; }
.result-meter { display: flex; gap: 6px; margin-top: 4px; }
.result-meter i { flex: 1; height: 8px; border-radius: 6px; background: var(--cream-2); }
.result-meter i.on { background: var(--orange); }
.result-tag { display: inline-flex; padding: 6px 12px; border-radius: var(--r-pill); font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.result-tag.good { background: #dcfce7; color: var(--success); }
.result-tag.mid { background: #fef3c7; color: #a16207; }
.result-tag.bad { background: #fee2e2; color: var(--danger); }

/* 14b. FAQ accordion ----------------------------------------------------- */
.faq { display: grid; gap: 12px; max-width: 880px; margin-inline: auto; }
.faq-item { border-radius: var(--r); background: var(--white); border: 1px solid var(--line); transition: border-color .25s, box-shadow .25s; }
.faq-item.is-open { border-color: rgba(255,107,26,.45); box-shadow: var(--shadow); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; text-align: left; font: 700 1.0625rem/1.4 var(--font-head); color: var(--ink); min-height: 64px; border-radius: var(--r); }
.faq-q .plus { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--cream-2); color: var(--ink); flex-shrink: 0; transition: transform .35s var(--ease), background-color .25s, color .25s; }
.faq-q .plus .icon { width: 16px; height: 16px; }
.faq-item.is-open .plus { transform: rotate(45deg); background: var(--orange); color: #fff; }
.faq-a { padding: 0 24px 22px; color: var(--muted); }
.faq-a > div { animation: fadeUp .4s var(--ease) both; }
.faq-a p + p { margin-top: 10px; }

/* 15. Quote wizard ------------------------------------------------------- */
.quote-section { background: var(--navy-950); color: var(--muted-on-dark); position: relative; overflow: hidden; }
.quote-section::before { content: ""; position: absolute; inset: 0; background: radial-gradient(800px 500px at 0% 0%, rgba(42,76,128,.55), transparent 60%), radial-gradient(700px 500px at 100% 100%, rgba(255,107,26,.18), transparent 60%); pointer-events: none; }
.quote-grid { position: relative; display: grid; gap: 40px; }
@media (min-width: 1024px) { .quote-grid { grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: start; } }
.quote-section h2 { color: #fff; }

.wizard { position: relative; background: var(--white); color: var(--ink-2); border-radius: var(--r-xl); padding: 24px; box-shadow: var(--shadow-lg); overflow: hidden; }
@media (min-width: 640px) { .wizard { padding: 36px; } }
.wizard-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.wizard-top h3 { font-size: 1.25rem; }
.wizard-count { font-size: .875rem; font-weight: 600; color: var(--muted); white-space: nowrap; }
.progress { height: 8px; border-radius: 8px; background: var(--cream-2); overflow: hidden; margin-bottom: 28px; }
.progress-bar { height: 100%; width: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--orange-600), var(--orange)); transform-origin: left; transform: scaleX(.25); transition: transform .6s var(--ease); }
.w-step { border: 0; padding: 0; margin: 0; min-width: 0; }
.w-step.is-active { animation: stepIn .5s var(--ease) both; }
.w-step.is-active.from-back { animation-name: stepInBack; }
.w-step legend { font: 800 1.375rem/1.25 var(--font-head); color: var(--ink); margin-bottom: 6px; padding: 0; letter-spacing: -.02em; }
.w-hint { color: var(--muted); font-size: .9375rem; margin-bottom: 20px; }
.options { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
@media (min-width: 640px) { .options-3 { grid-template-columns: repeat(3, 1fr); } }
.option { position: relative; }
.option input { position: absolute; opacity: 0; inset: 0; cursor: pointer; z-index: 1; }
.option-body { display: flex; flex-direction: column; gap: 10px; height: 100%; min-height: 96px; padding: 16px; border-radius: var(--r); border: 1.5px solid rgba(12,27,48,.14); background: var(--cream); font-weight: 600; font-size: .9375rem; line-height: 1.3; color: var(--ink); transition: border-color .2s, background-color .2s, transform .25s var(--ease), box-shadow .25s; }
.option-body .icon { color: var(--orange-600); width: 24px; height: 24px; }
.option-body small { font-weight: 400; color: var(--muted); font-size: .8125rem; }
.option:hover .option-body { border-color: rgba(12,27,48,.4); transform: translateY(-2px); }
.option input:checked + .option-body { border-color: var(--orange); background: var(--orange-100); box-shadow: 0 0 0 3px rgba(255,107,26,.18); }
.option input:focus-visible + .option-body { outline: 3px solid var(--orange); outline-offset: 2px; }
.fields { display: grid; gap: 14px; }
@media (min-width: 560px) { .fields { grid-template-columns: 1fr 1fr; } .field-full { grid-column: 1 / -1; } }
.field label { display: block; font-weight: 600; font-size: .875rem; color: var(--ink); margin-bottom: 6px; }
.field input, .field textarea, .field select { width: 100%; min-height: 52px; padding: 12px 16px; border-radius: 14px; border: 1.5px solid rgba(12,27,48,.16); background: var(--cream); font-size: 1rem; color: var(--ink); transition: border-color .2s, box-shadow .2s, background-color .2s; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--orange); background: #fff; box-shadow: 0 0 0 4px rgba(255,107,26,.16); }
.field.has-error input { border-color: var(--danger); }
.field-error { display: block; min-height: 1.2em; margin-top: 4px; font-size: .8125rem; color: var(--danger); font-weight: 500; }
.w-error { margin-top: 12px; font-size: .875rem; font-weight: 600; color: var(--danger); min-height: 1.3em; }
.w-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; }
.w-nav .btn-back { visibility: hidden; }
.w-nav .btn-back.is-shown { visibility: visible; }
.w-consent { margin-top: 14px; font-size: .75rem; color: var(--muted); line-height: 1.5; }
.w-secure { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: .8125rem; color: var(--muted); }
.w-secure .icon { color: var(--success); width: 16px; height: 16px; }
.w-success { text-align: center; padding: 24px 8px; }
.w-success .check { width: 88px; height: 88px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; background: #dcfce7; color: var(--success); animation: popIn .6s var(--ease) both; }
.w-success .check .icon { width: 44px; height: 44px; stroke-width: 2.5; }
.w-success h3 { font-size: 1.75rem; margin-bottom: 8px; animation: fadeUp .6s .15s var(--ease) both; }
.w-success p { color: var(--muted); max-width: 420px; margin-inline: auto; animation: fadeUp .6s .25s var(--ease) both; }
.w-success .btn-row { justify-content: center; margin-top: 24px; animation: fadeUp .6s .35s var(--ease) both; }
.w-summary { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 18px; animation: fadeUp .6s .3s var(--ease) both; }
.w-summary span { padding: 6px 12px; border-radius: var(--r-pill); background: var(--cream-2); font-size: .8125rem; font-weight: 600; color: var(--ink); }

.call-panel { display: grid; gap: 16px; }
.big-phone { display: flex; align-items: center; gap: 16px; padding: 22px; border-radius: var(--r-lg); transition: transform .3s var(--ease), background-color .3s; }
.big-phone:hover { transform: translateY(-3px); background: rgba(255,255,255,.14); }
.big-phone .bp-icon { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--orange); color: #fff; flex-shrink: 0; box-shadow: var(--glow); }
.big-phone .bp-icon .icon { width: 26px; height: 26px; }
.big-phone small { display: block; color: #cdd7e6; font-size: .875rem; }
.big-phone strong { display: block; font: 800 clamp(1.5rem, 4vw, 2.125rem)/1.1 var(--font-head); color: #fff; letter-spacing: -.02em; }
.info-card { padding: 22px; border-radius: var(--r-lg); background: rgba(255,255,255,.05); border: 1px solid var(--line-dark); }
.info-card h3 { font-size: 1.0625rem; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; color: #fff; }
.info-card h3 .icon { color: #ffb27f; }
.hours { list-style: none; padding: 0; display: grid; gap: 8px; font-size: .9375rem; }
.hours li { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px dashed var(--line-dark); padding-bottom: 8px; }
.hours li:last-child { border: 0; padding: 0; }
.hours li span:last-child { color: #fff; font-weight: 600; }
.area-chips .chip { background: rgba(255,255,255,.06); border-color: var(--line-dark); color: #e6ecf5; min-height: 36px; padding: 6px 14px; font-size: .875rem; }
.area-chips a.chip:hover { border-color: var(--orange); color: #fff; background: rgba(255,107,26,.15); }
.section-dark .area-chips .chip .icon, .quote-section .area-chips .chip .icon { color: #ffb27f; }

/* 16. Contact & map ------------------------------------------------------ */
.contact-grid { display: grid; gap: 24px; }
.contact-grid > *, .quote-grid > *, .split > *, .service-detail > * { min-width: 0; }
.contact-list strong, .footer-contact a { overflow-wrap: anywhere; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: start; } }
.contact-list { list-style: none; padding: 0; display: grid; gap: 4px; }
.contact-list li a, .contact-list li > div { display: flex; gap: 16px; align-items: flex-start; padding: 16px; border-radius: var(--r); transition: background-color .2s; }
.contact-list li a:hover { background: var(--cream-2); }
.contact-list .ci { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--orange-100); color: var(--orange-600); flex-shrink: 0; }
.contact-list strong { display: block; color: var(--ink); font-family: var(--font-head); font-size: 1.0625rem; }
.contact-list span { color: var(--muted); font-size: .9375rem; }
.emergency { padding: 28px; border-radius: var(--r-lg); background: linear-gradient(135deg, #7f1d1d, #b91c1c); color: #fee2e2; position: relative; overflow: hidden; }
.emergency::after { content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; background: rgba(255,255,255,.08); }
.emergency h3 { color: #fff; font-size: 1.5rem; margin: 10px 0 8px; display: flex; align-items: center; gap: 10px; }
.emergency .btn { margin-top: 18px; }
.emergency .live { display: inline-flex; align-items: center; gap: 8px; font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #fff; }
.map { position: relative; min-height: 360px; border-radius: var(--r-lg); overflow: hidden; background:
  linear-gradient(rgba(12,27,48,.06) 1px, transparent 1px) 0 0 / 40px 40px,
  linear-gradient(90deg, rgba(12,27,48,.06) 1px, transparent 1px) 0 0 / 40px 40px,
  linear-gradient(135deg, #e7eef7, #f4efe6); border: 1px solid var(--line); display: grid; place-items: center; text-align: center; padding: 24px; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-pin { width: 64px; height: 64px; margin: 0 auto 12px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--orange); display: grid; place-items: center; box-shadow: var(--glow); animation: bob 2.4s ease-in-out infinite; }
.map-pin .icon { transform: rotate(45deg); color: #fff; }
.map strong { display: block; font-family: var(--font-head); color: var(--ink); font-size: 1.125rem; }
.map span { color: var(--muted); font-size: .9375rem; }
.map .btn { margin-top: 16px; }
.area-list { columns: 2; column-gap: 24px; list-style: none; padding: 0; }
@media (min-width: 700px) { .area-list { columns: 3; } }
@media (min-width: 1024px) { .area-list { columns: 5; } }
.area-list li { break-inside: avoid; display: flex; align-items: center; gap: 8px; padding: 8px 0; font-weight: 500; color: var(--ink); }
.area-list .icon { color: var(--orange); width: 16px; height: 16px; }

/* 17. Page heroes & sub-pages ------------------------------------------- */
.page-hero { position: relative; color: #fff; background: var(--navy-950); overflow: hidden; isolation: isolate; }
.page-hero .hero-media { inset: -8% 0; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7,17,31,.95), rgba(7,17,31,.7) 60%, rgba(7,17,31,.45)); }
.page-hero-inner { padding-block: 72px 64px; max-width: 760px; }
@media (min-width: 1024px) { .page-hero-inner { padding-block: 112px 96px; } }
.page-hero h1 { color: #fff; font-size: clamp(2.25rem, 6vw, 4rem); line-height: 1.04; margin: 16px 0 18px; letter-spacing: -.035em; }
.page-hero p { color: #cdd7e6; font-size: clamp(1.0625rem, 1.8vw, 1.1875rem); max-width: 620px; }
.page-hero .btn-row { margin-top: 28px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; font-size: .875rem; color: #a9b6cb; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb [aria-current] { color: #fff; font-weight: 600; }

.subnav { position: sticky; top: var(--header-h); z-index: 40; background: rgba(250,247,242,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.subnav ul { display: flex; gap: 6px; overflow-x: auto; list-style: none; padding: 10px 0; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: var(--r-pill); font-weight: 600; font-size: .875rem; white-space: nowrap; color: var(--ink-2); border: 1px solid transparent; transition: background-color .2s, border-color .2s; }
.subnav a:hover, .subnav a.is-active { background: var(--white); border-color: var(--line); color: var(--ink); }

.service-detail { display: grid; gap: 36px; align-items: start; }
@media (min-width: 1024px) { .service-detail { grid-template-columns: 1fr 1fr; gap: 64px; } .service-detail.flip > .sd-media { order: 2; } .sd-media { position: sticky; top: calc(var(--header-h) + 80px); } }
.sd-media .media { aspect-ratio: 4 / 3.3; box-shadow: var(--shadow-lg); }
.sd-media .sd-float { position: absolute; left: 16px; bottom: 16px; z-index: 2; padding: 14px 18px; border-radius: 18px; display: flex; gap: 12px; align-items: center; font-size: .875rem; line-height: 1.3; background: rgba(7,17,31,.45); }
.sd-media .sd-float strong { display: block; font: 800 1.25rem/1.1 var(--font-head); }
.sd-body h2 { font-size: clamp(1.875rem, 4vw, 2.75rem); margin: 12px 0 14px; }
.sd-body > p { color: var(--muted); font-size: 1.0625rem; }
.sd-body h3 { font-size: 1.125rem; margin: 28px 0 14px; }
.benefits { list-style: none; padding: 0; display: grid; gap: 10px; }
@media (min-width: 560px) { .benefits { grid-template-columns: 1fr 1fr; } }
.benefits li { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: var(--white); border: 1px solid var(--line); font-size: .9375rem; font-weight: 500; color: var(--ink); }
.benefits .icon { color: var(--success); margin-top: 2px; width: 18px; height: 18px; }
.mini-steps { list-style: none; padding: 0; display: grid; gap: 0; counter-reset: ms; }
.mini-steps li { position: relative; padding: 0 0 18px 48px; }
.mini-steps li::before { counter-increment: ms; content: counter(ms); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-900); color: #fff; font: 700 .875rem/1 var(--font-head); }
.mini-steps li::after { content: ""; position: absolute; left: 15px; top: 36px; bottom: 4px; width: 2px; background: var(--line); }
.mini-steps li:last-child::after { display: none; }
.mini-steps strong { display: block; color: var(--ink); font-family: var(--font-head); }
.mini-steps span { color: var(--muted); font-size: .9375rem; }
.sd-cta { margin-top: 28px; padding: 20px; border-radius: var(--r); background: var(--navy-900); color: var(--muted-on-dark); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.sd-cta strong { display: block; color: #fff; font-family: var(--font-head); font-size: 1.0625rem; }
.sd-cta span { font-size: .875rem; }
.price-hint { display: inline-flex; gap: 8px; align-items: center; margin-top: 16px; padding: 8px 14px; border-radius: var(--r-pill); background: var(--orange-100); color: var(--orange-600); font-size: .875rem; font-weight: 700; }

.owner { display: grid; gap: 32px; padding: 28px; border-radius: var(--r-xl); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); align-items: center; }
@media (min-width: 900px) { .owner { grid-template-columns: 340px 1fr; padding: 40px; gap: 48px; } }
.owner .media { aspect-ratio: 4 / 5; }
.owner blockquote { font: 600 clamp(1.25rem, 2.4vw, 1.625rem)/1.45 var(--font-head); color: var(--ink); letter-spacing: -.015em; position: relative; }
.owner blockquote::before { content: "“"; display: block; font: 800 5rem/0.6 var(--font-head); color: var(--orange); margin-bottom: 12px; }
.owner p.owner-more { color: var(--muted); margin-top: 18px; }
.signature { margin-top: 24px; display: flex; align-items: center; gap: 16px; }
.signature .sig { font: italic 600 2rem/1 "Brush Script MT", "Segoe Script", cursive; color: var(--navy-700); }
.signature strong { display: block; color: var(--ink); font-family: var(--font-head); }
.signature span { color: var(--muted); font-size: .875rem; }

.team-card { padding: 0; }
.team-card .media { border-radius: 0; aspect-ratio: 4 / 4.4; }
.team-card .media img { transition: transform .9s var(--ease); }
.team-card:hover .media img { transform: scale(1.05); }
.team-card .tc-body { padding: 20px 22px 24px; }
.team-card h3 { font-size: 1.1875rem; margin-bottom: 2px; }
.team-card .role { color: var(--orange-600); font-weight: 600; font-size: .875rem; }
.team-card p { font-size: .9375rem; margin-top: 10px; }

.cert-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .cert-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cert-grid { grid-template-columns: repeat(3, 1fr); } }
.cert { display: flex; gap: 16px; align-items: center; padding: 20px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); }
.cert .badge-mark { width: 56px; height: 56px; border-radius: 16px; font-size: .9375rem; }
.cert strong { display: block; color: var(--ink); font-family: var(--font-head); }
.cert span { color: var(--muted); font-size: .875rem; }

.warranty-grid { display: grid; gap: 16px; }
@media (min-width: 900px) { .warranty-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.warranty { padding: 32px; border-radius: var(--r-lg); background: rgba(255,255,255,.04); border: 1px solid var(--line-dark); transition: transform .35s var(--ease), border-color .3s; }
.warranty:hover { transform: translateY(-5px); border-color: rgba(255,107,26,.45); }
.warranty.featured { background: linear-gradient(160deg, rgba(255,107,26,.2), rgba(255,255,255,.04)); border-color: rgba(255,107,26,.5); }
.warranty .years { font: 800 3.5rem/1 var(--font-head); color: #fff; letter-spacing: -.04em; }
.warranty .years small { font-size: 1rem; font-weight: 600; color: #ffb27f; letter-spacing: 0; margin-left: 4px; }
.warranty h3 { margin: 14px 0 8px; font-size: 1.25rem; }
.warranty ul { margin-top: 16px; padding: 0; list-style: none; display: grid; gap: 8px; font-size: .9375rem; }
.warranty li { display: flex; gap: 10px; }
.warranty li .icon { color: #ffb27f; width: 18px; height: 18px; margin-top: 3px; }

.mosaic { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
.mosaic .media { aspect-ratio: 1; border-radius: var(--r); }
@media (min-width: 900px) { .mosaic { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 16px; } .mosaic .media { aspect-ratio: auto; } .mosaic .m-tall { grid-row: span 2; } .mosaic .m-wide { grid-column: span 2; } }

.story-stats { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--line); }
.story-stats strong { display: block; font: 800 2.25rem/1 var(--font-head); color: var(--ink); letter-spacing: -.03em; }
.story-stats span { color: var(--muted); font-size: .875rem; }
.story-media { position: relative; }
.story-media .media { aspect-ratio: 4 / 4.4; box-shadow: var(--shadow-lg); }
.story-media .since { position: absolute; right: -8px; bottom: 24px; z-index: 2; padding: 18px 22px; border-radius: var(--r); background: var(--orange); color: #fff; box-shadow: var(--glow); font-size: .8125rem; font-weight: 600; }
.story-media .since strong { display: block; font: 800 2rem/1 var(--font-head); }
@media (min-width: 1024px) { .story-media .since { right: -28px; } }

.cta-band { position: relative; overflow: hidden; border-radius: var(--r-xl); padding: 40px 28px; background: var(--navy-900); color: var(--muted-on-dark); display: grid; gap: 24px; isolation: isolate; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(600px 300px at 100% 0%, rgba(255,107,26,.35), transparent 60%), radial-gradient(500px 300px at 0% 100%, rgba(42,76,128,.7), transparent 60%); }
@media (min-width: 900px) { .cta-band { grid-template-columns: 1fr auto; align-items: center; padding: 56px; } }
.cta-band h2 { color: #fff; font-size: clamp(1.75rem, 4vw, 2.75rem); margin-bottom: 10px; }
.cta-band .btn-row { justify-content: flex-start; }

/* 18. Footer ------------------------------------------------------------- */
.site-footer { background: var(--navy-950); color: var(--muted-on-dark); padding-top: 72px; font-size: .9375rem; }
.footer-grid { display: grid; gap: 40px; padding-bottom: 48px; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 48px; } }
.site-footer .logo { color: #fff; }
.site-footer .logo-mark .s { fill: var(--navy-700); }
.footer-about p { margin-top: 16px; max-width: 360px; }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 16px; letter-spacing: -.01em; }
.footer-links { list-style: none; padding: 0; display: grid; gap: 4px; }
.footer-links a { display: inline-flex; min-height: 36px; align-items: center; transition: color .2s, transform .2s var(--ease); }
.footer-links a:hover { color: #fff; transform: translateX(3px); }
.footer-contact a.f-phone { display: inline-block; font: 800 1.5rem/1.2 var(--font-head); color: #fff; margin-bottom: 8px; }
.footer-contact a.f-phone:hover { color: #ffb27f; }
.footer-contact p { margin-bottom: 8px; }
.footer-badges { padding-block: 28px; border-top: 1px solid var(--line-dark); }
.footer-bottom { padding-block: 24px 32px; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: .8125rem; }
.footer-bottom a:hover { color: #fff; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-dark); color: #fff; transition: background-color .2s, transform .2s var(--ease); }
.socials a:hover { background: var(--orange); border-color: var(--orange); transform: translateY(-2px); }
.socials .icon { width: 18px; height: 18px; }

/* 19. Mobile bar, modal, lightbox --------------------------------------- */
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: 1fr 1.25fr; gap: 10px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgba(250,247,242,.94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -12px rgba(12,27,48,.25); transform: translateY(0); transition: transform .35s var(--ease); }
.mobile-bar .btn { min-height: 50px; padding: 0 12px; }
.mobile-bar.is-hidden { transform: translateY(110%); }
@media (max-width: 899px) { body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); } }
@media (min-width: 900px) { .mobile-bar { display: none; } }

.modal { border: 0; padding: 0; background: transparent; max-width: min(1000px, calc(100vw - 32px)); width: 100%; margin: auto; overflow: visible; color: #fff; }
.modal::backdrop { background: rgba(4,10,20,.86); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.modal[open] { animation: popIn .4s var(--ease) both; }
.modal-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: #000; box-shadow: var(--shadow-lg); }
.modal-frame video, .modal-frame iframe { width: 100%; height: 100%; border: 0; object-fit: contain; }
.modal-close { position: absolute; top: -56px; right: 0; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.12); color: #fff; transition: background-color .2s, transform .2s var(--ease); }
.modal-close:hover { background: var(--orange); transform: rotate(90deg); }
.modal-caption { margin-top: 14px; font-size: .9375rem; color: #cdd7e6; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.modal-caption strong { color: #fff; font-family: var(--font-head); }
.lightbox .modal-frame { aspect-ratio: auto; max-height: 78vh; background: var(--navy-900); }
.lightbox .modal-frame .media { border-radius: 0; aspect-ratio: 4 / 3; max-height: 78vh; }
.lightbox .modal-frame .media img { object-fit: cover; }
.lb-nav { position: absolute; top: 50%; z-index: 3; transform: translateY(-50%); width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: rgba(7,17,31,.6); color: #fff; transition: background-color .2s; }
.lb-nav:hover { background: var(--orange); }
.lb-prev { left: 12px; }
.lb-next { right: 12px; }
.lb-img.swap { animation: fadeIn .35s var(--ease) both; }

/* 20. Animations & reveal ----------------------------------------------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes popIn { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: none; } }
@keyframes stepIn { from { opacity: 0; transform: translateX(32px); } to { opacity: 1; transform: none; } }
@keyframes stepInBack { from { opacity: 0; transform: translateX(-32px); } to { opacity: 1; transform: none; } }
@keyframes heroZoom { from { transform: scale(1.14); } to { transform: scale(1.02); } }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(3); opacity: 0; } }
@keyframes bob { 0%, 100% { transform: rotate(-45deg) translate(0, 0); } 50% { transform: rotate(-45deg) translate(6px, -6px); } }

.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .9s var(--ease); transition-delay: var(--delay, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* 21. Reduced motion ----------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero-media { transform: none !important; }
  .carousel-track { scroll-behavior: auto; }
}

/* Print: keep it simple */
@media print {
  .offer-banner, .storm-strip, .site-header, .mobile-bar, .modal { display: none !important; }
  body { padding: 0; background: #fff; }
}
