/* ============================================================
   FixRight — motion layer + the "how a visit works" road.
   Playful and springy. The road section and toast are styled
   here so they also look right without animation.
   ============================================================ */

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

.has-motion .pop { opacity: 1; transform: none; transition: none; }
.has-motion .job-card { animation: none; transition: none; }
.has-motion .s1 { animation: none; }
.has-motion .btn { transition: box-shadow .25s var(--spring); }
.has-motion .btn:hover { transform: none; }
.has-motion .svc { transition: box-shadow .3s var(--spring); }
.has-motion .svc:hover { transform: none; }

/* ---------- road ---------- */
.road-sec { text-align: center; overflow: hidden; }
.road-wrap { position: relative; max-width: 1150px; margin: 3rem auto 0; padding-top: 70px; }
.road { position: absolute; top: 96px; left: 4%; right: 4%; height: 14px; background: var(--navy); border: var(--b); border-radius: 99px; overflow: hidden; }
.road::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: repeating-linear-gradient(90deg, var(--yellow) 0 18px, transparent 18px 34px); }
.road-fill { position: absolute; inset: 0; background: var(--green); transform-origin: left; transform: scaleX(0); z-index: 1; }
.van { position: absolute; top: 34px; left: 4%; z-index: 3; font-size: 3.4rem; line-height: 1; transform: translateX(-50%); }
.van span { display: inline-block; transform: scaleX(-1); filter: drop-shadow(3px 3px 0 var(--ink)); }
.puff { position: absolute; left: -10px; bottom: 6px; width: 12px; height: 12px; border-radius: 50%; background: #ccc; border: 2px solid var(--ink); opacity: 0; }
.stops { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; position: relative; z-index: 2; }
.stop { padding-top: 70px; position: relative; }
.stop-ic { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 54px; height: 54px; display: grid; place-items: center; font-size: 1.5rem; background: var(--paper); border: var(--b); border-radius: 50%; box-shadow: var(--shadow); transition: background .3s; }
.stop h3 { font-size: 1.3rem; margin-bottom: .3rem; }
.stop p { font-size: .95rem; color: #333; max-width: 24ch; margin: 0 auto; }
.stop small { display: inline-block; margin-top: .6rem; font-weight: 800; font-size: .8rem; background: var(--paper); border: 2px solid var(--ink); border-radius: 99px; padding: .1rem .6rem; }
.has-motion .stop:not(.on) { opacity: .4; }
.has-motion .stop { transition: opacity .3s; }
.stop.on .stop-ic { background: var(--yellow); }

@media (max-width: 900px) {
  .road-wrap { padding: 0 0 0 64px; text-align: left; }
  .road { top: 0; bottom: 0; left: 18px; right: auto; width: 14px; height: auto; }
  .road::after { left: 50%; right: auto; top: 0; bottom: 0; width: 2px; height: auto; margin: 0 0 0 -1px; background: repeating-linear-gradient(180deg, var(--yellow) 0 18px, transparent 18px 34px); }
  .road-fill { transform-origin: top; transform: scaleY(0); }
  .van { top: 0; left: 25px; font-size: 2.4rem; transform: translate(-50%, 0) rotate(90deg); }
  .stops { grid-template-columns: 1fr; gap: 2.4rem; }
  .stop { padding: 0 0 0 1rem; }
  .stop-ic { left: -62px; top: 0; transform: none; width: 46px; height: 46px; font-size: 1.2rem; }
  .stop p { margin: 0; }
}

/* ---------- toast ---------- */
.toast { position: fixed; left: 1.2rem; bottom: 1.2rem; z-index: 70; display: flex; gap: .7rem; align-items: center; max-width: min(340px, calc(100vw - 6rem)); padding: .8rem 1rem; background: var(--paper); border: var(--b); border-radius: var(--r); box-shadow: var(--shadow); font-size: .9rem; opacity: 0; pointer-events: none; visibility: hidden; }
.toast .t-ic { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--green); border: 2px solid var(--ink); font-size: 1.1rem; }
.toast small { color: #666; }

/* ---------- confetti ---------- */
.confetti { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 90; pointer-events: none; }

/* draggable stickers */
.has-motion .sticker.drag { cursor: grab; touch-action: none; user-select: none; z-index: 6; }
.has-motion .sticker.drag:active { cursor: grabbing; }
.has-motion .s1.drag { position: relative; }
.hint { font-family: var(--display); font-size: .85rem; color: #666; position: absolute; bottom: -6px; left: 8%; transform: rotate(-3deg); }

.split-char { display: inline-block; }

/* keep the reviews heading on one line in the narrow column */
.rev-summary h2 { font-size: clamp(2rem, 3.2vw, 3rem); }

/* let the area cards shrink on small screens */
.area > * { min-width: 0; }

/* GSAP owns `transform` on these; a CSS transform transition makes GSAP read
   a mid-transition value (e.g. the WhatsApp FAB got stuck at scale 0).
   Hover effects use the independent scale/rotate/translate properties instead. */
.has-motion .fab a { transition: scale .3s var(--spring), rotate .3s var(--spring); }
.has-motion .fab a:hover { transform: none; scale: 1.12; rotate: -8deg; }
.has-motion .ba-caption button { transition: translate .25s var(--spring), background .2s, color .2s; }
.has-motion .ba-caption button:hover { transform: none; translate: 0 -3px; }
.has-motion .stepper button { transition: none; }
