/* AutoWay landing — tokens */
:root {
  --yellow: #FFC21A;
  --yellow-soft: #FFF8E1;
  --yellow-tint: #FFF3CC;
  --ink: #101828;
  --ink-2: #1B2638;
  --ink-3: #344054;
  --text-on-yellow: #3b2f05;
  --muted: #475467;
  --muted-on-dark: #D0D5DD;
  --line: #E4E7EC;
  --line-strong: #D0D5DD;
  --surface: #F4F6FA;
  --blue: #2563EB;
  --orange: #E8890C;
  --pink: #C2257A;
  --amber-text: #8a5a00;
  --display: Unbounded, "Arial Black", system-ui, sans-serif;
  --body: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1240px;
  --section: 112px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ol { margin: 0; }
ol { padding: 0; list-style: none; }
button { font-family: inherit; }
a { color: var(--ink); }
a:hover { color: var(--amber-text); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: 24px; }
.section { padding-block: var(--section); }
.display { font-family: var(--display); letter-spacing: -0.02em; font-weight: 800; }
.h2 { font-family: var(--display); letter-spacing: -0.02em; font-weight: 800; font-size: clamp(28px, 3.4vw, 46px); line-height: 1.12; text-wrap: balance; }
.lead { font-size: 18px; line-height: 1.6; color: var(--muted); max-width: 520px; }
.stack { display: flex; flex-direction: column; }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 64px; }

/* Buttons */
.btn { display: inline-block; text-decoration: none; font-weight: 700; font-size: 16px; padding: 16px 26px; border-radius: 14px; text-align: center; transition: transform .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(16, 24, 40, .22); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { color: #fff; }
.btn--yellow { background: var(--yellow); color: var(--ink); }
.btn--yellow:hover { color: var(--ink); }
.btn--sm { font-size: 15px; font-weight: 600; padding: 13px 22px; }
.btn--block { display: block; }

/* Licence-plate label */
.plate { display: inline-flex; align-self: flex-start; border: 2px solid var(--ink); border-radius: 9px; font-family: var(--display); font-size: 12px; font-weight: 700; letter-spacing: -0.02em; overflow: hidden; background: #fff; }
.plate span { padding: 6px 12px; }
.plate span:first-child { padding-inline: 10px; border-right: 2px solid var(--ink); }
.plate--num span:first-child { background: var(--yellow); }
.plate--dark { border-color: var(--yellow); color: var(--yellow); background: transparent; }
.plate--dark span:first-child { background: var(--yellow); color: var(--ink); border-right: 0; }
.plate--lg { font-size: 20px; border-width: 2.5px; border-radius: 10px; }
.plate--lg span { padding: 8px 14px; }
.plate--lg span:first-child { padding-inline: 12px; border-right-width: 2.5px; }

/* Phone frame */
.phone { border: 9px solid var(--ink); border-radius: 44px; background: var(--ink); overflow: hidden; box-shadow: 0 30px 60px rgba(16, 24, 40, .28); flex: none; }
.phone img { width: 100%; }
.phone--on-dark { border-color: var(--ink-3); background: var(--ink-3); }

/* Hero */
.hero { background: var(--yellow); position: relative; overflow: hidden; }
.hero__road { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.nav { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-block: 22px; }
.nav__logo { font-family: var(--display); font-weight: 800; font-size: 26px; letter-spacing: -0.02em; text-decoration: none; color: var(--ink); }
.nav__logo:hover { color: var(--ink); }
.nav__links { display: flex; gap: 32px; font-size: 15px; font-weight: 600; }
.nav__links a { text-decoration: none; color: var(--ink); }
.nav__links a:hover { text-decoration: underline; }
.hero__grid { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(460px, 100%), 1fr)); gap: 48px; align-items: end; padding-top: 40px; }
.hero__copy { gap: 26px; padding-bottom: 72px; }
.hero h1 { font-size: clamp(34px, 4.9vw, 68px); line-height: 1.06; text-wrap: balance; }
.hero__sub { font-size: 19px; line-height: 1.55; max-width: 520px; color: var(--text-on-yellow); }
.hero__phones { display: flex; justify-content: center; align-items: flex-end; height: 720px; }
.hero__phones .phone:first-child { width: 250px; transform: rotate(-6deg) translateY(70px); margin-right: -56px; }
.hero__phones .phone:last-child { width: 310px; transform: rotate(3deg) translateY(40px); position: relative; }

/* Route picker */
.picker { background: #fff; border-radius: 24px; padding: 18px; box-shadow: 0 24px 48px rgba(122, 80, 0, .22); gap: 14px; max-width: 540px; }
.picker__row { display: flex; align-items: center; gap: 12px; }
.picker__fields { flex: 1; min-width: 0; gap: 10px; }
.picker__field { display: flex; align-items: center; gap: 12px; background: var(--surface); border-radius: 14px; padding: 12px 14px; }
.picker__field small { display: block; font-size: 12px; color: var(--muted); }
.picker__field strong { display: block; font-size: 17px; }
.picker__swap { width: 48px; height: 48px; flex: none; border-radius: 50%; border: 1px solid var(--line-strong); background: #fff; cursor: pointer; display: grid; place-items: center; transition: transform .25s ease; }
.picker__swap.is-flipped { transform: rotate(180deg); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: 0 16px; border-radius: 12px; font-size: 14px; font-weight: 600; color: var(--ink); background: #fff; border: 1.5px solid var(--line-strong); cursor: pointer; }
.chip[aria-pressed="true"] { border-color: var(--ink); background: var(--yellow-tint); }

/* City strip */
.strip { background: var(--ink); color: #fff; }
.strip__inner { display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: space-between; padding-block: 20px; font-family: var(--display); font-size: 13px; font-weight: 500; letter-spacing: .04em; }
.strip__inner i { color: var(--yellow); font-style: normal; }

/* Passengers */
.split--center { align-items: center; }
.intro { gap: 18px; }
.steps li { display: flex; gap: 20px; padding: 22px 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps__n { font-family: var(--display); font-size: 15px; font-weight: 700; color: var(--amber-text); width: 32px; flex: none; padding-top: 3px; }
.steps h3 { font-size: 19px; margin-bottom: 6px; }
.steps p { font-size: 16px; line-height: 1.55; color: var(--muted); }
.showcase { background: var(--surface); border-radius: 40px; padding: 56px 24px 0; display: flex; justify-content: center; gap: 24px; overflow: hidden; height: 620px; }
.showcase .phone { width: 262px; align-self: flex-start; }
.showcase .phone + .phone { margin-top: 72px; }

/* Features */
.features { background: var(--yellow-soft); }
.features__inner { gap: 48px; }
.features .h2 { max-width: 820px; }
.bento { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 20px; }
.bento__col { gap: 20px; }
.card { background: #fff; border-radius: 28px; padding: 32px; gap: 20px; flex: 1; }
.card--between { justify-content: space-between; }
.card--dark { background: var(--ink); color: #fff; }
.card--dark p { color: var(--muted-on-dark); }
.card--yellow { background: var(--yellow); }
.card--yellow p { color: var(--text-on-yellow); }
.card h3 { font-size: 22px; margin-bottom: 8px; }
.card p { font-size: 16px; line-height: 1.55; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags span { border: 1px solid var(--line-strong); border-radius: 10px; padding: 8px 12px; font-size: 14px; font-weight: 500; }
.tags .tags__women { border-color: var(--pink); color: #9d1c61; font-weight: 600; }

/* Seat map */
.car { align-self: center; width: 250px; border: 2px solid var(--line-strong); border-radius: 56px 56px 40px 40px; padding: 44px 26px 26px; background: var(--surface); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.seat { height: 56px; border-radius: 14px; border: 0; padding: 0; display: grid; place-items: center; }
.seat--driver { background: var(--ink-3); }
.seat--male { background: var(--blue); }
.seat--female { background: var(--pink); }
.seat--gap { visibility: hidden; }
.seat--free { background: #fff; border: 2px dashed #98A2B3; cursor: pointer; }
.seat--free svg { opacity: 0; transform: scale(.6); transition: opacity .15s, transform .15s; }
.seat--free[aria-pressed="true"] { background: var(--yellow); border: 2px solid var(--ink); }
.seat--free[aria-pressed="true"] svg { opacity: 1; transform: none; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: center; font-size: 13px; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 10px; height: 10px; border-radius: 3px; }
.card p.seat-status { text-align: center; font-weight: 700; font-size: 15px; color: var(--ink); }

/* Drivers */
.drivers { background: var(--ink); color: #fff; }
.drivers .split { align-items: start; padding-top: var(--section); }
.drivers__copy { gap: 36px; padding-bottom: var(--section); }
.drivers .lead { color: var(--muted-on-dark); }
.dsteps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 16px; }
.dsteps li { background: var(--ink-2); border-radius: 22px; padding: 24px; }
.dsteps__k { font-family: var(--display); font-size: 13px; font-weight: 700; color: var(--yellow); margin-bottom: 14px; }
.dsteps h3 { font-size: 18px; margin-bottom: 6px; }
.dsteps p { font-size: 15px; line-height: 1.55; color: var(--muted-on-dark); }
.drivers__phones { display: flex; justify-content: center; gap: 24px; height: 700px; overflow: hidden; align-self: end; }
.drivers__phones .phone { width: 262px; align-self: flex-start; }
.drivers__phones .phone + .phone { margin-top: 96px; }

/* Routes */
.routes { gap: 48px; }
.routes .h2 { max-width: 820px; }
.routes .lead { max-width: 620px; }
.routes__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(270px, 100%), 1fr)); gap: 16px; }
.route { text-decoration: none; color: var(--ink); border: 1px solid var(--line-strong); border-radius: 20px; padding: 20px; display: flex; flex-direction: column; gap: 16px; background: #fff; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.route:hover { color: var(--ink); transform: translateY(-2px); border-color: var(--ink); box-shadow: 0 14px 28px rgba(16, 24, 40, .12); }
.route__codes { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-size: 14px; font-weight: 700; }
.route__codes b { border: 2px solid var(--ink); border-radius: 7px; padding: 4px 8px; }
.route__codes b:last-child { background: var(--yellow); }
.route__name { font-size: 18px; font-weight: 700; }

/* FAQ */
.faq { background: var(--surface); }
.faq__inner { max-width: 860px; gap: 40px; }
.faq__list { gap: 12px; }
.faq details { background: #fff; border-radius: 20px; padding: 0 24px; }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; font-size: 18px; font-weight: 700; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 26px; font-weight: 400; flex: none; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 24px; font-size: 16px; line-height: 1.6; color: var(--muted); }

/* CTA + footer */
.cta { background: var(--yellow); }
.cta__inner { align-items: center; gap: 28px; text-align: center; padding-block: 104px; }
.cta h2 { font-size: clamp(32px, 5vw, 68px); line-height: 1.06; max-width: 900px; text-wrap: balance; }
.cta p { font-size: 19px; line-height: 1.55; max-width: 520px; color: var(--text-on-yellow); }
.stores { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.store { background: var(--ink); color: #fff; text-decoration: none; padding: 14px 26px; border-radius: 16px; display: flex; align-items: center; gap: 12px; text-align: left; transition: transform .15s ease, box-shadow .15s ease; }
.store:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 28px rgba(16, 24, 40, .22); }
.store small { display: block; font-size: 12px; color: var(--muted-on-dark); }
.store strong { display: block; font-size: 17px; }
.footer { background: var(--ink); color: var(--muted-on-dark); }
.footer__inner { display: flex; flex-wrap: wrap; gap: 24px 48px; justify-content: space-between; align-items: center; padding-block: 48px; font-size: 15px; }
.footer__logo { font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: -0.02em; color: #fff; }
.footer__links { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.footer a { color: var(--yellow); }
.footer a:hover { color: #ffd96b; }

/* Reveal on scroll (only when JS is on and motion is allowed) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (max-width: 820px) {
  :root { --section: 72px; }
  .nav__links { display: none; }
  .strip__inner { justify-content: flex-start; gap: 8px 14px; }
  .hero__phones { height: 600px; }
  .hero__phones .phone:first-child, .showcase .phone + .phone, .drivers__phones .phone + .phone { display: none; }
  .hero__phones .phone:last-child { width: 280px; transform: translateY(30px); }
  .hero__copy { padding-bottom: 0; }
  .split { gap: 40px; }
  .showcase { height: 520px; padding-top: 40px; }
  .drivers__phones { height: 560px; }
  .drivers__copy { padding-bottom: 0; }
  .cta__inner { padding-block: 72px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
