/* ==========================================================
   Taxi Go — Landing page
   ========================================================== */

:root {
  --yellow: #FFC727;
  --yellow-deep: #F5B400;
  --ink: #111214;
  --ink-2: #1C1D21;
  --ink-3: #2A2C31;
  --text: #2B2D33;
  --muted: #6B6F78;
  --line: #E8E6E0;
  --bg: #FAF8F3;
  --white: #FFFFFF;
  --green: #22C55E;
  --red: #EF4444;

  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 20px 50px -20px rgba(17, 18, 20, .25);
  --font-head: "Unbounded", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

.container { width: min(1180px, 92%); margin: 0 auto; }

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }

.hl {
  background: linear-gradient(transparent 58%, var(--yellow) 58%, var(--yellow) 92%, transparent 92%);
  padding: 0 .1em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 15px 30px; border-radius: 999px;
  font-weight: 700; font-size: 1rem;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--sm { padding: 10px 20px; font-size: .9rem; }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: var(--ink-3); }
.btn--yellow { background: var(--yellow); color: var(--ink); box-shadow: 0 10px 30px -10px rgba(255, 199, 39, .7); }
.btn--yellow:hover { background: var(--yellow-deep); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 248, 243, .85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,.05);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }

.logo { display: flex; align-items: center; gap: 10px; }
.logo__mark {
  width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--ink); color: var(--yellow);
  font-family: var(--font-head); font-weight: 800; font-size: 1.2rem;
  position: relative; overflow: hidden;
}
.logo__mark::after {
  content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 6px;
  background: repeating-linear-gradient(90deg, var(--yellow) 0 6px, var(--ink) 6px 12px);
}
.logo__text { font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; color: var(--ink); }
.logo__text b { color: var(--yellow-deep); }
.logo--light .logo__mark { background: var(--yellow); color: var(--ink); }
.logo--light .logo__mark::after { background: repeating-linear-gradient(90deg, var(--ink) 0 6px, var(--yellow) 6px 12px); }
.logo--light .logo__text { color: var(--white); }
.logo--light .logo__text b { color: var(--yellow); }

.nav { display: flex; align-items: center; gap: 30px; font-weight: 600; font-size: .95rem; }
.nav a:not(.btn) { position: relative; }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -4px; width: 0; height: 2px;
  background: var(--yellow-deep); transition: width .25s;
}
.nav a:not(.btn):hover::after { width: 100%; }

.menu-toggle { display: none; }
.burger { display: none; cursor: pointer; width: 44px; height: 44px; border-radius: 12px; background: var(--ink); position: relative; }
.burger span, .burger span::before, .burger span::after {
  position: absolute; left: 50%; width: 20px; height: 2px; background: var(--white);
  transform: translateX(-50%); transition: .25s;
}
.burger span { top: 50%; }
.burger span::before, .burger span::after { content: ""; }
.burger span::before { top: -7px; }
.burger span::after { top: 7px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 70px 0 100px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; top: -200px; right: -200px;
  width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,199,39,.35), transparent 65%);
  z-index: -1;
}
.hero__road {
  position: absolute; left: 0; right: 0; bottom: 30px; height: 14px; z-index: -1;
  background: repeating-linear-gradient(90deg, var(--ink) 0 40px, transparent 40px 70px);
  opacity: .08;
}
.hero__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }

.badge {
  display: inline-block; padding: 8px 16px; margin-bottom: 22px;
  background: var(--white); border: 1px solid var(--line); border-radius: 999px;
  font-weight: 700; font-size: .88rem; color: var(--ink);
  box-shadow: 0 4px 14px -6px rgba(0,0,0,.12);
}
.hero__lead { font-size: 1.15rem; color: var(--muted); margin: 22px 0 34px; max-width: 560px; }

.hero__points { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 30px; font-weight: 700; color: var(--ink); font-size: .95rem; }

/* Store buttons */
.stores { display: flex; flex-wrap: wrap; gap: 14px; }
.store {
  position: relative;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 12px 22px 12px 18px; min-width: 190px;
  background: var(--ink); color: var(--white);
  border-radius: 14px; border: 1px solid var(--ink);
  transition: transform .2s, box-shadow .2s;
}
a.store:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.store__icon { width: 28px; height: 28px; flex-shrink: 0; }
.store span { display: flex; flex-direction: column; line-height: 1.15; font-weight: 700; font-size: 1.15rem; }
.store small { font-weight: 500; font-size: .72rem; opacity: .75; text-transform: uppercase; letter-spacing: .05em; }
.store--soon { background: transparent; color: var(--ink); border: 1.5px dashed #B9B5AA; cursor: default; }
.soon-tag {
  position: absolute; top: -10px; right: -8px;
  background: var(--yellow); color: var(--ink);
  font-style: normal; font-weight: 800; font-size: .68rem;
  padding: 3px 9px; border-radius: 999px; transform: rotate(4deg);
}

/* Phone mockup */
.hero__visual { position: relative; display: flex; justify-content: center; }
.phone {
  width: 300px; height: 610px; padding: 12px;
  background: var(--ink); border-radius: 46px;
  box-shadow: 0 40px 80px -30px rgba(17,18,20,.55), inset 0 0 0 2px #3a3c42;
  position: relative; transform: rotate(-3deg);
}
.phone__notch {
  position: absolute; top: 20px; left: 50%; transform: translateX(-50%);
  width: 90px; height: 24px; background: var(--ink); border-radius: 20px; z-index: 3;
}
.phone__screen { width: 100%; height: 100%; border-radius: 36px; overflow: hidden; position: relative; background: #EEF0E8; }

.map { position: absolute; inset: 0; background:
  linear-gradient(135deg, #E7EBDD 0 30%, #DFE6D4 30% 31%, #E7EBDD 31%);
}
.map__street { position: absolute; background: var(--white); }
.map__street--h1 { top: 22%; left: 0; right: 0; height: 14px; }
.map__street--h2 { top: 48%; left: 0; right: 0; height: 10px; transform: rotate(-8deg); }
.map__street--v1 { left: 28%; top: 0; bottom: 0; width: 12px; }
.map__street--v2 { left: 70%; top: 0; bottom: 0; width: 16px; transform: rotate(6deg); }
.map__route {
  position: absolute; top: 22%; left: 30%; width: 42%; height: 26%;
  border-top: 4px dashed var(--ink); border-right: 4px dashed var(--ink);
  border-top-right-radius: 24px;
}
.map__pin { position: absolute; width: 18px; height: 18px; border-radius: 50%; border: 4px solid var(--white); box-shadow: 0 4px 10px rgba(0,0,0,.25); }
.map__pin--a { top: calc(22% - 7px); left: calc(30% - 9px); background: var(--green); }
.map__pin--b { top: calc(48% - 9px); left: calc(72% - 7px); background: var(--red); }
.map__car { position: absolute; top: calc(22% - 18px); left: 45%; font-size: 26px; animation: drive 5s ease-in-out infinite alternate; }
@keyframes drive { from { left: 33%; } to { left: 62%; } }

.sheet {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: var(--white); border-radius: 26px 26px 0 0;
  padding: 12px 18px 20px;
  box-shadow: 0 -10px 30px rgba(0,0,0,.08);
}
.sheet__handle { width: 40px; height: 4px; border-radius: 4px; background: #DDD; margin: 0 auto 12px; }
.sheet__title { font-family: var(--font-head); font-weight: 700; font-size: 1rem; color: var(--ink); margin-bottom: 12px; }
.sheet__field {
  display: flex; align-items: center; gap: 10px;
  background: #F4F3EF; border-radius: 12px; padding: 10px 12px; margin-bottom: 8px;
  font-size: .85rem; font-weight: 600;
}
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.dot--green { background: var(--green); }
.dot--red { background: var(--red); }
.sheet__tariffs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 12px 0; }
.tariff { border: 1.5px solid var(--line); border-radius: 12px; padding: 8px 10px; font-size: .75rem; }
.tariff span { display: block; color: var(--muted); font-weight: 600; }
.tariff b { font-size: .95rem; color: var(--ink); }
.tariff b::after { content: " so'm"; font-size: .7rem; font-weight: 600; color: var(--muted); }
.tariff--active { border-color: var(--yellow-deep); background: #FFF8E0; }
.sheet__btn { background: var(--yellow); color: var(--ink); text-align: center; font-weight: 800; padding: 13px; border-radius: 14px; font-size: .95rem; }

.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px;
  background: var(--white); padding: 12px 18px 12px 12px; border-radius: 16px;
  box-shadow: var(--shadow); font-size: .9rem;
  animation: float 4s ease-in-out infinite;
}
.float-card b { display: block; color: var(--ink); }
.float-card small { color: var(--muted); }
.float-card__icon { width: 40px; height: 40px; border-radius: 12px; background: #FFF4D1; display: grid; place-items: center; font-size: 1.2rem; }
.float-card--1 { top: 80px; left: -10px; }
.float-card--2 { bottom: 120px; right: -20px; animation-delay: -2s; }
@keyframes float { 50% { transform: translateY(-12px); } }

/* ---------- Strip ---------- */
.strip { background: var(--yellow); overflow: hidden; padding: 18px 0; border-block: 3px solid var(--ink); }
.strip__track { display: flex; gap: 36px; width: max-content; animation: marquee 30s linear infinite; }
.strip span { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: var(--ink); white-space: nowrap; text-transform: uppercase; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 110px 0; }
.section__head { text-align: center; max-width: 680px; margin: 0 auto 60px; }
.section__head p { color: var(--muted); font-size: 1.1rem; margin-top: 16px; }
.eyebrow {
  display: inline-block; font-weight: 800; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--yellow-deep); margin-bottom: 14px;
}
.eyebrow--light { color: var(--yellow); }

/* Feature cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px; transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card__icon { width: 60px; height: 60px; border-radius: 16px; background: #FFF4D1; display: grid; place-items: center; font-size: 1.7rem; margin-bottom: 22px; }
.card p { color: var(--muted); margin: 12px 0 20px; }
.card li { position: relative; padding-left: 28px; margin-bottom: 10px; font-weight: 600; font-size: .95rem; }
.card li::before {
  content: "✓"; position: absolute; left: 0; top: 1px;
  width: 19px; height: 19px; border-radius: 50%; background: var(--ink); color: var(--yellow);
  font-size: .7rem; display: grid; place-items: center;
}
.card--accent { background: var(--ink); border-color: var(--ink); }
.card--accent h3, .card--accent li { color: var(--white); }
.card--accent p { color: #A9ACB4; }
.card--accent .card__icon { background: var(--yellow); }
.card--accent li::before { background: var(--yellow); color: var(--ink); }

/* Dark partners section */
.section--dark { background: var(--ink); color: #C9CBD1; position: relative; overflow: hidden; }
.section--dark::after {
  content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 30px;
  background: repeating-linear-gradient(180deg, var(--yellow) 0 30px, var(--ink) 30px 60px);
  opacity: .9;
}
.section--dark h2 { color: var(--white); }
.section--dark .hl { color: var(--yellow); background: none; padding: 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.split__text p { margin: 22px 0 34px; font-size: 1.08rem; }

.benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.benefit { background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: var(--radius); padding: 26px; transition: border-color .25s; }
.benefit:hover { border-color: var(--yellow); }
.benefit__num { font-family: var(--font-head); font-weight: 800; color: var(--yellow); font-size: 1.5rem; }
.benefit h4 { color: var(--white); margin: 12px 0 8px; }
.benefit p { font-size: .92rem; color: #9DA0A8; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 32px; left: 12%; right: 12%; height: 3px;
  background: repeating-linear-gradient(90deg, var(--ink) 0 14px, transparent 14px 26px);
  opacity: .2;
}
.step { text-align: center; position: relative; padding: 0 10px; }
.step__n {
  width: 66px; height: 66px; margin: 0 auto 22px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--yellow); color: var(--ink); border: 4px solid var(--bg);
  box-shadow: 0 0 0 2px var(--ink);
  font-family: var(--font-head); font-weight: 800; font-size: 1.4rem;
  position: relative;
}
.step p { color: var(--muted); margin-top: 8px; font-size: .95rem; }

/* CTA */
.cta { padding: 0 0 20px; }
.cta__inner {
  background: var(--yellow); border-radius: 32px; padding: 60px;
  display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap;
  position: relative; overflow: hidden;
}
.cta__inner::before {
  content: "🚕"; position: absolute; right: 30%; bottom: -30px; font-size: 140px; opacity: .12; transform: rotate(-10deg);
}
.cta h2 { max-width: 520px; }
.cta p { margin-top: 12px; font-weight: 600; color: #4A3A00; }
.cta .store--soon { border-color: var(--ink); }
.cta .soon-tag { background: var(--ink); color: var(--yellow); }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.contact__text p { color: var(--muted); font-size: 1.08rem; margin-top: 18px; }
.contact__cards { display: grid; gap: 14px; }
.contact-card {
  display: flex; align-items: center; gap: 18px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 24px; transition: transform .2s, border-color .2s;
}
a.contact-card:hover { transform: translateX(6px); border-color: var(--yellow-deep); }
.contact-card__icon { width: 50px; height: 50px; flex-shrink: 0; border-radius: 14px; background: #FFF4D1; display: grid; place-items: center; font-size: 1.3rem; }
.contact-card small { display: block; color: var(--muted); font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }
.contact-card b { color: var(--ink); font-size: 1.05rem; word-break: break-all; }

/* Footer */
.footer { background: var(--ink); color: #8D9098; padding: 34px 0; margin-top: 40px; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: .9rem; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero__inner, .split, .contact { grid-template-columns: 1fr; }
  .hero { padding-top: 40px; }
  .hero__content { text-align: center; }
  .hero__lead { margin-left: auto; margin-right: auto; }
  .hero .stores, .hero__points { justify-content: center; }
  .cards { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 44px; }
  .steps::before { display: none; }
  .cta__inner { padding: 44px 32px; text-align: center; justify-content: center; }
  .cta .stores { justify-content: center; }
  .section--dark::after { display: none; }
}

@media (max-width: 820px) {
  .burger { display: block; }
  .nav {
    position: absolute; top: 74px; left: 0; right: 0;
    flex-direction: column; gap: 0; align-items: stretch;
    background: var(--bg); border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden; transition: max-height .35s;
  }
  .nav a { padding: 16px 4%; border-top: 1px solid var(--line); }
  .nav .btn { margin: 14px 4%; border: none; }
  .menu-toggle:checked ~ .nav { max-height: 420px; }
  .menu-toggle:checked + .burger span { background: transparent; }
  .menu-toggle:checked + .burger span::before { top: 0; transform: translateX(-50%) rotate(45deg); }
  .menu-toggle:checked + .burger span::after { top: 0; transform: translateX(-50%) rotate(-45deg); }
}

@media (max-width: 560px) {
  .section { padding: 80px 0; }
  .benefits, .steps { grid-template-columns: 1fr; }
  .phone { width: 260px; height: 530px; }
  .float-card { font-size: .8rem; }
  .float-card--1 { left: -4px; top: 40px; }
  .float-card--2 { right: -4px; bottom: 90px; }
  .store { min-width: 0; flex: 1 1 160px; }
  .footer__inner { justify-content: center; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Language switcher ---------- */
.header__inner { gap: 20px; }
.nav { margin-left: auto; }
.lang {
  display: flex; padding: 4px; gap: 2px;
  background: var(--white); border: 1px solid var(--line); border-radius: 999px;
  font-weight: 800; font-size: .8rem;
}
.lang a { padding: 6px 11px; border-radius: 999px; color: var(--muted); transition: .2s; }
.lang a:hover { color: var(--ink); }
.lang a.is-active { background: var(--ink); color: var(--yellow); }
@media (max-width: 820px) {
  .lang { margin-left: auto; }
  .burger { order: 2; }
}
html[lang="ru"] .tariff b::after { content: " сум"; }
