/* ===== Tokens ===== */
:root {
  --ink: #18212E;          /* asphalt: dark sections, headings */
  --ink-2: #222D3D;
  --blue: #2266D0;         /* brand: actions and links (5.6:1 on white) */
  --blue-hover: #1A54AF;
  --blue-soft: #E7F0FD;
  --charge: #34C76F;       /* battery green from the logo: charge and range only */
  --charge-deep: #187A41;  /* green text: 5.4:1 on white, 4.7:1 on blue-soft */
  --text: #1F2733;
  --muted: #586273;
  --concrete: #EEF0F3;
  --paper: #FFFFFF;
  --line: #D8DDE4;
  --field-border: #848E9C;  /* input boundary: 3.3:1 on white (WCAG 1.4.11) */
  --line-ink: rgba(255, 255, 255, .14);
  --error: #C2312F;

  --display: 'Unbounded', 'Golos Text', system-ui, sans-serif;
  --body: 'Golos Text', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --r-s: 10px; --r-m: 16px; --r-l: 24px;
  --container: 1200px;
  --gutter: 56px;
  --section-y: 96px;
  --ease: cubic-bezier(.23, 1, .32, 1);        /* strong ease-out: UI enters and responses */
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);
}

*, *::before, *::after { box-sizing: border-box; }
.skip { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: var(--r-s); font-weight: 600; }
.skip:focus { top: 12px; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }
/* controls: instant taps, no text selection or callout on long-press */
a, button, summary, input[type="range"] { touch-action: manipulation; }
.btn, .burger, .messenger, .nav a, .faq__item summary { user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
body {
  margin: 0; font-family: var(--body); color: var(--text); background: var(--paper);
  font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
picture { display: contents; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, dl, dd, figure, blockquote { margin: 0; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
/* narrow content that still starts on the same left edge as every other section */
.container--narrow > * { max-width: 840px; }

/* ===== Typography ===== */
.h1, .h2, .h3 { font-family: var(--display); color: var(--ink); text-wrap: balance; }
.h1 { font-size: clamp(30px, 3.5vw, 46px); font-weight: 700; line-height: 1.08; letter-spacing: -.025em; }
.h2 { font-size: clamp(26px, 2.6vw, 38px); font-weight: 600; line-height: 1.15; letter-spacing: -.02em; }
.h3 { font-size: 20px; font-weight: 600; line-height: 1.3; letter-spacing: -.01em; }
.lead { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.55; max-width: 60ch; }
.lead--muted { color: var(--muted); }
.note { font-size: 15px; color: var(--muted); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 16px/1 var(--body); border-radius: var(--r-s); border: 1.5px solid transparent;
  cursor: pointer; white-space: nowrap; transition: transform 160ms var(--ease), background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}
.btn--l { height: 58px; padding: 0 28px; font-size: 17px; }
.btn--m { height: 46px; padding: 0 20px; }
.btn--primary { background: var(--blue); color: #fff; }
.btn--secondary { background: transparent; color: var(--blue); border-color: currentColor; }
.btn:active { transform: scale(.97); }
.btn--primary:active { background: var(--blue-hover); }
.btn--secondary:active { background: var(--blue-soft); }
.messenger:active, .burger:active { transform: scale(.94); }
@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover { background: var(--blue-hover); }
  .btn--secondary:hover { background: var(--blue-soft); }
  .nav a:hover { color: var(--blue); border-bottom-color: currentColor; }
  .faq__item summary:hover { color: var(--blue); }
  .footer__col a:hover { color: #fff; }
  .messenger:hover { border-color: var(--blue); color: var(--blue); }
  .lead-card__messengers .messenger:hover, .footer__icons .messenger:hover { border-color: #fff; color: #fff; }
}
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.section--ink :focus-visible, .lead-card :focus-visible, .footer :focus-visible { outline-color: var(--charge); }
/* белые карточки внутри тёмных блоков: зелёная рамка на белом почти не видна (2,2:1), нужна синяя */
.calc :focus-visible, .lead-form :focus-visible { outline-color: var(--blue); }

/* ===== Header ===== */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.header.is-scrolled { border-bottom-color: var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 76px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo__badge { width: 44px; height: 44px; border-radius: 11px; flex: none; }
.logo__text { display: flex; flex-direction: column; line-height: 1.2; white-space: nowrap; }
.logo__text strong { font-family: var(--display); font-weight: 600; font-size: 17px; color: var(--ink); letter-spacing: -.01em; }
.nav { display: flex; gap: 24px; font-weight: 500; font-size: 16px; }
.nav a { white-space: nowrap; padding: 6px 0; border-bottom: 2px solid transparent; transition: border-color .15s, color .15s; }
.header__actions { display: flex; align-items: center; gap: 16px; }
.header__phone { white-space: nowrap; display: flex; flex-direction: column; align-items: flex-end; line-height: 1.25; }
.header__phone strong { font-size: 16px; font-weight: 600; }
.header__phone span { font-size: 13px; color: var(--muted); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
/* Messengers: monochrome glyph in a thin frame; colour comes from the context */
.messenger { display: inline-flex; align-items: center; justify-content: center; gap: 10px; flex: none; width: 44px; height: 44px; border-radius: var(--r-s); border: 1.5px solid var(--line); color: var(--ink); transition: transform 160ms var(--ease), border-color 150ms ease, color 150ms ease; }
.messenger__glyph { width: 22px; height: 22px; flex: none; }
.header__actions .messenger + .messenger { margin-left: -8px; }
.burger { transition: transform 160ms var(--ease); display: none; width: 46px; height: 46px; border-radius: var(--r-s); border: 0; background: var(--concrete); cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.burger span { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .25s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu { display: flex; flex-direction: column; padding: 4px 16px 20px; border-top: 1px solid var(--line); background: var(--paper); max-height: calc(100vh - 77px); max-height: calc(100dvh - 77px); overflow-y: auto; overscroll-behavior: contain; }
.mobile-menu[hidden] { display: none; }
.mobile-menu { transition: opacity 200ms var(--ease), transform 200ms var(--ease); }
@starting-style { .mobile-menu { opacity: 0; transform: translateY(-6px); } }
.mobile-menu a { padding: 14px 4px; font-weight: 600; font-size: 18px; border-bottom: 1px solid var(--concrete); }
.mobile-menu__phone { color: var(--blue); }
.mobile-menu__messengers { display: flex; gap: 8px; padding-top: 16px; }
.mobile-menu .messenger { flex: 1; padding: 0 16px; font-size: 16px; border: 1.5px solid var(--line); }

/* ===== Hero ===== */
.hero { padding: 40px 0 var(--section-y); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: stretch; }
.hero__content { display: flex; flex-direction: column; justify-content: center; gap: 24px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; font-weight: 500; color: var(--muted); font-size: 15px; }
.hero__facts li { display: flex; align-items: center; gap: 8px; }
.hero__facts li::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--charge); }
/* Desktop: the photo matches the text column height; smaller screens set an aspect-ratio */
.hero__visual { position: relative; min-height: 440px; border-radius: var(--r-l); overflow: hidden; background: var(--concrete); }
.hero__visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.tag { position: absolute; left: 20px; bottom: 20px; background: var(--paper); border-radius: var(--r-s); padding: 10px 14px; display: flex; flex-direction: column; line-height: 1.3; }
.tag strong { font-family: var(--display); font-weight: 600; font-size: 15px; color: var(--ink); }
.tag span { font-size: 14px; color: var(--muted); }

/* The one memorable element: a battery gauge that charges once on load */
.charge { display: flex; flex-direction: column; gap: 10px; max-width: 520px; padding: 20px 0 4px; }
.charge__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.charge__value { font-family: var(--display); font-weight: 700; font-size: 30px; letter-spacing: -.02em; color: var(--charge-deep); line-height: 1; }
.charge__head span { font-weight: 500; color: var(--muted); }
.charge__battery {
  position: relative; height: 34px; border: 2.5px solid var(--ink); border-radius: 9px; padding: 3px; margin-right: 8px;
}
.charge__battery::after { content: ''; position: absolute; right: -9px; top: 50%; width: 5px; height: 12px; transform: translateY(-50%); background: var(--ink); border-radius: 0 3px 3px 0; }
.charge__fill {
  display: block; height: 100%; border-radius: 4px; background: var(--charge);
  /* nine cells, 10 km each */
  -webkit-mask: repeating-linear-gradient(90deg, #000 0 calc(11.111% - 3px), transparent calc(11.111% - 3px) 11.111%);
          mask: repeating-linear-gradient(90deg, #000 0 calc(11.111% - 3px), transparent calc(11.111% - 3px) 11.111%);
  -webkit-mask-size: calc(100% + 3px) 100%; mask-size: calc(100% + 3px) 100%;
  transform-origin: left; animation: charge 1.6s steps(9, jump-start) .3s both;
}
.charge__scale { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; margin-right: 8px; }
@keyframes charge { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }

/* ===== Sections ===== */
.section { padding: var(--section-y) 0; }
.section--tight { padding-top: 0; }
.section--concrete { background: var(--concrete); }
.section--ink { background: var(--ink); color: #fff; }
.section--ink .h2, .section--ink .h3 { color: #fff; }
.section--ink .lead { color: rgba(255, 255, 255, .78); }
.section__head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 48px; }
.section__head--row { flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 24px; }
.section__head--row > div { display: flex; flex-direction: column; gap: 14px; }

/* ===== Income ===== */
.income__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 500px); gap: 72px; align-items: center; }
.income__text .section__head { margin-bottom: 40px; }
.figures { display: flex; flex-direction: column; }
.figure { padding: 24px 0; border-top: 1px solid var(--line-ink); display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 24px; align-items: baseline; }
.figure:last-child { padding-bottom: 0; }
.figure dt { font-family: var(--display); font-weight: 600; font-size: 34px; line-height: 1.05; letter-spacing: -.02em; color: var(--charge); }
.figure dd { color: rgba(255, 255, 255, .78); max-width: 46ch; }
.calc { background: var(--paper); color: var(--text); border-radius: var(--r-l); padding: 32px; display: flex; flex-direction: column; gap: 22px; }
.calc .h3 { color: var(--ink); }
.calc__cta { width: 100%; }
.calc__slider { display: flex; flex-direction: column; gap: 12px; }
.calc__q { display: flex; justify-content: space-between; align-items: baseline; font-weight: 500; }
.calc__q strong { font-family: var(--display); font-size: 26px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.calc__scale { display: flex; justify-content: space-between; font-size: 14px; color: var(--muted); }
.calc input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 32px; margin: 0; background: linear-gradient(to right, var(--blue) var(--fill, 29%), var(--concrete) var(--fill, 29%)) center / 100% 8px no-repeat; cursor: pointer; }
.calc input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 3px solid var(--blue); box-shadow: 0 1px 4px rgba(24, 33, 46, .25); }
.calc input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid var(--blue); }
.calc__result { border-top: 1px solid var(--line); padding-top: 20px; display: flex; flex-direction: column; gap: 4px; }
.calc__label { font-size: 15px; color: var(--muted); }
.calc__gross { font-family: var(--display); font-size: 42px; font-weight: 700; letter-spacing: -.025em; line-height: 1.1; color: var(--blue); font-variant-numeric: tabular-nums; }
.calc__note { font-size: 14px; color: var(--muted); }

/* ===== Tariffs: rows that compare the price of one day ===== */
.tariffs { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.tariffs__legend, .tariff { display: grid; grid-template-columns: 280px minmax(0, 1fr) 200px; gap: 40px; align-items: center; }
.tariffs__legend { padding: 12px 24px; font-size: 14px; color: var(--muted); border-bottom: 1px solid var(--line); }
.tariff { padding: 28px 24px; border-bottom: 1px solid var(--line); }
.tariff__main { display: flex; flex-direction: column; gap: 4px; }
.tariff__name { font-family: var(--body); font-size: 17px; font-weight: 600; color: var(--muted); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tariff__price { font-family: var(--display); font-size: 32px; font-weight: 600; letter-spacing: -.02em; color: var(--ink); line-height: 1.1; white-space: nowrap; }
.tariff__day { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 20px; align-items: center; }
.tariff__track { grid-column: 1 / -1; display: block; height: 10px; border-radius: 999px; background: var(--concrete); }
.tariff__bar--day { --w: 100%; } .tariff__bar--week { --w: 72%; } .tariff__bar--month { --w: 50%; }  /* per-day price relative to 990 ₽ */
.tariff__bar { display: block; height: 100%; width: var(--w); border-radius: inherit; background: var(--ink); }
.tariff__per { color: var(--muted); white-space: nowrap; }
.tariff__per strong { color: var(--ink); font-weight: 700; font-size: 18px; }
.tariff__note { color: var(--muted); font-size: 15px; text-align: right; }
.tariff__note--save { color: var(--charge-deep); font-weight: 600; }
.tariff .btn { width: 100%; }
.tariff--hl { background: var(--blue-soft); border-radius: var(--r-m); border-bottom-color: transparent; margin-top: -1px; }
.tariff--hl .tariff__track { background: var(--paper); }
.tariff--hl .tariff__bar { background: var(--charge); }
.tariff--hl .tariff__per strong { color: var(--charge-deep); }
.tariff__badge { font-size: 14px; font-weight: 600; color: #fff; background: var(--ink); padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.included { margin-top: 40px; display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 40px; padding: 0 24px; }
.included__title { font-weight: 600; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 32px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before {
  content: ''; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--charge) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.3l2.6 2.6L14 7.4' fill='none' stroke='%2318212E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}

/* ===== Bike ===== */
.bike__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.bike__visual { display: grid; place-items: center; }
.bike__img { display: block; }
.bike__img img { width: 100%; }
.bike__content { display: flex; flex-direction: column; gap: 24px; }
.specs { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.spec { padding: 16px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.spec:nth-child(odd) { padding-right: 24px; }
.spec:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line); }
.spec dt { font-size: 14px; color: var(--muted); }
.spec dd { font-family: var(--display); font-size: 22px; font-weight: 600; color: var(--ink); letter-spacing: -.01em; white-space: nowrap; }
.spec[class*="spec--"] { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; align-content: center; }
.spec[class*="spec--"]::before { content: ""; grid-row: span 2; align-self: center; width: 44px; height: 44px; border-radius: 12px; background-color: #fff; background-position: center; background-size: 24px; background-repeat: no-repeat; }
.spec--range::before { background-image: url("assets/icons/range.svg"); }
.spec--battery::before { background-image: url("assets/icons/battery.svg"); }
.spec--speed::before { background-image: url("assets/icons/speed.svg"); }
.spec--cargo::before { background-image: url("assets/icons/cargo.svg"); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; }
.gallery figure { display: flex; flex-direction: column; gap: 10px; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-m); }
.gallery figcaption { font-size: 15px; font-weight: 500; }

/* ===== Compare ===== */
.compare { width: 100%; border-collapse: collapse; table-layout: fixed; }
.compare th, .compare td { padding: 20px 24px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare thead th { font-family: var(--display); font-size: 18px; font-weight: 600; color: var(--muted); padding-top: 24px; }
.compare thead td { width: 220px; }
.compare tbody th { font-weight: 600; color: var(--ink); }
.compare td { color: var(--muted); }
.compare .compare__rent { background: var(--ink); color: #fff; }
.compare thead .compare__rent { color: #fff; border-radius: var(--r-m) var(--r-m) 0 0; }
.compare tbody .compare__rent { border-bottom-color: var(--line-ink); padding-left: 56px; position: relative; }
.compare tbody .compare__rent::before {
  content: ''; position: absolute; left: 24px; top: calc(20px + .2em); width: 20px; height: 20px; border-radius: 50%;
  background: var(--charge) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.3l2.6 2.6L14 7.4' fill='none' stroke='%2318212E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare tbody tr:last-child .compare__rent { border-radius: 0 0 var(--r-m) var(--r-m); }
.compare-key { display: none; }

/* ===== Steps (a real sequence) / Docs ===== */
.steps { list-style: none; margin: 0 0 56px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: none; }
.step { position: relative; display: flex; flex-direction: column; gap: 10px; padding-top: 64px; }
.step::before { content: ''; position: absolute; top: 21px; left: 52px; right: -20px; height: 2px; background: var(--line); }
.step:last-child::before { display: none; }
.step__num { position: absolute; top: 0; left: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-family: var(--display); font-weight: 600; font-size: 18px; }
.step h3 { font-size: 18px; font-weight: 600; line-height: 1.35; }
.step p { color: var(--muted); }
.docs { background: var(--paper); border-radius: var(--r-l); padding: 32px 36px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 40px; align-items: center; }
.docs .h3 { grid-column: 1 / -1; }
.docs__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.docs__list dt { font-weight: 600; }
.docs__list dd { color: var(--muted); }

/* ===== Reviews ===== */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.review { display: flex; flex-direction: column; gap: 20px; padding-top: 24px; border-top: 3px solid var(--ink); }
.review blockquote { font-size: 17px; line-height: 1.6; flex: 1; }
.review figcaption { display: flex; }
.review figcaption span { display: flex; flex-direction: column; font-size: 14px; color: var(--muted); line-height: 1.35; }
.review figcaption strong { color: var(--text); font-weight: 600; font-size: 15px; }

/* ===== FAQ ===== */
/* FAQ: contact aside on the left, questions on the right */
.faq-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: 64px; align-items: start; }
.faq-aside { position: sticky; top: 112px; display: flex; flex-direction: column; gap: 20px; }
.faq-aside__contacts { display: flex; flex-wrap: wrap; gap: 8px; }
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { list-style: none; cursor: pointer; padding: 22px 0; font-size: 19px; font-weight: 600; display: flex; justify-content: space-between; gap: 24px; align-items: center; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ''; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--concrete) center / 12px no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 1v10M1 6h10' stroke='%2318212E' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
  transition: transform .25s var(--ease);
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item::details-content { block-size: 0; overflow: hidden; transition: block-size 250ms var(--ease), content-visibility 250ms allow-discrete; }
.faq__item[open]::details-content { block-size: auto; }
.faq { interpolate-size: allow-keywords; }
.faq__a p { padding: 0 52px 24px 0; color: var(--muted); max-width: 68ch; }

/* ===== Lead form ===== */
.lead-card { background: var(--ink); color: #fff; border-radius: var(--r-l); padding: 64px; display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: 64px; align-items: center; }
.lead-card .h2 { color: #fff; font-size: clamp(28px, 3.2vw, 46px); }
.lead-card .lead { color: rgba(255, 255, 255, .78); }
.lead-card__text { display: flex; flex-direction: column; gap: 20px; }
.lead-card__messengers { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-weight: 500; margin-top: 8px; color: rgba(255, 255, 255, .78); }
.lead-card__messengers .messenger, .footer__icons .messenger { border-color: rgba(255, 255, 255, .28); color: #fff; }
.footer__icons .messenger { padding: 0; }
.messenger--label { width: auto; height: 48px; padding: 0 18px 0 16px; font-weight: 600; }
.lead-form { background: var(--paper); color: var(--text); border-radius: var(--r-m); padding: 32px; display: flex; flex-direction: column; gap: 16px; position: relative; }
.lead-form .btn { width: 100%; }
.lead-form .btn[disabled] { opacity: .7; cursor: progress; }
.lead-form__error { font-size: 15px; color: var(--error); background: #FDF0EF; padding: 10px 14px; border-radius: var(--r-s); }
.lead-form__error a { text-decoration: underline; font-weight: 700; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lead-form__hint { font-size: 15px; color: var(--text); margin-top: -4px; }
.lead-form__consent { font-size: 14px; color: var(--muted); }
.lead-form__consent a { text-decoration: underline; }
/* галочка согласия: вся строка — зона нажатия не меньше 44px */
.consent { display: flex; flex-direction: column; gap: 6px; }
.consent__label { display: flex; align-items: flex-start; gap: 12px; min-height: 44px; padding: 10px 0; font-size: 15px; line-height: 1.4; color: var(--text); cursor: pointer; }
.consent__label input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--blue); cursor: pointer; }
.consent__label a { text-decoration: underline; }
.consent__label input.is-invalid { outline: 2px solid var(--error); outline-offset: 2px; }
.lead-form__tariff { font-size: 15px; font-weight: 600; color: var(--ink); background: var(--blue-soft); padding: 10px 14px; border-radius: var(--r-s); }
.lead-form__success { position: absolute; inset: 0; background: var(--paper); border-radius: var(--r-m); display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: 8px; padding: 32px; animation: fadeIn .3s var(--ease); }
.lead-form__success[hidden] { display: none; }
.lead-form__success strong { font-family: var(--display); font-size: 24px; font-weight: 600; color: var(--ink); }
.lead-form__success::before {
  content: ''; width: 64px; height: 64px; border-radius: 50%; margin-bottom: 8px; animation: pop 300ms var(--ease);
  background: var(--charge) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.3l2.6 2.6L14 7.4' fill='none' stroke='%2318212E' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}

/* fields */
.field { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ink); }
.field input {
  height: 56px; padding: 0 18px; border-radius: var(--r-s); border: 1.5px solid var(--field-border); background: var(--paper);
  font: 500 17px var(--body); color: var(--text); transition: border-color .15s, box-shadow .15s; width: 100%; min-width: 0;
}
.field input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(34, 102, 208, .15); }
.field__error { font-size: 14px; font-weight: 500; color: var(--error); }
.field__error[hidden] { display: none; }
.field input.is-invalid { border-color: var(--error); box-shadow: 0 0 0 4px rgba(194, 49, 47, .12); }
.field input.is-invalid:focus { outline: 2px solid var(--error); outline-offset: 2px; }  /* фокус виден и у поля с ошибкой */
.lead-form__success:focus { outline: none; }  /* фокус ставится скриптом, чтобы диктор прочитал сообщение */

/* ===== Footer ===== */
.footer { background: var(--ink-2); color: #fff; padding: 64px 0 40px; }
.footer__top { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.footer__brand { max-width: 320px; display: flex; flex-direction: column; gap: 14px; }
.footer__logo { display: flex; align-items: center; gap: 12px; }
.footer__logo img { width: 44px; height: 44px; border-radius: 11px; }
.footer__logo strong { font-family: var(--display); font-weight: 600; font-size: 20px; }
.footer__brand p, .footer__col a, .footer__col span { color: rgba(255, 255, 255, .72); font-size: 15px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col > strong { font-weight: 600; margin-bottom: 4px; }
.footer__col a { padding: 2px 0; }
.contact { display: inline-flex; align-items: center; gap: 10px; }
.contact__icon { flex: none; width: 18px; height: 18px; }
.footer__icons { display: flex; gap: 8px; }
.footer__bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line-ink); display: flex; justify-content: space-between; gap: 16px; font-size: 14px; color: rgba(255, 255, 255, .6); }

/* ===== Sticky bar (mobile) ===== */
.sticky-bar { display: none; }

/* ===== Motion ===== */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { from { transform: scale(.85); opacity: 0; } to { transform: scale(1); opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .btn:active, .messenger:active, .burger:active { transform: none; }
}

/* ===== Responsive ===== */
@media (max-width: 1160px) {
  .header__phone { display: none; }
}

/* кнопка звонка в шапке — только на телефонах, где номер в шапке не виден, а «Забронировать» спрятана */
.header__call { display: none; }

@media (max-width: 1060px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
}

@media (max-width: 1200px) {
  :root { --gutter: 40px; --section-y: 80px; }
  .nav { gap: 20px; }
  .income__grid { grid-template-columns: 1fr; gap: 48px; }
  .tariffs__legend, .tariff { grid-template-columns: 220px minmax(0, 1fr) 190px; gap: 28px; }
  .included { grid-template-columns: 220px minmax(0, 1fr); gap: 28px; }
  .lead-card { grid-template-columns: minmax(0, 1fr) 400px; padding: 48px; gap: 48px; }
}

@media (min-width: 961px) and (max-width: 1200px) {
  .spec[class*="spec--"] { grid-template-columns: 1fr; row-gap: 2px; }
  .spec[class*="spec--"]::before { grid-row: auto; width: 40px; height: 40px; border-radius: 11px; background-size: 22px; margin-bottom: 8px; }
  .spec dd { font-size: 20px; }
}

@media (max-width: 960px) {
  .nav, .header__phone { display: none; }
  .burger { display: inline-flex; }
  .hero__grid, .bike__grid, .lead-card { grid-template-columns: minmax(0, 1fr); }
  .faq-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  /* one column: heading, questions, then "didn't find an answer" */
  .faq-aside { display: contents; }
  .faq-aside .h2 { order: 0; }
  .faq { order: 1; }
  .faq-aside .lead { order: 2; }
  .faq-aside__contacts { order: 3; margin-top: -12px; }
  .hero__visual { aspect-ratio: 1 / 1; min-height: 0; }
  .hero__visual img { object-position: 50% 50%; }
  .figure { grid-template-columns: 1fr; gap: 8px; }
  .tariffs__legend { display: none; }
  .tariff { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 24px; }
  .tariff .btn, .tariff__day { grid-column: 1 / -1; }
  .included { grid-template-columns: 1fr; gap: 16px; padding: 0; }
  .ticks { grid-template-columns: 1fr; }
  .docs { grid-template-columns: 1fr; }
  .docs .btn { justify-self: start; }
  .reviews { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 24px; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 8px; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .reviews::-webkit-scrollbar { display: none; }
  .reviews { overscroll-behavior-x: contain; }
  .review { flex: 0 0 min(420px, 84%); scroll-snap-align: start; }
}

/* tablets: text and photo side by side, as on desktop */
@media (min-width: 768px) and (max-width: 960px) {
  .hero__grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 32px; align-items: center; }
  .hero__visual { aspect-ratio: 3 / 4; }
  .hero__visual img { object-position: 50% 60%; }
  .h1 { font-size: 27px; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .charge__value { font-size: 26px; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; --section-y: 56px; }
  body { font-size: 16px; }
  html { scroll-padding-top: 68px; scroll-padding-bottom: 90px; }  /* фокус не уходит под нижнюю панель */
  .header__inner { height: 64px; gap: 8px; }
  .logo__badge { width: 40px; height: 40px; border-radius: 10px; }
  .header__cta { display: none; }
  .header__call { display: inline-flex; color: var(--blue); }
  .header__actions .messenger + .messenger { margin-left: 0; }  /* на телефоне отступ уже 8px, вычитать нечего */
  .logo__text strong { font-size: 16px; }
  .header__actions { gap: 8px; }
  .lead-card__messengers > span { flex-basis: 100%; }
  .lead-card__messengers .messenger { flex: 1; }
  .hero { padding-top: 16px; }
  .hero__grid { gap: 20px; }
  .hero__content { display: contents; }
  .h1 { font-size: min(26px, 6.6vw); order: 1; }
  .h2 { font-size: min(24px, 6.4vw); }
  .h1, .h2 { overflow-wrap: break-word; }
  .hero .lead { order: 2; }
  .charge { order: 3; padding-top: 0; }
  .hero__cta { order: 4; flex-direction: column; }
  .hero__facts { order: 5; }
  .hero__visual { order: 6; aspect-ratio: 4 / 5; border-radius: var(--r-m); }
  .charge__value { font-size: 26px; }
  .charge__battery { height: 30px; }
  .tag { left: 12px; bottom: 12px; padding: 8px 12px; }
  .btn--l { height: 56px; padding: 0 20px; }
  .section__head { margin-bottom: 28px; }
  .section__head--row { flex-direction: column; align-items: stretch; }
  .figure { padding: 20px 0; }
  .figure dt { font-size: 28px; }
  .calc { padding: 24px 20px; border-radius: var(--r-m); }
  .calc__gross { font-size: 34px; }
  .tariff { padding: 20px 16px; grid-template-columns: minmax(0, 1fr); }
  .tariff__price { font-size: 26px; }
  .tariff__day { grid-template-columns: 1fr; gap: 6px; }
  .tariff__per { margin-top: 4px; }
  .tariff__note { text-align: left; }
  .bike__grid { gap: 24px; }
  .spec dd { font-size: 18px; }
  .spec:nth-child(odd) { padding-right: 12px; }
  .spec:nth-child(even) { padding-left: 12px; }
  .spec[class*="spec--"] { grid-template-columns: 1fr; row-gap: 2px; }
  .spec[class*="spec--"]::before { grid-row: auto; width: 36px; height: 36px; border-radius: 10px; background-size: 20px; margin-bottom: 8px; }
  .gallery { gap: 8px; margin-top: 32px; }
  .gallery img { aspect-ratio: 1; border-radius: var(--r-s); }
  .gallery figcaption { font-size: 14px; }
  .compare, .compare tbody, .compare tr { display: block; }
  .compare thead { display: none; }
  .compare tbody tr { display: grid; grid-template-columns: 1fr 1fr; padding: 16px 0; border-bottom: 1px solid var(--line); }
  .compare tbody tr:last-child { border-bottom: 0; }
  .compare th, .compare td { padding: 0; border: 0; font-size: 15px; }
  .compare tbody th { grid-column: 1 / -1; margin-bottom: 8px; font-size: 16px; }
  .compare tbody .compare__rent, .compare tbody tr:last-child .compare__rent { background: none; color: var(--ink); font-weight: 500; padding: 0 12px 0 26px; border-radius: 0; }
  .compare tbody .compare__rent::before { left: 0; top: .15em; width: 18px; height: 18px; }
  .compare tbody td:last-child { padding-left: 12px; border-left: 1px solid var(--line); }
  .compare-key { display: grid; grid-template-columns: 1fr 1fr; padding: 10px 0; border-bottom: 2px solid var(--ink); font-family: var(--display); font-weight: 600; font-size: 15px; color: var(--ink); }
  .compare-key span:last-child { padding-left: 12px; color: var(--muted); }
  .steps { grid-template-columns: 1fr; gap: 0; margin-bottom: 32px; }
  .step { padding: 0 0 28px 64px; }
  .step::before { top: 52px; bottom: 8px; left: 21px; right: auto; width: 2px; height: auto; }
  .step:last-child { padding-bottom: 0; }
  .docs { padding: 24px 20px; border-radius: var(--r-m); }
  .docs__list { grid-template-columns: 1fr; gap: 16px; }
  .docs .btn { justify-self: stretch; }
  .faq__item summary { font-size: 17px; padding: 18px 0; }
  .faq__a p { padding: 0 0 20px; }
  .lead-card { padding: 32px 20px 20px; border-radius: var(--r-m); gap: 28px; }
  .lead-card .h2 { font-size: min(28px, 7.2vw); }  /* «Забронируйте» целиком помещается и на 320px */
  .mobile-menu { max-height: calc(100vh - 65px); max-height: calc(100dvh - 65px); }
  .lead-form { padding: 20px; border-radius: var(--r-s); }  /* nested in a 16px card with 20px padding */
  .footer { padding-bottom: 110px; }
  .footer__top { flex-direction: column; gap: 32px; }
  .footer__col a, .footer__col span { padding: 6px 0; }
  .footer__col a { padding: 11px 0; }
  .footer__col { gap: 2px; }
  .footer__bottom { flex-direction: column; }
  .footer__bottom a { padding: 11px 0; }

  .sticky-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px);
    border-top: 1px solid var(--line); transform: translateY(110%); transition: transform 200ms ease-in-out;
  }
  .sticky-bar.is-visible { transform: none; transition: transform 300ms var(--ease); }
  .sticky-bar .btn { width: 100%; padding: 0 12px; }
}

@media (max-width: 374px) {
  .logo { gap: 8px; }
  .logo__badge { width: 36px; height: 36px; border-radius: 9px; }
  .logo__text strong { font-size: 14px; }
}

@media (max-width: 480px) {
  .header .messenger--tg { display: none; }
}

/* узкие телефоны: в шапке остаётся звонок, MAX доступен в меню, первом экране и форме */
@media (max-width: 389px) {
  .header__actions .messenger:not(.header__call) { display: none; }
}

/* шапка без меню, но ещё с кнопкой «Забронировать»: те же 8px между кнопками, что на телефоне */
@media (min-width: 641px) and (max-width: 700px) {
  .header__actions { gap: 8px; }
  .header__actions .messenger + .messenger { margin-left: 0; }
}

/* меню, телефон и все кнопки не помещаются вместе: номер телефона важнее, Telegram есть в подвале и форме */
@media (min-width: 1161px) and (max-width: 1240px) {
  .header .messenger--tg { display: none; }
}
