/* Jay's Service Center: motion & glow layer
   Everything here is turned on by the "motion" class on <html>, which is
   only added when the visitor hasn't asked their device for reduced motion. */

/* ---------- Scroll progress + compact header ---------- */
.scroll-progress {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue) 20%, #8fd0ff 60%, var(--blue-bright));
  box-shadow: 0 0 12px var(--blue-glow), 0 0 2px #bfe3ff;
  transform: scaleX(var(--p, 0)); transform-origin: left;
  pointer-events: none;
}
.site-header { transition: background .35s, box-shadow .35s; }
.site-header.scrolled {
  background: rgba(5, 13, 26, .82);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .9);
}
.header-row, .logo-jays, .logo-sub, .header-tag { transition: padding .35s, font-size .35s, opacity .35s, max-height .35s; }
.header-tag { max-height: 60px; }
@media (min-width: 761px) {
  .site-header.scrolled .header-row { padding-top: 8px; }
  .site-header.scrolled .logo-jays { font-size: 36px; }
  .site-header.scrolled .logo-sub { font-size: 12px; }
  .site-header.scrolled .header-tag { opacity: 0; }
}

/* Nav: sliding glow underline */
.nav ul a { position: relative; border-bottom: 0 !important; }
.nav > ul > li > a::after {
  content: ""; position: absolute; left: 22px; right: 22px; bottom: 2px; height: 2px; border-radius: 2px;
  background: var(--blue-bright); box-shadow: 0 0 10px var(--blue-glow);
  transform: scaleX(0); transition: transform .3s cubic-bezier(.2, .8, .2, 1);
}
.nav > ul > li > a:hover::after, .nav > ul > li > a.active::after { transform: scaleX(1); }
@media (max-width: 760px) { .nav > ul > li > a::after { display: none; } }

/* ---------- Buttons: light sweep + glow ---------- */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn-primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s ease;
}
.btn-primary:hover::after { transform: translateX(120%); }
.btn-outline:hover { box-shadow: 0 0 0 1px var(--blue-bright), 0 0 24px -4px var(--blue-glow); }
.motion .hero-ctas .btn-primary { animation: ctaPulse 3.2s ease-in-out 2s infinite; }
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 6px 22px -6px var(--blue-glow), inset 0 1px 0 rgba(255,255,255,.25); }
  50% { box-shadow: 0 6px 34px 0 var(--blue-glow), inset 0 1px 0 rgba(255,255,255,.25); }
}

/* ---------- Hero ---------- */
.hero { isolation: isolate; }
.hero::after {               /* drifting tech grid + light */
  content: ""; position: absolute; inset: -40px; z-index: 0; pointer-events: none;
  background:
    linear-gradient(rgba(58,160,255,.07) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, rgba(58,160,255,.07) 1px, transparent 1px) 0 0 / 56px 56px;
  -webkit-mask: radial-gradient(ellipse 60% 70% at 70% 45%, #000 20%, transparent 75%);
          mask: radial-gradient(ellipse 60% 70% at 70% 45%, #000 20%, transparent 75%);
}
.motion .hero::after { animation: gridDrift 24s linear infinite; }
@keyframes gridDrift { to { transform: translate(56px, 56px); } }
.hero-orb {
  position: absolute; z-index: 0; width: 520px; height: 520px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(58,160,255,.35), rgba(30,136,240,.08) 45%, transparent 70%);
  filter: blur(10px); right: 8%; top: 10%;
  mix-blend-mode: screen;
}
.motion .hero-orb { animation: orbFloat 14s ease-in-out infinite alternate; }
@keyframes orbFloat { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-90px, 40px) scale(1.15); } 100% { transform: translate(40px, -30px) scale(.95); } }
.hero-cursor {               /* light that follows the cursor */
  position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity .5s;
  background: radial-gradient(420px circle at var(--hx, 50%) var(--hy, 50%), rgba(58,160,255,.16), transparent 60%);
}
.hero:hover .hero-cursor { opacity: 1; }
.hero-content { z-index: 2; }

/* Hero entrance */
.motion .hero-content > * { opacity: 0; animation: rise .9s cubic-bezier(.2, .8, .2, 1) forwards; }
.motion .hero-content > :nth-child(1) { animation-delay: .1s; }
.motion .hero-content > :nth-child(2) { animation-delay: .22s; }
.motion .hero-content > :nth-child(3) { animation-delay: .38s; }
.motion .hero-content > :nth-child(4) { animation-delay: .52s; }
.motion .hero-content > :nth-child(5) { animation-delay: .62s; }
.motion .hero-content > :nth-child(6) { animation-delay: .74s; }
.motion .hero-content > :nth-child(7) { animation-delay: .86s; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
.motion .hero .rule { animation: ruleGrow 1s cubic-bezier(.2, .8, .2, 1) .6s both; transform-origin: left; }
@keyframes ruleGrow { from { opacity: 0; transform: scaleX(0); } to { opacity: 1; transform: scaleX(1); } }

@keyframes sheen { 0% { background-position: 100% 0; } 30%, 100% { background-position: 0 0; } }

.motion .open-status::before { animation: dotPulse 2s ease-in-out infinite; }
@keyframes dotPulse { 0%, 100% { box-shadow: 0 0 0 0 var(--dot); } 50% { box-shadow: 0 0 0 6px transparent, 0 0 12px var(--dot); } }

/* Scroll cue */
.scroll-cue {
  position: absolute; left: 50%; bottom: 22px; z-index: 2; translate: -50% 0;
  width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.5); border-radius: 14px;
}
.scroll-cue::after {
  content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px;
  background: var(--blue-bright); box-shadow: 0 0 8px var(--blue-glow);
}
.motion .scroll-cue::after { animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@media (max-width: 760px) { .scroll-cue { display: none; } }

/* ---------- Dark sections: slow ambient light ---------- */
.symptoms, .request, .reviews { position: relative; overflow: hidden; isolation: isolate; }
.symptoms::before, .request::before, .reviews::before {
  content: ""; position: absolute; z-index: -1; width: 640px; height: 640px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(30,136,240,.22), transparent 65%);
  left: -160px; top: -200px;
}
.request::before { left: auto; right: -200px; }
.motion .symptoms::before, .motion .request::before, .motion .reviews::before { animation: orbFloat 18s ease-in-out infinite alternate; }

/* ---------- Scroll reveals ---------- */
.motion .reveal {
  opacity: 0; translate: 0 28px; filter: blur(6px);
  transition: opacity .9s cubic-bezier(.2, .8, .2, 1), translate .9s cubic-bezier(.2, .8, .2, 1), filter .9s,
              transform .25s, box-shadow .3s, border-color .3s, background .3s;
  transition-delay: var(--d, 0s);
}
.motion .reveal.in { opacity: 1; translate: 0 0; filter: none; }
.motion .reveal.from-left { translate: -40px 0; }
.motion .reveal.from-right { translate: 40px 0; }
.motion .reveal.from-left.in, .motion .reveal.from-right.in { translate: 0 0; }
.motion .reveal.zoom { translate: 0 0; scale: .94; transition-property: opacity, scale, filter, transform, box-shadow, border-color, background; }
.motion .reveal.zoom.in { scale: 1; }

/* Kicker lines draw outward */
.motion .kicker.reveal::before, .motion .kicker.reveal::after { transform: scaleX(0); transition: transform .9s cubic-bezier(.2, .8, .2, 1) .25s; }
.kicker::before { transform-origin: right; }
.kicker::after { transform-origin: left; }
.motion .kicker.reveal.in::before, .motion .kicker.reveal.in::after { transform: scaleX(1); }
.kicker::before, .kicker::after { box-shadow: 0 0 8px var(--blue-glow); }


/* ---------- Cursor-tracked glow cards ---------- */
.glow { position: relative; isolation: isolate; }
.glow > .spot {
  position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 50%), rgba(58,160,255,.28), transparent 60%);
  opacity: 0; transition: opacity .35s;
}
.glow:hover > .spot { opacity: 1; }
.glow::before {              /* glowing border that follows the cursor, lights neighbors too */
  content: ""; position: absolute; inset: -1px; z-index: 2; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%), #9ad4ff, var(--blue-bright) 30%, transparent 65%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .4s;
}
.glow-group:hover .glow::before, .glow.glow-solo:hover::before { opacity: 1; }

/* Light cards need the background behind the spot */
.checklist li.glow > .spot, .review.glow > .spot { background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(30,136,240,.14), transparent 60%); }
.checklist li.glow:hover, .review.glow:hover { box-shadow: 0 14px 30px -14px rgba(30,136,240,.45); transform: translateY(-2px); }

/* Service cards: 3D tilt + floating icon */
.service-card { transform-style: preserve-3d; will-change: transform; }
.motion .service-card { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0)); }
.motion .service-card:hover { --lift: -6px; }
.service-card svg { transition: transform .4s cubic-bezier(.2, .8, .2, 1), filter .4s, color .4s; }
.service-card:hover svg { transform: translateY(-4px) scale(1.08); color: #bfe3ff; filter: drop-shadow(0 0 12px rgba(58,160,255,.8)); }
.service-card::after { transition: left .4s, right .4s, box-shadow .4s; }
.service-card:hover::after { left: 18%; right: 18%; box-shadow: 0 0 16px var(--blue-bright); }

/* One-time glow pulse when cards scroll into view */
.motion .glow.reveal.in { animation: glowIn 1.4s ease var(--d, 0s) both; }
@keyframes glowIn {
  0% { box-shadow: 0 0 0 0 rgba(58,160,255,0); }
  40% { box-shadow: 0 0 0 1px rgba(58,160,255,.6), 0 0 34px -4px var(--blue-glow); }
  100% { box-shadow: 0 14px 30px -18px rgba(5,13,26,.8); }
}
.checklist li.glow.reveal.in, .review.glow.reveal.in { animation-name: glowInLight; }
@keyframes glowInLight {
  0% { box-shadow: 0 0 0 0 rgba(30,136,240,0); }
  40% { box-shadow: 0 0 0 1px rgba(30,136,240,.5), 0 0 26px -6px rgba(30,136,240,.55); }
  100% { box-shadow: 0 6px 16px -12px rgba(11,26,46,.35); }
}

/* Symptom buttons */
.symptom svg { transition: transform .3s, filter .3s; }
.symptom:hover svg, .symptom[aria-pressed="true"] svg { transform: scale(1.1); filter: drop-shadow(0 0 10px currentColor); }
.motion .symptom-answer:not([hidden]) { animation: rise .5s cubic-bezier(.2, .8, .2, 1); }

/* Trust bar icons glow when they arrive */
.trust-item svg { transition: filter .6s, color .6s; }
.trust-item.in svg { color: #bfe3ff; filter: drop-shadow(0 0 8px rgba(58,160,255,.7)); }

/* Process arrows nudge forward */
.motion .steps li.in + li::before { animation: nudge 2.4s ease-in-out 1s infinite; }
@keyframes nudge { 0%, 100% { transform: translateX(0); opacity: .6; } 50% { transform: translateX(6px); opacity: 1; text-shadow: 0 0 10px var(--blue-glow); } }
.step-num { transition: box-shadow .6s, background .6s; }
.steps li.in .step-num { background: var(--blue); box-shadow: 0 0 0 4px rgba(30,136,240,.18), 0 0 18px var(--blue-glow); }

/* Photo slots: slow light sweep (until real photos arrive) */
.photo-slot { overflow: hidden; }
.photo-slot::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 35%, rgba(120,190,255,.12) 50%, transparent 65%);
  transform: translateX(-100%);
}
.motion .photo-slot::before { animation: slotSweep 5s ease-in-out infinite; }
@keyframes slotSweep { 0% { transform: translateX(-100%); } 60%, 100% { transform: translateX(100%); } }

/* Map + phone glow */
.map { transition: box-shadow .4s, border-color .4s; }
.map:hover { border-color: var(--blue-bright); box-shadow: 0 0 0 1px var(--blue-bright), 0 18px 40px -18px rgba(30,136,240,.6); }
.motion .big-phone { animation: phoneGlow 3s ease-in-out infinite; }
@keyframes phoneGlow { 50% { text-shadow: 0 0 34px rgba(58,160,255,.85), 0 0 4px #bfe3ff; } }

/* FAQ */
.faq summary { transition: color .25s, padding-left .25s; }
.faq summary:hover { color: var(--blue); padding-left: 6px; }
.motion .faq details[open] p { animation: rise .45s cubic-bezier(.2, .8, .2, 1); }

/* Form fields */
.request-form input, .request-form select, .request-form textarea { transition: border-color .25s, box-shadow .25s, background .25s; }
.request-form input:focus, .request-form select:focus, .request-form textarea:focus { background: rgba(12,34,64,.8); box-shadow: 0 0 0 3px rgba(58,160,255,.25), 0 0 22px -6px var(--blue-glow); }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 55; width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer; color: var(--white);
  background: rgba(8, 22, 40, .85); border: 0;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: 0 10px 30px -10px rgba(0,0,0,.8);
  opacity: 0; translate: 0 16px; pointer-events: none; transition: opacity .3s, translate .3s, box-shadow .3s;
}
.to-top.show { opacity: 1; translate: 0 0; pointer-events: auto; }
.to-top:hover { box-shadow: 0 0 24px -2px var(--blue-glow); }
.to-top > svg:first-child { position: absolute; inset: 0; width: 52px; height: 52px; transform: rotate(-90deg); }
.to-top .ring-bg { stroke: rgba(255,255,255,.15); stroke-width: 2.5; }
.to-top .ring { stroke: var(--blue-bright); stroke-width: 2.5; filter: drop-shadow(0 0 4px var(--blue-bright)); }
.to-top .arrow { position: relative; width: 20px; height: 20px; stroke-width: 2.4; }
@media (max-width: 760px) { .to-top { bottom: 76px; right: 14px; width: 46px; height: 46px; } .to-top > svg:first-child { width: 46px; height: 46px; } }

/* ---------- Reduced motion: show everything, no movement ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero::after, .hero-orb, .photo-slot::before { animation: none !important; }
}

/* =====================================================================
   LEVEL 2: tachometer, streaks, marquee, stats, angled sections, extras
   ===================================================================== */

html, body { overflow-x: clip; }

/* Film grain over everything: subtle, premium texture */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Hero tachometer ---------- */
.hero-gauge {
  position: absolute; z-index: 2; top: 50%; translate: 0 -50%;
  right: max(16px, calc((100% - var(--wrap)) / 2 - 10px));
  width: min(440px, 36vw); aspect-ratio: 1; cursor: pointer;
}
.hero-gauge svg { width: 100%; height: 100%; overflow: visible; }
.g-spin { transform-origin: 200px 200px; }
.motion .g-spin { animation: spin 40s linear infinite; }
.motion .g-spin.rev { animation-duration: 60s; animation-direction: reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.g-tick { stroke: rgba(255,255,255,.35); stroke-width: 2; }
.g-tick.major { stroke: rgba(255,255,255,.85); stroke-width: 3; }
.g-tick.red { stroke: #ff4d4d; }
.g-num { fill: #c9d6e8; font: 700 22px var(--display); text-anchor: middle; dominant-baseline: middle; }
.g-num.red { fill: #ff6b6b; }
.g-label { fill: #7f93ad; font: 600 12px var(--body); letter-spacing: .2em; text-anchor: middle; }
.g-big { fill: #fff; font: 900 italic 64px var(--display); text-anchor: middle; }
.g-sub { fill: var(--blue-bright); font: 700 15px var(--display); letter-spacing: .28em; text-anchor: middle; }
.g-rpm { fill: #9ad4ff; font: 700 18px var(--display); letter-spacing: .1em; text-anchor: middle; }
.hero-gauge.redline .g-rpm { fill: #ff6b6b; }
.motion .hero-gauge { animation: rise 1.2s cubic-bezier(.2,.8,.2,1) .3s both; }
@media (max-width: 980px) { .hero-gauge { display: none; } }

/* Headlight streaks shooting across the hero */
.streak {
  position: absolute; z-index: 1; left: 0; height: 2px; width: 34%; pointer-events: none; opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(58,160,255,.0) 10%, rgba(140,205,255,.9) 85%, #fff);
  box-shadow: 0 0 12px rgba(58,160,255,.8); border-radius: 2px;
}
.motion .streak { animation: streak 7s cubic-bezier(.6, 0, .4, 1) infinite; }
.streak:nth-of-type(1) { top: 22%; animation-delay: 1.5s; }
.streak:nth-of-type(2) { top: 64%; animation-delay: 3.8s; width: 22%; }
.streak:nth-of-type(3) { top: 81%; animation-delay: 5.6s; width: 28%; }
.streak:nth-of-type(4) { top: 40%; animation-delay: 9s; width: 18%; }
@keyframes streak { 0% { transform: translateX(-110%); opacity: 0; } 4% { opacity: 1; } 22% { transform: translateX(330%); opacity: 0; } 100% { transform: translateX(330%); opacity: 0; } }

/* Headline lines slide up from behind a mask */
.hero h1 .line { display: block; overflow: hidden; padding: 0 .2em .06em 0; margin-right: -.2em; }
.hero h1 .line-inner { display: inline-block; }
.motion .hero-content > h1 { animation: none; opacity: 1; }
.motion .hero h1 .line-inner { animation: lineUp 1s cubic-bezier(.2, .9, .1, 1) both; }
.motion .hero h1 .line:nth-child(2) .line-inner { animation-delay: .14s; }
.motion .hero h1 .line:nth-child(3) .line-inner { animation-delay: .28s; }
@keyframes lineUp { from { transform: translateY(110%) skewY(6deg); } to { transform: none; } }

/* ---------- Marquee band ---------- */
.marquee {
  position: relative; z-index: 3; overflow: hidden; width: 104%; margin: -26px -2% -26px;
  transform: rotate(-2deg);
  background: linear-gradient(90deg, var(--blue), var(--blue-bright), var(--blue));
  box-shadow: 0 0 40px -6px var(--blue-glow), 0 20px 40px -20px rgba(5,13,26,.8);
  border-block: 1px solid rgba(255,255,255,.35);
}
.marquee-track { display: flex; align-items: center; gap: 28px; width: max-content; padding: 16px 0; }
.motion .marquee-track { animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee span {
  font-family: var(--display); font-weight: 900; font-style: italic; font-size: 34px; line-height: 1;
  letter-spacing: .02em; text-transform: uppercase; color: var(--navy-950); white-space: nowrap;
}
.marquee span.outline { color: transparent; -webkit-text-stroke: 1.5px var(--white); }
.marquee i { font-style: normal; color: var(--white); font-size: 20px; text-shadow: 0 0 10px #fff; }
@media (max-width: 760px) { .marquee span { font-size: 24px; } .marquee-track { gap: 18px; padding: 12px 0; } }

/* ---------- Angled dark sections ---------- */
.symptoms, .reviews {
  --cut: clamp(28px, 4vw, 64px);
  clip-path: polygon(0 var(--cut), 100% 0, 100% calc(100% - var(--cut)), 0 100%);
  margin-block: calc(-1 * var(--cut));
  padding-block: calc(76px + var(--cut));
  z-index: 1;
}
.symptoms { padding-top: calc(96px + var(--cut)); }
@media (max-width: 760px) { .symptoms, .reviews { padding-block: calc(52px + var(--cut)); } }

/* ---------- Stats band ---------- */
.stats { background: var(--white); padding: 70px 0 100px; position: relative; }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { position: relative; text-align: center; padding: 10px 16px; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 18%; bottom: 18%; width: 1px; background: linear-gradient(transparent, var(--line), transparent); }
.stat-figure {
  margin: 0; line-height: .9; font-family: var(--display); font-weight: 900; font-style: italic;
  font-size: clamp(64px, 8vw, 112px); letter-spacing: -.01em;
  color: transparent; -webkit-text-stroke: 2px var(--navy-800);
  background: linear-gradient(180deg, var(--blue-bright), var(--blue)) no-repeat 0 100% / 100% 0%;
  -webkit-background-clip: text; background-clip: text;
  transition: background-size 1.4s cubic-bezier(.2, .8, .2, 1) .3s, -webkit-text-stroke-color 1s .3s;
}
.stat.in .stat-figure, html:not(.motion) .stat-figure { background-size: 100% 100%; -webkit-text-stroke-color: transparent; filter: drop-shadow(0 8px 18px rgba(30,136,240,.35)); }
.stat-unit { font-size: .5em; margin-left: .04em; vertical-align: .55em; }
.stat-label { margin: 10px 0 0; font-family: var(--display); font-weight: 700; font-size: 17px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
@media (max-width: 760px) {
  .stats { padding: 50px 0 80px; }
  .stats-row { grid-template-columns: 1fr 1fr; row-gap: 30px; }
  .stat:nth-child(3)::before { display: none; }
  .stat-label { font-size: 14px; }
}

/* ---------- Service cards: index number + learn more ---------- */
.card-num {
  position: absolute; top: 12px; left: 14px; font-family: var(--display); font-weight: 800; font-style: italic;
  font-size: 15px; letter-spacing: .1em; color: rgba(154,212,255,.55); transition: color .3s;
}
.card-more {
  display: block; margin-top: 4px; font-family: var(--display); font-weight: 700; font-size: 14px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue-bright); opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s;
}
.service-card:hover .card-num { color: var(--white); }
.service-card:hover .card-more { opacity: 1; transform: none; }
@media (hover: none) { .card-more { display: none; } }

/* ---------- Symptoms: dashboard warning lights ---------- */
.symptom[data-symptom="light"] { --lamp: #ffb020; }
.symptom[data-symptom="noise"] { --lamp: #3aa0ff; }
.symptom[data-symptom="brakes"] { --lamp: #ff4d4d; }
.symptom[data-symptom="routine"] { --lamp: #34d399; }
.symptom svg { color: var(--lamp) !important; opacity: .55; transition: opacity .3s, transform .3s, filter .3s; }
.symptom:hover svg { opacity: .9; }
.symptom[aria-pressed="true"] svg { opacity: 1; filter: drop-shadow(0 0 6px var(--lamp)) drop-shadow(0 0 16px var(--lamp)); }
.symptom[aria-pressed="true"] { border-color: var(--lamp); box-shadow: 0 0 0 1px var(--lamp), 0 0 26px -6px var(--lamp); }
.motion .symptom[aria-pressed="true"] svg { animation: lamp 1.6s ease-in-out infinite; }
@keyframes lamp { 50% { filter: drop-shadow(0 0 3px var(--lamp)); opacity: .75; } }

/* ---------- Magnetic buttons ---------- */
.btn.magnetic { transition: transform .15s, box-shadow .2s, background .2s, translate .25s cubic-bezier(.2, .8, .2, 1); }

/* ---------- Service page hero visual ---------- */
.page-visual {
  position: absolute; z-index: 2; top: 50%; translate: 0 -50%;
  right: max(16px, calc((100% - var(--wrap)) / 2 + 20px));
  width: min(380px, 30vw); aspect-ratio: 1; pointer-events: none;
}
.page-visual .ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(58,160,255,.3); }
.page-visual .ring.r2 { inset: 12%; border-style: dashed; border-color: rgba(58,160,255,.45); }
.page-visual .ring.r3 { inset: 26%; border: 2px solid rgba(58,160,255,.6); box-shadow: 0 0 40px -6px var(--blue-glow), inset 0 0 40px -10px var(--blue-glow); background: radial-gradient(circle, rgba(30,136,240,.25), transparent 70%); }
.page-visual .ring.r1::after {
  content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%;
  background: #bfe3ff; box-shadow: 0 0 14px 3px var(--blue-bright);
}
.motion .page-visual .ring.r1 { animation: spin 9s linear infinite; }
.motion .page-visual .ring.r2 { animation: spin 30s linear infinite reverse; }
.page-visual svg { position: absolute; inset: 36%; width: 28%; height: 28%; color: #dff1ff; stroke-width: 1.4; filter: drop-shadow(0 0 14px rgba(58,160,255,.9)); }
.motion .page-visual svg { animation: float 5s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-8px); } }
.motion .page-visual { animation: rise 1.1s cubic-bezier(.2,.8,.2,1) .4s both; }
.page-hero .page-icon { display: none; }
@media (max-width: 980px) { .page-visual { display: none; } .page-hero .page-icon { display: block; } }

/* ---------- Footer mega wordmark ---------- */
.mega {
  margin: 30px 0 6px; text-align: center; line-height: .78; user-select: none;
  font-family: var(--display); font-weight: 900; font-style: italic; font-size: clamp(120px, 27vw, 400px); letter-spacing: -.01em;
  color: transparent; -webkit-text-stroke: 1px rgba(58,160,255,.28);
  background: linear-gradient(100deg, transparent 35%, rgba(58,160,255,.5) 50%, transparent 65%) no-repeat;
  background-size: 300% 100%; background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text;
}
.motion .mega { animation: sheen 7s ease-in-out 1s infinite; }
.site-footer { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  .streak, .marquee-track, .g-spin { animation: none !important; }
}

/* Only clip the bottom edge so the text glow isn't boxed in */
.hero h1 .line { overflow: visible; clip-path: inset(-1em -1em 0 -1em); padding-bottom: .22em; margin-bottom: -.22em; }

/* The glow effect sets position:relative, which overrode the "Signs you need ..." card's sticky position on the
   service pages: its top:150px then pushed the card 150px down, past the bottom of its section. Keep it sticky
   on desktop (phones stack it normally, see styles.css). */
@media (min-width: 761px) { .signs.glow { position: sticky; } }
@media (max-width: 760px) { .signs.glow { position: relative; top: auto; } }
