/* Desert Line Auto Glass homepage: "Sonoran Afterglow".
   Signature: the West Valley horizon as a field of glowing ridgelines (canvas, home.js) under a glass lens,
   the "desert line" carried through the page: header progress line, step line, price lines, route line. */

.sec { position: relative; padding-block: clamp(76px, 9.5vw, 136px); }
.sec-head { max-width: 860px; }
.sec-head--row { max-width: none; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 20px clamp(28px, 5vw, 80px); align-items: end; }
.sec-head--row .sub { margin-top: 0; }
.night { background: var(--n1); color: var(--mist); }
.night .h2 { color: var(--mist); }
.night .sub { color: var(--mist2); }

/* panes: glass frames for photos */
.pane { position: relative; overflow: hidden; background: var(--n2); }
.pane-img { width: 100%; height: 100%; object-fit: cover; }
.pane-glare {
  position: absolute; inset: -30% -60%; pointer-events: none;
  background: linear-gradient(112deg, transparent 40%, rgba(255, 255, 255, .2) 47%, rgba(255, 255, 255, .05) 52%, transparent 58%);
  transform: translateX(-45%); animation: glare 11s var(--ease) 1.4s infinite;
}
@keyframes glare { 0% { transform: translateX(-45%); } 26%, 100% { transform: translateX(45%); } }
.pane--soft { border-radius: 120px 16px 16px 16px; aspect-ratio: 16 / 10; }
.pane--tall { border-radius: 160px 18px 18px 18px; aspect-ratio: 4 / 5; }

/* ======================= HERO ======================= */
.home main { margin-top: calc(-1 * var(--hdr)); }
.hero {
  --strip: 128px;
  position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column;
  min-height: max(760px, 100svh); padding-top: var(--hdr); color: var(--mist);
  background: linear-gradient(180deg, #02040a 0%, #050a1b 26%, #0b1641 52%, #172c69 74%, #24397c 100%);
}
.hero-sky { position: absolute; inset: 0 0 var(--strip) 0; z-index: -3; pointer-events: none; }
.stars { position: absolute; inset: 0; width: 100%; height: 72%; fill: #e4ecff;
  -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent); mask-image: linear-gradient(180deg, #000 30%, transparent); }
.st { opacity: .3; animation: twinkle 5.2s ease-in-out infinite; }
.st2 { animation-duration: 6.8s; animation-delay: -2.3s; }
.st3 { animation-duration: 4.4s; animation-delay: -1.1s; }
@keyframes twinkle { 0%, 100% { opacity: .22; } 50% { opacity: .8; } }

.hero-scene {
  position: absolute; left: 0; right: 0; bottom: var(--strip); height: clamp(300px, 54vh, 540px); z-index: -1; pointer-events: none;
  background:
    radial-gradient(34% 44% at 71% 46%, rgba(255, 118, 36, .62), rgba(255, 118, 36, 0) 72%),
    radial-gradient(70% 60% at 66% 62%, rgba(255, 176, 104, .26), rgba(255, 176, 104, 0) 70%),
    linear-gradient(180deg, rgba(36, 57, 124, 0) 0%, rgba(98, 82, 140, .3) 58%, rgba(240, 132, 74, .58) 100%);
}
.rl { width: 100%; height: 100%; }

.hero-grid {
  position: relative; flex: 1; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); grid-template-areas: "copy media";
  align-items: center; gap: clamp(32px, 4.5vw, 80px); padding-top: clamp(20px, 4vh, 56px); padding-bottom: clamp(56px, 9vh, 110px);
}
.hero-copy { grid-area: copy; max-width: 660px; }
.hero-media { grid-area: media; position: relative; margin: 0; align-self: center; transform: perspective(1400px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.hero .eyebrow { margin-bottom: 26px; }
.hero .eb-line { transform: scaleX(0); animation: drawX 1.1s var(--ease) .2s forwards; }

.h1 { margin: 0; font-weight: 800; line-height: .9; letter-spacing: -.04em; text-wrap: balance; }
.h1 .ln { display: block; overflow: hidden; padding: .05em 0 .09em; margin-bottom: -.06em; }
.h1 .ln > span { display: block; white-space: nowrap; font-stretch: 125%; font-size: clamp(38px, 5.9vw, 84px); transform: translateY(106%); animation: rise 1.05s var(--ease) .08s forwards; }
.h1 .ln:nth-child(2) > span { animation-delay: .18s; }
.h1 .ln:first-child > span { background: linear-gradient(180deg, #fff 30%, #c7d3ee); -webkit-background-clip: text; background-clip: text; color: transparent; }
.h1 .ln:nth-child(2) > span { background: linear-gradient(180deg, var(--e4) 0%, var(--e3) 38%, var(--e1) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.h1-rest { display: block; margin-top: .62em; max-width: 30ch; font-stretch: 100%; font-weight: 420; font-size: clamp(19px, 1.85vw, 26px); line-height: 1.32; letter-spacing: -.012em; color: var(--mist); opacity: 0; animation: fadeUp .95s var(--ease) .42s forwards; }
.lede { margin-top: 26px; max-width: 58ch; font-size: clamp(15.5px, 1.1vw, 17px); line-height: 1.75; color: var(--mist2); opacity: 0; animation: fadeUp .95s var(--ease) .55s forwards; }
.lede--b { margin-top: 12px; color: var(--mist); font-weight: 520; animation-delay: .62s; }
.acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero .acts { opacity: 0; animation: fadeUp .95s var(--ease) .72s forwards; }

/* the windshield pane */
.hero-media .pane { aspect-ratio: 16 / 11; clip-path: url(#ws-clip); -webkit-clip-path: url(#ws-clip); opacity: 0; animation: paneIn 1.3s var(--ease) .5s forwards; }
/* until the client's photo arrives, the hero pane is tinted glass: the ridgelines show through it,
   the way the logo frames its desert range in a windshield */
.hero-media .pane { background: none; }
.hero-media .ph {
  background:
    linear-gradient(180deg, rgba(5, 8, 18, 0) 50%, rgba(5, 8, 18, .55)),
    linear-gradient(158deg, rgba(150, 178, 240, .2) 0%, rgba(60, 90, 170, .1) 45%, rgba(20, 30, 70, .16) 100%);
}
.hero-media .ph::before { display: none; }
.hero-media .ph::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 13%; pointer-events: none;
  background: radial-gradient(circle at 50% 50%, rgba(3, 5, 12, .9) 0 1.3px, transparent 1.6px) 0 0 / 7px 7px;
  -webkit-mask-image: linear-gradient(180deg, #000 35%, transparent); mask-image: linear-gradient(180deg, #000 35%, transparent);
}
.hero-media .pane-img { object-position: 50% 40%; }
.pane-frame { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; opacity: 0; animation: fade 1.2s var(--ease) .9s forwards; }
.pane-frame path { fill: none; stroke: rgba(237, 242, 251, .55); stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.hero-media::after { content: ""; position: absolute; left: 6%; right: 6%; bottom: -9%; height: 14%; border-radius: 50%; z-index: -1; pointer-events: none;
  background: radial-gradient(50% 50% at 50% 50%, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0)); filter: blur(8px); }

/* the night, animated: a rising moon, drifting high haze, shooting stars, traffic on the horizon road */
.moon { position: absolute; left: 52%; top: 13%; width: 46px; height: 46px; border-radius: 50%;
  background: radial-gradient(circle at 38% 38%, #fffaf0, #f3e3c4 55%, #d9c49c);
  box-shadow: 0 0 30px 8px rgba(255, 236, 200, .18), 0 0 90px 30px rgba(160, 180, 255, .08);
  -webkit-mask-image: radial-gradient(circle at 72% 30%, transparent 46%, #000 48%); mask-image: radial-gradient(circle at 72% 30%, transparent 46%, #000 48%);
  opacity: 0; animation: moonRise 3.2s var(--ease) .6s forwards, moonFloat 14s ease-in-out 3.8s infinite alternate; }
@keyframes moonRise { from { opacity: 0; transform: translateY(40px); } to { opacity: .95; transform: none; } }
@keyframes moonFloat { to { transform: translate(14px, -8px); } }
.haze { position: absolute; left: -30%; width: 80%; height: 90px; border-radius: 50%; pointer-events: none; filter: blur(18px);
  background: radial-gradient(50% 50% at 50% 50%, rgba(140, 160, 230, .13), rgba(140, 160, 230, 0)); }
.haze--a { top: 22%; animation: drift 70s linear infinite; }
.haze--b { top: 38%; height: 60px; animation: drift 95s linear -40s infinite; opacity: .7; }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(160%); } }
.shoot { position: absolute; width: 140px; height: 1.5px; border-radius: 2px; opacity: 0; transform-origin: right center;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .9)); }
.shoot::after { content: ""; position: absolute; right: -2px; top: -2px; width: 5px; height: 5px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px 3px rgba(200, 220, 255, .8); }
.shoot--1 { left: 18%; top: 10%; animation: shoot 9s ease-in 2.5s infinite; }
.shoot--2 { left: 62%; top: 6%; animation: shoot 13s ease-in 7s infinite; }
.shoot--3 { left: 36%; top: 24%; animation: shoot 17s ease-in 11s infinite; }
@keyframes shoot {
  0% { opacity: 0; transform: rotate(-24deg) translateX(0) scaleX(.3); }
  2% { opacity: 1; }
  7% { opacity: 0; transform: rotate(-24deg) translateX(260px) scaleX(1); }
  100% { opacity: 0; transform: rotate(-24deg) translateX(260px) scaleX(1); }
}
.traffic { position: absolute; left: 0; right: 0; top: -4px; height: 6px; pointer-events: none; z-index: 2; overflow: hidden; }
.car { position: absolute; top: 1px; left: 0; width: 18px; height: 3px; border-radius: 3px; opacity: 0;
  background: radial-gradient(circle at 25% 50%, #fff7e0 0 1.3px, transparent 1.8px), radial-gradient(circle at 75% 50%, #fff7e0 0 1.3px, transparent 1.8px);
  filter: drop-shadow(0 0 4px rgba(255, 240, 200, .9)); animation: drive 22s linear infinite; }
.car--tail { background: radial-gradient(circle at 25% 50%, #ff4a3a 0 1.3px, transparent 1.8px), radial-gradient(circle at 75% 50%, #ff4a3a 0 1.3px, transparent 1.8px);
  filter: drop-shadow(0 0 4px rgba(255, 70, 50, .9)); animation-name: driveBack; }
.car--1 { animation-delay: 1.5s; } .car--2 { animation-delay: 12s; animation-duration: 26s; }
.car--3 { animation-delay: 5s; animation-duration: 24s; } .car--4 { animation-delay: 16s; animation-duration: 30s; }
@keyframes drive { 0% { transform: translateX(-30px); opacity: 0; } 4%, 92% { opacity: 1; } 100% { transform: translateX(100vw); opacity: 0; } }
@keyframes driveBack { 0% { transform: translateX(100vw); opacity: 0; } 4%, 92% { opacity: 1; } 100% { transform: translateX(-30px); opacity: 0; } }

/* the loupe: over the photo the lens magnifies the photo itself */
.loupe { position: absolute; left: 0; top: 0; z-index: 3; width: 170px; height: 170px; border-radius: 50%; pointer-events: none;
  background-repeat: no-repeat; opacity: 0; scale: .7; transition: opacity .25s var(--ease), scale .35s var(--ease);
  border: 1px solid rgba(237, 242, 251, .55);
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, .08), inset 10px 14px 30px rgba(255, 255, 255, .22), 0 18px 40px -10px rgba(0, 0, 0, .7), 0 0 0 1px rgba(0, 0, 0, .3); }
.loupe.on { opacity: 1; scale: 1; }
@media (max-width: 980px) { .moon { left: auto; right: 12%; top: 6%; width: 34px; height: 34px; } .loupe { display: none; } }

/* the horizon + service highlights strip */
.hl-strip { position: relative; z-index: 1; min-height: var(--strip); display: flex; align-items: center; padding: 22px 0 26px; background: var(--n0); }
.horizon { position: absolute; left: 0; right: 0; top: -1px; height: 2px; }
.horizon i {
  position: absolute; inset: 0; transform: scaleX(0); animation: drawX 1.4s var(--ease) .05s forwards;
  background: linear-gradient(90deg, rgba(255, 106, 19, 0), #ff6a13 10%, #ffc07a 50%, #ff6a13 90%, rgba(255, 106, 19, 0));
  box-shadow: 0 0 24px 4px rgba(255, 122, 40, .6), 0 0 3px rgba(255, 214, 160, .9);
}
.hl-in { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 28px; }
.hl-label { font-stretch: 125%; font-size: 11px; font-weight: 650; letter-spacing: .22em; text-transform: uppercase; color: var(--e3); white-space: nowrap; }
.hl { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.hl li { position: relative; padding: 2px 18px 2px 20px; border-left: 1px solid var(--nline); font-size: 14px; line-height: 1.45; color: var(--mist2);
  opacity: 0; animation: fadeUp .8s var(--ease) forwards; animation-delay: calc(.95s + var(--i) * 80ms); }
.hl li::before { content: ""; position: absolute; left: -3px; top: 8px; width: 5px; height: 5px; border-radius: 50%; background: var(--e2); box-shadow: 0 0 8px rgba(255, 138, 43, .8); }

@keyframes rise { to { transform: translateY(0); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes fade { to { opacity: 1; } }
@keyframes drawX { to { transform: scaleX(1); } }
@keyframes paneIn { from { opacity: 0; transform: translateY(26px) scale(.985); } to { opacity: 1; transform: none; } }

/* ======================= LOGO RAIL (the doc's logo row) ======================= */
.logos { position: relative; overflow: hidden; padding: 4px 0 clamp(34px, 4.5vw, 56px); background: var(--g0); }
.logos::before, .logos::after { content: ""; position: absolute; top: 0; bottom: 0; z-index: 2; width: min(170px, 14vw); pointer-events: none; }
.logos::before { left: 0; background: linear-gradient(90deg, var(--g0), rgba(243, 246, 249, 0)); }
.logos::after { right: 0; background: linear-gradient(270deg, var(--g0), rgba(243, 246, 249, 0)); }
.logos-track { display: flex; width: max-content; animation: logos 70s linear infinite; }
.logos-set { display: flex; gap: 14px; margin: 0; padding: 0 14px 0 0; list-style: none; }
.logo-tile { flex: none; display: grid; place-items: center; width: 176px; height: 88px; padding: 14px 22px; border: 1px solid var(--g2); border-radius: 12px; background: var(--white); }
.logo-tile img { width: auto; height: auto; max-width: 100%; max-height: 54px; object-fit: contain; }
@keyframes logos { to { transform: translateX(-50%); } }
@media (hover: hover) { .logos:hover .logos-track { animation-play-state: paused; } }
@media (max-width: 760px) { .logo-tile { width: 140px; height: 74px; padding: 12px 16px; } .logo-tile img { max-height: 44px; } }

/* ======================= WHY CHOOSE ======================= */
.why { background: var(--g0); }
.why-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(36px, 6vw, 100px); align-items: start; }
.why-media { margin: 36px 0 0; }
.why-items { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.why-item { position: relative; padding: 30px 26px 34px 0; border-bottom: 1px solid var(--line); }
.why-item:nth-child(odd) { padding-right: 30px; border-right: 1px solid var(--line); }
.why-item:nth-child(even) { padding-left: 30px; }
.why-item::before { content: ""; position: absolute; top: -1px; left: 0; width: 46px; height: 2px; background: var(--e2); transition: width .6s var(--ease); }
.why-item:nth-child(even)::before { left: 30px; }
.why-ico { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 22px; border-radius: 14px; background: var(--white); border: 1px solid var(--g2); }
.why-ico svg { width: 30px; height: 30px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.why-item p { margin-top: 10px; color: var(--ink2); font-size: 16px; }
/* an odd last item runs across both columns: icon left, words right (no orphan tile) */
.why-item:last-child:nth-child(odd) { grid-column: 1 / -1; display: grid; grid-template-columns: 54px minmax(0, 1fr); column-gap: 24px; padding-right: 0; border-right: 0; }
.why-item:last-child:nth-child(odd) .why-ico { grid-row: span 2; margin-bottom: 0; }
@media (hover: hover) { .why-item:hover::before { width: 96px; } }

/* ======================= SERVICES: glass map ======================= */
.svc { overflow: clip; }
.svc::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(180deg, rgba(237, 242, 251, .03) 0 1px, transparent 1px 8px);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent); mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
}
.svc::after { content: ""; position: absolute; left: -10%; top: 30%; width: 70%; height: 60%; pointer-events: none;
  background: radial-gradient(50% 50% at 50% 50%, rgba(47, 98, 214, .16), rgba(47, 98, 214, 0) 70%); }
.svc .wrap { position: relative; z-index: 1; }
.svc-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 84px); margin-top: clamp(40px, 5vw, 64px); align-items: start; }
.gm-col { position: sticky; top: calc(var(--hdr) + 28px); }
.gm { position: relative; padding: clamp(18px, 2.4vw, 30px) clamp(14px, 2vw, 26px) 20px; border: 1px solid var(--nline); border-radius: 18px;
  background: radial-gradient(80% 60% at 50% 100%, rgba(47, 98, 214, .2), rgba(47, 98, 214, 0) 70%), linear-gradient(180deg, var(--n2), #080d1b); }
.gm-svg { width: 100%; height: auto; overflow: visible; }
.gm-ground { stroke: rgba(237, 242, 251, .26); stroke-width: 1; }
.gm-ground-ticks line { stroke: rgba(237, 242, 251, .18); stroke-width: 1; }
.gm-body { fill: rgba(237, 242, 251, .028); stroke: rgba(237, 242, 251, .66); stroke-width: 1.6; stroke-linejoin: round; }
.gm-detail { fill: none; stroke: rgba(237, 242, 251, .3); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.gm-handle { stroke-width: 3; }
.gm-light { fill: rgba(255, 196, 140, .2); stroke: rgba(255, 196, 140, .6); stroke-width: 1; }
.gm-light--tail { fill: rgba(255, 96, 70, .22); stroke: rgba(255, 120, 96, .55); }
.gm-tire { fill: #04060d; stroke: rgba(237, 242, 251, .55); stroke-width: 1.6; }
.gm-rim { fill: none; stroke: rgba(237, 242, 251, .34); stroke-width: 1.2; }
.gm-hub { fill: rgba(237, 242, 251, .32); }
.gm-spoke { fill: none; stroke: rgba(237, 242, 251, .26); stroke-width: 1.2; stroke-linecap: round; }
.gm .pane { fill: rgba(159, 181, 232, .09); stroke: rgba(159, 181, 232, .5); stroke-width: 1.2; stroke-linejoin: round; background: none; overflow: visible;
  transition: fill .5s var(--ease), stroke .35s var(--ease); }
.gm .z-cam { fill: rgba(237, 242, 251, .2); stroke: rgba(237, 242, 251, .45); stroke-width: 1; transition: fill .4s var(--ease), stroke .4s var(--ease); }
.gm .z-reg path, .gm .z-reg circle { fill: none; stroke: rgba(237, 242, 251, .2); stroke-width: 1.2; stroke-dasharray: 4 5; transition: stroke .4s var(--ease); }
.gm .z-adas, .gm .z-chip { opacity: 0; transition: opacity .5s var(--ease); }
.gm .gm-beam { fill: none; stroke: var(--e3); stroke-width: 1.2; stroke-dasharray: 5 6; }
.gm .gm-target { opacity: .9; }
.gm .gm-target-frame { fill: none; stroke: var(--e3); stroke-width: 1.2; }
.gm .z-chip circle { fill: var(--e4); }
.gm .z-chip path { fill: none; stroke: var(--e4); stroke-width: 1.4; stroke-linecap: round; }
.gm[data-active~="ws"] .z-ws, .gm[data-active~="front"] .z-front, .gm[data-active~="vent"] .z-vent,
.gm[data-active~="reardoor"] .z-reardoor, .gm[data-active~="quarter"] .z-quarter, .gm[data-active~="rear"] .z-rear,
.gm[data-active~="roof"] .z-roof, .gm[data-active~="rvws"] .z-rvws {
  fill: url(#gmEmber); fill-opacity: .72; stroke: var(--e4); filter: url(#gmGlow);
}
.gm[data-active~="cam"] .z-cam { fill: var(--e3); stroke: var(--e4); }
.gm[data-active~="reg"] .z-reg path, .gm[data-active~="reg"] .z-reg circle { stroke: var(--e3); stroke-dasharray: none; }
.gm[data-active~="adas"] .z-adas, .gm[data-active~="chip"] .z-chip { opacity: 1; }
.gm-veh { transition: opacity .55s var(--ease), transform .8s var(--ease); }
.gm[data-vehicle="car"] .gm-rv { opacity: 0; transform: translateX(46px); }
.gm[data-vehicle="rv"] .gm-car { opacity: 0; transform: translateX(-46px); }
.gm-cap { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--nline2);
  font-stretch: 122%; font-size: 11.5px; font-weight: 650; letter-spacing: .2em; text-transform: uppercase; color: var(--e3); }
.gm-cap-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--e2); box-shadow: 0 0 14px 3px rgba(255, 138, 43, .55); }

.svc-list { list-style: none; margin: 0; padding: 0; }
.svc-item { position: relative; padding: 22px 0 22px 28px; border-top: 1px solid var(--nline); }
.svc-item:last-child { border-bottom: 1px solid var(--nline); }
.svc-item::before { content: ""; position: absolute; left: 0; top: 24px; bottom: 24px; width: 2px; border-radius: 2px; background: var(--nline); transition: background-color .35s var(--ease), box-shadow .35s var(--ease); }
.svc-item.is-on::before { background: var(--e2); box-shadow: 0 0 14px rgba(255, 138, 43, .7); }
.svc-item .h3 { color: var(--mist); transition: color .35s var(--ease); }
.svc-item.is-on .h3 { color: var(--e4); }
.svc-item .h3 a { color: inherit; text-decoration: none; background-image: linear-gradient(currentColor, currentColor); background-size: 0 1.5px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size .45s var(--ease); }
.svc-item .h3 a::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 10px; border-top: 1.5px solid var(--e3); border-right: 1.5px solid var(--e3); transform: translateY(-2px) rotate(45deg); transition: transform .45s var(--ease); }
.svc-item p { margin-top: 8px; color: var(--mist2); font-size: 15.5px; line-height: 1.66; }
@media (hover: hover) {
  .svc-item .h3 a:hover { background-size: 100% 1.5px; }
  .svc-item .h3 a:hover::after { transform: translate(4px, -2px) rotate(45deg); }
}

/* ======================= MOBILE SERVICE ======================= */
.mob { background: var(--g1); }
.mob-grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(36px, 6vw, 100px); align-items: center; }
.mob-media { margin: 0; }
.checks-label { margin-top: 30px; font-stretch: 108%; font-weight: 650; font-size: 17px; color: var(--ink); }
.checks { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 12px; }
.checks li { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 18px; align-items: center; padding: 14px 20px 14px 14px; border: 1px solid var(--g2); border-radius: 14px; background: var(--white); }
.checks-ico { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 12px; background: var(--g0); }
.checks-ico svg { width: 34px; height: 34px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.checks-t { font-size: 16px; line-height: 1.5; color: var(--ink2); }

/* ======================= HOW IT WORKS ======================= */
.steps { background: var(--g0); }
.steps-list { position: relative; list-style: none; margin: clamp(44px, 5vw, 64px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3.5vw, 56px); }
.steps-list::before { content: ""; position: absolute; left: 28px; right: 0; top: 27px; height: 1.5px; transform-origin: left;
  background: linear-gradient(90deg, var(--e1), var(--e3) 55%, rgba(255, 178, 94, .15)); }
.js .steps-list::before { transform: scaleX(0); transition: transform 1.8s var(--ease) .25s; }
.js .steps-list.in::before { transform: scaleX(1); }
.step-node { position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 24px; border-radius: 50%; border: 1.5px solid var(--e2); background: var(--g0); }
.step-node b { font-family: var(--mono); font-size: 14px; font-weight: 600; color: var(--eink); }
.step p { margin-top: 10px; color: var(--ink2); }

/* ======================= COST: price lines ======================= */
.cost { background: var(--g1); }
.cost-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(36px, 5vw, 84px); align-items: start; }
.cost-head { position: sticky; top: calc(var(--hdr) + 32px); }
.cost-note { margin-top: 16px; color: var(--ink); font-weight: 560; }
.cost-head .btn { margin-top: 30px; }
.cost-board { padding: clamp(20px, 2.8vw, 34px); border: 1px solid var(--g2); border-radius: 18px; background: var(--white); box-shadow: 0 50px 90px -70px rgba(10, 16, 32, .5); }
.cost-axis, .cost-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 22px; align-items: center; }
.cost-axis { padding-bottom: 12px; }
.cost-axis-in { position: relative; height: 18px; }
.cost-axis-in span { position: absolute; top: 0; left: calc(var(--x) * 100%); transform: translateX(-50%); font-family: var(--mono); font-size: 11.5px; color: var(--ink3); white-space: nowrap; }
.cost-axis-in span:first-child { transform: none; }
.cost-list { list-style: none; margin: 0; padding: 0; }
.cost-row { padding: 16px 0; border-top: 1px solid var(--line2); }
.cost-t { font-size: 15.5px; line-height: 1.45; color: var(--ink2); }
.cost-t b { font-weight: 640; color: var(--ink); }
.cost-bar { position: relative; height: 20px; }
.cost-track { position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--g2); }
.cost-row--quote .cost-track { height: 1.5px; background: repeating-linear-gradient(90deg, var(--g2) 0 7px, transparent 7px 13px); }
.cost-range { position: absolute; top: 50%; height: 4px; margin-top: -2px; left: calc(var(--a) * 100%); width: calc((var(--b) - var(--a)) * 100%); border-radius: 3px;
  background: linear-gradient(90deg, var(--e1), var(--e3)); transform-origin: left; }
.cost-row--from .cost-range { background: linear-gradient(90deg, var(--e1), rgba(255, 178, 94, .45) 55%, rgba(255, 178, 94, 0)); }
.cost-dot { position: absolute; top: 50%; left: calc(var(--a) * 100%); width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--white); border: 2.5px solid var(--e1); }
.cost-dot--b { left: calc(var(--b) * 100%); border-color: var(--e3); }
.cost-plus { position: absolute; top: 50%; left: calc(var(--b) * 100% + 9px); width: 12px; height: 12px; margin-top: -6px; border-top: 2px solid var(--e3); border-right: 2px solid var(--e3); transform: rotate(45deg) scale(.6); }
.cost-row--from .cost-plus { display: none; }
.js .cost-board .cost-range { transform: scaleX(0); transition: transform 1.3s var(--ease); transition-delay: calc(.25s + var(--d) * 90ms); }
.js .cost-board .cost-dot, .js .cost-board .cost-plus { opacity: 0; transition: opacity .5s var(--ease); transition-delay: calc(.35s + var(--d) * 90ms); }
.js .cost-board.in .cost-range { transform: scaleX(1); }
.js .cost-board.in .cost-dot, .js .cost-board.in .cost-plus { opacity: 1; }

/* ======================= INSURANCE ======================= */
.ins { background: var(--g0); }
.ins-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 100px); align-items: start; }
.link-line { display: inline-flex; align-items: center; gap: 14px; margin-top: 30px; padding-bottom: 7px; border-bottom: 1.5px solid var(--e2);
  font-stretch: 110%; font-weight: 650; font-size: 16px; color: var(--ink); text-decoration: none; }
@media (hover: hover) { .link-line:hover .arr { width: 36px; } }
.ins-steps { position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.ins-steps::before { content: ""; position: absolute; left: 46px; top: 60px; bottom: 60px; width: 1.5px; background: linear-gradient(180deg, var(--e2), var(--e3)); opacity: .55; }
.ins-step { position: relative; padding: 28px 28px 30px 92px; border: 1px solid var(--g2); border-radius: 16px; background: var(--white); }
.ins-n { position: absolute; left: 27px; top: 26px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--e2); color: var(--ink); font-family: var(--mono); font-weight: 600; font-size: 15px; }
.ins-step p { margin-top: 10px; color: var(--ink2); }

/* ======================= SERVICE AREAS + route line ======================= */
.areas { background: var(--g1); }
.areas-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); margin-top: clamp(36px, 4vw, 52px); }
.areas-col .h3 { margin-bottom: 14px; }
.areas-col p { margin-top: 14px; color: var(--ink2); }
.areas-col .h3 + p { margin-top: 0; }
.areas-col a { color: var(--ink); text-decoration: underline; text-decoration-color: rgba(255, 106, 19, .55); text-decoration-thickness: 1.5px; text-underline-offset: 3px; transition: text-decoration-color .2s var(--ease); }
.areas-note { color: var(--ink) !important; font-weight: 560; }
@media (hover: hover) { .areas-col a:hover { text-decoration-color: var(--e1); } }

.route { margin-top: clamp(48px, 6vw, 72px); padding-top: 38px; border-top: 1px solid var(--line); }
.route-line { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(20, minmax(0, 1fr)); }
.route-line::before { content: ""; position: absolute; left: 2.5%; right: 2.5%; top: 10px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--e1), var(--e2) 30%, var(--e3) 65%, rgba(255, 178, 94, .35)); transform-origin: left; }
.js .route-line::before { transform: scaleX(0); transition: transform 2s var(--ease) .2s; }
.js .route.in .route-line::before { transform: scaleX(1); }
.stop { position: relative; }
.stop-in { display: flex; flex-direction: column; align-items: center; color: var(--ink2); text-decoration: none; }
.stop-dot { position: relative; z-index: 1; width: 12px; height: 12px; margin-top: 5px; border-radius: 50%; border: 2px solid var(--e1); background: var(--g1); transition: transform .35s var(--ease), background-color .25s var(--ease); }
.stop--home .stop-dot { width: 22px; height: 22px; margin-top: 0; border-color: var(--e1); background: var(--e2); box-shadow: 0 0 0 6px rgba(255, 138, 43, .2); }
.stop-name { margin-top: 12px; writing-mode: vertical-rl; transform: rotate(180deg); font-stretch: 104%; font-size: 13.5px; line-height: 1; white-space: nowrap; transition: color .25s var(--ease); }
.stop--home .stop-name { font-weight: 700; color: var(--ink); }
@media (hover: hover) {
  .stop a:hover .stop-dot { transform: scale(1.35); background: var(--e2); }
  .stop a:hover .stop-name { color: var(--ink); }
}

/* ======================= FAQ ======================= */
.faq { background: var(--g0); }
.faq-grid { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: clamp(36px, 6vw, 100px); align-items: start; }
/* not sticky: a sticky column re-snaps whenever an answer near the end changes the section's height */
.faq-side { position: static; }
.faq-index { list-style: none; margin: 34px 0 0; padding: 0; counter-reset: fq; border-top: 1px solid var(--line); }
.faq-index li { counter-increment: fq; }
.faq-index a { display: flex; gap: 16px; align-items: baseline; padding: 11px 0; border-bottom: 1px solid var(--line2); color: var(--ink2); text-decoration: none; font-size: 15.5px; line-height: 1.4; transition: color .2s var(--ease), padding-left .45s var(--ease); }
.faq-index a::before { content: counter(fq, decimal-leading-zero); font-family: var(--mono); font-size: 12px; color: var(--eink); }
@media (hover: hover) { .faq-index a:hover { color: var(--ink); padding-left: 8px; } }
.faq-group { scroll-margin-top: calc(var(--hdr) + 24px); }
.faq-group + .faq-group { margin-top: 40px; }
.faq-group .h3 { padding-bottom: 14px; border-bottom: 2px solid var(--ink); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { display: grid; grid-template-columns: minmax(0, 1fr) 34px; gap: 18px; align-items: center; padding: 18px 0; cursor: pointer; list-style: none; font-weight: 580; font-size: 16.5px; line-height: 1.45; color: var(--ink); }
.qa summary::-webkit-details-marker { display: none; }
.qa-pm { position: relative; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--g2); background: var(--white); transition: transform .45s var(--ease), background-color .3s var(--ease), border-color .3s var(--ease); }
.qa-pm::before, .qa-pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.6px; margin: -.8px 0 0 -6px; background: var(--ink); }
.qa-pm::after { transform: rotate(90deg); }
.qa[open] .qa-pm { transform: rotate(45deg); border-color: var(--e2); background: var(--e2); }
.qa-a { padding: 0 52px 22px 0; color: var(--ink2); }
.qa-a p + p { margin-top: 10px; }
.qa[open] .qa-a { animation: fadeUp .55s var(--ease); }
@media (hover: hover) { .qa summary:hover .qa-pm { border-color: var(--e2); } }

/* desktop: the questions scroll inside their own panel, so opening or closing an answer never changes the section's
   height and nothing beside it moves; phones keep a normal list */
/* the "More questions" pill only exists where the panel scrolls (desktop); phones read a normal list */
.faq-more { display: none; }
@media (min-width: 981px) {
  .faq-grid { align-items: stretch; }
  .faq-groups, .faq-list {
    position: relative; height: min(74vh, 700px); overflow-y: auto; padding: 0 18px 56px 0;
    scrollbar-width: thin; scrollbar-color: rgba(255, 106, 19, .7) transparent; scroll-behavior: smooth;
    -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 56px), transparent); mask-image: linear-gradient(180deg, #000 calc(100% - 56px), transparent);
  }
  .faq-groups::-webkit-scrollbar, .faq-list::-webkit-scrollbar { width: 6px; }
  .faq-groups::-webkit-scrollbar-thumb, .faq-list::-webkit-scrollbar-thumb { border-radius: 6px; background: rgba(255, 106, 19, .6); }
  .faq-groups .faq-group { scroll-margin-top: 0; }
  .faq-side { display: flex; flex-direction: column; }
  .faq-scroll { position: relative; }
  .faq-more { display: inline-flex; position: absolute; left: 50%; bottom: 10px; z-index: 2; align-items: center; gap: 10px;
    padding: 9px 16px 9px 18px; border: 1px solid rgba(255, 106, 19, .45); border-radius: 999px; background: var(--ink); color: var(--white);
    font: 600 13.5px/1 var(--mono); letter-spacing: .02em; cursor: pointer; box-shadow: 0 14px 30px -14px rgba(10, 16, 32, .6);
    opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s .35s; }
  .faq-scroll.has-more .faq-more { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s; }
  .faq-more-arrow { width: 8px; height: 8px; margin-top: -4px; border-right: 2px solid var(--e2); border-bottom: 2px solid var(--e2); transform: rotate(45deg); animation: faqNudge 1.6s var(--ease) infinite; }
  @media (hover: hover) { .faq-more:hover { border-color: var(--e2); } }
  .faq-more:focus-visible { outline: 2px solid var(--e2); outline-offset: 3px; }
  @keyframes faqNudge { 0%, 100% { translate: 0 0; } 50% { translate: 0 4px; } }
  @media (prefers-reduced-motion: reduce) { .faq-more-arrow { animation: none; } }
}

/* ======================= SCHEDULE: back to the horizon ======================= */
.cta { isolation: isolate; overflow: hidden; padding-bottom: 0; background: linear-gradient(180deg, #03050c 0%, #071029 46%, #12245c 78%, #1c3272 100%); }
.cta-sky { position: absolute; inset: 0; z-index: -2; pointer-events: none; background: radial-gradient(60% 40% at 20% 100%, rgba(255, 112, 32, .5), rgba(255, 112, 32, 0) 70%); }
.cta-scene { position: absolute; left: 0; right: 0; bottom: 0; height: clamp(190px, 30vw, 330px); z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(240, 132, 74, 0), rgba(240, 132, 74, .4)); }
.cta-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 5vw, 84px); align-items: start; padding-bottom: clamp(200px, 28vw, 360px); }
.cta-copy .sub + .sub { margin-top: 14px; }
.cta-embeds { display: grid; gap: 14px; }
.map { overflow: hidden; aspect-ratio: 4 / 3; border: 1px solid var(--nline); border-radius: 16px; background: var(--n2); }
.map iframe { width: 100%; height: 100%; }
.wx { overflow: hidden; min-height: 100px; border: 1px solid var(--nline); border-radius: 14px; background: var(--n2); }
.wx .weatherwidget-io { display: block; padding: 18px; color: var(--mist); text-decoration: none; }

/* ======================= RESPONSIVE ======================= */
@media (max-width: 1180px) {
  .hl-in { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .hl { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 14px; }
}
@media (max-width: 980px) {
  .hero { min-height: 0; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "media" "copy"; padding-top: 22px; padding-bottom: 0; gap: 34px; }
  .hero-media { max-width: 640px; transform: none; }
  .hero-copy { max-width: 680px; }
  .hero-scene { position: relative; bottom: auto; order: 2; height: 190px; margin-top: 30px; }
  .hero-grid { order: 1; }
  .hl-strip { order: 3; }
  .hero-sky { inset: 0; }
  .stars { height: 34%; }   /* phones: stars stay above the copy, never behind a paragraph */
  .hero-media .ph {
    background: linear-gradient(180deg, rgba(5, 8, 18, 0) 40%, rgba(5, 8, 18, .6)),
      radial-gradient(110% 70% at 72% 100%, rgba(255, 130, 46, .55), rgba(255, 130, 46, 0) 62%),
      linear-gradient(168deg, #23419a 0%, #12245c 42%, #0a1230 100%);
  }
  .why-grid, .mob-grid, .cost-grid, .ins-grid, .faq-grid, .cta-grid, .svc-grid { grid-template-columns: minmax(0, 1fr); }
  .sec-head--row { grid-template-columns: minmax(0, 1fr); }
  .gm-col { top: var(--hdr); z-index: 3; margin-inline: calc(-1 * var(--gut)); padding: 10px var(--gut) 12px; background: var(--n1); }
  .gm { padding: 12px 12px 10px; border-radius: 14px; }
  .gm-cap { margin-top: 8px; padding-top: 8px; font-size: 10.5px; }
  .cost-head, .faq-side { position: static; }
  .mob-media { max-width: 520px; }
  .pane--tall { aspect-ratio: 16 / 11; border-radius: 110px 16px 16px 16px; }
}
@media (max-width: 760px) {
  .hl { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .why-items { grid-template-columns: minmax(0, 1fr); }
  .why-item, .why-item:nth-child(odd), .why-item:nth-child(even) { padding: 26px 0 30px; border-right: 0; }
  .why-item:nth-child(even)::before { left: 0; }
  .steps-list { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .steps-list::before { left: 27px; right: auto; top: 0; bottom: 0; width: 1.5px; height: auto; transform-origin: top; background: linear-gradient(180deg, var(--e1), var(--e3) 55%, rgba(255, 178, 94, .15)); }
  .js .steps-list::before { transform: scaleY(0); }
  .js .steps-list.in::before { transform: scaleY(1); }
  .step { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 20px; }
  .step-node { grid-row: span 2; margin-bottom: 0; }
  .step .h3 { align-self: center; }
  .step p { grid-column: 2; }
  .cost-axis, .cost-row { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .cost-axis-pad { display: none; }
  .areas-grid { grid-template-columns: minmax(0, 1fr); }
  .route-line { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: repeat(10, auto); grid-auto-flow: column; column-gap: 18px; }
  .route-line::before { display: none; }
  .stop-in { flex-direction: row; gap: 14px; padding: 8px 0; }
  .stop::before { content: ""; position: absolute; left: 5px; top: 50%; height: 100%; width: 2px; background: rgba(255, 106, 19, .45); }
  .stop:nth-child(10)::before, .stop:last-child::before { display: none; }
  .stop-dot { margin-top: 0; flex: none; }
  .stop--home .stop-dot { margin-left: -5px; }
  .stop-name { margin-top: 0; writing-mode: horizontal-tb; transform: none; font-size: 15px; }
  .ins-step { padding: 24px 22px 26px 78px; }
  .ins-n { left: 20px; }
  .ins-steps::before { left: 39px; }
  .qa-a { padding-right: 10px; }
}
@media (max-width: 480px) {
  .hl { grid-template-columns: minmax(0, 1fr); }
  .ins-step { padding: 22px 22px 24px; }
  .ins-n { position: static; margin-bottom: 14px; }
  .ins-steps::before { display: none; }
  .acts .btn { width: 100%; }
  .hero-scene { height: 160px; }
}
@media (prefers-reduced-motion: reduce) {
  .logos-track { animation: none; width: auto; }
  .logos-set[aria-hidden] { display: none; }
  .logos-set { flex-wrap: wrap; justify-content: center; padding: 0 var(--gut); }
  .logos::before, .logos::after { display: none; }
  .h1 .ln > span { transform: none; }
  .h1-rest, .lede, .hero .acts, .hl li, .hero-media .pane, .pane-frame { opacity: 1; }
  .horizon i, .hero .eb-line { transform: none; }
  .pane-glare, .st { animation: none; }
  .shoot, .haze, .traffic, .loupe { display: none; }
  .moon { animation: none; opacity: .95; }
}
