*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #0a1a3a; color: #f5f9ff; font-family: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif; line-height: 1.5; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 2px solid #7fc4f5; outline-offset: 3px; }
.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; }

.site {
  --navy: #0a1a3a;
  --navy-2: #102a5c;
  --royal: #1e5bd8;
  --royal-deep: #1747ad;
  --sky: #9fd4f8;
  --silver: #e4e9f2;
  --white: #f5f9ff;
  --paper: #f3f6fb;
  --ink: #0b1733;
  --ink-soft: #3d4d70;
  --font-display: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --sticky-h: 64px;
  font-family: var(--font-body);
  color: var(--white);
  background: var(--navy);
  overflow-x: clip;
  padding-bottom: calc(var(--sticky-h) + env(safe-area-inset-bottom, 0px));
}
.site h1, .site h2, .site h3 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 0;
}
.wrap { width: min(1120px, calc(100% - 32px)); margin-inline: auto; }

/* Header */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; gap: 14px;
  padding: 10px clamp(14px, 3vw, 28px);
  background: rgb(10 26 58 / 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgb(127 196 245 / 0.12);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--white); min-width: 0; }
.brand__mark { width: 40px; height: 40px; flex: none; }
.brand__text { display: grid; gap: 1px; min-width: 0; }
.brand__text strong { font-family: var(--font-display); font-size: 1.05rem; line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand__text small { font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sky); font-weight: 700; }
.nav { display: none; gap: 18px; margin-left: auto; }
.nav a { color: var(--white); text-decoration: none; font-weight: 600; font-size: 0.95rem; opacity: 0.9; }
.nav a:hover { opacity: 1; text-decoration: underline; text-decoration-color: var(--sky); text-underline-offset: 5px; }
.header__actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.lang { display: inline-flex; border: 1.5px solid rgb(159 212 248 / 0.55); border-radius: 999px; overflow: hidden; }
.lang a { padding: 7px 10px; text-decoration: none; font-weight: 800; font-size: 0.78rem; color: var(--white); opacity: 0.75; }
.lang a[aria-current="true"] { background: var(--sky); color: var(--navy); opacity: 1; }
.phone-pill {
  display: none; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px;
  border: 1.5px solid rgb(159 212 248 / 0.55); color: var(--white); font-weight: 700; text-decoration: none;
  background: rgb(10 26 58 / 0.35);
}
.phone-pill svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
@media (min-width: 720px) {
  .nav { display: flex; margin-left: 0; }
  .header__actions { margin-left: auto; }
  .phone-pill { display: inline-flex; }
  .brand__mark { width: 44px; height: 44px; }
}

/* Journey (scroll-scrubbed canvas) */
.journey { position: relative; background: var(--navy); }
.journey__stage {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; z-index: 1;
}
.journey__canvas, .journey__poster {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; background: var(--navy);
}
.journey__canvas { z-index: 1; }
.journey__poster { z-index: 0; }
.journey.is-ready .journey__poster { opacity: 0; transition: opacity 0.35s ease; pointer-events: none; }
.journey__shade {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(to bottom, rgb(10 26 58 / 0.55) 0%, rgb(10 26 58 / 0) 22%, rgb(10 26 58 / 0) 68%, rgb(10 26 58 / 0.82) 100%),
    radial-gradient(80% 70% at 50% 50%, rgb(10 26 58 / 0) 40%, rgb(10 26 58 / 0.4) 100%);
}
.journey__progress {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; height: 3px;
  background: rgb(245 249 255 / 0.15);
}
.journey__progress span {
  display: block; height: 100%; width: 100%; background: var(--sky);
  transform-origin: left center; transform: scaleX(0); will-change: transform;
}
.journey__hint {
  position: absolute; left: 50%; bottom: calc(18px + var(--sticky-h)); z-index: 3;
  transform: translateX(-50%); margin: 0;
  font-weight: 700; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: #fff; white-space: nowrap; transition: opacity 0.35s; animation: ch-bob 2s ease-in-out infinite;
}
.journey__hint::after {
  content: ""; display: block; width: 12px; height: 12px; margin: 10px auto 0;
  border-right: 2px solid var(--sky); border-bottom: 2px solid var(--sky); transform: rotate(45deg);
}
@keyframes ch-bob { 50% { transform: translate(-50%, 6px); } }
@media (min-width: 860px) {
  .journey__hint { bottom: 28px; }
}

.journey__chapters {
  position: relative; margin-top: -100vh; margin-top: -100svh; z-index: 2;
  pointer-events: none;
}
.chapter {
  min-height: 95vh; display: flex; align-items: center;
  padding: 110px clamp(16px, 5vw, 72px) 40px;
  pointer-events: none;
}
.chapter:first-child { min-height: 90vh; align-items: flex-start; padding-top: max(16vh, 110px); }
.chapter:last-child { min-height: 100vh; padding-bottom: 80px; }
.chapter[data-align="right"] { justify-content: flex-end; }
.chapter__copy {
  pointer-events: auto;
  position: sticky; top: 20vh; max-width: 560px; padding: 24px 22px; border-radius: 24px;
  background: rgb(10 26 58 / 0.78);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid rgb(159 212 248 / 0.28);
  box-shadow: 0 24px 60px -28px rgb(0 0 0 / 0.65);
  transition: opacity 0.45s ease, transform 0.45s ease;
  opacity: 0.28; transform: translateY(14px);
}
.chapter:first-child .chapter__copy,
.chapter.is-active .chapter__copy,
.journey.is-static .chapter__copy { opacity: 1; transform: none; }
.chapter__kicker { margin: 0 0 10px; color: var(--sky); font-weight: 800; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; }
.chapter__title { margin: 0 0 10px; font-size: clamp(2rem, 6.5vw, 3.4rem); color: #fff; }
.chapter__body { margin: 0 0 16px; color: #eef3fb; font-size: 1.05rem; max-width: 34ch; }
.chapter__tags { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chapter__tags li {
  padding: 7px 12px; border-radius: 999px; border: 1.5px solid rgb(159 212 248 / 0.55);
  color: #fff; font-weight: 700; font-size: 0.85rem; background: rgb(10 26 58 / 0.35);
}
.chapter__cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px; font-weight: 800; text-decoration: none;
  border: 0; cursor: pointer; transition: transform 0.15s, background 0.15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: #2f6ff0; color: #fff; }
.btn-primary:hover { background: var(--royal-deep); }
.btn-secondary { background: #fff; color: var(--navy); }
.btn-ghost { color: #fff; text-decoration: underline; text-decoration-color: var(--sky); text-underline-offset: 5px; font-weight: 700; }

.btn-build {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 26px; border-radius: 999px; background: #fff; color: var(--navy);
  font-weight: 800; text-decoration: none; animation: ch-pulse 2.4s infinite;
}
.btn-build:hover { background: var(--sky); }
@keyframes ch-pulse {
  0% { box-shadow: 0 0 0 0 rgb(127 196 245 / 0.55); }
  70% { box-shadow: 0 0 0 14px rgb(127 196 245 / 0); }
  100% { box-shadow: 0 0 0 0 rgb(127 196 245 / 0); }
}
@media (max-width: 640px) {
  .chapter { padding-inline: 16px; }
  .chapter[data-align="right"] { justify-content: flex-start; }
  .chapter__copy { top: auto; bottom: calc(var(--sticky-h) + 18px); padding: 20px 18px; }
  .chapter:first-child { padding-top: max(14vh, 96px); }
}
@media (prefers-reduced-motion: reduce) {
  .journey__hint { animation: none; }
  .btn-build { animation: none; }
  .chapter__copy { opacity: 1; transform: none; }
}

/* Sections */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--paper { background: var(--paper); color: var(--ink); position: relative; z-index: 3; }
.section--navy { background: var(--navy-2); }
.section__head { max-width: 40rem; margin-bottom: 28px; }
.section__head h2 { font-size: clamp(1.8rem, 4.5vw, 3rem); margin-bottom: 10px; }
.section__head p { margin: 0; color: var(--ink-soft); font-size: 1.05rem; }
.section--navy .section__head p, .section--navy .muted { color: var(--silver); }

/* Trust */
.badges { display: grid; grid-template-columns: 1fr; gap: 10px; margin-bottom: 28px; }
.badge {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 16px; border-radius: 16px; background: #fff;
  border: 1px solid #d7deea; color: var(--ink);
}
.badge__icon {
  width: 36px; height: 36px; border-radius: 10px; flex: none;
  display: grid; place-items: center; background: rgb(30 91 216 / 0.12); color: var(--royal);
  font-weight: 800;
}
.badge strong { display: block; font-size: 0.98rem; }
.badge span { display: block; color: var(--ink-soft); font-size: 0.9rem; margin-top: 2px; }
.trust-grid { display: grid; gap: 16px; }
.panel {
  background: #fff; border: 1px dashed #9aa8c2; border-radius: 20px; padding: 18px;
  color: var(--ink);
}
.panel h3 { font-size: 1.15rem; margin-bottom: 8px; color: var(--navy); }
.panel p { margin: 0; color: var(--ink-soft); }
.panel--hint { background: #eef4ff; border-style: solid; border-color: #b7c8ea; }
.ba-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.ba-slot {
  aspect-ratio: 4/3; border-radius: 14px; background:
    repeating-linear-gradient(-45deg, #e8eef8, #e8eef8 8px, #f7f9fc 8px, #f7f9fc 16px);
  border: 1px dashed #9aa8c2; display: grid; place-items: center; text-align: center;
  padding: 12px; color: var(--ink-soft); font-weight: 700; font-size: 0.88rem;
}
.review-slot {
  margin-top: 12px; padding: 14px; border-radius: 14px; background: #f7f9fc;
  border: 1px dashed #9aa8c2; color: var(--ink-soft); font-weight: 600;
}
@media (min-width: 720px) {
  .badges { grid-template-columns: repeat(3, 1fr); }
  .trust-grid { grid-template-columns: 1fr 1fr; }
}

/* Services */
.cards { display: grid; gap: 16px; }
.card {
  background: #fff; border-radius: 22px; overflow: hidden; border: 1px solid #d7deea;
  color: var(--ink); display: flex; flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -28px rgb(11 23 51 / 0.45); }
.card__media { aspect-ratio: 4/3; overflow: hidden; background: #dfe7f4; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: 18px 18px 20px; }
.card h3 { font-size: 1.3rem; color: var(--navy); }
.card__when { margin: 4px 0 12px; color: var(--royal); font-weight: 700; font-size: 0.88rem; }
.card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.card li { position: relative; padding-left: 22px; color: var(--ink-soft); font-size: 0.95rem; }
.card li::before {
  content: ""; position: absolute; left: 2px; top: 5px; width: 6px; height: 11px;
  border-right: 2.5px solid var(--royal); border-bottom: 2.5px solid var(--royal); transform: rotate(45deg);
}
@media (min-width: 720px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .cards { grid-template-columns: repeat(4, 1fr); } }

/* How */
.steps { display: grid; gap: 18px; }
.steps li { border-top: 2px solid var(--sky); padding-top: 14px; list-style: none; }
.steps { padding: 0; margin: 0; }
.steps__n { font-family: var(--font-display); font-size: 2.2rem; font-weight: 800; color: var(--sky); display: block; }
.steps h3 { margin: 4px 0 6px; font-size: 1.25rem; }
.steps p { margin: 0; color: var(--silver); }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

/* Quote builder */
.quote-head { margin-bottom: 22px; }
.quote-head h2 { font-size: clamp(1.8rem, 4.5vw, 3rem); margin-bottom: 8px; }
.quote-head p { margin: 0; color: var(--silver); font-size: 1.05rem; }
.qb { display: grid; gap: 18px; }
.qb__form { display: grid; gap: 16px; }
.qb__group {
  margin: 0; padding: 16px; border-radius: 18px;
  border: 1px solid rgb(159 212 248 / 0.28); background: rgb(10 26 58 / 0.35);
}
.qb__group legend {
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 700;
  padding: 0 6px; display: flex; align-items: center; gap: 10px;
}
.qb__step {
  display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: var(--sky); color: var(--navy); font-size: 0.9rem; font-weight: 800;
}
.qb-services { display: grid; gap: 8px; margin-top: 10px; }
.qb-service {
  display: grid; gap: 2px; padding: 12px 14px; border-radius: 14px; cursor: pointer;
  border: 1.5px solid rgb(228 233 242 / 0.22); background: transparent;
}
.qb-service:has(input:checked) { border-color: var(--sky); background: rgb(159 212 248 / 0.14); }
.qb-service input { position: absolute; opacity: 0; pointer-events: none; }
.qb-service__name { font-weight: 800; }
.qb-service__blurb { font-size: 0.85rem; color: var(--silver); }
.qb-freq { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.qb-freq__chip {
  padding: 8px 14px; border-radius: 999px; border: 1.5px solid rgb(228 233 242 / 0.3);
  background: transparent; color: #fff; font-weight: 600; cursor: pointer;
}
.qb-freq__chip[aria-checked="true"] { background: #fff; color: var(--navy); border-color: #fff; }
.qb-home { display: grid; gap: 12px; margin-top: 10px; }
.qb-stepper { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.qb-stepper__label, .qb-field > span { display: block; font-size: 0.85rem; color: var(--silver); margin-bottom: 6px; font-weight: 600; }
.qb-stepper__controls { display: inline-flex; align-items: center; gap: 8px; }
.qb-stepper__controls button {
  width: 40px; height: 40px; border-radius: 10px; border: 0;
  background: rgb(159 212 248 / 0.18); color: #fff; font-size: 1.3rem; cursor: pointer;
}
.qb-stepper__controls output {
  min-width: 36px; text-align: center; font-weight: 800; font-size: 1.15rem;
}
.qb-field input, .qb-field select, .qb-field textarea {
  width: 100%; padding: 12px 14px; border-radius: 12px;
  border: 1.5px solid rgb(228 233 242 / 0.28); background: rgb(10 26 58 / 0.55);
  color: #fff; font-size: 16px; color-scheme: dark;
}
.qb-field input:focus, .qb-field select:focus, .qb-field textarea:focus {
  outline: none; border-color: var(--sky);
}
.qb-details { display: grid; gap: 12px; margin-top: 10px; }
.qb-extras { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.qb-extra {
  display: inline-flex; align-items: center; padding: 9px 12px; border-radius: 999px;
  border: 1.5px dashed rgb(228 233 242 / 0.35); cursor: pointer; font-weight: 600; font-size: 0.9rem;
}
.qb-extra input { position: absolute; opacity: 0; pointer-events: none; }
.qb-extra:has(input:checked) { border-style: solid; border-color: var(--sky); background: var(--sky); color: var(--navy); }
.qb__ticket {
  background: #fff; color: var(--ink); border-radius: 22px; padding: 22px;
  box-shadow: 0 30px 60px -30px rgb(0 0 0 / 0.55);
}
.qb__ticket-eyebrow { margin: 0; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--royal); font-weight: 800; }
.qb__ticket-title { margin: 6px 0 14px; font-size: 1.55rem; color: var(--navy); }
.qb__ticket-list { margin: 0; display: grid; gap: 8px; border-top: 1px dashed #c9d2e3; padding-top: 14px; }
.qb__ticket-list > div { display: flex; justify-content: space-between; gap: 12px; font-size: 0.95rem; }
.qb__ticket-list dt { color: var(--ink-soft); margin: 0; }
.qb__ticket-list dd { margin: 0; font-weight: 700; text-align: right; }
.qb__ticket-note { margin: 16px 0; font-size: 0.92rem; color: var(--ink-soft); }
.qb-send {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 15px 18px; border-radius: 14px; background: #2f6ff0; color: #fff;
  font-weight: 800; text-decoration: none;
}
.qb-send:hover { background: var(--royal-deep); }
.qb-send svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; }
.qb__ticket-alt { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 12px; }
.qb-call { color: var(--royal); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.qb-copy {
  border: 0; background: transparent; color: var(--ink-soft); font-weight: 700;
  text-decoration: underline; text-underline-offset: 4px; cursor: pointer; padding: 0;
}
@media (min-width: 960px) {
  .qb { grid-template-columns: 1.3fr 0.9fr; align-items: start; gap: 22px; }
  .qb__ticket { position: sticky; top: 88px; }
  .qb-services { grid-template-columns: 1fr 1fr; }
  .qb-home { grid-template-columns: 1fr 1fr 1.2fr; align-items: end; }
  .qb-details { grid-template-columns: 1fr 1fr; }
  .qb-field--wide { grid-column: 1 / -1; }
}

/* Area */
.area-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.area-list a, .area-list span {
  display: inline-block; padding: 12px 18px; border-radius: 999px; font-weight: 700; text-decoration: none;
  background: var(--navy); color: #fff;
}
.area-list a:hover { background: var(--royal); }
.area-list .nearby { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); }

/* Footer */
.footer { background: var(--navy); padding: 36px 0 28px; border-top: 1px solid rgb(159 212 248 / 0.12); }
.footer__inner { display: grid; gap: 18px; }
.footer__brand { display: flex; gap: 14px; align-items: center; }
.footer__brand svg { width: 56px; height: 56px; }
.footer__name { font-family: var(--font-display); font-size: 1.25rem; font-weight: 800; margin: 0 0 4px; }
.footer p { margin: 4px 0; color: var(--silver); }
.footer a { color: var(--sky); font-weight: 700; }
.footer__copy { font-size: 0.85rem; opacity: 0.75; margin-top: 8px; }
@media (min-width: 720px) {
  .footer__inner { grid-template-columns: auto 1fr auto; align-items: center; }
}

/* Sticky mobile bar */
.sticky-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgb(10 26 58 / 0.96); backdrop-filter: blur(14px);
  border-top: 1px solid rgb(159 212 248 / 0.18);
}
.sticky-bar a {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; border-radius: 12px; font-weight: 800; text-decoration: none;
}
.sticky-bar__call { background: transparent; color: #fff; border: 1.5px solid rgb(159 212 248 / 0.55); }
.sticky-bar__text { background: #2f6ff0; color: #fff; }
.sticky-bar svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
@media (min-width: 860px) { .sticky-bar { display: none; } .site { padding-bottom: 0; } }

/* City page */
.city-hero { padding: 120px 0 48px; background: linear-gradient(180deg, var(--navy-2), var(--navy)); }
.city-hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin: 10px 0; }
.city-hero p { color: var(--silver); max-width: 40rem; font-size: 1.08rem; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.is-in { opacity: 1; transform: none; }
