/* ===================== Design tokens ===================== */
:root {
  --red: #dc2626;
  --red-dark: #b91c1c;
  --blue: #1d4ed8;
  --blue-dark: #1e3a8a;
  --navy: #0a1426;
  --navy-2: #112240;
  --ink: #111827;
  --muted: #5b6474;
  --line: #e5e7eb;
  --surface: #ffffff;
  --surface-2: #f6f7fb;
  --gold: #d4a537;
  --radius: 14px;
  --shadow-sm: 0 1px 2px rgba(10, 20, 38, 0.06), 0 1px 1px rgba(10, 20, 38, 0.04);
  --shadow-md: 0 8px 24px rgba(10, 20, 38, 0.12);
  --shadow-lg: 0 20px 48px rgba(10, 20, 38, 0.18);
  --header-h: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.55;
}
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 0.5em; font-weight: 800; }
p { margin: 0 0 1em; color: var(--muted); }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
img, video { max-width: 100%; display: block; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 1000;
  background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ===================== Buttons ===================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; font-weight: 700; font-size: 15px;
  border: 2px solid transparent; cursor: pointer; transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  text-decoration: none; white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--red); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--red-dark); box-shadow: var(--shadow-md); }
.btn-secondary { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-secondary:hover { background: var(--navy); color: #fff; }
.btn-lg { padding: 16px 30px; font-size: 17px; }
.btn-block { width: 100%; }

/* ===================== Promo bar (rotating slider) ===================== */
.promo-bar { background: var(--red); }
.promo-bar-inner {
  display: flex; align-items: center; justify-content: center;
  padding: 10px 24px;
  text-align: center;
}
.promo-bar-text {
  margin: 0; color: #fff; font-weight: 700; font-size: 13.5px;
  transition: opacity 0.3s ease;
}
.promo-bar-text.is-fading { opacity: 0; }
.promo-bar-text a { color: #fff; text-decoration: underline; font-weight: 800; }
@media (max-width: 640px) {
  .promo-bar-inner { padding: 10px 16px; }
  .promo-bar-text { font-size: 12.5px; }
}

/* ===================== Promo popup (see initPromoModal in script.js) ===================== */
.promo-modal-overlay {
  position: fixed; inset: 0; z-index: 1100;
  background: rgba(10, 20, 38, 0.72);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0; pointer-events: none; transition: opacity 0.25s ease;
}
.promo-modal-overlay[data-open="true"] { opacity: 1; pointer-events: auto; }
.promo-modal {
  position: relative;
  background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  width: 100%; max-width: 420px; overflow: hidden;
  transform: scale(0.94) translateY(8px); transition: transform 0.25s ease;
}
.promo-modal-overlay[data-open="true"] .promo-modal { transform: scale(1) translateY(0); }
.promo-modal-close {
  position: absolute; top: 12px; right: 14px; z-index: 1;
  width: 32px; height: 32px; border-radius: 50%; border: none;
  background: rgba(10, 20, 38, 0.45); color: #fff; font-size: 22px; line-height: 1;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background 0.15s ease;
}
.promo-modal-close:hover { background: rgba(10, 20, 38, 0.7); }
.promo-modal-media {
  height: 150px; background-size: cover; background-position: center 25%;
  background-color: var(--navy);
}
.promo-modal-body { padding: 24px 26px 28px; text-align: center; }
.promo-modal-eyebrow {
  color: var(--red); font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  font-size: 12.5px; margin: 0 0 8px;
}
.promo-modal-title { color: var(--navy); font-size: 26px; margin: 0 0 10px; }
.promo-modal-text { color: var(--muted); font-size: 14.5px; margin: 0 0 20px; }
.promo-modal-text strong { color: var(--ink); }
.promo-modal-actions { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.promo-modal-link { color: var(--blue); font-weight: 700; font-size: 14px; text-decoration: underline; }

@media (max-width: 480px) {
  .promo-modal-title { font-size: 22px; }
  .promo-modal-body { padding: 20px 20px 24px; }
}

/* ===================== Header ===================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.nav-wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { color: var(--red); display: inline-flex; }
.brand-text { font-weight: 900; font-size: 18px; letter-spacing: 0.02em; }
.brand-red { color: var(--red); }
.brand-blue { color: var(--blue); }

/* Recreated brand wordmark (client's original artwork not available as a file asset) */
.logo-lockup {
  display: flex; flex-direction: column; line-height: 0.92; user-select: none;
}
.logo-line {
  font-family: "Arial Black", "Segoe UI", sans-serif;
  font-weight: 900; font-style: italic;
  letter-spacing: -0.01em;
  transform: skewX(-6deg);
}
.logo-line-1 {
  color: var(--red);
  font-size: 17px;
  -webkit-text-stroke: 0.4px var(--navy);
}
.logo-line-2 {
  color: var(--blue);
  font-size: 20px;
  position: relative;
  -webkit-text-stroke: 0.4px var(--navy);
}
.logo-script {
  font-family: "Brush Script MT", "Segoe Script", cursive;
  font-style: normal; font-weight: 400;
  color: var(--red);
  font-size: 15px;
  margin-left: 4px;
  transform: skewX(6deg) rotate(-4deg);
  display: inline-block;
  -webkit-text-stroke: 0;
}
.logo-lockup-footer .logo-line-1 { font-size: 20px; }
.logo-lockup-footer .logo-line-2 { font-size: 24px; }
.logo-lockup-footer .logo-script { font-size: 18px; }
.logo-lockup-footer { margin-bottom: 14px; }

.desktop-nav ul { list-style: none; display: flex; gap: 28px; margin: 0; padding: 0; }
.desktop-nav a { color: var(--ink); font-weight: 600; font-size: 15px; }
.desktop-nav a:hover { color: var(--red); text-decoration: none; }

.nav-actions { display: flex; align-items: center; gap: 14px; }
.call-chip {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--navy); font-weight: 700; font-size: 14px;
  padding: 8px 14px; border-radius: 999px; background: var(--surface-2);
}
.call-chip:hover { background: #eceff4; text-decoration: none; }

.hamburger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; background: none; border: none; cursor: pointer;
}
.hamburger span { display: block; width: 22px; height: 2.5px; background: var(--navy); border-radius: 2px; transition: transform 0.2s ease, opacity 0.2s ease; margin: 0 auto; }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.mobile-menu {
  display: none;
  max-height: 0; overflow: hidden;
  transition: max-height 0.25s ease;
  border-top: 1px solid var(--line);
  background: var(--surface);
}
.mobile-menu[data-open="true"] { max-height: 420px; }
.mobile-menu nav ul { list-style: none; margin: 0; padding: 16px 24px 0; display: flex; flex-direction: column; gap: 14px; }
.mobile-menu nav a { color: var(--ink); font-weight: 600; font-size: 16px; }
.mobile-menu .call-chip-mobile { margin: 16px 24px 0; justify-content: center; }
.mobile-menu .btn { margin: 12px 24px 20px; width: calc(100% - 48px); }

@media (max-width: 860px) {
  .desktop-nav, .nav-actions { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: block; }
}

/* ===================== Hero ===================== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex; align-items: center;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
}
.hero-video-wrap { position: absolute; inset: 0; z-index: 0; }
.hero-video { width: 100%; height: 100%; object-fit: cover; }
.hero-image-wrap { position: absolute; inset: 0; z-index: 0; }
.hero-image { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,20,38,0.78) 0%, rgba(10,20,38,0.62) 45%, rgba(10,20,38,0.88) 100%);
}
.hero-content { position: relative; z-index: 1; padding: 120px 24px 90px; max-width: 820px; min-width: 0; }
.eyebrow { color: #93c5fd; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; font-size: 13px; margin-bottom: 14px; }
.hero h1 { font-size: clamp(34px, 5.2vw, 58px); color: #fff; margin-bottom: 18px; }
.hero-sub { color: #dfe6f2; font-size: 18px; max-width: 640px; margin-bottom: 30px; }
.hero-sub strong { color: #fff; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 32px; }
.hero .btn-secondary { border-color: #fff; color: #fff; }
.hero .btn-secondary:hover { background: #fff; color: var(--navy); }
.hero-badges { list-style: none; display: flex; flex-wrap: wrap; gap: 12px 22px; margin: 0; padding: 0; }
.hero-badges li {
  font-size: 13px; font-weight: 700; color: #fff;
  display: flex; align-items: center; gap: 8px;
}
.hero-badges li::before { content: "✓"; color: #4ade80; font-weight: 900; }

.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 44px; align-items: center;
  /* .hero is a flex container, so this grid is a flex item — without this,
     its default min-width:auto lets its content (the quote form) force the
     item wider than the viewport on mobile, overflowing past the edges. */
  min-width: 0;
}

/* ===================== Hero quote card ===================== */
.quote-card {
  background: rgba(255,255,255,0.97);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-lg);
  color: var(--ink);
  /* Also a grid item (of .hero-grid), same min-width:auto issue as its parent
     — without this its form content stops it shrinking to fit on mobile. */
  min-width: 0;
}
.quote-card h2 { color: var(--navy); font-size: 22px; margin-bottom: 6px; }
.quote-card > p { font-size: 13.5px; margin-bottom: 18px; }
.form-row { margin-bottom: 14px; display: flex; flex-direction: column; gap: 6px; }
.form-row label { font-size: 12.5px; font-weight: 700; color: var(--navy); }
.form-row input, .form-row select, .form-row textarea {
  font: inherit; font-size: 14.5px; padding: 10px 12px;
  border: 1px solid var(--line); border-radius: 8px; background: var(--surface);
  color: var(--ink); resize: vertical;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(29,78,216,0.15);
}
.form-note { font-size: 12px; color: var(--muted); text-align: center; margin: 12px 0 0; }
.form-note.is-success { color: #16a34a; font-weight: 700; }
.form-note.is-error { color: var(--red); font-weight: 700; }
/* Honeypot: kept in the tab order out of the flow so screen readers and real
   visitors never encounter it, while form-filling bots still find and fill
   it (unlike display:none, which many bots skip). */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 980px) {
  /* padding-bottom gives the stacked quote-card breathing room against the
     dark hero background — without it, the card's near-white background
     sits flush against the hero's bottom edge, right up against the next
     section's own near-white background, so the two visually merge with
     no dark framing between them. */
  .hero-grid { grid-template-columns: 1fr; padding-bottom: 56px; }
  /* On mobile, hero-content + quote-card stack and their combined height
     already exceeds 92vh, so the min-height only adds dead space above the
     text; drop it and let content set the height instead. */
  .hero { min-height: 0; }
  .hero-content { padding: 72px 24px 32px; }
  /* Video intentionally left at the base inset:0 rule here — same full-bleed
     treatment as desktop, no mobile-specific override. */
}

/* ===================== Reveal ===================== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ===================== Trust snapshot ===================== */
.trust-snapshot { padding: 72px 0; background: var(--surface-2); }
.trust-grid { display: grid; grid-template-columns: 1fr 260px; gap: 48px; align-items: center; }
.trust-snapshot .lede { max-width: 680px; margin: 0 0 36px; font-size: 17px; color: var(--ink); }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  margin-bottom: 32px;
}
.stat { text-align: center; background: var(--surface); border-radius: var(--radius); padding: 28px 12px; box-shadow: var(--shadow-sm); }
.stat-number { display: block; font-size: clamp(30px, 4vw, 42px); font-weight: 900; color: var(--navy); }
.stat-label { display: block; margin-top: 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.trust-badges { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; margin: 0; padding: 0; }
.trust-badges a {
  display: inline-block; padding: 10px 18px; border-radius: 999px; background: var(--surface);
  border: 1px solid var(--line); color: var(--navy); font-weight: 700; font-size: 13.5px; box-shadow: var(--shadow-sm);
}
.trust-badges a:hover { border-color: var(--blue); color: var(--blue); text-decoration: none; }

/* Recreated lifetime-guarantee badge (client's original artwork not available as a file asset) */
.guarantee-badge-wrap { text-align: center; }
.badge-hex {
  width: 200px; aspect-ratio: 1 / 1.08; margin: 0 auto 16px;
  background: linear-gradient(135deg, #f3d989, #caa23c 45%, #8a6a1f 100%);
  clip-path: polygon(50% 0%, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
  padding: 5px;
  box-shadow: var(--shadow-md);
}
.badge-hex-inner {
  width: 100%; height: 100%;
  background: radial-gradient(circle at 50% 32%, #3a2a1c, #1c130c 78%);
  clip-path: polygon(50% 0%, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 5px; padding: 16px 10px; color: #e9c874;
}
.badge-crown { font-size: 18px; color: #e9c874; }
.badge-percent {
  font-size: 32px; font-weight: 900; font-style: italic; line-height: 1;
  background: linear-gradient(180deg, #f7e6a8, #c79a3c);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.badge-ribbon {
  background: linear-gradient(180deg, #e9c874, #a5801f);
  color: #241a10; font-weight: 800; font-size: 10.5px; letter-spacing: 0.02em;
  text-transform: uppercase; padding: 5px 10px; border-radius: 2px; white-space: nowrap;
}
.badge-since { font-size: 10.5px; letter-spacing: 0.04em; color: #d9b869; }
.guarantee-caption { font-size: 13.5px; max-width: 240px; margin: 0 auto; }

@media (max-width: 860px) {
  .trust-grid { grid-template-columns: 1fr; }
  .trust-snapshot .lede { text-align: center; margin: 0 auto 36px; }
}
@media (max-width: 760px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }

/* ===================== Why choose us — tilt cards ===================== */
.why-us { padding: 88px 0; }
.why-us h2, .services h2, .reviews h2, .faq h2, .map-info h2 { font-size: clamp(26px, 3.4vw, 36px); color: var(--navy); }
.why-us h2 { text-align: center; margin-bottom: 48px; }

.tilt-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 22px;
}
.tilt-card {
  grid-column: span 2;
  perspective: 900px;
}
.tilt-card-anchor { grid-column: span 3; grid-row: span 2; }
.tilt-card-inner {
  height: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transform: rotateX(0deg) rotateY(0deg);
  transition: transform 0.12s ease, box-shadow 0.2s ease;
  will-change: transform;
}
.tilt-card:hover .tilt-card-inner, .tilt-card:focus-within .tilt-card-inner { box-shadow: var(--shadow-lg); }
.tilt-card-anchor .tilt-card-inner {
  background-color: var(--navy);
  background-image:
    linear-gradient(180deg, rgba(10,20,38,0.12) 0%, rgba(10,20,38,0.94) 76%, rgba(10,20,38,0.98) 100%),
    url("assets/tacoma-glazing.jpg");
  background-size: cover, contain;
  background-position: center, center 40%;
  background-repeat: no-repeat, no-repeat;
  color: #fff;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 320px;
}
.tilt-card h3 { font-size: 19px; color: var(--navy); margin-bottom: 10px; }
.tilt-card p { font-size: 14.5px; margin-bottom: 14px; }
/* .tilt-card-anchor has the same specificity as .tilt-card above (1 class + 1
   type each) — these overrides must come after it in source order to win. */
.tilt-card-anchor h3 { color: #fff; font-size: 26px; }
.tilt-card-anchor p { color: #cbd5e1; }
.card-link { font-weight: 700; font-size: 13.5px; }
.tilt-card-anchor .card-link { color: #93c5fd; }

@media (max-width: 980px) {
  .tilt-grid { grid-template-columns: repeat(2, 1fr); }
  .tilt-card, .tilt-card-anchor { grid-column: span 2; grid-row: span 1; }
}

/* ===================== Services ===================== */
.services { padding: 88px 0; background: var(--surface-2); }
.services h2 { text-align: center; margin-bottom: 14px; }
.section-sub { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 40px; }
.service-block {
  background: var(--surface); border-radius: var(--radius); padding: 26px 28px;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.service-block h3 { font-size: 19px; color: var(--navy); margin-bottom: 10px; }
.service-block h3 a { color: inherit; text-decoration: none; }
.service-block h3 a:hover { text-decoration: underline; }
.service-block p { font-size: 14.5px; margin-bottom: 12px; }

@media (max-width: 760px) { .services-grid { grid-template-columns: 1fr; } }

/* ===================== Reviews carousel ===================== */
.reviews { padding: 88px 0; }
.reviews h2 { text-align: center; margin-bottom: 14px; }
.carousel-wrap { display: flex; align-items: center; gap: 14px; }
.carousel-track {
  display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 6px 2px 8px; flex: 1; scrollbar-width: none; -ms-overflow-style: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
.review-card {
  scroll-snap-align: start; flex: 0 0 auto; width: min(360px, 82vw);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm);
}
.review-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--navy));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 800; margin-bottom: 14px;
}
.review-avatar-google { background: linear-gradient(135deg, #4285f4, #34a853); }
.review-avatar-yelp { background: linear-gradient(135deg, #d32323, #a01818); }
.review-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.stars { color: var(--red); text-transform: uppercase; font-weight: 800; letter-spacing: 0.04em; margin-bottom: 10px; font-size: 12px; }
.review-card p { font-size: 14.5px; font-style: italic; }
.review-card cite { display: block; font-style: normal; font-weight: 700; font-size: 13px; color: var(--navy); margin-bottom: 10px; }
.carousel-btn {
  flex: 0 0 auto; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--surface); font-size: 20px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; color: var(--navy);
  transition: background 0.15s ease;
}
.carousel-btn:hover { background: var(--surface-2); }

/* ===================== Before / after slider (see initBeforeAfterSlider in script.js) ===================== */
.before-after { padding: 88px 0; background: var(--surface); }
.before-after h2 { text-align: center; margin-bottom: 14px; font-size: clamp(26px, 3.4vw, 36px); color: var(--navy); }
.ba-slider { max-width: 460px; margin: 0 auto; }
.ba-media {
  position: relative; aspect-ratio: 3 / 4; border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-lg); background: var(--navy);
  touch-action: pan-y; cursor: ew-resize; user-select: none;
}
.ba-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 22%; display: block; pointer-events: none;
}
.ba-img-before { clip-path: inset(0 calc(100% - var(--ba-pos, 50%)) 0 0); }
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: var(--ba-pos, 50%);
  transform: translateX(-50%); pointer-events: none;
}
.ba-handle-line {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 3px;
  background: #fff; transform: translateX(-50%); box-shadow: 0 0 0 1px rgba(10,20,38,0.25);
}
.ba-handle-grip {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--navy);
  display: flex; align-items: center; justify-content: center; font-size: 19px;
  box-shadow: var(--shadow-md);
}
.ba-label {
  position: absolute; top: 14px; padding: 5px 12px; border-radius: 6px;
  background: rgba(10,20,38,0.65); color: #fff; font-size: 12px; font-weight: 800;
  letter-spacing: 0.05em; text-transform: uppercase; pointer-events: none;
}
.ba-label-before { left: 14px; }
.ba-label-after { right: 14px; }
.ba-range {
  -webkit-appearance: none; appearance: none; width: 100%; height: 6px;
  margin: 18px 0 0; border-radius: 999px; background: var(--line); outline: none;
}
.ba-range::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 22px; height: 22px;
  border-radius: 50%; background: var(--red); border: 3px solid #fff;
  box-shadow: var(--shadow-md); cursor: pointer;
}
.ba-range::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%; background: var(--red);
  border: 3px solid #fff; box-shadow: var(--shadow-md); cursor: pointer;
}

/* ===================== Photo gallery ===================== */
.gallery { padding: 88px 0; background: var(--surface-2); }
.gallery h2 { text-align: center; margin-bottom: 14px; font-size: clamp(26px, 3.4vw, 36px); color: var(--navy); }
.gallery-track { padding-bottom: 8px; }
.gallery-item {
  scroll-snap-align: start; flex: 0 0 auto; width: min(300px, 78vw); aspect-ratio: 4 / 3;
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); padding: 0; background: none; cursor: zoom-in;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.gallery-item:hover, .gallery-item:focus-visible { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ===================== Lightbox ===================== */
.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(10, 20, 38, 0.94);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.2s ease;
}
.lightbox[data-open="true"] { opacity: 1; pointer-events: auto; }
.lightbox-img { max-width: min(90vw, 1100px); max-height: 85vh; border-radius: 8px; box-shadow: var(--shadow-lg); }
.lightbox-close {
  position: absolute; top: 22px; right: 26px; background: none; border: none;
  color: #fff; font-size: 34px; line-height: 1; cursor: pointer; padding: 6px;
}
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%; border: none;
  background: rgba(255,255,255,0.12); color: #fff; font-size: 26px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s ease;
}
.lightbox-nav:hover { background: rgba(255,255,255,0.24); }
.lightbox-prev { left: 22px; }
.lightbox-next { right: 22px; }

@media (max-width: 640px) {
  .lightbox-nav { width: 42px; height: 42px; font-size: 20px; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
}

/* ===================== FAQ accordion ===================== */
.faq { padding: 88px 0; background: var(--surface-2); }
.faq h2 { text-align: center; margin-bottom: 44px; }
.faq-list { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.faq-question {
  width: 100%; text-align: left; padding: 20px 24px; background: none; border: none;
  font-size: 16px; font-weight: 700; color: var(--navy); cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-question .plus { font-size: 20px; color: var(--red); transition: transform 0.2s ease; flex: 0 0 auto; }
.faq-item[data-open="true"] .plus { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.faq-answer-inner { padding: 0 24px 20px; font-size: 14.5px; color: var(--muted); }
.faq-answer-inner a { font-weight: 600; }

/* ===================== Map ===================== */
.map-section { padding: 88px 0; }
.map-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.map-info p { font-size: 15px; }
.map-embed { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.map-embed iframe { width: 100%; height: 380px; }

@media (max-width: 860px) { .map-grid { grid-template-columns: 1fr; } }

/* ===================== Final CTA ===================== */
.final-cta {
  padding: 90px 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue-dark) 60%, var(--red-dark) 140%);
  color: #fff; text-align: center;
}
.final-cta-inner { max-width: 700px; margin: 0 auto; }
.final-cta h2 { color: #fff; font-size: clamp(26px, 3.6vw, 38px); }
.final-cta p { color: #dfe6f2; font-size: 17px; margin-bottom: 30px; }
.final-cta .hero-ctas { justify-content: center; }
.final-cta .btn-secondary { border-color: #fff; color: #fff; }
.final-cta .btn-secondary:hover { background: #fff; color: var(--navy); }

/* ===================== Footer ===================== */
.site-footer { background: var(--navy); color: #cbd5e1; padding: 56px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
@media (max-width: 1100px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.site-footer h4 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 14px; }
.site-footer a { color: #cbd5e1; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer p { color: #a9b4c6; margin: 0 0 6px; }
.footer-legal { text-align: center; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; font-size: 12.5px; color: #8391a8; }

@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* ===================== Inner-page hero (no video, shorter) ===================== */
.page-hero { min-height: auto; padding: 148px 0 64px; }
.page-hero .hero-content { padding: 0; max-width: 780px; }
.page-hero.page-hero-split .hero-grid { align-items: start; }
.page-hero.page-hero-image { min-height: 68vh; padding: 148px 0 72px; }

.breadcrumb {
  list-style: none; display: flex; flex-wrap: wrap; gap: 6px;
  padding: 0; margin: 0 0 18px; font-size: 13px; color: #93c5fd;
}
.breadcrumb li:not(:last-child)::after { content: "/"; margin-left: 6px; color: rgba(255,255,255,0.4); }
.breadcrumb a { color: #93c5fd; font-weight: 600; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb li[aria-current="page"] { color: #dfe6f2; }

/* ===================== Detail sections (service / category / city pages) ===================== */
.detail-section { padding: 72px 0; }
.detail-section.alt { background: var(--surface-2); }
.detail-section h2 { font-size: clamp(24px, 3vw, 32px); color: var(--navy); }
.detail-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
.detail-copy p { font-size: 15.5px; }
.detail-list { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 12px; }
.detail-list li { padding-left: 26px; position: relative; font-size: 14.5px; color: var(--ink); }
.detail-list li::before { content: "✓"; position: absolute; left: 0; color: #16a34a; font-weight: 900; }

.side-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); margin-bottom: 20px; }
.side-card h3 { font-size: 15px; color: var(--navy); text-transform: uppercase; letter-spacing: 0.03em; margin-bottom: 14px; }
.side-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.side-card a { font-weight: 600; font-size: 14px; }
.side-card p { font-size: 13.5px; margin-bottom: 12px; }

@media (max-width: 900px) { .detail-grid { grid-template-columns: 1fr; } }

/* ===================== Services matrix table (/services) ===================== */
.matrix-wrap { overflow-x: auto; margin-bottom: 16px; }
table.matrix { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
table.matrix th, table.matrix td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: left; font-size: 13.5px; white-space: nowrap; }
table.matrix th { background: var(--surface-2); color: var(--navy); font-weight: 800; }
table.matrix tr:last-child td { border-bottom: none; }
table.matrix a { font-weight: 600; }

/* ===================== City / service-area link grid ===================== */
.area-grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; margin: 0; padding: 0; }
.area-grid a {
  display: block; padding: 14px 16px; border-radius: 12px; background: var(--surface);
  border: 1px solid var(--line); color: var(--navy); font-weight: 700; font-size: 14px; box-shadow: var(--shadow-sm);
}
.area-grid a:hover { border-color: var(--blue); color: var(--blue); text-decoration: none; }
.area-grid a span { display: block; font-weight: 500; font-size: 12px; color: var(--muted); margin-top: 2px; }

.service-areas-strip { padding: 72px 0; background: var(--surface-2); }
.service-areas-strip h2 { text-align: center; margin-bottom: 10px; }
.service-areas-strip .section-sub { margin-bottom: 36px; }
