/* Taxi 1066 — цвета как в приложении: жёлтый, почти чёрный, серый, белый */
:root {
  --yellow: #FAE000;
  --yellow-soft: #FFF6BF;
  --ink: #21201E;
  --ink-2: #191917;
  --ink-3: #302F2D;
  --gray: #898886;
  --gray-light: #B2B1AD;
  --bg: #F5F4F2;
  --white: #FFFFFF;
  --line: #E6E5E2;
  --radius: 16px;
  --wrap: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body {
  font-family: Montserrat, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 100; background: var(--yellow); padding: 8px 14px; border-radius: 10px; }

/* шапка */
.top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(33, 32, 30, .94);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.top .wrap { display: flex; align-items: center; height: 64px; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--white); font-weight: 800; font-size: 18px; letter-spacing: .02em; }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.nav { display: flex; gap: 22px; }
.nav a { color: rgba(255, 255, 255, .78); font-size: 14px; font-weight: 600; transition: color .15s; }
.nav a:hover { color: var(--white); }
.top-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.langs { display: flex; background: rgba(255, 255, 255, .08); border-radius: 999px; padding: 3px; }
.langs button {
  border: 0; background: transparent; color: rgba(255, 255, 255, .7);
  font: 700 12px/1 Montserrat, sans-serif; padding: 8px 11px; border-radius: 999px; cursor: pointer;
}
.langs button[aria-pressed="true"] { background: var(--white); color: var(--ink); }

/* кнопки */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 52px; padding: 0 26px; border-radius: 14px;
  font-weight: 700; font-size: 15px; transition: transform .15s, background .15s, border-color .15s;
}
.btn:active { transform: scale(.98); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-yellow:hover { background: #FFE81F; }
.btn-line { border: 1.5px solid rgba(255, 255, 255, .28); color: var(--white); }
.btn-line:hover { border-color: rgba(255, 255, 255, .6); }
.btn-small { height: 40px; padding: 0 16px; border-radius: 12px; font-size: 14px; }

/* первый экран */
.hero { background: var(--ink); color: var(--white); position: relative; overflow: hidden; }
.hero-roads { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding-top: 72px; padding-bottom: 80px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1);
  font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, .85);
}
.chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 4px rgba(250, 224, 0, .18); }
.hero h1 { font-size: clamp(36px, 5.4vw, 62px); line-height: 1.08; font-weight: 800; letter-spacing: -.02em; margin: 22px 0 20px; }
.hero h1 b { color: var(--yellow); font-weight: 800; }
.hero p.lead { font-size: 17px; color: rgba(255, 255, 255, .72); max-width: 500px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.stores { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.store {
  display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 16px 0 13px;
  border-radius: 12px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); color: var(--white);
}
.store svg { width: 22px; height: 22px; flex: none; }
.store small { display: block; font-size: 10px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .6); line-height: 1.2; }
.store span { display: block; font-size: 14px; font-weight: 700; line-height: 1.2; }
a.store:hover { border-color: rgba(255, 255, 255, .4); }
.store.soon { opacity: .55; }

.phones { position: relative; height: 560px; width: 100%; max-width: 470px; margin-left: auto; }
.phones img { position: absolute; width: 260px; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .45)); }
.phones .p1 { left: 8px; top: 0; transform: rotate(-4deg); z-index: 2; }
.phones .p2 { right: 8px; top: 44px; transform: rotate(5deg); }
.float {
  position: absolute; z-index: 3; background: var(--white); color: var(--ink);
  border-radius: 14px; padding: 10px 14px; box-shadow: 0 14px 30px rgba(0, 0, 0, .3);
}
.float b { display: block; font-size: 22px; font-weight: 800; line-height: 1.1; }
.float small { font-size: 12px; color: var(--gray); font-weight: 600; }
.float.f1 { left: -12px; top: 70px; }
.float.f2 { right: -4px; bottom: 70px; }

/* полоса фактов */
.facts { background: var(--ink-2); color: var(--white); }
.facts .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-top: 26px; padding-bottom: 26px; }
.fact { border-left: 3px solid var(--yellow); padding-left: 16px; }
.fact b { display: block; font-size: 22px; font-weight: 800; line-height: 1.2; }
.fact span { font-size: 13px; color: rgba(255, 255, 255, .6); }

/* разделы */
section.block { padding: 96px 0; }
section.gray { background: var(--bg); }
.eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #8A7B00; }
.dark .eyebrow { color: var(--yellow); }
h2 { font-size: clamp(28px, 3.6vw, 42px); line-height: 1.15; font-weight: 800; letter-spacing: -.015em; margin: 10px 0 0; max-width: 680px; }
.sub { color: var(--gray); font-size: 16px; margin-top: 14px; max-width: 620px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  transition: border-color .2s, box-shadow .2s;
}
.card:hover { border-color: #D6D4CF; box-shadow: 0 10px 30px rgba(33, 32, 30, .06); }
.icon {
  width: 46px; height: 46px; border-radius: 13px; background: var(--yellow-soft);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.icon svg { width: 22px; height: 22px; }
.card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.card p { font-size: 14px; color: var(--gray); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; counter-reset: step; }
.step { background: var(--white); border-radius: var(--radius); padding: 28px 26px; }
.step::before {
  counter-increment: step; content: counter(step);
  display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%; background: var(--yellow); color: var(--ink);
  font-weight: 800; font-size: 17px; margin-bottom: 18px;
}
.step h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--gray); }

/* приложение */
.app { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.checks { list-style: none; margin-top: 26px; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; font-size: 15px; font-weight: 600; }
.checks li::before {
  content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; margin-top: 1px;
  background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2321201E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/13px no-repeat;
}
.app .stores .store { background: var(--ink); border-color: var(--ink); }
.app-visual {
  background: var(--yellow); border-radius: 28px; height: 520px; position: relative; overflow: hidden;
  display: flex; align-items: flex-end; justify-content: center; gap: 18px; padding-top: 48px;
}
.app-visual img { width: 270px; margin-bottom: -90px; filter: drop-shadow(0 20px 30px rgba(33, 32, 30, .25)); }

/* водителям */
.dark { background: var(--ink); color: var(--white); }
.drivers { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.dark .sub { color: rgba(255, 255, 255, .65); }
.mini { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mini div { background: var(--ink-3); border-radius: var(--radius); padding: 22px; }
.mini h3 { font-size: 15px; font-weight: 700; color: var(--yellow); margin-bottom: 6px; }
.mini p { font-size: 13px; color: rgba(255, 255, 255, .65); }

/* вопросы */
.faq { max-width: 760px; margin: 44px auto 0; display: grid; gap: 10px; }
.faq details { background: var(--bg); border-radius: 14px; }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 54px 18px 22px; font-weight: 700; font-size: 15px; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 9px; height: 9px; margin-top: -7px;
  border-right: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding: 0 22px 20px; color: var(--gray); font-size: 14px; }
.faq details p a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.center { text-align: center; }
.center h2, .center .sub { margin-left: auto; margin-right: auto; }

/* контакты */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.call-card {
  grid-row: span 2; background: var(--ink); color: var(--white); border-radius: 20px; padding: 28px;
  display: flex; flex-direction: column; justify-content: flex-end; min-height: 240px;
}
.call-card small, .info small { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--gray-light); }
.info small { color: var(--gray); }
.call-card b { font-size: 64px; line-height: 1; font-weight: 800; color: var(--yellow); margin: 10px 0 8px; }
.call-card span { font-size: 13px; color: rgba(255, 255, 255, .65); }
.info { background: var(--white); border-radius: 20px; padding: 22px; border: 1px solid var(--line); }
.info b { display: block; font-size: 18px; font-weight: 700; margin: 6px 0 2px; word-break: break-word; }
.info span { font-size: 13px; color: var(--gray); }

/* подвал */
.foot { background: var(--ink-2); color: rgba(255, 255, 255, .7); font-size: 13px; }
.foot .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; padding-top: 28px; padding-bottom: 28px; }
.foot .brand { font-size: 16px; }
.foot .brand img { width: 30px; height: 30px; border-radius: 8px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot nav a:hover { color: var(--white); }
.foot .copy { margin-left: auto; color: rgba(255, 255, 255, .45); }

/* простая страница (удаление аккаунта) */
.page { padding: 64px 0 96px; background: var(--bg); min-height: 70vh; }
.page .wrap { max-width: 780px; }
.page h1 { font-size: clamp(30px, 4vw, 40px); font-weight: 800; line-height: 1.15; letter-spacing: -.015em; margin: 10px 0 14px; }
.panel { background: var(--white); border-radius: 20px; padding: 28px; margin-top: 22px; border: 1px solid var(--line); }
.panel h2 { font-size: 20px; margin: 0 0 14px; }
.panel ol, .panel ul { padding-left: 22px; display: grid; gap: 8px; font-size: 15px; }
.panel p { font-size: 15px; color: #55544F; }
.panel p + p { margin-top: 10px; }
.path { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 6px 0 16px; }
.path span { background: var(--bg); border-radius: 10px; padding: 7px 12px; font-weight: 700; font-size: 14px; }
.path i { color: var(--gray); font-style: normal; }

@media (max-width: 960px) {
  .nav { display: none; }
  .hero .wrap, .app, .drivers, .contact { grid-template-columns: 1fr; }
  .hero .wrap { padding-top: 48px; padding-bottom: 56px; gap: 24px; }
  .phones { height: 470px; max-width: 420px; margin: 0 auto; }
  .phones img { width: 220px; }
  .cards, .steps { grid-template-columns: 1fr 1fr; }
  .facts .wrap { grid-template-columns: 1fr 1fr; }
  section.block { padding: 72px 0; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .top .wrap { gap: 12px; }
  .brand span { display: none; }
  .langs button { padding: 8px 9px; }
  .cards, .steps, .mini, .contact-cards { grid-template-columns: 1fr; }
  .call-card { grid-row: auto; min-height: 0; }
  .hero-actions .btn { flex: 1 1 100%; }
  .phones { height: 400px; }
  .phones img { width: 185px; }
  .float b { font-size: 18px; }
  .float.f1 { top: 40px; }
  .float.f2 { bottom: 60px; }
  .app-visual { height: 420px; gap: 10px; }
  .app-visual img { width: 220px; margin-bottom: -70px; }
  .foot .copy { margin-left: 0; }
}
