﻿/* ============================================================
   SAFE BATHING CANADA - Design System
   Modern, accessible, trust-driven UI
   ============================================================ */

/* ── Google Fonts loaded asynchronously via HTML <link> - see each page <head> ── */

/* ── CSS Custom Properties - Brand Colors from safebathingcanada.com ── */
:root {
  --navy:        #0e5ce2;   /* brand royal blue – primary structural colour */
  --navy-dark:   #071f5e;   /* deep navy – hero, card headers, dark sections */
  --navy-light:  #3d7ef8;   /* lighter royal blue for gradients */
  --blue:        #2271f5;   /* mid-bright blue – links, badges, interactive */
  --blue-hover:  #0e5ce2;   /* hover lands on exact brand blue */
  --blue-light:  #dce8fe;   /* light blue tint for backgrounds */
  --teal:        #65f2f5;   /* brand bright cyan – footer, accent */
  --teal-dark:   #3dd8dc;   /* deeper cyan – hover, active states */
  --teal-light:  #e0fafb;   /* light cyan tint */
  --red:         #f80400;   /* brand vivid red – primary CTA */
  --red-dark:    #cc0300;   /* CTA hover */
  --red-light:   #fee8e8;   /* light red tint */
  --green:              #65f2f5;   /* cyan – secondary / phone buttons */
  --green-dark:         #3dd8dc;   /* cyan hover state */
  --green-light:        #e0fafb;   /* light cyan tint */
  --electric-green:     #00C896;   /* electric seafoam – free-quote CTA buttons */
  --electric-green-drk: #00A87A;   /* free-quote hover */
  --electric-green-txt: #007A5C;   /* free-quote text links */
  --white:       #FFFFFF;
  --off-white:   #FCFCFC;   /* page background */
  --gray-50:     #F9FAFB;
  --gray-100:    #F3F4F6;
  --gray-200:    #E5E7EB;
  --gray-300:    #D1D5DB;
  --gray-400:    #9CA3AF;
  --gray-500:    #6B7280;
  --gray-600:    #4B5563;
  --gray-700:    #374151;
  --gray-800:    #1F2937;
  --gray-900:    #111827;
  --text:        #0a0a0a;   /* primary text */
  --text-mid:    #444444;   /* headings */
  --text-light:  #555555;

  /* Semantic aliases (so all existing btn-primary, bg-navy etc. still work) */
  --amber:       #f80400;   /* maps to brand vivid red */
  --amber-dark:  #cc0300;
  --amber-light: #fee8e8;

  --font-display:'Playfair Display', Georgia, serif;   /* h1–h6 */
  --font-head:   'Montserrat', system-ui, sans-serif;  /* UI labels, nav, buttons */
  --font-body:   'Inter', system-ui, sans-serif;

  --shadow-sm:   0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --shadow-md:   0 4px 16px rgba(0,0,0,.10), 0 2px 6px rgba(0,0,0,.06);
  --shadow-lg:   0 10px 40px rgba(0,0,0,.14), 0 4px 12px rgba(0,0,0,.08);
  --shadow-xl:   0 20px 60px rgba(0,0,0,.18);

  --radius-sm:   6px;
  --radius:      12px;
  --radius-lg:   20px;
  --radius-xl:   32px;
  --radius-full: 9999px;

  --transition:  all .25s cubic-bezier(.4,0,.2,1);
  --transition-slow: all .4s cubic-bezier(.4,0,.2,1);

  --container:   1200px;
  --header-h:    80px;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
input, textarea, select { font: inherit; }
ul, ol { list-style: none; }

/* ── Typography ── */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
}
h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; font-weight: 600; }
h5 { font-size: 1.1rem; font-weight: 600; }
/* On dark/blue backgrounds, headings go white */
.hero h1, .hero h2, .hero h3,
.page-hero h1, .page-hero h2, .page-hero p,
.cta-section h2, .cta-section p,
.bg-navy h1, .bg-navy h2, .bg-navy h3, .bg-navy h4 { color: var(--white); }
p  { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-light);
  line-height: 1.7;
}

/* ── Layout ── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}
@media (min-width: 768px) { .container { padding: 0 2rem; } }
@media (min-width: 1280px) { .container { padding: 0 2.5rem; } }

.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.section-lg { padding: 7rem 0; }

/* ── Grid Helpers ── */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px)  { .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 768px)  { .grid-2,.grid-3,.grid-4 { grid-template-columns: 1fr; } }

.flex { display: flex; gap: 1rem; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }

/* ── Section Headers ── */
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header .eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-light);
  padding: .35rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}
.section-header h2 { margin-bottom: .75rem; }
.section-header p { max-width: 640px; margin: 0 auto; color: var(--text-light); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-head);
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .02em;
  padding: .875rem 2rem;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
/* PRIMARY = red, CTAs only */
.btn-primary {
  background: var(--red);
  color: var(--white);
  border: 3px solid #fff;
}
.btn-primary:hover {
  background: var(--red-dark);
  border-color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(248,4,0,.40);
}
/* SECONDARY = cyan, used for phone/call buttons — dark text required on bright cyan (WCAG AA) */
.btn-secondary {
  background: var(--green);
  color: var(--navy-dark);
  border-color: var(--green);
}
.btn-secondary:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: var(--navy-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(101,242,245,.45);
}
/* OUTLINE = blue outline on white backgrounds */
.btn-outline {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn-outline:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-2px);
}
/* WHITE = white pill on dark backgrounds, non-CTA */
.btn-white {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}
.btn-white:hover {
  background: var(--blue-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-lg { padding: 1.1rem 2.5rem; font-size: 1.05rem; }
.btn-sm { padding: .6rem 1.25rem; font-size: .85rem; }
.btn-block { width: 100%; justify-content: center; }

/* ── ====================================================
   TOP BAR (phone strip above header)
   ==================================================== */
.top-bar {
  background: var(--navy-dark);
  color: rgba(255,255,255,.85);
  font-size: .82rem;
  padding: .45rem 0;
}
.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.top-bar a { color: rgba(255,255,255,.9); transition: var(--transition); }
.top-bar a:hover { color: var(--white); opacity: .85; }
.top-bar-left { display: flex; align-items: center; gap: 1.25rem; flex-wrap: nowrap; }
.top-bar-right { display: flex; align-items: center; gap: 1rem; flex-shrink: 0; }
.top-bar-phone {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-weight: 700;
  font-size: .88rem;
  color: var(--white) !important;
  font-family: var(--font-head);
  white-space: nowrap;
}
.top-bar-phone svg { flex-shrink: 0; }
.top-bar-badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .75rem;
  font-weight: 600;
  color: rgba(255,255,255,.9);
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  padding: .2rem .65rem;
  border-radius: 99px;
  white-space: nowrap;
  letter-spacing: .03em;
}
.top-bar-divider { width: 1px; height: 14px; background: rgba(255,255,255,.25); flex-shrink: 0; }
.top-bar-hours { display: flex; align-items: center; gap: .35rem; white-space: nowrap; font-size: .78rem; }

/* ── ====================================================
   HEADER / NAV
   ==================================================== */
/* Wrapper keeps top-bar + header fixed as one unit on every device.
   Fixes the Safari overflow-x:hidden + position:sticky incompatibility. */
.site-top-wrap {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
}

.site-header {
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0,0,0,.08);
  transition: var(--transition);
}
.site-header.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,.12); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1rem;
  transition: height .25s cubic-bezier(.4,0,.2,1);
}

.logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  flex-shrink: 0;
}
.logo img { transition: height .25s cubic-bezier(.4,0,.2,1); }
.logo-mark {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -.02em;
}
.logo-mark span { color: var(--blue); }
.logo-tagline {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-top: 2px;
}

/* Primary nav */
.primary-nav { display: flex; align-items: center; gap: 0; }
.primary-nav a {
  display: flex;
  align-items: center;
  gap: .25rem;
  font-family: var(--font-head);
  font-size: .82rem;
  font-weight: 600;
  color: var(--text);
  padding: .5rem .6rem;
  border-radius: var(--radius);
  transition: var(--transition);
  white-space: nowrap;
}
.primary-nav a:hover { color: var(--teal-dark); background: var(--teal-light); }
.primary-nav a.active { color: var(--teal-dark); }

/* Dropdown */
.nav-item { position: relative; }
.nav-item > a .chevron {
  width: 14px; height: 14px;
  transition: transform .2s;
}
.nav-item:hover > a .chevron { transform: rotate(180deg); }
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-100);
  padding: 6px .5rem .5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  /* Use specific transitions - 'all' can cause flicker on sub-properties */
  transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
  z-index: 200;
}
.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown,
.nav-item.is-open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity .2s ease, transform .2s ease, visibility 0s linear 0s;
}
.nav-item.is-open > a .chevron {
  transform: rotate(180deg);
}
.dropdown a {
  display: block;
  padding: .6rem 1rem;
  border-radius: var(--radius-sm);
  font-size: .875rem;
  font-weight: 500;
  color: var(--text);
}
.dropdown a:hover { background: var(--blue-light); color: var(--navy); }

/* Header right: phone + CTA */
.header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}
.header-phone {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy);
  transition: var(--transition);
}
.header-phone:hover { color: var(--blue); }
.header-phone-icon {
  width: 36px; height: 36px;
  background: var(--blue-light);
  border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
  color: var(--navy);
  flex-shrink: 0;
}
.header-tagline {
  font-size: .72rem;
  color: var(--gray-500);
  font-weight: 500;
  letter-spacing: .03em;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 30px;
  padding: 4px 0;
  cursor: pointer;
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; width: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile nav overlay */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: var(--transition);
}
.mobile-nav.open { opacity: 1; visibility: visible; pointer-events: auto; }
.mobile-nav-panel {
  position: absolute;
  top: 0; right: 0;
  width: min(340px, 90vw);
  height: 100%;
  background: var(--white);
  padding: 2rem 1.5rem;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
}
.mobile-nav.open .mobile-nav-panel { transform: translateX(0); }
.mobile-nav-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2rem; }
.mobile-nav-close { font-size: 1.5rem; color: var(--text); }
.mobile-nav-links a {
  display: block;
  padding: .9rem 0;
  border-bottom: 1px solid var(--gray-100);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
}
.mobile-nav-links a:hover { color: var(--navy); }
.mobile-nav-sub a {
  padding-left: 1.25rem;
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-light);
}
.mobile-nav-phone {
  margin-top: 1.5rem;
  padding: 1rem;
  background: var(--blue-light);
  border-radius: var(--radius);
  text-align: center;
}
.mobile-nav-phone a {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy);
}


/* ── ====================================================
   ALERT TICKER (red ribbon below the main nav)
   ==================================================== */
.alert-ticker {
  background: var(--red);
  overflow: hidden;
  height: 30px;
  max-height: 30px;          /* animates to 0 when ticker-hidden */
  display: flex;
  align-items: center;
  white-space: nowrap;
  font-size: .78rem;
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: .02em;
  color: #fff;
  line-height: 1;
  opacity: 1;
  transition: max-height .35s ease, opacity .25s ease, background .6s ease;
  overflow-anchor: none;     /* prevent scroll-anchoring feedback loop */
}
.alert-ticker.ticker-hidden {
  max-height: 0;
  opacity: 0;
  pointer-events: none;
}
.alert-ticker.showing-cities {
  background: var(--blue);
}
/* WebGL canvas fills the hero section - defined here so it's parsed before the script runs */
.hero-water-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.alert-ticker-track {
  display: inline-block;
  white-space: nowrap;
  animation: ticker-scroll 200s linear infinite;
}
.alert-ticker-track a {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,.55);
  text-underline-offset: 2px;
}
.alert-ticker-track strong { color: #fff; }
@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── ====================================================
   DANGER STATS SECTION (bathroom fall risk awareness)
   ==================================================== */
.danger-stats-section {
  background: var(--navy-dark);
  position: relative;
  padding: 5rem 0;
  overflow: hidden;
  overflow-anchor: none;
}
.danger-stats-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--red);
}
.danger-stats-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}
.danger-eyebrow {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .75rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1rem;
}
.danger-h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  color: var(--white);
  margin: 0 0 1rem;
  line-height: 1.2;
}
.danger-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,.68);
  line-height: 1.65;
  margin: 0;
}
.danger-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.danger-stat-card {
  background: var(--red);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: var(--radius-xl);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: background .25s ease, transform .25s ease;
}
.danger-stat-card:hover {
  background: var(--red-dark);
  transform: translateY(-3px);
}
.danger-stat-num {
  font-family: var(--font-head);
  font-size: 4.5rem;
  font-weight: 900;
  line-height: 1;
  color: #fff;
  margin-bottom: .6rem;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: .05em;
  font-variant-numeric: tabular-nums;
}
.danger-stat-num--text {
  font-size: 3rem;
  display: block;
}
.danger-unit {
  font-size: 2.5rem;
  font-weight: 800;
}
.danger-stat-label {
  font-family: var(--font-head);
  font-size: .88rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.4;
  margin-bottom: .5rem;
}
.danger-stat-src {
  font-size: .7rem;
  color: rgba(255,255,255,.75);
  font-style: italic;
}
@media (max-width: 900px) {
  .danger-stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .danger-stats-section { padding: 3rem 0; }
  .danger-stats-header { margin-bottom: 2rem; }
  .danger-stat-num { font-size: 3.25rem; }
  .danger-stat-num--text { font-size: 2.25rem; }
  .danger-unit { font-size: 1.8rem; }
  .danger-stat-card { padding: 1.25rem 1rem; }
}

/* ── ====================================================
   HERO
   ==================================================== */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-light) 100%);
  overflow: hidden;
  padding: 5rem 0 6rem;
  min-height: 580px;
  display: flex;
  align-items: center;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none; /* decorative gradient - must not intercept clicks */
  background:
    radial-gradient(ellipse at 70% 50%, rgba(14,92,226,.3) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(245,166,35,.12) 0%, transparent 50%);
}
.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  color: var(--white);
  text-shadow: 0 2px 12px rgba(0,0,0,.35);
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.45);
  color: rgba(255,255,255,.95);
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .4rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
  text-shadow: 0 1px 4px rgba(0,0,0,.3);
}
.hero h1 { color: var(--white); margin-bottom: 1.25rem; }
.hero h1 em { color: var(--white); font-style: normal; }
.hero p { font-size: 1.1rem; color: rgba(255,255,255,.85); margin-bottom: 2rem; max-width: 540px; }
/* Tub photo - floats left beside body text on desktop, full-width on mobile */
.hero-mobile-tub {
  display: block;
  float: left;
  max-width: 180px;
  max-height: 180px;
  width: auto;
  height: auto;
  margin: 0 1.25rem 0.5rem 0;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,.5));
}
@media (max-width: 768px) {
  .hero-mobile-tub {
    float: none;
    max-width: 100%;
    max-height: none;
    width: 100%;
    margin: 0 0 1.25rem;
  }
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }
.hero-trust {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}
.hero-trust-item {
  display: flex;
  flex-direction: column;
}
.hero-trust-item strong {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.hero-trust-item span {
  font-size: .78rem;
  color: rgba(255,255,255,.7);
  letter-spacing: .04em;
  margin-top: 2px;
}

/* ── ====================================================
   TRUST BAR
   ==================================================== */
.trust-bar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  padding: 1.5rem 0;
  box-shadow: var(--shadow-sm);
}
.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-family: var(--font-head);
  font-size: .85rem;
  font-weight: 600;
  color: var(--gray-700);
  white-space: nowrap;
}
.trust-icon {
  width: 36px; height: 36px;
  background: var(--blue-light);
  border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
  color: var(--navy);
  flex-shrink: 0;
}
.trust-divider {
  width: 1px; height: 32px;
  background: var(--gray-200);
}

/* ── ====================================================
   TAX CREDIT BANNER
   ==================================================== */
.tax-banner {
  background: linear-gradient(135deg, var(--blue-light) 0%, #f0f7ff 100%);
  border-top: 3px solid var(--blue);
  border-bottom: 3px solid var(--blue);
  padding: 2rem 0;
}
.tax-banner-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
}
.tax-banner-icon {
  width: 60px; height: 60px;
  background: var(--blue);
  border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  flex-shrink: 0;
}
.tax-banner-text strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--navy);
}
.tax-banner-text p { color: var(--text-light); margin: 0; font-size: .95rem; }

/* ── ====================================================
   PRODUCT CARDS
   ==================================================== */
.product-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-light);
}
.product-card-image {
  position: relative;
  aspect-ratio: 4/3;
  background: var(--gray-50);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.product-card-image img { width: 100%; height: 100%; object-fit: contain; padding: 1rem; }
.product-badge {
  position: absolute;
  top: 1rem; left: 1rem;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .3rem .75rem;
  border-radius: var(--radius-full);
}
.product-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-card-body h3 { margin-bottom: .5rem; font-size: 1.3rem; }
.product-card-body p { color: var(--text-light); font-size: .9rem; margin-bottom: 1rem; flex: 1; }
.product-card-specs {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-100);
}
.spec-item {
  display: flex;
  flex-direction: column;
  font-size: .78rem;
}
.spec-label { color: var(--gray-400); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.spec-value { color: var(--text); font-weight: 700; font-family: var(--font-head); font-size: .85rem; }
.product-card-features {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-bottom: 1.25rem;
}
.feature-chip {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .75rem;
  font-weight: 600;
  color: var(--navy);
  background: var(--blue-light);
  padding: .25rem .65rem;
  border-radius: var(--radius-full);
}
.feature-chip svg { width: 12px; height: 12px; }

/* ── ====================================================
   FEATURE ICONS SECTION
   ==================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}
.features-grid-3col { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 768px) { .features-grid-3col { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .features-grid-3col { grid-template-columns: 1fr; } }
.feature-card {
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-light);
}
.feature-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--blue-light), var(--white));
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
  color: var(--navy);
  transition: var(--transition);
}
.feature-card:hover .feature-icon {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: var(--white);
}
.feature-card h4 { margin-bottom: .5rem; }
.feature-card p { font-size: .9rem; color: var(--text-light); margin: 0; }

/* ── ====================================================
   PROCESS / STEPS
   ==================================================== */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 60px;       /* center of the step-number circles (32px padding + 28px = half of 56px circle) */
  left: 12.5%;     /* aligns to center of first column in a 4-col grid */
  right: 12.5%;    /* aligns to center of last column */
  height: 2px;
  pointer-events: none; /* decorative line - must not intercept clicks */
  background: linear-gradient(90deg, var(--blue-light), var(--navy), var(--blue-light));
}
.process-step {
  text-align: center;
  padding: 2rem 1.5rem;
  position: relative;
  z-index: 1;
}
.step-number {
  width: 64px; height: 64px;
  background: var(--blue);
  color: var(--white);
  border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 800;
  margin: 0 auto 1.25rem;
  border: 4px solid var(--white);
  box-shadow: 0 0 0 3px var(--navy);
}
.process-step h4 { margin-bottom: .5rem; }
.process-step p { font-size: .9rem; color: var(--text-light); }

/* ── ====================================================
   GALLERY / INSTALLATIONS
   ==================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--gray-200);
  cursor: pointer;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition-slow); }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7,31,94,.8) 0%, transparent 60%);
  opacity: 0;
  pointer-events: none; /* invisible - must not capture clicks */
  transition: var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
  color: var(--white);
  font-weight: 600;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* Before/after */
.ba-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.ba-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.ba-images { display: grid; grid-template-columns: 1fr 1fr; }
.ba-image { position: relative; aspect-ratio: 1; background: var(--gray-200); }
.ba-image img { width: 100%; height: 100%; object-fit: cover; }
.ba-label {
  position: absolute;
  bottom: .5rem; left: .5rem;
  background: rgba(0,0,0,.65);
  color: var(--white);
  font-size: .7rem;
  font-weight: 700;
  padding: .2rem .5rem;
  border-radius: var(--radius-sm);
  letter-spacing: .05em;
  text-transform: uppercase;
}
.ba-card-footer {
  background: var(--white);
  padding: 1rem 1.25rem;
  font-weight: 600;
  font-size: .9rem;
}

/* ── ====================================================
   AREAS / MAP
   ==================================================== */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
}
.area-group h4 {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--blue);
  margin-bottom: .75rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--blue-light);
}
.area-list { display: flex; flex-direction: column; gap: .35rem; }
.area-list li {
  font-size: .9rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: .4rem;
}
.area-list li::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--blue);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── ====================================================
   TESTIMONIALS
   ==================================================== */
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  transition: var(--transition);
}
.testimonial-card:hover { box-shadow: var(--shadow-md); }
.testimonial-quote {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  color: var(--blue-light);
  font-size: 3rem;
  line-height: 1;
  font-family: Georgia, serif;
}
.testimonial-stars {
  display: flex;
  gap: .2rem;
  margin-bottom: .75rem;
  color: #f5a623;
}
.testimonial-card p { color: var(--text-light); font-size: .95rem; margin-bottom: 1.25rem; font-style: italic; }
.testimonial-author strong { font-family: var(--font-head); font-weight: 700; display: block; }
.testimonial-author span { font-size: .82rem; color: var(--gray-500); }

/* ── ====================================================
   CTA SECTION
   ==================================================== */
.cta-section {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-dark) 100%);
  padding: 6rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none; /* decorative - must not block CTA buttons */
  background: radial-gradient(ellipse at center, rgba(14,92,226,.3) 0%, transparent 70%);
}
.cta-section .container { position: relative; z-index: 1; }
.cta-section h2 { color: var(--white); margin-bottom: 1rem; }
.cta-section p { color: rgba(255,255,255,.8); font-size: 1.1rem; max-width: 560px; margin: 0 auto 2.5rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── ====================================================
   CONTACT FORM
   ==================================================== */
.form-group { margin-bottom: 1.25rem; }
.form-label {
  display: block;
  font-family: var(--font-head);
  font-size: .85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: .4rem;
}
.form-label .required { color: var(--red); }
.form-control {
  width: 100%;
  padding: .8rem 1rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: .95rem;
  color: var(--text);
  background: var(--white);
  transition: var(--transition);
  outline: none;
  appearance: none;
}
.form-control:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(7,31,94,.1);
}
.form-control::placeholder { color: var(--gray-400); }
textarea.form-control { resize: vertical; min-height: 120px; }
select.form-control { cursor: pointer; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  cursor: pointer;
}
.form-checkbox input[type="checkbox"] {
  width: 18px; height: 18px;
  accent-color: var(--navy);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── ====================================================
   BREADCRUMB
   ==================================================== */
.breadcrumb-bar {
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
  padding: .75rem 0;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
  font-size: .82rem;
  color: var(--gray-500);
}
.breadcrumb a { color: var(--blue); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb-sep { color: var(--gray-300); }

/* ── ====================================================
   PAGE HERO (interior pages)
   ==================================================== */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 70%);
  padding: 3.5rem 0;
  color: var(--white);
}
.page-hero h1 { color: var(--white); font-size: clamp(1.8rem, 4vw, 2.75rem); margin-bottom: .5rem; }
.page-hero p { color: rgba(255,255,255,.8); margin: 0; max-width: 600px; }

/* ── ====================================================
   PRODUCT PAGE LAYOUT - linear / accordion (v2)
   ==================================================== */

/* Wrapper - max-width keeps it readable at large screens */
.product-detail { max-width: 860px; margin: 0 auto; }

/* 1 ── Full-width header */
.product-header { margin-bottom: 2.5rem; }
.product-header-meta { display: flex; align-items: center; gap: .75rem; margin-bottom: .75rem; flex-wrap: wrap; }
.product-category-label { font-size: .82rem; color: var(--gray-400); font-weight: 600; }
.product-header h1 { margin-bottom: 1rem; }
.product-header .lead { margin-bottom: .75rem; }

/* 2 ── Gallery */
.product-gallery-wrap { margin-bottom: 2.5rem; }
.product-image-showcase {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--gray-50);
  aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
}
.product-image-showcase img { width: 100%; height: 100%; object-fit: contain; padding: 1.5rem; }

/* Product gallery thumbnails */
.pg-thumbs { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .75rem; }
.pg-thumb {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: .65;
  transition: border-color .15s ease, opacity .15s ease;
}
.pg-thumb:hover { opacity: .9; }
.pg-thumb.active { border-color: var(--blue); opacity: 1; }

/* 3 ── Trust row - 3 equal cards */
.product-trust-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}
.product-trust-card {
  background: var(--blue-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}
.product-trust-card.trust-warranty {
  background: rgba(14,92,226,.07);
  border: 1px solid rgba(14,92,226,.28);
  text-align: center;
}
.product-trust-card h4 { color: var(--navy); margin-bottom: .75rem; font-size: 1rem; }
.product-trust-card h5 { margin-bottom: .5rem; font-size: .95rem; }
.product-trust-card p { font-size: .83rem; color: var(--text-light); margin: 0; line-height: 1.55; }
.trust-warranty h5 { font-family: var(--font-head); font-weight: 800; color: var(--navy-dark); font-size: 1rem; }

/* 4 ── Accordion */
.product-accordion { margin-bottom: 2.5rem; }
.product-accordion details {
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  margin-bottom: .75rem;
  background: var(--white);
  overflow: hidden;
}
.product-accordion summary {
  padding: 1.25rem 1.5rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--navy);
  -webkit-user-select: none;
  user-select: none;
  background: var(--white);
}
.product-accordion summary::-webkit-details-marker { display: none; }
.product-accordion summary::after {
  content: '+';
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--blue);
  line-height: 1;
  margin-left: 1rem;
  flex-shrink: 0;
}
.product-accordion details[open] > summary::after { content: '\2212'; }
.product-accordion details[open] > summary { border-bottom: 1px solid var(--gray-100); }
.accordion-body { padding: 1.5rem; }

/* 5 ── Key features grid (inside accordion) */
.product-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 0;
}
.highlight-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: 1rem;
  background: var(--blue-light);
  border-radius: var(--radius);
  font-size: .88rem;
  font-weight: 600;
  color: var(--navy);
}
.highlight-item svg { flex-shrink: 0; color: var(--navy); }

/* 6 ── Spec table */
.spec-table { width: 100%; border-collapse: collapse; margin-bottom: 0; }
.spec-table th,
.spec-table td { padding: .75rem 1rem; text-align: left; border-bottom: 1px solid var(--gray-100); }
.spec-table th { background: var(--blue-light); font-family: var(--font-head); font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; color: var(--navy); }
.spec-table tr:last-child td { border-bottom: none; }
.spec-table tr:nth-child(even) td { background: var(--gray-50); }

/* 7 ── Add-ons grid */
.add-ons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .5rem;
  margin-bottom: 0;
}
.add-on-item {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .88rem;
  padding: .6rem .75rem;
  background: var(--gray-50);
  border-radius: var(--radius-sm);
  color: var(--text-light);
}
.add-on-item::before { content: '+'; color: var(--green); font-weight: 700; }

/* 8 ── Cert badges */
.cert-badges { display: flex; flex-wrap: wrap; gap: .5rem; }
.cert-badge {
  font-size: .72rem;
  font-weight: 700;
  padding: .3rem .7rem;
  background: var(--gray-100);
  border-radius: var(--radius-full);
  color: var(--gray-600);
  letter-spacing: .04em;
}

/* 9 ── CTA block */
.product-cta-block {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  border-radius: var(--radius-xl);
  padding: 2rem;
  text-align: center;
  margin-bottom: 2rem;
}

/* ── Mobile ─────────────────────── */
@media (max-width: 700px) {
  .product-trust-row { grid-template-columns: 1fr; }
  .product-highlights { grid-template-columns: 1fr; }
  .add-ons-grid { grid-template-columns: 1fr; }
  .product-accordion summary { font-size: 1rem; padding: 1rem 1.25rem; }
  .accordion-body { padding: 1.25rem; }
}

/* ── ====================================================
   BLOG
   ==================================================== */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 2rem; }
.blog-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.blog-card-image {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--navy-dark), var(--navy-light));
  overflow: hidden;
}
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.blog-card-meta {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .78rem;
  color: var(--gray-400);
  margin-bottom: .75rem;
}
.blog-card-meta .tag {
  background: var(--blue-light);
  color: var(--blue);
  padding: .2rem .6rem;
  border-radius: var(--radius-full);
  font-weight: 600;
}
.blog-card-body h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.blog-card-body h3 a { color: var(--text); }
.blog-card-body h3 a:hover { color: var(--navy); }
.blog-card-body p { color: var(--text-light); font-size: .9rem; flex: 1; }
.blog-card-body .read-more {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-family: var(--font-head);
  font-size: .82rem;
  font-weight: 700;
  color: var(--navy);
  margin-top: 1rem;
}
.blog-card-body .read-more:hover { color: var(--blue); }

/* Blog post */
.blog-post-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 900px) { .blog-post-layout { grid-template-columns: 1fr; } }

.blog-post-content h2 { margin: 2rem 0 .75rem; }
.blog-post-content h3 { margin: 1.5rem 0 .5rem; }
.blog-post-content ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1rem; }
.blog-post-content ul li { margin-bottom: .35rem; }
.blog-post-content img { border-radius: var(--radius-lg); margin: 1.5rem 0; }

.blog-sidebar-card {
  background: var(--blue-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.blog-sidebar-card h4 { margin-bottom: .75rem; color: var(--navy); }

/* ── ====================================================
   INFO CARDS (About, etc.)
   ==================================================== */
.info-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
}
.info-card:hover { box-shadow: var(--shadow-md); }
.info-card.accent-left { border-left: 4px solid var(--blue); }
.info-card.accent-blue { border-left: 4px solid var(--navy); }

/* Value cards */
.value-card {
  text-align: center;
  padding: 2.5rem 2rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.value-icon {
  width: 72px; height: 72px;
  border-radius: var(--radius-xl);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.8rem;
}
.value-icon.navy { background: var(--navy); color: var(--white); }
.value-icon.amber { background: var(--blue-light); color: var(--blue); }
.value-icon.blue { background: var(--blue); color: var(--white); }

/* ── ====================================================
   STATS ROW
   ==================================================== */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
  text-align: center;
}
.stat-item strong {
  display: block;
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
  margin-bottom: .3rem;
}
.stat-item span { font-size: .85rem; color: var(--text-light); }

/* ── ====================================================
   CITY LANDING PAGES
   ==================================================== */
.city-hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.city-hero-split-img img {
  width: 100%;
  max-height: 500px;
  object-fit: contain;
  filter: drop-shadow(0 6px 28px rgba(7,31,94,.55));
}
@media (max-width: 900px) {
  .city-hero-split { grid-template-columns: 1fr; }
  .city-hero-split-img {
    display: flex;
    justify-content: center;
    margin-top: 1.75rem;
  }
  .city-hero-split-img img {
    max-height: 260px;
    width: auto;
  }
}

/* ── ====================================================
   FOOTER
   ==================================================== */
.site-footer {
  background: var(--teal);
  color: rgba(0,0,0,.75);
}
.footer-main { padding: 4rem 0 2rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand .logo-mark { color: var(--navy-dark); font-size: 1.4rem; }
.footer-brand .logo-tagline { color: rgba(0,0,0,.5); }
.footer-brand p { font-size: .88rem; line-height: 1.7; margin-top: 1rem; max-width: 280px; color: rgba(0,0,0,.7); }

.footer-col h5 {
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--navy-dark);
  margin-bottom: 1.25rem;
}
.footer-links { display: flex; flex-direction: column; gap: .5rem; }
.footer-links a {
  font-size: .88rem;
  color: rgba(0,0,0,.65);
  transition: var(--transition);
}
.footer-links a:hover { color: var(--navy-dark); padding-left: 4px; }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .88rem;
  margin-bottom: .75rem;
}
.footer-contact-item svg { flex-shrink: 0; margin-top: 2px; color: var(--navy-dark); }
.footer-contact-item a { color: rgba(0,0,0,.75); }
.footer-contact-item a:hover { color: var(--navy-dark); }

.footer-bottom {
  border-top: 1px solid rgba(0,0,0,.12);
  padding: 1.5rem 0;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: .82rem;
  color: rgba(0,0,0,.5);
}
.footer-bottom a { color: rgba(0,0,0,.6); }
.footer-bottom a:hover { color: var(--navy-dark); }
.footer-social { display: flex; gap: .75rem; }
.social-btn {
  width: 36px; height: 36px;
  border-radius: var(--radius-full);
  background: rgba(0,0,0,.12);
  display: flex; align-items: center; justify-content: center;
  color: rgba(0,0,0,.7);
  transition: var(--transition);
  text-decoration: none;
}
.social-btn:hover { background: var(--navy-dark); color: var(--white); }

/* ── Footer showroom map ──────────────────────────────── */
.footer-showroom {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 2.5rem;
  align-items: center;
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(0,0,0,.14);
}
.footer-showroom-info h5 {
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--navy-dark);
  margin-bottom: .9rem;
}
.footer-showroom-info address {
  font-style: normal;
  font-size: .92rem;
  line-height: 1.65;
  color: rgba(0,0,0,.75);
  margin-bottom: .6rem;
}
.footer-showroom-info p {
  font-size: .84rem;
  color: rgba(0,0,0,.60);
  line-height: 1.55;
  margin-bottom: 1rem;
}
/* Red pill badge above the text */
.footer-appt-pill {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: rgba(248,4,0,.10);
  color: var(--red);
  font-size: .78rem;
  font-weight: 700;
  font-family: var(--font-head);
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: .32rem .7rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(248,4,0,.22);
  margin-bottom: .9rem;
}
/* Map wrapper */
.footer-showroom-map {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0,0,0,.20);
}
.footer-showroom-map iframe {
  display: block;
  width: 100%;
  height: 230px;
  border: 0;
}
/* Transparent click-through overlay — routes map clicks to the GMB listing */
.footer-map-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: block;
  cursor: pointer;
}
/* Appointment-only badge pinned over the map */
.footer-map-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  background: var(--red);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .70rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: .28rem .65rem .28rem .5rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: .35rem;
  box-shadow: 0 2px 10px rgba(248,4,0,.50);
  pointer-events: none;
  user-select: none;
}
/* Pulsing white dot inside the badge */
.footer-map-badge::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  flex-shrink: 0;
  animation: appt-pulse 1.8s ease-in-out infinite;
}
@keyframes appt-pulse {
  0%, 100% { opacity: 1;  transform: scale(1);   }
  50%       { opacity: .3; transform: scale(.65); }
}
@media (max-width: 760px) {
  .footer-showroom { grid-template-columns: 1fr; gap: 1.75rem; }
  .footer-showroom-map iframe { height: 200px; }
}

/* ── ====================================================
   UTILITIES
   ==================================================== */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-navy { color: var(--navy); }
.text-amber { color: var(--amber); }
.text-blue { color: var(--blue); }
.text-light { color: var(--text-light); }
.text-white { color: var(--white); }
.bg-navy { background: var(--navy-dark); }
.bg-light { background: var(--gray-50); }
.bg-blue-light { background: var(--blue-light); }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: .5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.hidden { display: none !important; }

/* ── ====================================================
   ANIMATIONS
   ==================================================== */
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}
.animate-fade-up, .animate-fade-in { animation: none; }
.anim-delay-1, .anim-delay-2, .anim-delay-3, .anim-delay-4 { animation: none; opacity: 1; }
[data-animate] { opacity: 1; transform: none; transition: none; }

/* ── Responsive tweaks ── */
@media (max-width: 1280px) {
  /* Hide tagline at mid-desktop so logo+nav+phone+button all fit in container */
  .header-tagline { display: none; }
}
@media (max-width: 1100px) {
  .primary-nav { display: none; }
  .hamburger { display: flex; }
  .header-phone { display: none; }
  .header-right .btn { display: none; }
  .top-bar { display: none; }

  /* site-top-wrap is already position:fixed - just offset body for its height.
     On mobile the top-bar is hidden, so wrap height = header (80px) + ticker (30px). */
  body { padding-top: calc(var(--header-h) + 32px); }

  /* Shrink header on scroll - logo always visible */
  .site-header.scrolled .header-inner { height: 50px; }
  .site-header.scrolled .logo img { height: 34px !important; }
}
@media (max-width: 768px) {
  .section { padding: 3.5rem 0; }
  .section-lg { padding: 4.5rem 0; }
  .hero { padding: 3.5rem 0 4.5rem; min-height: auto; }
  .hero-trust { gap: 1.25rem; }
  .trust-bar-inner { gap: 1rem; }
  .trust-divider { display: none; }
  .process-steps::before { display: none; }
  .footer-brand p { max-width: none; }
}

/* ── SVG placeholder tubs ── */
.tub-svg-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #071f5e 0%, #0e5ce2 100%);
  color: rgba(255,255,255,.3);
  font-size: 5rem;
}

/* ── Accordion (FAQ) ── */
.accordion-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  margin-bottom: .75rem;
  overflow: hidden;
}
.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.25rem;
  text-align: left;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .95rem;
  color: var(--text);
  background: var(--white);
  transition: var(--transition);
  cursor: pointer;
  border: none;
}
.accordion-trigger:hover { background: var(--gray-50); }
.accordion-trigger .icon {
  width: 24px; height: 24px;
  border-radius: var(--radius-full);
  background: var(--blue-light);
  color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
  transition: transform .25s;
}
.accordion-trigger[aria-expanded="true"] .icon { transform: rotate(45deg); background: var(--navy); color: var(--white); }
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
  padding: 0 1.25rem;
  font-size: .95rem;
  color: var(--text-light);
}
.accordion-content.open {
  max-height: 400px;
  padding: 0 1.25rem 1.25rem;
}

/* Desktop: top-bar (~36px) + header (80px) + alert ticker (30px) = ~146px combined.
   No JS measurement is used - avoids the address-bar resize/scrolled-state race. */
@media (min-width: 1101px) {
  body { padding-top: 148px; }
}

/* ── ====================================================
   MOBILE STICKY CTA (full-width — GHL call widget suppressed on mobile)
   ==================================================== */
.mobile-sticky-cta {
  display: none;                 /* hidden on desktop */
  position: fixed;
  bottom: 20px;
  right: 20px;                   /* full width — matches left margin */
  left: 20px;
  z-index: 9990;
  transition: opacity .3s ease, transform .3s ease;
}
.mobile-sticky-cta .btn {
  height: 56px;
  width: 100%;
  justify-content: center;
  padding: 0 1.4rem;
  font-size: .95rem;             /* slightly larger now button is full-width */
  box-shadow: 0 4px 20px rgba(0,0,0,.28);
  white-space: nowrap;
  overflow: visible;
}
/* Hidden states (JS adds these classes) */
.mobile-sticky-cta.cta-pre-scroll,
.mobile-sticky-cta.cta-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
}
@media (max-width: 1100px) {
  .mobile-sticky-cta { display: flex; }

  /* Suppress GHL chat/call widget on mobile — routing leads via info kit only */
  #LeadConnector,
  .hl-messenger-frame,
  .leadconnector-chat-widget,
  #chat-widget-container,
  [id^="LeadConnector"],
  [class*="hl-chat"] {
    display: none !important;
  }
}

/* ── Header CTA button: shorten label on mobile ── */
@media (max-width: 860px) {
  .btn-inhome-label { display: none; }
}

/* ── ====================================================
   QUOTE MODAL
   ==================================================== */
#quote-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(7,31,94,.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
#quote-modal.open { display: flex; }
.quote-modal-box {
  background: #fff;
  border-radius: 14px;
  width: 100%;
  max-width: 580px;
  height: min(88vh, 720px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,.5);
  animation: modal-pop .22s ease-out;
}
@keyframes modal-pop {
  from { opacity: 0; transform: translateY(18px) scale(.97); }
  to   { opacity: 1; transform: none; }
}
.quote-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .8rem 1.2rem;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  flex-shrink: 0;
}
.quote-modal-eyebrow {
  font-size: .67rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 .15rem;
  font-family: var(--font-head);
}
.quote-modal-title {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  font-family: var(--font-head);
  margin: 0 0 .2rem;
  line-height: 1.2;
}
.quote-modal-sub {
  font-size: .72rem;
  color: rgba(255,255,255,.62);
  margin: 0;
  font-family: var(--font-head);
}
.quote-modal-kit-img {
  height: 92px;
  width: auto;
  flex-shrink: 0;
  align-self: flex-end;
  position: relative;
  bottom: -20px;
  z-index: 2;
  filter: drop-shadow(0 6px 20px rgba(0,0,0,.5));
  animation: kit-pop 1.0s ease-out 0.5s 1 both;
}
@media (max-width: 600px) {
  .quote-modal-kit-img { display: none; }
}
.quote-modal-close {
  background: rgba(255,255,255,.15);
  border: none;
  color: #fff;
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
.quote-modal-close:hover { background: rgba(255,255,255,.3); }
.quote-modal-iframe-wrap {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  position: relative;
  padding-top: 2.5rem; /* push iframe down so whitespace is split top & bottom */
}
@media (max-width: 600px) {
  .quote-modal-iframe-wrap { padding-top: 0; }
}
.quote-modal-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 113.64%;   /* 100/0.88 — fills modal after scale */
  height: 113.64%;
  border: none;
  display: block;
  transform: scale(0.88);
  transform-origin: top left;
}
/* Mobile: slightly more aggressive scale to fit taller stacked form */
@media (max-width: 600px) {
  .quote-modal-iframe {
    width: 117.65%;  /* 100/0.85 */
    height: 117.65%;
    transform: scale(0.85);
  }
}
/* Mobile: bottom sheet */
@media (max-width: 600px) {
  #quote-modal { padding: 0; align-items: flex-end; }
  .quote-modal-box {
    border-radius: 16px 16px 0 0;
    max-width: 100%;
    height: 96dvh;
    animation: modal-sheet .24s ease-out;
  }
}
@keyframes modal-sheet {
  from { transform: translateY(100%); }
  to   { transform: none; }
}

/* ── ====================================================
   GHL / CLICKWORKS WRAPPER SAFETY NET
   form_embed.js injects .hl_form-general-wrapper with fixed,
   centre-viewport positioning. This override neutralises it
   so it can never float over page content and block taps.
   ==================================================== */
.hl_form-general-wrapper,
.hl_form-wrap {
  position: static !important;
  top: auto !important;
  left: auto !important;
  transform: none !important;
  width: 100% !important;
  z-index: auto !important;
}

/* ── ====================================================
   PAGE-EMBEDDED FORM SECTION
   ==================================================== */
.page-form-section {
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}
.page-form-wrap {
  max-width: 820px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--gray-100);
}

/* ── ====================================================
   FORM MODAL (site-wide CTA intercept)
   ==================================================== */
.sbc-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 20, 50, 0.65);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .25s ease, visibility .25s ease;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.sbc-modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.sbc-modal-dialog {
  background: var(--white);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 700px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 32px 64px rgba(0,0,0,.35);
  transform: translateY(24px) scale(.98);
  transition: transform .28s cubic-bezier(.34,1.56,.64,1);
}
.sbc-modal-overlay.is-open .sbc-modal-dialog {
  transform: translateY(0) scale(1);
}
.sbc-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 1.75rem 1.25rem;
  border-bottom: 1px solid var(--gray-100);
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
}
.sbc-modal-eyebrow {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  margin-bottom: .35rem;
}
.sbc-modal-title h2 {
  font-size: 1.3rem;
  color: var(--white);
  margin: 0 0 .2rem;
  line-height: 1.25;
}
.sbc-modal-title p {
  font-size: .83rem;
  color: rgba(255,255,255,.65);
  margin: 0;
}
.sbc-modal-close {
  background: rgba(255,255,255,.12);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  color: rgba(255,255,255,.8);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .15s, color .15s;
  margin-top: .1rem;
}
.sbc-modal-close:hover {
  background: rgba(255,255,255,.22);
  color: var(--white);
}
.sbc-modal-body {
  overflow-y: auto;
  flex: 1;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 2rem;
}
.sbc-modal-body iframe {
  display: block;
  width: 100%;
  height: 720px;
  border: none;
}
@media (max-width: 600px) {
  .sbc-modal-overlay { padding: 0; align-items: flex-end; }
  .sbc-modal-dialog {
    max-height: 92vh;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    max-width: 100%;
  }
  .sbc-modal-header { padding: 1.25rem 1.25rem 1rem; }
  .sbc-modal-title h2 { font-size: 1.1rem; }
}

/* ── City Page FAQ Accordion ──────────────────────────────────────────── */
.faq-accordion {
  max-width: 760px;
  margin: 0 auto;
}
.faq-accordion details {
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  margin-bottom: .75rem;
  background: var(--white);
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,.05);
  transition: box-shadow .2s ease, border-color .2s ease;
}
.faq-accordion details[open] {
  border-color: rgba(14, 92, 226, .35);
  box-shadow: 0 4px 18px rgba(14, 92, 226, .08);
}
.faq-accordion summary {
  padding: 1.15rem 1.5rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--navy);
  -webkit-user-select: none;
  user-select: none;
  transition: color .15s ease;
}
.faq-accordion summary::-webkit-details-marker { display: none; }
.faq-accordion summary::after {
  content: '+';
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--blue);
  line-height: 1;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-light);
  border-radius: 50%;
  transition: background .2s ease, color .2s ease;
}
.faq-accordion details[open] > summary::after {
  content: '\2212';
  background: var(--blue);
  color: #fff;
}
.faq-accordion details[open] > summary {
  border-bottom: 1px solid var(--gray-100);
  color: var(--blue);
}
.faq-accordion details > p {
  padding: 1.1rem 1.5rem 1.35rem;
  color: var(--text-light);
  line-height: 1.75;
  margin: 0;
  font-size: .95rem;
}

/* ============================================================
   WATER ACCENT THEME - subtle blue/teal tints for calm, water feel
   ============================================================ */

/* Light background sections → water-tinted azure instead of neutral gray */
.bg-light {
  background-color: #eaeffc !important;
}

/* Trust bar & breadcrumb bar → soft water gradient */
.trust-bar {
  background: linear-gradient(135deg, #dce8fe 0%, #eaeffc 100%);
  border-bottom-color: #b8d0f9;
}
.breadcrumb-bar {
  background: linear-gradient(135deg, #dce8fe 0%, #f0f5ff 100%);
  border-bottom-color: #b8d0f9;
}

/* Cards → barely-there aqua tint */
.feature-card,
.testimonial-card,
.blog-card,
.product-card,
.info-card,
.value-card {
  background: #fafcff;
}
.feature-card:hover {
  background: linear-gradient(135deg, #eaeffc 0%, #fafcff 100%);
}

/* Accordion → teal-tinted borders and background */
.accordion-item {
  border-color: #b8d0f9;
  background: #fafcff;
}
.accordion-trigger {
  background: #fafcff;
}
.accordion-trigger:hover {
  background: #eaeffc;
}

/* Page-embedded form section - dark navy with WebGL water canvas overlay */
.page-form-section {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%) !important;
  position: relative;
  overflow: hidden;
}

/* ── Two-column form layout (homepage + anywhere a sidebar is added) ── */
.home-form-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2.5rem;
  align-items: flex-start;
}
@media (max-width: 960px) {
  .home-form-layout { grid-template-columns: 1fr; }
}
.home-form-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* ── Shared sidebar card components ── */
.sidebar-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  padding: 1.5rem;
}
.sidebar-card h3 {
  font-family: var(--font-head);
  font-size: .95rem;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 1rem;
}
.next-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .9rem;
}
.next-steps li {
  display: flex;
  gap: .85rem;
  align-items: flex-start;
  font-size: .85rem;
  color: var(--gray-700);
  line-height: 1.55;
}
.next-step-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-size: .72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.sidebar-phone {
  text-align: center;
  padding: 1.4rem;
  background: var(--navy-dark);
  border-radius: var(--radius-xl);
  color: var(--white);
}
.sidebar-phone-label {
  font-size: .75rem;
  color: rgba(255,255,255,.6);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: .35rem;
}
.sidebar-phone a {
  display: block;
  font-family: var(--font-head);
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--teal-light);
  line-height: 1.1;
  text-decoration: none;
}
.sidebar-phone a:hover { color: var(--white); }
.sidebar-hours {
  font-size: .75rem;
  color: rgba(255,255,255,.5);
  margin-top: .4rem;
}
.tax-callout-sidebar {
  background: #fffbeb;
  border: 2px solid #f5a623;
  border-radius: var(--radius-xl);
  padding: 1.4rem;
  text-align: center;
}
.tax-callout-icon { font-size: 1.65rem; margin-bottom: .4rem; }
.tax-callout-sidebar p {
  font-size: .85rem;
  font-weight: 600;
  color: var(--navy-dark);
  margin: 0;
  line-height: 1.5;
}

/* ── Form card - dark-framed treatment (free-quote + all page-form-sections) ── */
.form-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 3px solid var(--navy-dark);
  box-shadow: 0 8px 40px rgba(7,31,94,.22), 0 2px 8px rgba(7,31,94,.12);
}
.form-card-header {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  padding: 1.75rem 2rem 1.6rem;
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.form-card-header-text {
  flex: 1;
  min-width: 0;
}
.form-card-kit-thumb {
  flex-shrink: 0;
  width: 130px;
  align-self: flex-end;
  position: relative;
  bottom: -24px;
  z-index: 2;
}
.form-card-kit-thumb img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 6px 20px rgba(0,0,0,.5));
  animation: kit-pop 1.0s ease-out 0.7s 1 both;
  will-change: transform, filter;
}
@keyframes kit-pop {
  0%   { transform: scale(1)    rotate(-6deg);   filter: drop-shadow(0 6px 20px rgba(0,0,0,.50)); }
  20%  { transform: scale(1.22) rotate(5deg);    filter: drop-shadow(0 18px 38px rgba(101,242,245,.78)); }
  42%  { transform: scale(1.14) rotate(-2deg);   filter: drop-shadow(0 14px 30px rgba(101,242,245,.58)); }
  62%  { transform: scale(0.95) rotate(-5.5deg); filter: drop-shadow(0 6px 18px rgba(0,0,0,.40)); }
  80%  { transform: scale(1.02) rotate(-6.5deg); filter: drop-shadow(0 8px 22px rgba(101,242,245,.28)); }
  100% { transform: scale(1)    rotate(-6deg);   filter: drop-shadow(0 6px 20px rgba(0,0,0,.50)); }
}
@media (max-width: 600px) {
  .form-card-kit-thumb {
    width: 68px;
    bottom: -14px;
  }
  .form-card-body { padding-top: 18px; }
}
/* ── Installation trust chips inside form-card-header ── */
.form-card-install-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-top: .85rem;
}
.install-chip {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .72rem;
  font-weight: 700;
  line-height: 1;
  padding: .28rem .72rem;
  border-radius: 100px;
  background: rgba(255,255,255,.16);
  color: #fff;
  border: 1px solid rgba(255,255,255,.32);
  letter-spacing: .01em;
  white-space: nowrap;
}
/* ── Product page: Installation Included panel ── */
.product-install-panel {
  background: linear-gradient(135deg, #f0f5ff 0%, #eaf6f6 100%);
  border: 1px solid rgba(14,92,226,.15);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  margin: 2rem 0;
}
.install-panel-header {
  text-align: center;
  margin-bottom: 1.75rem;
}
.install-panel-header h3 {
  font-size: 1.5rem;
  color: var(--navy);
  margin: .4rem 0 .65rem;
  font-family: var(--font-head);
}
.install-panel-header p {
  max-width: 600px;
  margin: 0 auto;
  color: var(--text-light);
  font-size: .95rem;
  line-height: 1.65;
}
.install-steps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: .85rem;
  margin-bottom: 1.75rem;
}
.install-step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: .4rem;
  background: #fff;
  border-radius: var(--radius);
  padding: .9rem .75rem;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  font-size: .82rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.3;
}
.install-step-item .step-icon { font-size: 1.4rem; }
.install-quote-block {
  background: rgba(255,255,255,.9);
  border-left: 4px solid var(--blue);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1rem 1.25rem;
  margin: 0;
}
.install-quote-block p {
  font-style: italic;
  color: var(--navy);
  font-size: .9rem;
  margin-bottom: .35rem;
  line-height: 1.65;
}
.install-quote-block cite {
  font-size: .78rem;
  color: var(--text-light);
  font-style: normal;
  font-weight: 600;
}
@media (max-width: 760px) {
  .install-steps-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
  .install-steps-grid { grid-template-columns: repeat(2, 1fr); }
  .product-install-panel { padding: 1.5rem 1rem; }
}
/* ── Featured gallery grid (gallery page + homepage) ── */
.featured-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.featured-gallery-item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
  background: var(--navy-dark);
  transition: transform .25s ease, box-shadow .25s ease;
}
.featured-gallery-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.featured-gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.featured-gallery-item:hover img { transform: scale(1.04); }
.featured-gallery-item .fg-label {
  position: absolute;
  bottom: .85rem; left: .85rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: #fff;
  background: rgba(0,0,0,.50);
  border-radius: var(--radius-sm);
  padding: .25rem .65rem;
  backdrop-filter: blur(6px);
}
@media (max-width: 560px) {
  .featured-gallery { grid-template-columns: 1fr; }
}
/* ── Lightbox ── */
.lb-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,.93);
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  cursor: zoom-out;
}
.lb-overlay.open { display: flex; }
.lb-overlay img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 80px rgba(0,0,0,.6);
  cursor: default;
  user-select: none;
}
.lb-close {
  position: absolute;
  top: 1rem; right: 1.25rem;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  transition: background .2s;
}
.lb-close:hover { background: rgba(255,255,255,.28); }
/* ── Iframe height: 720px inline style is set for desktop.
   On mobile the form fields stack taller — override so all fields
   are visible without internal iframe scrolling. ── */
@media (max-width: 960px) {
  .form-card-body iframe,
  .page-form-wrap iframe {
    height: 980px !important;
  }
}
.form-card-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 2rem;
  right: 2rem;
  height: 1px;
  background: rgba(255,255,255,.12);
}
.form-card-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-family: var(--font-head);
  font-size: .73rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--teal-light);
  margin-bottom: .6rem;
}
.form-card-header h2 {
  font-family: 'Open Sans', system-ui, sans-serif;
  color: var(--white);
  font-size: 1.4rem;
  margin-bottom: .35rem;
  line-height: 1.25;
}
.form-card-header p {
  color: rgba(255,255,255,.7);
  font-size: .88rem;
  margin: 0;
  line-height: 1.55;
}
.form-card-body {
  background: var(--white);
  padding-top: 28px; /* clearance for the overhanging kit-thumb */
}
@media (max-width: 520px) {
  .form-card-header { padding: 1.4rem 1.4rem 1.25rem; }
  .form-card-header p { display: none; }
}

/* Stats - accent numbers in teal instead of navy */
.stat-item strong,
.stats-grid .stat-number {
  color: var(--teal-dark);
}

/* Process / steps section */
.process-section,
.how-it-works-section {
  background: linear-gradient(180deg, #eaeffc 0%, #f0f5ff 100%);
}

/* Section dividers - a gentle teal wave-line feel */
.section-divider {
  border-color: #b8d0f9;
}

/* ── City pill links (Proudly Serving section) ── */
.city-pill-link {
  display: inline-block;
  background: var(--white);
  border: 1px solid var(--gray-200);
  padding: .4rem .9rem;
  border-radius: 9999px;
  font-size: .85rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.city-pill-link:hover {
  border-color: var(--navy);
  color: var(--navy);
  background: var(--blue-light);
}

/* ── Why Choose Us – responsive 2-col grid ── */
#why-us .why-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.1rem; }
@media (max-width: 640px) {
  #why-us .why-grid { grid-template-columns: 1fr; }
}

/* ── PRE-FORM GOVERNMENT REBATE BAR ── */
.form-rebate-bar{background:linear-gradient(135deg,#fffbeb 0%,#fef3c7 100%);border-top:3px solid #f5a623;border-bottom:3px solid #f5a623;padding:2.25rem 0;}
.form-rebate-bar-inner{display:flex;align-items:center;gap:2rem;flex-wrap:wrap;}
.form-rebate-bar-flag{flex-shrink:0;border-radius:4px;overflow:hidden;box-shadow:0 2px 10px rgba(0,0,0,.18);}
.form-rebate-bar-amount{flex-shrink:0;text-align:center;line-height:1;}
.form-rebate-bar-amount span{display:block;font-family:var(--font-head);font-size:2.4rem;font-weight:900;color:#b84a00;line-height:1;}
.form-rebate-bar-amount small{display:block;font-size:.72rem;font-weight:700;letter-spacing:.09em;text-transform:uppercase;color:var(--text-light);margin-top:.2rem;}
.form-rebate-bar-divider{width:1px;height:56px;background:rgba(0,0,0,.12);flex-shrink:0;}
.form-rebate-bar-text{flex:1;min-width:220px;}
.form-rebate-bar-text strong{display:block;font-family:var(--font-head);font-size:1.15rem;font-weight:800;color:var(--navy);margin-bottom:.35rem;line-height:1.3;}
.form-rebate-bar-text p{font-size:.92rem;color:var(--text-light);margin:0;line-height:1.6;}
@media(max-width:700px){
  .form-rebate-bar{padding:1.75rem 0;}
  .form-rebate-bar-inner{flex-direction:column;text-align:center;gap:1rem;}
  .form-rebate-bar-divider{display:none;}
  .form-rebate-bar-text{min-width:0;}
  .form-rebate-bar-amount span{font-size:2rem;}
}

.reviews-section{background:#071428;overflow:hidden;padding-bottom:3.5rem}.reviews-section .section-header h2{color:#fff}.reviews-section .section-header p{color:rgba(255,255,255,.7)}.reviews-section .eyebrow{color:rgba(255,255,255,.6);border-color:rgba(255,255,255,.2);background:rgba(255,255,255,.08)}.google-badge-wrap{display:flex;justify-content:center;margin-top:1.25rem}.google-badge{display:inline-flex;align-items:center;gap:1rem;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.15);border-radius:12px;padding:.85rem 1.5rem}.google-badge-score{line-height:1}.google-badge-row{display:flex;align-items:center;gap:.4rem}.google-badge-num{font-family:var(--font-head);font-size:1.5rem;font-weight:800;color:#fff;line-height:1}.google-badge-stars-row{display:flex;gap:2px;color:#f5a623}.google-badge-count{font-size:.78rem;color:rgba(255,255,255,.55);margin-top:.2rem}.google-badge-link{font-family:var(--font-head);font-size:.78rem;font-weight:600;color:#93c5fd;border-left:1px solid rgba(255,255,255,.2);padding-left:1rem;white-space:nowrap;text-decoration:none}.google-badge-link:hover{color:#fff}.reviews-ticker-outer{overflow:hidden;-webkit-mask-image:linear-gradient(to right,transparent,black 7%,black 93%,transparent);mask-image:linear-gradient(to right,transparent,black 7%,black 93%,transparent);margin-top:3rem;padding:.5rem 0 1.25rem}.reviews-ticker-outer:hover .reviews-ticker-track{animation-play-state:paused}.reviews-ticker-track{display:flex;gap:1.25rem;width:max-content;animation:reviews-scroll 62s linear infinite;will-change:transform}@keyframes reviews-scroll{0%{transform:translateX(0)}100%{transform:translateX(-50%)}}@media (prefers-reduced-motion:reduce){.reviews-ticker-track{animation:none}.reviews-ticker-outer{overflow-x:auto;-webkit-mask-image:none;mask-image:none}}.review-card{background:#fff;border-radius:16px;padding:1.4rem;width:310px;flex-shrink:0;display:flex;flex-direction:column;gap:.6rem;box-shadow:0 4px 28px rgba(0,0,0,.22);user-select:none}.review-card-stars{display:flex;gap:2px;color:#f5a623}.review-card-text{font-size:.9rem;color:#374151;font-style:italic;line-height:1.65;flex:1}.review-card-footer{display:flex;align-items:center;gap:.7rem;border-top:1px solid #f3f4f6;padding-top:.8rem;margin-top:.25rem}.review-avatar{width:36px;height:36px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-family:var(--font-head);font-weight:800;font-size:.75rem;color:#fff;flex-shrink:0;letter-spacing:.02em}.review-meta{flex:1;min-width:0}.review-meta strong{display:block;font-family:var(--font-head);font-size:.82rem;font-weight:700;color:#111827;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.review-meta-source{display:flex;align-items:center;gap:.3rem;font-size:.73rem;color:#9ca3af;margin-top:1px}.reviews-cta-btn{background:transparent;color:#fff;border:2px solid rgba(255,255,255,.35);display:inline-flex;align-items:center;gap:.5rem}.reviews-cta-btn:hover{background:rgba(255,255,255,.1);border-color:#fff;color:#fff}.reviews-mobile-reel{display:none}@media (max-width:767px){.reviews-ticker-outer{display:none}.reviews-mobile-reel{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;scrollbar-width:none;gap:1rem;padding:2rem 1.25rem 1.5rem}.reviews-mobile-reel::-webkit-scrollbar{display:none}.reviews-mobile-reel .review-card{scroll-snap-align:center;width:82vw;min-width:250px;max-width:300px}}
.hero-savings-bar{display:inline-flex;align-items:center;gap:.5rem;background:linear-gradient(135deg,#FFE040 0%,#FFB300 100%);color:#1a0c00;border-radius:999px;padding:.45rem 1.1rem .45rem .9rem;font-family:var(--font-head);font-size:.9rem;font-weight:600;margin-bottom:1rem;box-shadow:0 3px 18px rgba(255,195,0,.55);letter-spacing:.01em;text-decoration:none;cursor:pointer;transition:filter .15s ease,transform .12s ease}.hero-savings-bar:hover,.hero-savings-bar:focus-visible{filter:brightness(1.08);transform:translateY(-1px)}.hero-savings-bar strong{font-weight:800;font-size:1em}@media(max-width:600px){.hero-savings-bar{font-size:.85rem;white-space:nowrap}.savings-detail{display:none}}
.quiz-promo{position:relative;overflow:hidden;background:linear-gradient(135deg,#071428 0%,#0b2a6e 55%,#071428 100%);padding:5rem 0}.quiz-promo::before{content:"";position:absolute;top:50%;left:18%;transform:translate(-50%,-50%);width:640px;height:640px;background:radial-gradient(circle,rgba(101,242,245,.11) 0%,transparent 65%);pointer-events:none}.quiz-promo::after{content:"";position:absolute;top:50%;right:-60px;transform:translateY(-50%);width:420px;height:420px;background:radial-gradient(circle,rgba(14,92,226,.14) 0%,transparent 65%);pointer-events:none}.quiz-promo-inner{position:relative;z-index:1;display:grid;grid-template-columns:1fr 1fr;gap:4rem;align-items:center}.quiz-promo-eyebrow{display:inline-flex;align-items:center;gap:.5rem;font-family:var(--font-head);font-size:.72rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#65f2f5;background:rgba(101,242,245,.1);border:1px solid rgba(101,242,245,.25);border-radius:999px;padding:.35rem 1rem;margin-bottom:1.35rem}.quiz-promo-heading{color:#fff;font-size:clamp(1.7rem,3.5vw,2.5rem);line-height:1.15;margin:0 0 1.1rem}.quiz-promo-heading em{font-style:italic;color:#65f2f5}.quiz-promo-lead{color:rgba(255,255,255,.7);font-size:1.05rem;line-height:1.75;margin:0 0 1.75rem}.quiz-promo-pills{display:flex;flex-wrap:wrap;gap:.6rem;margin-bottom:2rem}.quiz-promo-pill{font-family:var(--font-head);font-size:.75rem;font-weight:600;color:rgba(255,255,255,.72);background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.13);border-radius:999px;padding:.3rem .9rem}.quiz-promo-btn{display:inline-flex;align-items:center;gap:.5rem}.quiz-promo-steps{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12);border-radius:20px;padding:2rem;display:flex;flex-direction:column;gap:1.2rem}.quiz-promo-step{display:flex;align-items:flex-start;gap:1rem}.quiz-promo-step-num{width:32px;height:32px;min-width:32px;border-radius:50%;background:rgba(101,242,245,.13);border:1.5px solid rgba(101,242,245,.3);display:flex;align-items:center;justify-content:center;font-family:var(--font-head);font-size:.78rem;font-weight:800;color:#65f2f5}.quiz-promo-step-text strong{display:block;font-family:var(--font-head);font-size:.88rem;font-weight:700;color:#fff;margin-bottom:.2rem}.quiz-promo-step-text span{font-size:.82rem;color:rgba(255,255,255,.52);line-height:1.5}.quiz-promo-divider{height:1px;background:rgba(255,255,255,.1);margin:.15rem 0}.quiz-promo-result{background:rgba(101,242,245,.08);border:1px solid rgba(101,242,245,.2);border-radius:12px;padding:1.1rem 1.25rem}.quiz-promo-result-label{font-family:var(--font-head);font-size:.62rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:#65f2f5;opacity:.75;display:block;margin-bottom:.55rem}.quiz-promo-result-product{display:flex;align-items:center;gap:.85rem}.quiz-promo-result-icon{width:38px;height:38px;min-width:38px;border-radius:50%;background:rgba(101,242,245,.14);border:1px solid rgba(101,242,245,.3);display:flex;align-items:center;justify-content:center;color:#65f2f5}.quiz-promo-result-product strong{display:block;font-family:var(--font-head);font-size:.9rem;font-weight:800;color:#fff}.quiz-promo-result-product span{font-size:.76rem;color:rgba(255,255,255,.48);margin-top:.15rem;display:block}@media(max-width:900px){.quiz-promo-inner{grid-template-columns:1fr;gap:2.5rem}.quiz-promo-steps{display:none}.quiz-promo{padding:3.5rem 0}}
