:root {
  --ink: #101525;
  --ink-soft: #5d6678;
  --navy: #071322;
  --navy-2: #0d1c31;
  --paper: #ffffff;
  --wash: #f4f6fa;
  --line: #dfe4ed;
  --blue: #139ee6;
  --blue-dark: #0876bd;
  --pink: #ee3ca5;
  --green: #1d9b68;
  --red: #c14a4a;
  --amber: #b57920;
  --radius: 20px;
  --shadow: 0 18px 45px rgba(8, 19, 34, .12);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Manrope, sans-serif; line-height: 1.6; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #ffd451; outline-offset: 3px; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }

.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand img { width: 205px; height: auto; }
.niche-nav { display: flex; gap: 6px; margin-left: auto; }
.niche-nav a { border-radius: 999px; color: var(--ink-soft); padding: 9px 13px; text-decoration: none; font-size: .88rem; font-weight: 800; }
.niche-nav a[aria-current="page"] { background: var(--navy); color: white; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-phone { color: var(--navy); font-weight: 800; padding: 11px 4px; text-decoration: none; white-space: nowrap; }

.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; padding: 0 21px; border: 2px solid transparent; border-radius: 10px; cursor: pointer; font-weight: 800; text-decoration: none; transition: transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-small { min-height: 44px; padding-inline: 16px; font-size: .88rem; }
.button-primary { background: var(--blue); color: white; }
.button-primary:hover { background: var(--blue-dark); }
.button-outline { background: transparent; border-color: rgba(255,255,255,.6); color: white; }
.button-outline:hover { background: rgba(255,255,255,.08); border-color: white; }
.button-dark { background: var(--navy); color: white; }
.button-dark-outline { border-color: rgba(7,19,34,.28); color: var(--navy); background: transparent; }
.button-dark-outline:hover { border-color: var(--navy); background: rgba(7,19,34,.05); }

.hero { position: relative; overflow: hidden; background: var(--navy); color: white; }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(5px); pointer-events: none; }
.hero-glow-one { width: 560px; height: 560px; top: -300px; right: -110px; background: radial-gradient(circle, rgba(19,158,230,.25), transparent 67%); }
.hero-glow-two { width: 420px; height: 420px; bottom: -260px; left: -160px; background: radial-gradient(circle, rgba(238,60,165,.2), transparent 66%); }
.hero-grid { min-height: 625px; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr); gap: 74px; align-items: center; padding: 82px 0; position: relative; z-index: 1; }
.eyebrow { margin: 0 0 12px; color: var(--blue-dark); font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.hero .eyebrow { color: #8ad7ff; }
h1, h2, h3 { font-family: "Space Grotesk", sans-serif; line-height: 1.1; text-wrap: balance; }
h1 { max-width: 820px; margin: 0 0 24px; font-size: clamp(3rem, 6.4vw, 5.7rem); letter-spacing: -.055em; }
h2 { margin: 0 0 16px; font-size: clamp(2.35rem, 4.4vw, 4.2rem); letter-spacing: -.045em; }
h3 { margin: 0 0 12px; font-size: 1.3rem; }
.hero-lede { max-width: 700px; margin: 0; color: #c8d3e4; font-size: clamp(1.08rem, 2vw, 1.3rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-note { display: flex; align-items: center; gap: 10px; margin-top: 26px; color: #afbdd0; font-size: .9rem; }
.signal-dot, .live-dot { width: 9px; height: 9px; display: inline-block; flex: 0 0 auto; border-radius: 50%; background: #74d4a8; box-shadow: 0 0 0 5px rgba(116,212,168,.12); }
.hero-panel { padding: 30px; border: 1px solid rgba(255,255,255,.13); border-radius: 24px; background: linear-gradient(160deg, rgba(255,255,255,.1), rgba(255,255,255,.04)); box-shadow: 0 28px 70px rgba(0,0,0,.25); }
.panel-topline { display: flex; align-items: center; gap: 10px; color: #d8e1ed; font-size: .86rem; font-weight: 800; }
.panel-status { margin-left: auto; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; color: #aec0d3; padding: 4px 8px; font-size: .7rem; letter-spacing: .05em; text-transform: uppercase; }
.lead-total { min-height: 115px; display: flex; align-items: center; color: white; font-family: "Space Grotesk", sans-serif; font-size: clamp(3rem, 6vw, 5rem); letter-spacing: -.06em; white-space: nowrap; }
.panel-caption { min-height: 54px; margin: 0; color: #b8c5d6; font-size: .94rem; }
.panel-divider { height: 1px; margin: 22px 0 18px; background: rgba(255,255,255,.13); }
.panel-meta { display: flex; justify-content: space-between; gap: 18px; color: #8fa1b6; font-size: .76rem; }

.proof-strip { padding: 68px 0; background: white; border-bottom: 1px solid var(--line); }
.proof-strip-inner { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 60px; align-items: center; }
.proof-strip h2 { max-width: 560px; margin: 0; font-size: clamp(2rem, 3.2vw, 3rem); }
.proof-items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.proof-item { display: grid; gap: 10px; border-left: 2px solid var(--line); padding-left: 18px; }
.proof-item strong { color: var(--blue-dark); font-family: "Space Grotesk", sans-serif; font-size: 1.35rem; }
.proof-item span { color: var(--ink-soft); font-size: .9rem; }

section { padding: 100px 0; }
.section-wash { background: var(--wash); }
.section-heading { max-width: 780px; margin-bottom: 46px; }
.section-heading > p:last-child { margin: 0; color: var(--ink-soft); font-size: 1.08rem; }
.split-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, .6fr); gap: 50px; align-items: end; max-width: none; }
.split-heading > p { padding-bottom: 5px; }

.coverage-layout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(310px, .7fr); gap: 24px; align-items: start; }
.map-shell { position: relative; min-height: 510px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #dfeaf1; box-shadow: 0 10px 30px rgba(8,19,34,.06); }
#map { min-height: 510px; width: 100%; }
.map-note { position: absolute; z-index: 500; left: 14px; bottom: 14px; max-width: calc(100% - 28px); border: 1px solid rgba(7,19,34,.12); border-radius: 10px; background: rgba(255,255,255,.93); color: var(--ink-soft); padding: 7px 10px; font-size: .74rem; }
.client-panel { min-width: 0; max-height: 510px; overflow-y: auto; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.client-panel-head { display: flex; justify-content: space-between; gap: 16px; align-items: center; border-bottom: 1px solid var(--line); padding-bottom: 18px; }
.client-panel-head .eyebrow { margin: 0; }
.client-count { min-width: 34px; min-height: 34px; display: grid; place-items: center; border-radius: 50%; background: #eaf6fd; color: var(--blue-dark); font-weight: 800; }
.client-list { display: grid; gap: 15px; margin-top: 20px; }
.client-card { padding: 16px 0; border-bottom: 1px solid var(--line); }
.client-card:last-child { border-bottom: 0; padding-bottom: 0; }
.client-card h3 { margin-bottom: 4px; font-size: 1.1rem; }
.client-card p { margin: 0; color: var(--ink-soft); font-size: .9rem; }
.client-card .client-area { margin-top: 8px; color: var(--ink); font-size: .8rem; line-height: 1.5; }
.leaflet-container { font: inherit; }
.leaflet-popup-content-wrapper, .leaflet-popup-tip { background: var(--navy); color: white; }
.leaflet-popup-content { margin: 14px 16px; }
.popup-title { margin-bottom: 4px; font-weight: 800; }
.popup-copy { color: #c8d3e4; font-size: .8rem; }

.territory-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(340px, 1.15fr); gap: 70px; align-items: center; }
.territory-copy { max-width: 600px; }
.territory-copy p:not(.eyebrow) { color: var(--ink-soft); }
.small-note { font-size: .84rem; }
.checker-card { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: var(--shadow); }
.checker-card label { display: block; margin-bottom: 9px; font-size: .86rem; font-weight: 800; }
.checker-input-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
input, select, textarea { width: 100%; border: 1px solid #cbd3df; border-radius: 9px; background: white; color: var(--ink); padding: 13px 14px; }
input::placeholder, textarea::placeholder { color: #8791a1; }
textarea { resize: vertical; }
.checker-result { display: flex; gap: 14px; align-items: flex-start; min-height: 84px; margin-top: 24px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--wash); }
.result-icon { width: 34px; height: 34px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; background: #e9edf3; color: var(--ink-soft); font-weight: 800; }
.checker-result[data-state="green"] { border-color: rgba(29,155,104,.34); background: #edf9f3; }
.checker-result[data-state="green"] .result-icon { background: var(--green); color: white; }
.checker-result[data-state="red"] { border-color: rgba(193,74,74,.32); background: #fff2f2; }
.checker-result[data-state="red"] .result-icon { background: var(--red); color: white; }
.checker-result[data-state="amber"] { border-color: rgba(181,121,32,.3); background: #fff9ed; }
.checker-result[data-state="amber"] .result-icon { background: var(--amber); color: white; }
.checker-result strong { display: block; margin-bottom: 3px; }
.checker-result p { margin: 0; color: var(--ink-soft); font-size: .86rem; }

.process-section { background: white; }
.process-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.process-card { min-height: 220px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.process-card span { display: inline-block; margin-bottom: 34px; color: var(--blue-dark); font-family: "Space Grotesk", sans-serif; font-size: 1.5rem; }
.process-card p { margin: 0; color: var(--ink-soft); }

.section-dark { background: var(--navy); color: white; }
.survey-layout { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: 74px; align-items: start; }
.survey-intro { position: sticky; top: 110px; }
.survey-intro .eyebrow { color: #8ad7ff; }
.survey-intro p:not(.eyebrow) { max-width: 520px; color: #c8d3e4; }
.check-list { display: grid; gap: 13px; margin: 30px 0 0; padding: 0; list-style: none; color: #d9e3ee; }
.check-list li { position: relative; padding-left: 26px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: #74d4a8; font-weight: 800; }
.survey-card { padding: 30px; border-radius: var(--radius); background: white; color: var(--ink); box-shadow: 0 28px 70px rgba(0,0,0,.25); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { min-width: 0; }
.field-wide { grid-column: 1 / -1; }
.field label, fieldset legend { display: block; margin-bottom: 8px; font-size: .84rem; font-weight: 800; }
fieldset { min-width: 0; margin: 0; border: 0; padding: 0; }
.checkbox-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.checkbox-grid label { display: flex; align-items: center; gap: 8px; margin: 0; border: 1px solid var(--line); border-radius: 9px; padding: 10px; color: var(--ink-soft); font-size: .78rem; font-weight: 700; }
.checkbox-grid input { width: auto; }
.form-submit { width: 100%; margin-top: 22px; }
.form-footnote { margin: 14px 0 0; color: var(--ink-soft); font-size: .76rem; line-height: 1.5; }
.form-status { min-height: 22px; margin-top: 12px; font-size: .88rem; font-weight: 800; }
.form-status.success { color: var(--green); }
.form-status.error { color: var(--red); }

.booking-section { padding: 76px 0; background: linear-gradient(135deg, #eaf7fe, #f7eef9); }
.booking-inner { display: flex; justify-content: space-between; gap: 44px; align-items: center; }
.booking-inner h2 { max-width: 700px; margin-bottom: 12px; }
.booking-inner p:not(.eyebrow) { margin: 0; color: var(--ink-soft); }
.booking-actions { display: flex; flex-wrap: wrap; gap: 12px; flex: 0 0 auto; }

.site-footer { padding: 35px 0 100px; background: #050d17; color: #aeb9ca; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.footer-inner img { width: 175px; }
.footer-links { display: flex; align-items: center; gap: 24px; }
.footer-links a { color: white; font-weight: 800; text-decoration: none; }
.footer-note { margin-top: 22px; max-width: 930px; font-size: .76rem; line-height: 1.55; }
.mobile-bar { display: none; }

@media (max-width: 940px) {
  .hero-grid, .territory-layout, .survey-layout { grid-template-columns: 1fr; gap: 42px; }
  .hero-grid { min-height: 0; }
  .hero-panel { max-width: 620px; }
  .proof-strip-inner, .coverage-layout { grid-template-columns: 1fr; gap: 36px; }
  .survey-intro { position: static; }
  .booking-inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 690px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .site-header { position: relative; }
  .header-inner { min-height: 68px; gap: 10px; }
  .brand img { width: 154px; }
  .niche-nav { display: none; }
  .header-phone { display: none; }
  .header-actions .button { min-height: 43px; padding-inline: 12px; font-size: .78rem; }
  .hero-grid { padding: 62px 0 72px; }
  h1 { font-size: clamp(2.8rem, 14vw, 4.4rem); }
  .hero-panel { padding: 24px; }
  .panel-meta { flex-direction: column; gap: 5px; }
  section { padding: 74px 0; }
  .proof-strip { padding: 54px 0; }
  .proof-items { grid-template-columns: 1fr; gap: 14px; }
  .proof-item { grid-template-columns: 38px 1fr; align-items: center; }
  .split-heading { grid-template-columns: 1fr; gap: 10px; }
  .map-shell, #map { min-height: 390px; }
  .client-panel { max-height: none; overflow: visible; }
  .checker-input-row { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .process-card { min-height: 0; }
  .process-card span { margin-bottom: 20px; }
  .survey-card { padding: 22px 18px; }
  .form-grid { grid-template-columns: 1fr; gap: 16px; }
  .field-wide { grid-column: auto; }
  .checkbox-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .booking-actions { width: 100%; }
  .booking-actions .button { flex: 1 1 auto; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
  .footer-links { align-items: flex-start; flex-direction: column; gap: 10px; }
  .site-footer { padding-bottom: 105px; }
  .mobile-bar { position: fixed; z-index: 50; right: 10px; bottom: 10px; left: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px; border: 1px solid var(--line); border-radius: 14px; background: white; box-shadow: var(--shadow); }
  .mobile-bar .button { min-height: 50px; padding-inline: 9px; font-size: .8rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
