@font-face { font-family: Outfit; src: url(/assets/Outfit-Regular.ttf); font-weight: 400; font-display: swap; }
@font-face { font-family: Outfit; src: url(/assets/Outfit-Bold.ttf); font-weight: 700 900; font-display: swap; }

/* TaxiMax: taxi yellow, asphalt, white, concrete, and road-sign blue for links. */
:root {
  color-scheme: light dark;
  --soft: #F2F3F5;
  --yellow: #FFC803;
  --asphalt: #24262B;
  --asphalt-2: #33363D;
  --white: #FFFFFF;
  --concrete: #ECEEF0;
  --sign-blue: #1D4E9E;
  --ink: var(--asphalt);
  --muted: #5B5F68;
  --bg: var(--white);
  --band-grey: var(--concrete);
  --line: #D9DCE0;
  --focus: #1D4E9E;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 18px/1.55 Outfit, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: var(--sign-blue); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.small { font-size: 15px; color: var(--muted); }
[hidden] { display: none !important; }

/* language switching */
[data-lang] { display: none; }
html[lang="mk"] [data-lang="mk"], html[lang="sq"] [data-lang="sq"], html[lang="en"] [data-lang="en"] { display: revert; }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: var(--bg); border-bottom: 1px solid var(--line); }
.home .top { background: var(--yellow); border-bottom-color: rgba(36, 38, 43, .12); color: var(--asphalt); }
.top-row { display: flex; align-items: center; gap: 14px; min-height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 21px; letter-spacing: -.3px; text-decoration: none; color: inherit; }
.logo img { border-radius: 9px; }
.langs { margin-left: auto; display: flex; gap: 2px; }
.langs button { border: 0; background: none; color: inherit; font: inherit; font-size: 15px; font-weight: 600; padding: 6px 9px; border-radius: 8px; cursor: pointer; opacity: .6; }
.langs button[aria-pressed="true"] { opacity: 1; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border-radius: 14px; font-weight: 800; font-size: 18px; text-decoration: none; white-space: nowrap; }
.btn-top { min-height: 40px; padding: 0 16px; font-size: 16px; border-radius: 11px; background: var(--asphalt); color: var(--yellow); }
.docpage .btn-top { background: var(--yellow); color: var(--asphalt); }
.btn-dark { background: var(--asphalt); color: var(--white); }
.btn-yellow { background: var(--yellow); color: var(--asphalt); }

/* hero: the price sign is the memorable piece */
.hero { background: var(--yellow); color: var(--asphalt); padding: 56px 0 72px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(38px, 5.6vw, 66px); line-height: 1.02; letter-spacing: -1.5px; font-weight: 900; margin: 0 0 22px; text-wrap: balance; }
.lead { font-size: 21px; max-width: 30em; margin: 0 0 30px; }
.cta-row { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.textlink { color: var(--asphalt); font-weight: 700; text-underline-offset: 5px; }

.sign { margin: 0; background: var(--asphalt); color: var(--white); border-radius: 22px; padding: 26px 28px 20px;
  box-shadow: inset 0 0 0 4px var(--asphalt), inset 0 0 0 7px rgba(255, 255, 255, .9); }
.sign figcaption { font-size: 15px; font-weight: 600; color: rgba(255, 255, 255, .72); margin: 4px 4px 10px; }
.sign ol { list-style: none; margin: 0; padding: 0; }
.sign li { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 13px 4px; border-top: 1px solid rgba(255, 255, 255, .14); }
.sign li:first-child { border-top: 0; }
.chev { width: 36px; height: 32px; fill: none; stroke: var(--yellow); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.dest { font-size: 21px; font-weight: 700; line-height: 1.2; }
.price { font-size: 28px; font-weight: 900; font-variant-numeric: tabular-nums; letter-spacing: -.5px; white-space: nowrap; }
.price small { font-size: 15px; font-weight: 600; color: rgba(255, 255, 255, .7); letter-spacing: 0; }
.sign-note { margin: 10px 4px 2px; font-size: 15px; color: rgba(255, 255, 255, .72); }

/* the sign drives in once on load */
@media (prefers-reduced-motion: no-preference) {
  .sign li { animation: arrive .5s cubic-bezier(.2, .7, .2, 1) both; }
  .sign li:nth-child(2) { animation-delay: .07s; } .sign li:nth-child(3) { animation-delay: .14s; }
  .sign li:nth-child(4) { animation-delay: .21s; } .sign li:nth-child(5) { animation-delay: .28s; }
  @keyframes arrive { from { opacity: 0; transform: translateX(-18px); } to { opacity: 1; transform: none; } }
}

/* bands */
.band { padding: 72px 0; }
.band-grey { background: var(--band-grey); }
.band h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; letter-spacing: -.8px; font-weight: 800; margin: 0 0 28px; text-wrap: balance; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: start; }
.split h2 { margin: 0; }

/* three steps: a real sequence, so they're numbered */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; counter-reset: step; }
.steps li { counter-increment: step; border-top: 4px solid var(--yellow); padding-top: 18px; }
.steps li::before { content: counter(step); display: block; font-size: 44px; font-weight: 900; line-height: 1; margin-bottom: 12px; }
.steps h3 { font-size: 22px; margin: 0 0 8px; line-height: 1.2; }
.steps p { margin: 0; color: var(--muted); max-width: 30em; }

.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.checks li { position: relative; padding-left: 40px; font-size: 20px; line-height: 1.4; max-width: 34em; }
.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 24px; height: 24px; border-radius: 7px; background: var(--yellow)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%2324262B' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat; }

.prose p { margin: 0 0 16px; font-size: 20px; max-width: 34em; }
.prose p:last-child { margin-bottom: 0; color: var(--muted); font-size: 18px; }

.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; font-weight: 700; font-size: 19px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 13px; font-size: 28px; font-weight: 400; color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 20px; color: var(--muted); max-width: 36em; }

.band-dark { background: var(--asphalt); color: var(--white); }
.drive { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.drive h2 { margin-bottom: 10px; }
.drive p { margin: 0; color: rgba(255, 255, 255, .78); max-width: 34em; }

.final { padding: 56px 0; }
.final-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; border: 3px solid var(--ink); border-radius: 22px; padding: 26px 30px; }
.final-text { margin: 0; font-size: clamp(30px, 4vw, 44px); font-weight: 900; letter-spacing: -1px; }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 36px 0 44px; }
.foot-row { display: grid; gap: 16px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 16px; }
.foot nav a { color: var(--ink); text-underline-offset: 4px; }
.foot .small { margin: 0; }

/* documents (privacy, terms, account deletion, follow-the-ride) */
.doc { max-width: 760px; padding: 8px 0 24px; }
.doc h1 { font-size: 36px; line-height: 1.15; letter-spacing: -.6px; margin: 28px 0 4px; }
.doc h2 { font-size: 21px; margin: 32px 0 6px; }
.doc .meta { color: var(--muted); font-size: 15px; margin-bottom: 20px; }
.doc li { margin: 4px 0; }
.note { background: var(--band-grey); border-left: 4px solid var(--yellow); padding: 12px 16px; border-radius: 8px; font-size: 16px; }

@media (max-width: 860px) {
  body { font-size: 17px; }
  .hero { padding: 32px 0 44px; }
  .hero-grid, .split { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .lead { font-size: 19px; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .band { padding: 52px 0; }
  .split h2 { margin-bottom: 4px; }
  .sign { padding: 20px 18px 16px; }
  .sign li { grid-template-columns: 34px minmax(0, 1fr) auto; gap: 10px; padding: 12px 2px; }
  .chev { width: 28px; height: 26px; }
  .dest { font-size: 18px; }
  .price { font-size: 23px; }
  .checks li, .prose p { font-size: 18px; }
  .final-row { padding: 22px; }
}
@media (max-width: 420px) {
  .btn-top { display: none; }
  .langs { margin-left: auto; }
}

/* the three problems TaxiMax solves: parallel, not a sequence, so no numbers */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.points-band { padding: 64px 0 56px; }
.points { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px; }
.points h3 { font-size: clamp(24px, 2.4vw, 30px); line-height: 1.12; letter-spacing: -.5px; font-weight: 800; margin: 0 0 12px; text-wrap: balance; }
.points h3::before { content: ""; display: block; width: 44px; height: 32px; margin-bottom: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 40'%3E%3Cg fill='none' stroke='%23FFC803' stroke-width='6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6 L18 20 L4 34' opacity='.45'/%3E%3Cpath d='M22 6 L36 20 L22 34'/%3E%3C/g%3E%3C/svg%3E") left center/contain no-repeat; }
.points p { margin: 0; color: var(--muted); font-size: 18px; max-width: 30em; }
@media (max-width: 860px) { .points { grid-template-columns: minmax(0, 1fr); gap: 32px; } .points-band { padding: 44px 0 40px; } }

/* hero: an example ride card (no prices on the website) */
.ride { margin: 0; background: var(--asphalt); color: var(--white); border-radius: 26px; padding: 24px; display: grid; gap: 18px;
  box-shadow: 0 30px 60px -30px rgba(36, 38, 43, .55); max-width: 460px; justify-self: end; width: 100%; }
.ride-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; }
.ride-status { margin: 0; font-size: 22px; font-weight: 800; line-height: 1.15; }
.ride-eta { margin: 0; background: var(--yellow); color: var(--asphalt); border-radius: 16px; width: 70px; height: 70px; display: grid; place-content: center; text-align: center; font-size: 13px; font-weight: 700; line-height: 1; }
.ride-eta b { font-size: 28px; font-weight: 900; display: block; }
.ride-driver { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; background: var(--asphalt-2); border-radius: 16px; padding: 12px 14px; }
.ride-avatar { width: 44px; height: 44px; border-radius: 22px; background: rgba(255, 200, 3, .18); color: var(--yellow); display: grid; place-items: center; font-weight: 800; }
.ride-who { display: grid; line-height: 1.25; }
.ride-who span { color: rgba(255, 255, 255, .7); font-size: 15px; }
.plate { border: 2px solid var(--white); border-radius: 8px; padding: 3px 8px; font-weight: 800; letter-spacing: .5px; white-space: nowrap; font-size: 15px; }
.ride-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ride-facts li { position: relative; padding-left: 32px; font-size: 17px; }
.ride-facts li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 6px; background: var(--yellow)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%2324262B' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.ride figcaption { font-size: 13px; color: rgba(255, 255, 255, .5); }
@media (prefers-reduced-motion: no-preference) {
  .ride-eta { animation: pop .6s .2s cubic-bezier(.2, .8, .2, 1.2) both; }
  @keyframes pop { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
}
@media (max-width: 860px) { .ride { justify-self: stretch; max-width: none; padding: 18px; } .ride-status { font-size: 19px; } }

/* ---- lively pass: always light, Tetovo scene, coloured bands ---- */
:root { --sky: #E4F1FF; --mint: #E3F5EA; --cream: #FFF6D6; }
.hero { padding-bottom: 0; overflow: hidden; }
.hero-grid { padding-bottom: 8px; }
.scene { margin-top: 8px; line-height: 0; }
.scene svg { display: block; width: 100%; height: clamp(150px, 20vw, 260px); }
@media (prefers-reduced-motion: no-preference) {
  .taxi-drive { animation: drive 2.4s .3s cubic-bezier(.25, .8, .25, 1) both; }
  @keyframes drive { from { transform: translateX(-640px); } to { transform: none; } }
}
.band-sky { background: var(--sky); }
.band-cream { background: var(--cream); }
.band-mint { background: var(--mint); color: var(--asphalt); }
.band-mint p { color: var(--muted); }
.band-yellow { background: var(--yellow); }
.band-yellow .final-row { border-color: var(--asphalt); }

.points { gap: 24px; }
.pt { border-radius: 24px; padding: 28px 26px 30px; }
.pt-0 { background: var(--cream); }
.pt-1 { background: var(--sky); }
.pt-2 { background: var(--mint); }
.pt h3::before { display: none; }
.pt-icon { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 20px; background: #fff; margin-bottom: 18px; box-shadow: 0 6px 16px -10px rgba(36,38,43,.35); }
.pt-icon svg { width: 46px; height: 46px; }
.steps li { border-top-width: 6px; border-radius: 3px; }
.steps li::before { color: var(--asphalt); background: var(--yellow); width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 28px; margin-bottom: 14px; }
.checks li { font-size: 19px; }
.faq details { background: #fff; border: 0 !important; border-radius: 16px; padding: 0 18px; margin-bottom: 10px; box-shadow: 0 1px 0 var(--line); }
.faq summary { padding-right: 36px; }
.foot { background: #fff; }
@media (max-width: 860px) {
  .scene svg { height: 150px; }
  .pt { padding: 22px 20px 24px; }
}
.ride-avatar svg { width: 30px; height: 18px; }

/* a taxi drives down the right edge as you scroll (home page) */
.scroll-road { position: fixed; z-index: 15; right: 14px; top: 84px; bottom: 18px; width: 30px; border-radius: 15px; background: rgba(36, 38, 43, .9); pointer-events: none; }
.scroll-road::before { content: ""; position: absolute; left: 50%; top: 10px; bottom: 10px; transform: translateX(-50%); border-left: 2px dashed rgba(255, 255, 255, .8); }
.scroll-car { position: absolute; left: 50%; top: 0; width: 22px; height: 40px; transform: translate(-50%, 0); filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .35)); will-change: transform; }
.scroll-road.arrived::after { content: ""; position: absolute; left: 50%; bottom: -2px; width: 12px; height: 12px; border-radius: 50%; transform: translateX(-50%); background: #FFC803; border: 2px solid #24262B; }
@media (max-width: 1240px) { .home .wrap { padding-right: 56px; } }
@media (max-width: 860px) {
  /* clear of the phone's own scroll indicator on the far right */
  .scroll-road { right: 16px; width: 28px; top: 78px; border-radius: 14px; }
  .scroll-road::before { border-left-width: 2px; }
  .scroll-car { width: 22px; height: 40px; }
  .home .wrap { padding-left: 18px; padding-right: 56px; }
}

/* ---- big screens: use the width, and show the whole Tetovo scene ---- */
@media (min-width: 861px) {
  /* the drawing keeps its proportions, so nothing is cropped at the top */
  .scene svg { height: auto; aspect-ratio: 1440 / 300; }
}
@media (min-width: 1400px) {
  .wrap { max-width: 1320px; padding-left: 40px; padding-right: 72px; }
  body { font-size: 19px; }
  .hero { padding-top: 72px; }
  .hero-grid { gap: 80px; }
  .hero h1 { font-size: clamp(60px, 4.6vw, 92px); }
  .lead { font-size: 23px; }
  .btn { min-height: 58px; font-size: 19px; padding: 0 30px; }
  .ride { max-width: 520px; padding: 28px; gap: 20px; }
  .ride-status { font-size: 25px; }
  .ride-facts li { font-size: 19px; }
  .band { padding: 96px 0; }
  .band h2 { font-size: clamp(40px, 2.8vw, 52px); }
  .points { gap: 32px; }
  .pt { padding: 36px 34px 38px; }
  .pt h3 { font-size: 32px; }
  .pt p, .steps p { font-size: 19px; }
  .pt-icon { width: 84px; height: 84px; }
  .pt-icon svg { width: 54px; height: 54px; }
  .steps h3 { font-size: 25px; }
  .checks li, .prose p { font-size: 21px; }
}
@media (min-width: 1800px) {
  .wrap { max-width: 1560px; }
  .hero h1 { font-size: 100px; }
  .ride { max-width: 580px; }
}

/* ===== extras ===== */

/* 1. time of day in the Tetovo scene */
.scene[data-time="evening"] .sky { fill: url(#sky-evening); }
.scene[data-time="evening"] .sun-low { display: inline; }
.scene[data-time="evening"] .m-back { fill: #E58A2E; }
.scene[data-time="evening"] .m-front { fill: #C9662A; }
.scene[data-time="evening"] .m-snow { fill: #FFE3C4; }
.scene[data-time="night"] .sky { fill: url(#sky-night); }
.scene[data-time="night"] .night-sky { display: inline; }
.scene[data-time="night"] .m-back { fill: #3B4675; }
.scene[data-time="night"] .m-front { fill: #2B3560; }
.scene[data-time="night"] .m-snow { fill: #D9E1F7; }
.scene[data-time="night"] .tree { fill: #2E6B50; }
.scene[data-time="night"] .trunk { fill: #1F4D38; }
.scene[data-time="night"] .bld { fill: #E4E7F1; }
.scene[data-time="night"] .win { fill: #FFD84D; }
.scene[data-time="night"] .beam { display: inline; }
.scene[data-time="night"] .headlight { fill: #FFF27A; }
@media (prefers-reduced-motion: no-preference) {
  .scene[data-time="night"] .night-sky circle { animation: twinkle 3s ease-in-out infinite alternate; }
  .scene[data-time="night"] .night-sky circle:nth-child(3n) { animation-delay: 1.2s; }
  .scene[data-time="night"] .night-sky circle:nth-child(3n+1) { animation-delay: 2.1s; }
  @keyframes twinkle { from { opacity: 1; } to { opacity: .35; } }
}

/* 6. holidays */
.scene[data-season="winter"] .deco-winter, .scene[data-season="bajram"] .deco-bajram, .scene[data-season="easter"] .deco-easter { display: inline; }
.greeting { display: inline-block; margin: 0 0 18px; padding: 8px 16px; border-radius: 99px; background: var(--asphalt); color: var(--yellow); font-weight: 700; font-size: 17px; }
.snow { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 1; }
.hero { position: relative; }
.snow i { position: absolute; top: -10px; border-radius: 50%; background: #fff; box-shadow: 0 0 2px rgba(0,0,0,.15); animation: fall linear infinite; }
@keyframes fall { to { transform: translate(30px, 110vh); } }

/* 4. tap the taxi */
.scene .taxi-tap { cursor: pointer; outline: none; -webkit-tap-highlight-color: transparent; }
.scene .taxi-tap .hit { pointer-events: all; }
.scene .taxi-tap:focus-visible { outline: 3px solid var(--sign-blue); }
.scene .taxi-tap .beep { transform-box: fill-box; transform-origin: 20% 100%; }
.scene .taxi-tap.loop { animation: zoom 1.6s cubic-bezier(.45, 0, .2, 1); }
.scene .taxi-tap.loop .beep { animation: beep 1.6s ease-out; }
@keyframes zoom { 0% { transform: none; } 50% { transform: translateX(520px); } 100% { transform: none; } }
@keyframes beep { 0% { opacity: 0; transform: scale(.3); } 10% { opacity: 1; transform: scale(1.15); } 18% { transform: scale(1); } 40% { opacity: 1; } 55%, 100% { opacity: 0; } }

/* 3. arrival at the bottom of the page */
.arrive-bubble { position: absolute; right: calc(100% + 10px); bottom: -4px; background: var(--asphalt); color: var(--yellow); font-weight: 800; font-size: 15px; padding: 6px 12px; border-radius: 12px; white-space: nowrap; opacity: 0; transform: translateX(8px); transition: opacity .3s, transform .3s; }
.arrive-bubble::after { content: ""; position: absolute; right: -6px; bottom: 12px; border: 6px solid transparent; border-right: 0; border-left-color: var(--asphalt); }
.scroll-road.arrived .arrive-bubble { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
  .scroll-road.arrived .roof { animation: blink .5s steps(1) 6; }
  @keyframes blink { 50% { fill: #FFC803; } }
}

/* 7. the three blocks come alive (on scroll, and again when tapped) */
.anim .pt { cursor: pointer; -webkit-tap-highlight-color: transparent; }
.pt-icon svg { overflow: visible; }
.anim .pt .pt-icon { transform: scale(.55); opacity: 0; }
.pt.in .pt-icon { animation: pop .7s cubic-bezier(.3, 1.6, .5, 1) forwards; }
@keyframes pop { 0% { transform: scale(.55); opacity: 0; } 60% { opacity: 1; } 100% { transform: none; opacity: 1; } }
/* phone: it buzzes and the ring pulses */
.pt.in .phone { transform-box: fill-box; transform-origin: 50% 50%; animation: buzz .5s .55s ease-in-out 2; }
@keyframes buzz { 0%, 100% { transform: none; } 20% { transform: rotate(-10deg); } 40% { transform: rotate(9deg); } 60% { transform: rotate(-7deg); } 80% { transform: rotate(5deg); } }
.pt .ring { opacity: 0; transform-box: fill-box; transform-origin: 50% 50%; }
.pt.in .ring { animation: ring 1.1s .55s ease-out 3; }
@keyframes ring { 0% { transform: scale(.4); opacity: 1; } 100% { transform: scale(2); opacity: 0; } }
/* map: the route draws itself and the car drives along it */
.pt .route { stroke-dasharray: 4 5; }
.pt .map-car { offset-path: path("M14 44 C22 30 30 40 36 30 S46 20 50 18"); offset-rotate: 0deg; offset-distance: 0%; }
.pt.in .map-car { animation: along 1.8s .6s ease-in-out forwards; }
@keyframes along { to { offset-distance: 100%; } }
.pt.in .pin { transform-box: fill-box; transform-origin: 50% 100%; animation: bounce .6s 2.3s ease-out; }
@keyframes bounce { 0%, 100% { transform: none; } 40% { transform: translateY(-6px) scale(1.15); } }
/* price tag: it swings and the tick is drawn */
.pt .tag { transform-box: view-box; transform-origin: 20px 20px; }
.pt.in .tag { animation: swing 1.2s .5s ease-out; }
@keyframes swing { 0%, 100% { transform: none; } 20% { transform: rotate(14deg); } 45% { transform: rotate(-9deg); } 70% { transform: rotate(4deg); } }
.pt .check { stroke-dasharray: 1; stroke-dashoffset: 1; }
.pt.in .check { animation: draw .6s 1.1s ease-out forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
  .pt.in .pt-icon { animation-duration: .01s; }
  .pt.in .phone, .pt.in .ring, .pt.in .tag, .pt.in .pin { animation: none; }
  .pt.in .map-car { animation-duration: .01s; animation-delay: 0s; }
  .pt.in .check { animation-delay: 0s; animation-duration: .01s; }
}

/* 2. price checker */
.price-form { display: flex; gap: 10px; }
.price-form input { flex: 1; min-width: 0; min-height: 56px; border: 2px solid var(--line); border-radius: 14px; padding: 0 16px; font: inherit; font-size: 18px; background: #fff; color: var(--ink); }
.price-form input:focus { outline: none; border-color: var(--asphalt); }
.price-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.price-chip { border: 0; background: #fff; border-radius: 99px; padding: 9px 15px; font: inherit; font-size: 16px; font-weight: 600; cursor: pointer; color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.price-chip:hover { background: var(--yellow); }
.price-result { margin: 18px 0 0; padding: 16px 20px; border-radius: 16px; background: #fff; display: grid; gap: 2px; }
.price-result b { font-size: 24px; letter-spacing: -.3px; }
.price-result span { color: var(--muted); font-size: 16px; }
@media (max-width: 860px) { .price-form { flex-direction: column; } }

/* ---- dark mode: our own dark theme, so phone browsers don't "auto-darken" the page into brown.
   The yellow parts (header, hero with Tetovo, the final band) stay bright taxi yellow. ---- */
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #131417; --ink: #F1F2F4; --muted: #A8ADB7; --line: #2C2F36; --soft: #1D1F24;
    --band-grey: #1A1C20; --sky: #15233A; --mint: #13281F; --cream: #1F2127;
    --sign-blue: #8DB6FF; --focus: #8DB6FF;
  }
  body { background: var(--bg); color: var(--ink); }
  .hero, .home .top, .band-yellow { color: var(--asphalt); }
  .band-yellow { --ink: var(--asphalt); }
  .hero a:not(.btn), .band-yellow a:not(.btn) { color: var(--asphalt); }
  .band-mint { color: var(--ink); }
  .band:not(.band-yellow) .btn-dark { background: var(--yellow); color: var(--asphalt); }
  .steps li::before { color: var(--asphalt); }
  .pt-icon { box-shadow: 0 6px 16px -10px rgba(0, 0, 0, .8); }
  .faq details { background: #1D1F24; box-shadow: none; }
  .foot { background: #0E0F11; }
  .price-chip { background: #24262B; color: var(--ink); box-shadow: none; }
  .price-chip:hover { background: var(--yellow); color: var(--asphalt); }
  .price-form input { background: #1D1F24; color: var(--ink); border-color: #3A3D45; }
  .price-form input:focus { border-color: var(--yellow); }
  .price-result { background: #1D1F24; }
  .scroll-road { background: rgba(36, 38, 43, .95); box-shadow: 0 0 0 1px rgba(255, 255, 255, .18); }
  .docpage .top { background: #131417; }
  .plate { border-color: currentColor; }
}
