/* ==========================================================================
   Jefferson's AC & Electrical (JAE) — Site Stylesheet
   ========================================================================== */

:root {
  --jae-lime: #c6e000;
  --jae-lime-dark: #9fb600;
  --jae-blue: #1487c9;
  --jae-blue-dark: #0e5f8f;
  --jae-navy: #0d1219;
  --jae-navy-soft: #171f29;
  --jae-orange: #e8501f;
  --jae-orange-dark: #c53f14;
  --cream: #faf9f5;
  --gray-50: #f6f7f4;
  --gray-100: #ececE7;
  --gray-200: #dcdfd8;
  --gray-400: #96a094;
  --gray-600: #5a635a;
  --gray-800: #262d26;
  --white: #ffffff;
  --shadow-sm: 0 3px 14px rgba(13, 18, 25, 0.06);
  --shadow-md: 0 14px 40px rgba(13, 18, 25, 0.12);
  --shadow-lg: 0 30px 70px rgba(13, 18, 25, 0.28);
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1180px;
  --ff-head: "Poppins", "Segoe UI", system-ui, sans-serif;
  --ff-body: "Inter", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  margin: 0;
  font-family: var(--ff-body);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: var(--ff-head);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.015em;
  margin: 0 0 .5em;
  color: var(--jae-navy);
}

h1 { font-size: clamp(2.3rem, 5.4vw, 3.6rem); letter-spacing: -0.025em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.28rem; letter-spacing: -0.01em; }

p { margin: 0 0 1em; }

a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: .76rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--jae-blue-dark);
  background: rgba(20, 135, 201, .08);
  padding: 7px 15px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.eyebrow.on-dark { color: var(--jae-lime); background: rgba(198, 224, 0, .1); }
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--jae-orange); flex-shrink: 0; }

.section { padding: 92px 0; }
.section-tight { padding: 52px 0; }
.section-alt { background: var(--cream); }
.section-navy { background: var(--jae-navy); color: var(--gray-200); position: relative; }
.section-navy h2, .section-navy h3 { color: var(--white); }

.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.lede { font-size: 1.12rem; line-height: 1.7; color: var(--gray-600); }
.section-navy .lede { color: var(--gray-400); }

/* Reveal-on-scroll (progressive enhancement, see js) */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.16,.8,.24,1), transform .7s cubic-bezier(.16,.8,.24,1); }
.reveal.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--ff-head);
  font-weight: 600;
  font-size: .97rem;
  padding: 15px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease, filter .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-lime {
  background: linear-gradient(155deg, #d4f000, var(--jae-lime) 55%, var(--jae-lime-dark));
  color: var(--jae-navy);
  box-shadow: 0 10px 26px rgba(198,224,0,.32);
}
.btn-lime:hover { filter: brightness(1.04); box-shadow: 0 14px 34px rgba(198,224,0,.4); }
.btn-blue {
  background: linear-gradient(155deg, #1a97dc, var(--jae-blue) 60%, var(--jae-blue-dark));
  color: var(--white);
  box-shadow: 0 10px 26px rgba(20,135,201,.28);
}
.btn-blue:hover { filter: brightness(1.05); box-shadow: 0 14px 34px rgba(20,135,201,.36); }
.btn-outline { border-color: rgba(255,255,255,.5); color: var(--white); }
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.btn-outline-navy { border-color: var(--jae-navy); color: var(--jae-navy); }
.btn-outline-navy:hover { background: var(--jae-navy); color: var(--white); }
.btn-block { width: 100%; }
.btn-sm { padding: 11px 20px; font-size: .87rem; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* ---------- Top utility bar ---------- */
.topbar {
  background: var(--jae-navy);
  color: var(--gray-400);
  font-size: .84rem;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 9px;
  padding-bottom: 9px;
  gap: 12px;
  flex-wrap: wrap;
}
.topbar a { color: var(--gray-200); }
.topbar a:hover { color: var(--jae-lime); }
.topbar-links { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar-links span, .topbar-links a { display: inline-flex; align-items: center; gap: 7px; }
.topbar-links svg { flex-shrink: 0; }
.topbar-social { display: flex; gap: 14px; }
.topbar-social a { display: inline-flex; }
.topbar-social svg { width: 16px; height: 16px; }

/* ---------- Header / Nav ---------- */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  /* Solid background, no backdrop-filter: filter/backdrop-filter on an
     ancestor creates a new containing block for position:fixed descendants,
     which silently confined the full-screen mobile nav drawer (nav.main-nav,
     nested inside this header) to the header's own small box instead of the
     viewport on real Safari/Chrome (headless Chromium testing missed this
     because backdrop-filter is often unsupported/no-op in headless mode). */
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 14px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--ff-head);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--jae-navy);
  min-width: 0;
}
.logo-mark {
  position: relative;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  flex-shrink: 0;
  background: linear-gradient(145deg, #d4f000, var(--jae-lime) 60%, var(--jae-lime-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(198,224,0,.35);
}
.logo-mark svg { width: 26px; height: 26px; color: var(--jae-navy); }
.logo-text { display: flex; flex-direction: column; line-height: 1.12; min-width: 0; }
.logo-text .l1 { font-size: 1.18rem; letter-spacing: .01em; white-space: nowrap; }
.logo-text .l1 span { color: var(--jae-blue); font-weight: 600; }
.logo-text .l2 {
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: .66rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--gray-600);
  white-space: nowrap;
}

nav.main-nav { display: flex; align-items: center; gap: 4px; }
nav.main-nav a {
  font-family: var(--ff-head);
  font-weight: 600;
  font-size: .95rem;
  padding: 10px 16px;
  border-radius: 8px;
  color: var(--gray-800);
  transition: color .15s ease, background-color .15s ease;
}
nav.main-nav a:hover { color: var(--jae-blue); background: var(--gray-50); }
nav.main-nav a.active { color: var(--jae-blue-dark); }
.nav-cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-panel-head, .nav-backdrop, .nav-panel-call { display: none; }

/* Hamburger — three explicit bars, column stack */
.menu-toggle {
  display: none;
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.menu-toggle .bar {
  display: block;
  width: 21px;
  height: 2px;
  background: var(--jae-navy);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.menu-toggle.open .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open .bar:nth-child(2) { opacity: 0; }
.menu-toggle.open .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: var(--white);
  min-height: 660px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(13,18,25,.95) 12%, rgba(13,18,25,.8) 42%, rgba(13,18,25,.42) 100%);
}
.hero-media::before {
  content: "";
  position: absolute; inset: 0;
  z-index: 2;
  opacity: .5;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E");
}
.hero-inner { position: relative; z-index: 3; padding: 96px 0 76px; }
.hero-inner .content { max-width: 640px; }
.hero-inner h1 { color: var(--white); }
.hero-inner .lede { color: var(--gray-200); font-size: 1.2rem; max-width: 560px; }

.hero-badges { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 34px; }
.hero-badge {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  padding: 9px 15px;
  border-radius: 999px;
  font-size: .84rem;
  font-weight: 600;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  flex-shrink: 0;
}
.hero-badge svg { width: 16px; height: 16px; color: var(--jae-lime); flex-shrink: 0; }

.page-hero { min-height: 380px; }
.page-hero .hero-inner { padding: 74px 0 60px; }

/* ---------- Trust strip ---------- */
.trust-strip {
  background: var(--cream);
  border-bottom: 1px solid var(--gray-100);
  padding: 24px 0;
}
.trust-strip .container {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
  align-items: center;
}
.trust-item {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--ff-head);
  font-weight: 600;
  font-size: .9rem;
  color: var(--gray-800);
}
.trust-item svg { width: 19px; height: 19px; color: var(--jae-blue); flex-shrink: 0; }

/* ---------- Brand strip ---------- */
.brand-strip { padding: 46px 0; }
.brand-strip .label {
  text-align: center;
  font-family: var(--ff-head);
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 26px;
}
.brand-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px 34px;
}
.brand-chip {
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: .01em;
  color: var(--gray-400);
  opacity: .85;
  transition: opacity .2s ease, color .2s ease;
}
.brand-chip:hover { opacity: 1; color: var(--jae-navy); }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: transform .22s cubic-bezier(.16,.8,.24,1), box-shadow .22s ease, border-color .22s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }

.icon-badge {
  width: 56px; height: 56px;
  border-radius: 15px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  background: linear-gradient(150deg, rgba(20,135,201,.12), rgba(13,18,25,.04));
}
.icon-badge svg { width: 26px; height: 26px; color: var(--jae-blue-dark); }
.icon-badge.lime, .icon-badge.blue { background: linear-gradient(150deg, rgba(20,135,201,.12), rgba(13,18,25,.04)); }
.icon-badge.lime svg, .icon-badge.blue svg { color: var(--jae-blue-dark); }
.icon-badge.orange { background: linear-gradient(150deg, rgba(232,80,31,.16), rgba(232,80,31,.05)); }
.icon-badge.orange svg { color: var(--jae-orange); }

.service-card h3 { margin-bottom: 10px; }
.service-card p { color: var(--gray-600); margin-bottom: 18px; }
.service-card .link { font-weight: 700; color: var(--jae-blue-dark); display: inline-flex; align-items: center; gap: 6px; font-family: var(--ff-head); font-size: .92rem; }
.service-card .link svg { width: 16px; height: 16px; transition: transform .15s ease; }
.service-card:hover .link svg { transform: translateX(4px); }

/* ---------- Generac CTA band ---------- */
.gen-band {
  position: relative;
  background: var(--jae-navy);
  color: var(--white);
  border-radius: 26px;
  overflow: hidden;
  padding: 56px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 34px;
  align-items: center;
}
.gen-band::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(198,224,0,.14), transparent 55%),
              radial-gradient(circle at 10% 90%, rgba(20,135,201,.2), transparent 50%);
}
.gen-band > * { position: relative; z-index: 1; }
.gen-band h2 { color: var(--white); }
.gen-band .lede { color: var(--gray-200); }
.gen-band-media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.gen-band-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }

/* ---------- Stats ---------- */
.stat { text-align: center; }
.stat .num { font-family: var(--ff-head); font-weight: 800; font-size: 2.6rem; letter-spacing: -0.02em; color: var(--jae-lime-dark); }
.section-navy .stat .num { color: var(--jae-lime); }
.stat .label { font-size: .88rem; color: var(--gray-600); font-weight: 600; }
.section-navy .stat .label { color: var(--gray-400); }

/* ---------- Steps ---------- */
.steps { counter-reset: step; }
.step { display: flex; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--gray-100); }
.step:last-child { border-bottom: none; }
.step-num {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--jae-navy);
  color: var(--jae-lime);
  font-family: var(--ff-head); font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}

/* ---------- Testimonials ---------- */
.testi-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
}
.stars { color: var(--jae-orange); letter-spacing: 2px; margin-bottom: 12px; font-size: 1.05rem; }
.testi-name { font-family: var(--ff-head); font-weight: 700; margin-top: 14px; }
.testi-role { font-size: .82rem; color: var(--gray-600); }

/* ---------- Gallery ---------- */
.gallery-grid {
  columns: 3 260px;
  column-gap: 20px;
}
.gallery-item {
  break-inside: avoid;
  margin-bottom: 20px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
  cursor: zoom-in;
  box-shadow: var(--shadow-sm);
  background: var(--gray-100);
  transition: box-shadow .2s ease;
}
.gallery-item:hover { box-shadow: var(--shadow-md); }
.gallery-item img { width: 100%; display: block; transition: transform .4s cubic-bezier(.16,.8,.24,1); }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 16px 16px 13px;
  background: linear-gradient(to top, rgba(13,18,25,.88), transparent);
  color: var(--white);
  font-size: .82rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .2s ease, transform .2s ease;
}
.gallery-item:hover .gallery-cap { opacity: 1; transform: translateY(0); }

.filter-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 38px; }
.filter-btn {
  font-family: var(--ff-head);
  font-weight: 600;
  font-size: .85rem;
  padding: 10px 19px;
  border-radius: 999px;
  border: 1.5px solid var(--gray-200);
  background: var(--white);
  cursor: pointer;
  transition: all .18s ease;
}
.filter-btn:hover { border-color: var(--jae-blue); color: var(--jae-blue); }
.filter-btn.active { background: var(--jae-navy); border-color: var(--jae-navy); color: var(--white); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(8,11,15,.95);
  display: none;
  align-items: center; justify-content: center;
  padding: 30px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: min(1100px, 92vw); max-height: 86vh; border-radius: 12px; box-shadow: var(--shadow-lg); }
.lightbox-cap { position: absolute; bottom: 26px; left: 0; right: 0; text-align: center; color: var(--gray-200); font-size: .9rem; }
.lightbox-close, .lightbox-nav {
  position: absolute;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.25);
  color: var(--white);
  width: 46px; height: 46px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.lightbox-close { top: 24px; right: 24px; }
.lightbox-close:hover, .lightbox-nav:hover { background: rgba(255,255,255,.22); }
.lightbox-nav svg, .lightbox-close svg { width: 20px; height: 20px; }
.lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }

/* ---------- Payment / contact strip ---------- */
.pay-row { display: flex; flex-wrap: wrap; gap: 14px; }
.pay-chip {
  display: flex; align-items: center; gap: 10px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  padding: 11px 17px;
  border-radius: 11px;
  font-weight: 600;
  font-size: .88rem;
}
.pay-chip svg { width: 20px; height: 20px; color: var(--jae-blue); }

.contact-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius);
  padding: 36px;
}
.contact-line { display: flex; gap: 16px; align-items: flex-start; padding: 17px 0; border-bottom: 1px solid var(--gray-100); }
.contact-line:last-child { border-bottom: none; }
.contact-line .ic {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  background: linear-gradient(150deg, rgba(20,135,201,.14), rgba(13,18,25,.04));
  display: flex; align-items: center; justify-content: center;
}
.contact-line .ic svg { width: 22px; height: 22px; color: var(--jae-blue); }
.contact-line .label { font-size: .78rem; text-transform: uppercase; letter-spacing: .07em; color: var(--gray-600); font-weight: 700; margin-bottom: 2px; }
/* min-width:0 lets this flex item shrink below its content size; without it
   a long unbroken string (like an email address) forces the whole card —
   and the grid row it sits in — wider than the screen on narrow phones. */
.contact-line > div:last-child { min-width: 0; }
.contact-line a, .contact-line .val { font-family: var(--ff-head); font-weight: 700; font-size: 1.05rem; color: var(--jae-navy); overflow-wrap: break-word; word-break: break-word; }
.contact-line a:hover { color: var(--jae-blue); }

.map-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-100);
  min-height: 340px;
  background:
    linear-gradient(rgba(13,18,25,.68), rgba(13,18,25,.4)),
    linear-gradient(135deg, #223046, #101820 60%, #0d1219);
}
.map-frame iframe { position: relative; z-index: 1; width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }
.map-fallback {
  position: absolute; inset: 0; z-index: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; color: var(--white); text-align: center; padding: 20px;
}
.map-fallback svg { width: 34px; height: 34px; color: var(--jae-lime); }
.map-fallback .mf-title { font-family: var(--ff-head); font-weight: 700; font-size: 1.05rem; }
.map-fallback .mf-sub { font-size: .85rem; color: var(--gray-400); }
.map-fallback a { margin-top: 4px; }

/* ---------- Form ---------- */
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-weight: 700; font-family: var(--ff-head); font-size: .88rem; margin-bottom: 7px; color: var(--jae-navy); }
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  padding: 13px 15px;
  border-radius: 11px;
  border: 1.5px solid var(--gray-200);
  font-family: var(--ff-body);
  font-size: .96rem;
  background: var(--white);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--jae-blue); box-shadow: 0 0 0 4px rgba(20,135,201,.12);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

/* ---------- CTA banner ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--jae-blue-dark), var(--jae-blue));
  color: var(--white);
  border-radius: 26px;
  padding: 58px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 15% 15%, rgba(255,255,255,.14), transparent 45%);
  pointer-events: none;
}
.cta-band > * { position: relative; }
.cta-band h2 { color: var(--white); }
.cta-band .lede { color: rgba(255,255,255,.88); max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-band .btn-row { justify-content: center; margin-top: 28px; }

/* ---------- Footer ---------- */
footer.site-footer { background: var(--jae-navy); color: var(--gray-400); position: relative; }
footer.site-footer::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--jae-lime), var(--jae-blue));
  opacity: .7;
}
.footer-top { padding: 68px 0 42px; }
.footer-grid { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(0,1fr) minmax(0,1fr) minmax(0,1.1fr); gap: 40px; }
.footer-grid h4 { color: var(--white); font-size: .92rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 18px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a:hover { color: var(--jae-lime); }
.footer-about p { color: var(--gray-400); font-size: .92rem; }
.footer-social { display: flex; gap: 12px; margin-top: 18px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.06);
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,.12);
  transition: background .2s ease, color .2s ease;
}
.footer-social a:hover { background: var(--jae-lime); color: var(--jae-navy); }
.footer-social svg { width: 17px; height: 17px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: .82rem;
}
.footer-bottom a:hover { color: var(--jae-lime); }

/* ---------- Sticky mobile call bar ---------- */
.sticky-call {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 90;
  background: rgba(13,18,25,.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -8px 26px rgba(0,0,0,.28);
}
.sticky-call .row { display: flex; gap: 10px; }
.sticky-call a.btn { flex: 1; min-width: 0; padding-left: 14px; padding-right: 14px; }

/* Smallest phones (iPhone SE 1st-gen / older Android, 320–359px) — the two
   full-width call/estimate buttons need a touch less padding and font-size
   to both fit on one line without crowding each other off-screen. */
@media (max-width: 359px) {
  .sticky-call a.btn { padding-left: 8px; padding-right: 8px; font-size: .88rem; gap: 6px; }
  .sticky-call a.btn svg { width: 16px; height: 16px; }
}

/* ---------- Misc ---------- */
.badge-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0; }
.badge-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--cream); border: 1px solid var(--gray-200);
  padding: 9px 15px; border-radius: 999px; font-size: .84rem; font-weight: 600;
}
.badge-pill svg { width: 15px; height: 15px; color: var(--jae-blue); flex-shrink: 0; }

.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; padding: 8px 0; }
.check-list svg { width: 20px; height: 20px; color: var(--jae-lime-dark); flex-shrink: 0; margin-top: 2px; }

.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 54px; align-items: center; }
.two-col img { border-radius: var(--radius); box-shadow: var(--shadow-md); }

.divider { height: 1px; background: var(--gray-100); margin: 64px 0; }

.tag-strip { display: flex; flex-wrap: wrap; gap: 10px; }
.tag {
  background: var(--cream);
  border: 1px solid var(--gray-200);
  padding: 7px 14px;
  border-radius: 9px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--gray-600);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gen-band { grid-template-columns: minmax(0, 1fr); padding: 38px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .two-col { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .two-col .media { order: -1; }
}

/* Nav collapses to the drawer/hamburger for anything narrower than a small
   laptop window — this covers phones AND portrait tablets (iPad mini/Air/Pro
   all sit between 768–834px, where the full desktop nav has no room and
   wraps onto a second line). Kept separate from the 760px content breakpoint
   below so tablets still get the roomier multi-column layout. */
@media (max-width: 960px) {
  /* Full-screen mobile nav drawer */
  nav.main-nav {
    position: fixed;
    inset: 0;
    z-index: 300;
    opacity: 0;
    pointer-events: none;
    transition: opacity .28s ease;
  }
  nav.main-nav.open { opacity: 1; pointer-events: auto; }
  .nav-backdrop {
    display: block;
    position: absolute; inset: 0;
    background: rgba(13,18,25,.6);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
  }
  .nav-panel {
    position: absolute; top: 0; right: 0; bottom: 0;
    width: min(320px, 84vw);
    background: var(--white);
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 20px 22px calc(24px + env(safe-area-inset-bottom, 0px));
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    transition: transform .32s cubic-bezier(.16,.8,.24,1);
    overflow-y: auto;
  }
  nav.main-nav.open .nav-panel { transform: translateX(0); }
  .nav-panel-head {
    display: flex; align-items: center; justify-content: space-between;
    padding-bottom: 14px; margin-bottom: 8px; border-bottom: 1px solid var(--gray-100);
  }
  .nav-panel-brand { font-family: var(--ff-head); font-weight: 700; color: var(--jae-navy); }
  .nav-close {
    width: 38px; height: 38px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: var(--gray-50); border: none; color: var(--jae-navy); cursor: pointer;
  }
  .nav-close svg { width: 18px; height: 18px; }
  nav.main-nav a { padding: 15px 12px; border-bottom: 1px solid var(--gray-100); border-radius: 0; font-size: 1.02rem; }
  .nav-panel-call { display: flex; margin-top: 18px; }

  .nav-cta .btn-blue.desktop-only { display: none; }
  .menu-toggle { display: flex; }

  /* Persistent tap-to-call bar — anything using the hamburger nav loses the
     header's call button, so give it back as a sticky bottom bar instead. */
  .sticky-call { display: block; }
  body { padding-bottom: 76px; }
}

@media (max-width: 760px) {
  .topbar-links > span:nth-of-type(2) { display: none; }
  .topbar .container { justify-content: center; text-align: center; }
  .topbar-links { justify-content: center; }

  .grid-3, .grid-4, .grid-2 { grid-template-columns: minmax(0, 1fr); }
  .gallery-grid { columns: 2 200px; column-gap: 14px; }
  .gallery-item { margin-bottom: 14px; }
  .gen-band, .cta-band { padding: 32px 24px; border-radius: 20px; }
  .form-row { grid-template-columns: 1fr; }
  .hero { min-height: 580px; }
  .hero-badges { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
  .hero-badges::-webkit-scrollbar { display: none; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; justify-content: center; }
  .section { padding: 58px 0; }
  .brand-row { gap: 12px 24px; }
  .brand-chip { font-size: .95rem; }
}

@media (max-width: 480px) {
  .gallery-grid { columns: 1; }
  .hero-inner { padding: 64px 0 46px; }
  .logo-text .l1 { font-size: 1.05rem; }
  .logo-text .l1 span { display: none; }
}
