/* Шрифт лежит на своём сервере: без обращений к сторонним сервисам */
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/fonts/inter-tight-cyrillic.woff") format("woff"); unicode-range: U+0400-045F, U+0490-0491; }
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/fonts/inter-tight-latin.woff") format("woff"); unicode-range: U+0020-007E, U+00A0-00FF, U+2010-2026, U+2030, U+2039-203A, U+20AC, U+20BD, U+2116, U+2122, U+2190-2193, U+2212, U+2605; }

/* GeeApp — основной стиль сайта (BEM). Layout: одна колонка 1240px, стеклянные панели поверх мягких фиолетовых свечений; тёмные «глубокие» панели — для Web-ADB и финального призыва. */
:root {
  --bg: #F4F0FC;
  --ink: #15101F;
  --muted: #625C75;
  --accent: #7A12ED;
  --accent-soft: #EEE3FF;
  --line: #E4DDF3;
  --glass: rgba(255, 255, 255, .58);
  --glass-strong: rgba(255, 255, 255, .8);
  --glass-border: rgba(255, 255, 255, .95);
  --glass-highlight: rgba(255, 255, 255, .75);
  --shadow: rgba(74, 26, 153, .14);
  --glow-a: rgba(139, 44, 255, .30);
  --glow-b: rgba(91, 123, 255, .22);
  --glow-c: rgba(176, 108, 255, .24);
  --ok: #128A3E;
  --danger: #B3142E;
  --danger-soft: #FCE4E8;
  --grad-from: #9A3BFF;
  --grad-to: #5B3DF0;
  --deep-a: #2B0E63;
  --deep-b: #5A22C8;
  --deep-c: #8B2CFF;
  --on-deep: #FFFFFF;
  --on-deep-muted: rgba(255, 255, 255, .74);
  --deep-glass: rgba(255, 255, 255, .14);
  --deep-glass-border: rgba(255, 255, 255, .34);
  --deep-ok: #5CF09A;
  --btn-light-bg: #FFFFFF;
  --btn-light-fg: #4A12B8;
  --font: "Inter Tight", "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --radius-xl: 44px;
  --radius-l: 30px;
  --radius-m: 20px;
  --gutter: clamp(16px, 5vw, 100px);
  --check-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E");
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0D0918; --ink: #FFFFFF; --muted: #ABA4C2; --accent: #B57BFF; --accent-soft: #2E1F57; --line: #2D2447;
    --glass: rgba(38, 28, 66, .58); --glass-strong: rgba(48, 36, 82, .82); --glass-border: rgba(140, 118, 204, .38); --glass-highlight: rgba(255, 255, 255, .14);
    --shadow: rgba(0, 0, 0, .5); --glow-a: rgba(139, 44, 255, .34); --glow-b: rgba(91, 123, 255, .2); --glow-c: rgba(176, 108, 255, .2); --ok: #5CF09A; --danger: #FF8FA0; --danger-soft: #3D1420;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0D0918; --ink: #FFFFFF; --muted: #ABA4C2; --accent: #B57BFF; --accent-soft: #2E1F57; --line: #2D2447;
  --glass: rgba(38, 28, 66, .58); --glass-strong: rgba(48, 36, 82, .82); --glass-border: rgba(140, 118, 204, .38); --glass-highlight: rgba(255, 255, 255, .14);
  --shadow: rgba(0, 0, 0, .5); --glow-a: rgba(139, 44, 255, .34); --glow-b: rgba(91, 123, 255, .2); --glow-c: rgba(176, 108, 255, .2); --ok: #5CF09A; --danger: #FF8FA0; --danger-soft: #3D1420;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; }
img { max-width: 100%; }
body {
  background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.5;
  letter-spacing: -.01em; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
h1, h2, h3, p, ul, ol, dl, dd, dt { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

/* ---------- page ---------- */
.page { position: relative; isolation: isolate; overflow: clip; }
.page__glow { position: absolute; z-index: -1; border-radius: 50%; filter: blur(110px); pointer-events: none; }
.page__glow--a { width: 620px; height: 620px; left: -220px; top: -160px; background: var(--glow-a); }
.page__glow--b { width: 560px; height: 560px; right: -200px; top: 380px; background: var(--glow-b); }
.page__glow--c { width: 640px; height: 640px; left: -260px; top: 1700px; background: var(--glow-c); }
.page__glow--d { width: 600px; height: 600px; right: -220px; top: 3000px; background: var(--glow-a); }
.page__glow--e { width: 640px; height: 640px; left: -240px; top: 4600px; background: var(--glow-b); }
.page__glow--f { width: 640px; height: 640px; right: -240px; top: 5900px; background: var(--glow-c); }
.container { width: 100%; max-width: calc(1240px + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- glass ---------- */
.glass {
  position: relative; background: var(--glass); border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: blur(26px) saturate(170%); backdrop-filter: blur(26px) saturate(170%);
  box-shadow: 0 18px 44px -14px var(--shadow), inset 0 1.5px 0 var(--glass-highlight), inset 0 -1px 0 rgba(255, 255, 255, .06);
}

/* ---------- button ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px;
  padding: 13px 22px; font-weight: 600; font-size: 15px; line-height: 1.2; white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button--l { padding: 18px 30px; font-size: 17px; }
.button--block { width: 100%; }
.button--primary {
  color: #FFFFFF; background: linear-gradient(100deg, var(--grad-from), var(--grad-to));
  box-shadow: 0 12px 26px -10px rgba(122, 18, 237, .6), inset 0 1.5px 0 rgba(255, 255, 255, .45);
}
.button--glass {
  background: var(--glass); border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: blur(20px) saturate(170%); backdrop-filter: blur(20px) saturate(170%);
  box-shadow: 0 10px 24px -14px var(--shadow), inset 0 1.5px 0 var(--glass-highlight);
}
.button--light { background: var(--btn-light-bg); color: var(--btn-light-fg); }
.button--deep-glass {
  background: var(--deep-glass); color: var(--on-deep); border: 1px solid var(--deep-glass-border);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, .35);
}

/* ---------- header ---------- */
.header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; padding-block: 16px 0; }
.header__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-radius: 999px; padding: 10px 10px 10px 26px; }
.header__actions { display: flex; align-items: center; gap: 10px; }
.header__phone { font-weight: 600; font-size: 15px; white-space: nowrap; margin-right: 6px; }
.logo { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 20px; letter-spacing: -.03em; }
.logo { gap: 10px; font-size: 22px; }
.logo__mark { width: 32px; height: 32px; display: block; }
.logo__accent { color: var(--accent); }
.nav { display: flex; gap: 24px; }
.nav__link { font-weight: 500; font-size: 15px; white-space: nowrap; transition: color .2s; }
.nav__link:hover { color: var(--accent); }
.icon-button {
  width: 44px; height: 44px; border-radius: 50%; display: inline-grid; place-items: center; flex: none;
  background: var(--glass-strong); border: 1px solid var(--glass-border); box-shadow: inset 0 1.5px 0 var(--glass-highlight);
}
.header__burger { display: none; }
.icon-button svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mobile-menu { margin-top: 10px; border-radius: var(--radius-l); padding: 20px 24px; display: grid; gap: 14px; }
.mobile-menu__link { font-weight: 600; font-size: 18px; }

/* ---------- hero ---------- */
.hero { padding-block: clamp(40px, 6vw, 80px); }
.hero__inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.hero__content { display: grid; gap: 26px; justify-items: start; min-width: 0; }
.hero__title { font-size: clamp(36px, 4.6vw, 56px); line-height: 1.03; letter-spacing: -.035em; font-weight: 700; text-wrap: balance; }
.hero__title-accent { color: var(--accent); }
.hero__text { font-size: 18px; color: var(--muted); max-width: 34em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.badge { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 8px 16px 8px 12px; font-size: 14px; font-weight: 500; }
.badge__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }
.stats { display: flex; flex-wrap: wrap; gap: 14px 40px; padding-top: 8px; }
.stats__value { font-size: 36px; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.stats__label { font-size: 14px; color: var(--muted); }

/* head unit mock */
.head-unit { position: relative; min-width: 0; margin-bottom: 72px; }
.head-unit__glow { position: absolute; inset: 8% 6% 4%; border-radius: 50%; background: var(--glow-a); filter: blur(80px); }
.head-unit__screen { border-radius: 36px; padding: 22px; display: grid; gap: 16px; }
.head-unit__top { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--muted); font-weight: 500; }
.head-unit__apps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.app-tile { border-radius: 22px; padding: 16px 14px; display: grid; gap: 12px; background: var(--glass-strong); border: 1px solid var(--glass-border); box-shadow: inset 0 1.5px 0 var(--glass-highlight); min-width: 0; }
.app-tile__icon { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.app-tile__icon svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.app-tile__name { font-size: 14px; font-weight: 600; line-height: 1.2; overflow-wrap: anywhere; }
.status-card { position: absolute; left: -22px; bottom: -72px; width: min(310px, 82%); border-radius: 26px; padding: 16px 18px; display: grid; gap: 10px; background: var(--glass-strong); }
.status-card__head { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; }
.status-card__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ok); flex: none; }
.status-card__row { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); }
.status-card__value { color: var(--accent); font-weight: 600; }
.progress { height: 8px; border-radius: 999px; background: var(--accent-soft); overflow: hidden; }
.progress__bar { height: 100%; width: 72%; border-radius: inherit; background: linear-gradient(90deg, var(--grad-from), var(--grad-to)); }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; padding-block: 34px 8px; }
.marquee__track { display: flex; gap: 12px; width: max-content; animation: marquee 38s linear infinite; }
.marquee__item { border-radius: 999px; padding: 11px 22px; font-weight: 500; white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- section ---------- */
.section { padding-block: clamp(48px, 6vw, 72px); }
.section__head { display: grid; gap: 14px; margin-bottom: 36px; }
.section__eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.section__title { font-size: clamp(30px, 4vw, 46px); line-height: 1.08; letter-spacing: -.03em; font-weight: 700; text-wrap: balance; }
.section__text { font-size: 18px; color: var(--muted); max-width: 38em; }

/* ---------- services ---------- */
.services__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.service-card { border-radius: var(--radius-l); padding: 28px 28px 30px; display: grid; gap: 14px; align-content: start; }
.service-card__icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.service-card__icon svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.service-card__title { font-size: 22px; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; }
.service-card__text { font-size: 15px; color: var(--muted); }

/* ---------- catalog ---------- */
.catalog__bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.catalog__note { font-size: 14px; color: var(--muted); }
.catalog__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tabs { display: flex; gap: 4px; padding: 6px; border-radius: 999px; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs__item { border: 0; background: none; border-radius: 999px; padding: 10px 20px; font-weight: 600; font-size: 15px; white-space: nowrap; transition: background .2s, color .2s; }
.tabs__item--active { color: #FFFFFF; background: linear-gradient(100deg, var(--grad-from), var(--grad-to)); box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, .4); }
.model-card { border-radius: var(--radius-l); padding: 14px 14px 22px; display: grid; gap: 16px; grid-template-rows: auto 1fr auto; overflow: hidden; }
/* Все фото машин живут в одинаковой рамке 2:1 — замените .model-card__placeholder на <img class="model-card__img"> */
.model-card__media { position: relative; aspect-ratio: 2 / 1; max-width: 100%; border-radius: 20px; background: radial-gradient(60% 70% at 60% 70%, var(--glow-a), transparent 70%), var(--accent-soft); display: grid; place-items: center; overflow: hidden; }
.model-card__img { width: 86%; height: 86%; object-fit: contain; object-position: center bottom; }
.model-card__placeholder { display: grid; justify-items: center; gap: 6px; color: var(--accent); font-size: 12px; font-weight: 500; opacity: .75; }
.model-card__placeholder svg { width: 96px; height: 42px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.model-card__body { display: grid; gap: 6px; padding-inline: 10px; align-content: start; min-width: 0; }
.model-card__name { font-size: 20px; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; }
.model-card__text { font-size: 14px; color: var(--muted); }
.model-card__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-inline: 10px; }
.model-card__price { font-size: 22px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.model-card__price--off { font-size: 15px; font-weight: 600; color: var(--muted); }
.model-card__link { font-size: 14px; font-weight: 600; color: var(--accent); white-space: nowrap; }
.includes { margin-top: 28px; border-radius: var(--radius-l); padding: 26px 30px; display: grid; gap: 16px; }
.includes__title { font-size: 18px; font-weight: 600; }
.includes__list { display: flex; flex-wrap: wrap; gap: 10px; }
.includes__item { border-radius: 999px; padding: 8px 16px; font-size: 14px; font-weight: 500; background: var(--accent-soft); }

/* ---------- russification ---------- */
.russification__inner { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.russification__content { display: grid; gap: 22px; justify-items: start; }
.russification__price { font-size: 30px; font-weight: 700; letter-spacing: -.03em; }
.model-list { border-radius: var(--radius-l); padding: 8px 30px; }
.model-list__row { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 20px; padding-block: 17px; border-top: 1px solid var(--line); }
.model-list__row:first-child { border-top: 0; }
.model-list__brand { font-weight: 600; font-size: 17px; }
.model-list__models { color: var(--muted); }

/* ---------- web-adb ---------- */
.deep-panel { border-radius: var(--radius-xl); color: var(--on-deep); background: linear-gradient(125deg, var(--deep-a), var(--deep-b) 60%, var(--deep-c)); position: relative; overflow: hidden; }
.webadb__panel { padding: clamp(28px, 4.5vw, 56px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.webadb__content { display: grid; gap: 26px; justify-items: start; }
.webadb__eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .08em; color: var(--on-deep-muted); }
.webadb__title { font-size: clamp(30px, 4vw, 46px); line-height: 1.08; letter-spacing: -.03em; font-weight: 700; text-wrap: balance; }
.webadb__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.steps { display: grid; gap: 20px; counter-reset: step; }
.steps__item { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; counter-increment: step; }
.steps__item::before { content: counter(step); width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; background: var(--deep-glass); border: 1px solid var(--deep-glass-border); box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, .35); }
.steps__title { font-size: 19px; font-weight: 600; line-height: 1.3; }
.steps__text { font-size: 15px; color: var(--on-deep-muted); }
.installer { border-radius: var(--radius-l); padding: 22px; display: grid; gap: 12px; background: var(--deep-glass); border: 1px solid var(--deep-glass-border); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, .35); min-width: 0; }
.installer__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 4px; }
.installer__car { font-size: 20px; font-weight: 600; }
.installer__caption { font-size: 13px; color: var(--on-deep-muted); }
.installer__status { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 7px 14px 7px 12px; font-size: 13px; font-weight: 600; background: var(--deep-glass); border: 1px solid var(--deep-glass-border); }
.installer__status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--deep-ok); }
.installer__app { border-radius: 16px; padding: 13px 16px; display: grid; gap: 10px; background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .16); }
.installer__row { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; font-weight: 500; }
.installer__state { font-size: 13px; color: var(--on-deep-muted); font-weight: 400; white-space: nowrap; }
.installer__state--done { color: var(--deep-ok); font-weight: 600; }
.installer__state--active { color: var(--on-deep); font-weight: 600; }
.installer__progress { height: 6px; border-radius: 999px; background: rgba(255, 255, 255, .2); overflow: hidden; }
.installer__progress-bar { height: 100%; width: 72%; background: var(--on-deep); border-radius: inherit; }
.needs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 20px; }
.need-card { border-radius: 26px; padding: 22px 24px; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; }
.need-card__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.need-card__icon svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.need-card__title { font-size: 18px; font-weight: 600; line-height: 1.25; }
.need-card__text { font-size: 14px; color: var(--muted); margin-top: 4px; }

/* ---------- pricing ---------- */
.pricing__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.price-card { border-radius: var(--radius-l); padding: 32px; display: grid; gap: 22px; grid-template-rows: auto auto 1fr auto; }
.price-card--featured { color: var(--on-deep); background: linear-gradient(140deg, var(--deep-a), var(--deep-b) 60%, var(--deep-c)); box-shadow: 0 28px 60px -22px rgba(122, 18, 237, .65); }
.price-card__head { display: grid; gap: 6px; }
.price-card__top { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.price-card__title { font-size: 24px; font-weight: 600; letter-spacing: -.02em; }
.price-card__badge { border-radius: 999px; padding: 5px 12px; font-size: 12px; font-weight: 600; background: var(--deep-glass); border: 1px solid var(--deep-glass-border); }
.price-card__text { font-size: 15px; color: var(--muted); }
.price-card--featured .price-card__text { color: var(--on-deep-muted); }
.price-card__price { font-size: 44px; font-weight: 700; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.price-card__price-prefix { font-size: 18px; font-weight: 400; color: var(--muted); margin-right: 6px; letter-spacing: 0; }
.price-card--featured .price-card__price-prefix { color: var(--on-deep-muted); }
.price-card__list { display: grid; gap: 12px; align-content: start; }
.price-card__item { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; font-size: 15px; line-height: 1.35; }
.price-card__item::before { content: ""; width: 20px; height: 20px; background: currentColor; color: var(--accent); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / contain no-repeat; }
.price-card--featured .price-card__item::before { color: var(--on-deep); }
.pricing__note { margin-top: 18px; font-size: 14px; color: var(--muted); }

/* ---------- reviews ---------- */
.reviews__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.review-card { border-radius: var(--radius-l); padding: 26px; display: grid; gap: 16px; align-content: start; }
.review-card__source { font-size: 13px; color: var(--muted); }
.review-card__stars { color: var(--accent); letter-spacing: .12em; }
.review-card__line { height: 12px; border-radius: 999px; background: var(--accent-soft); }
.review-card__line--short { width: 60%; }
.reviews__note { margin-top: 18px; font-size: 14px; color: var(--muted); }

/* ---------- faq ---------- */
.faq__inner { display: grid; grid-template-columns: minmax(0, .65fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.faq__head { display: grid; gap: 14px; }
.accordion { display: grid; gap: 12px; }
.accordion__item { border-radius: 24px; padding: 0 22px 0 26px; }
.accordion__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 20px; font-size: 19px; font-weight: 600; line-height: 1.3; cursor: pointer; list-style: none; }
.accordion__head::-webkit-details-marker { display: none; }
.accordion__toggle { width: 36px; height: 36px; border-radius: 50%; flex: none; background: var(--accent-soft); position: relative; }
.accordion__toggle::before, .accordion__toggle::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; border-radius: 2px; background: var(--accent); transform: translate(-50%, -50%); transition: transform .2s; }
.accordion__toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
.accordion__item[open] .accordion__toggle::after { transform: translate(-50%, -50%) rotate(0deg); }
.accordion__body { padding-bottom: 22px; color: var(--muted); max-width: 44em; }

/* ---------- cta ---------- */
.cta__panel { padding: clamp(40px, 6vw, 72px) clamp(22px, 5vw, 56px); display: grid; gap: 22px; justify-items: center; text-align: center; }
.cta__title { font-size: clamp(32px, 4.6vw, 54px); line-height: 1.06; letter-spacing: -.03em; font-weight: 700; text-wrap: balance; }
.cta__text { font-size: 18px; color: var(--on-deep-muted); max-width: 34em; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.cta__facts { display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: center; font-size: 15px; color: var(--on-deep-muted); }

/* ---------- footer ---------- */
.footer { padding-block: 16px 40px; }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 32px; padding-top: 40px; border-top: 1px solid var(--line); }
.footer__about { display: grid; gap: 14px; justify-items: start; align-content: start; }
.footer__text { font-size: 15px; color: var(--muted); max-width: 24em; }
.footer__col { display: grid; gap: 10px; align-content: start; }
.footer__title { font-size: 15px; font-weight: 600; }
.footer__link { font-size: 15px; color: var(--muted); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 32px; font-size: 13px; color: var(--muted); }

/* ---------- inner pages ---------- */
.view { padding-block: clamp(28px, 4vw, 48px) 24px; display: grid; gap: clamp(36px, 5vw, 56px); }
.view__section { min-width: 0; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); }
.breadcrumbs__link:hover { color: var(--accent); }
.breadcrumbs__sep { opacity: .5; }
.url-hint { margin-top: 8px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12.5px; color: var(--muted); overflow-wrap: anywhere; }
.page-hero { display: grid; gap: 18px; justify-items: start; }
.page-hero__title { font-size: clamp(32px, 4.4vw, 54px); line-height: 1.05; letter-spacing: -.03em; font-weight: 700; text-wrap: balance; }
.page-hero__text { font-size: 18px; color: var(--muted); max-width: 38em; }
.page-hero__meta { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { border-radius: 999px; padding: 8px 16px; font-size: 14px; font-weight: 500; background: var(--accent-soft); }
.block-title { font-size: clamp(24px, 3vw, 32px); font-weight: 700; letter-spacing: -.025em; margin-bottom: 20px; }
.brand-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.brand-card { border-radius: var(--radius-l); padding: 22px; display: grid; gap: 18px; align-content: start; transition: transform .2s ease; }
.brand-card:hover { transform: translateY(-3px); }
.brand-card__logo { width: 56px; height: 56px; border-radius: 18px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-weight: 700; font-size: 22px; }
.brand-card__name { font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.brand-card__meta { font-size: 14px; color: var(--muted); }
.brand-card__price { font-weight: 600; color: var(--accent); }
.flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: flow; }
.flow__item { border-radius: var(--radius-l); padding: 26px; display: grid; gap: 10px; counter-increment: flow; align-content: start; }
.flow__item::before { content: counter(flow); width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; background: var(--accent-soft); color: var(--accent); }
.flow__title { font-size: 19px; font-weight: 600; }
.flow__text { font-size: 15px; color: var(--muted); }
.model-card__webadb { font-size: 13px; color: var(--muted); padding-inline: 10px; }
.model-card__status { position: absolute; left: 12px; top: 12px; }
.model-page { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.model-page__media { border-radius: var(--radius-l); }
.model-page__info { display: grid; gap: 20px; justify-items: start; min-width: 0; }
.offer { border-radius: var(--radius-l); padding: 24px; display: grid; gap: 16px; width: 100%; }
.offer__row { display: flex; justify-content: space-between; align-items: center; gap: 12px 16px; flex-wrap: wrap; }
.offer__row + .offer__row { border-top: 1px solid var(--line); padding-top: 16px; }
.offer__label { font-size: 15px; color: var(--muted); }
.offer__price { font-size: 30px; font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.checklist { display: grid; gap: 10px; }
.checklist__item { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; font-size: 15px; line-height: 1.35; }
.checklist__item::before { content: ""; width: 20px; height: 20px; background: var(--accent); -webkit-mask: var(--check-mask) center / contain no-repeat; mask: var(--check-mask) center / contain no-repeat; }
.status { display: inline-flex; align-items: center; border-radius: 999px; padding: 5px 12px; font-size: 12px; font-weight: 600; background: var(--glass-strong); }
.status--ok { color: var(--ok); }
.status--dev { color: var(--muted); }
.note { font-size: 14px; color: var(--muted); max-width: 52em; }
.instruction { border-radius: var(--radius-l); padding: clamp(20px, 3vw, 30px); display: grid; gap: 18px; }
.instruction__list { display: grid; gap: 14px; counter-reset: ins; }
.instruction__item { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 14px; counter-increment: ins; }
.instruction__item::before { content: counter(ins); width: 32px; height: 32px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.instruction__title { font-weight: 600; }
.instruction__text { font-size: 15px; color: var(--muted); }
.button--s { padding: 9px 16px; font-size: 14px; }
.adb { padding: clamp(22px, 3.5vw, 40px); display: grid; gap: 24px; }
.adb__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.adb__title { font-size: 26px; font-weight: 700; letter-spacing: -.02em; }
.adb__sub { color: var(--on-deep-muted); font-size: 15px; max-width: 40em; }
.adb__gate { display: grid; gap: 16px; justify-items: start; }
.adb__price { font-size: 40px; font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.adb__row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.adb__body { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.adb__panel { border-radius: 24px; padding: 20px; display: grid; gap: 14px; align-content: start; min-width: 0; background: var(--deep-glass); border: 1px solid var(--deep-glass-border); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, .35); }
.adb__panel-title { font-size: 17px; font-weight: 600; }
.adb__actions { display: grid; gap: 10px; }
.adb__confirm { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 14px; }
.adb__log { margin: 0; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12.5px; line-height: 1.6; background: rgba(0, 0, 0, .28); border-radius: 14px; padding: 14px; max-height: 230px; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; color: var(--on-deep-muted); }
.adb__file { font-size: 14px; color: var(--on-deep-muted); max-width: 100%; }
.adb-app { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 11px 14px; border-radius: 14px; background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .16); font-size: 15px; cursor: pointer; }
.adb-app__check { width: 18px; height: 18px; accent-color: #FFFFFF; }
.adb-app__state { font-size: 13px; color: var(--on-deep-muted); white-space: nowrap; }
.adb-app__state--done { color: var(--deep-ok); font-weight: 600; }
@media (max-width: 1080px) { .brand-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) {
  .model-page, .adb__body, .flow { grid-template-columns: minmax(0, 1fr); }
  .brand-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 420px) { .brand-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- responsive ---------- */
@media (max-width: 1240px) { .header__phone { display: none; } }
@media (max-width: 1080px) {
  .nav { display: none; }
  .header__burger { display: inline-grid; }
  .services__grid, .catalog__grid, .reviews__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pricing__grid { grid-template-columns: minmax(0, 1fr); }
  .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .hero__inner, .russification__inner, .webadb__panel, .faq__inner { grid-template-columns: minmax(0, 1fr); }
  .needs { grid-template-columns: minmax(0, 1fr); }
  .status-card { left: 12px; }
}
@media (max-width: 620px) {
  .services__grid, .catalog__grid, .reviews__grid, .footer__top { grid-template-columns: minmax(0, 1fr); }
  .header__login { display: none; }
  .header__bar { padding-left: 20px; }
  .model-list { padding-inline: 20px; }
  .model-list__row { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .price-card { padding: 26px; }
  .button--l { padding: 16px 24px; font-size: 16px; }
  .head-unit__screen { padding: 16px; }
  .head-unit__apps { gap: 8px; }
  .app-tile { padding: 12px 10px; border-radius: 18px; }
  .app-tile__name { font-size: 12px; overflow-wrap: normal; }
  .stats__value { font-size: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
  .button { transition: none; }
}
.button:disabled { opacity: .55; cursor: default; transform: none; }

/* ---------- media: реальное фото в рамке 2:1 ---------- */
.model-card__media--photo { background: radial-gradient(60% 70% at 60% 75%, var(--glow-a), transparent 70%), var(--accent-soft); }
a.model-card__media-link { display: block; }

/* ---------- формы ---------- */
.form { display: grid; gap: 14px; width: 100%; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.form__field { display: grid; gap: 6px; font-size: 14px; font-weight: 500; min-width: 0; }
.form__input, .form__textarea, .form__select {
  width: 100%; font: inherit; font-weight: 400; font-size: 16px; color: var(--ink); background: var(--glass-strong);
  border: 1px solid var(--line); border-radius: 16px; padding: 13px 16px; outline: none; transition: border-color .2s, box-shadow .2s;
}
.form__input:focus, .form__textarea:focus, .form__select:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.form__textarea { min-height: 96px; resize: vertical; }
.form__check { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; font-size: 13px; color: var(--muted); align-items: start; }
.form__check input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--accent); }
.form__check a { color: var(--accent); text-decoration: underline; }
.form__error { border-radius: 14px; padding: 12px 16px; font-size: 14px; background: var(--danger-soft); color: var(--danger); }
.form__success { border-radius: 14px; padding: 12px 16px; font-size: 14px; background: var(--accent-soft); color: var(--ink); }
.form__hint { font-size: 13px; color: var(--muted); }
.form__hint a { color: var(--accent); }

/* ---------- заявка в блоке CTA ---------- */
.cta__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; text-align: left; justify-items: stretch; }
.cta__info { display: grid; gap: 20px; justify-items: start; }
.cta__grid .cta__facts { justify-content: flex-start; }
.lead-form { border-radius: var(--radius-l); padding: clamp(20px, 3vw, 30px); background: var(--deep-glass); border: 1px solid var(--deep-glass-border); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, .35); }
.lead-form .form__field { color: var(--on-deep); }
.lead-form .form__input, .lead-form .form__textarea { background: rgba(255, 255, 255, .92); color: #15101F; border-color: transparent; }
.lead-form .form__check { color: var(--on-deep-muted); }
.lead-form .form__check a { color: var(--on-deep); }
.lead-form .form__success { background: rgba(255, 255, 255, .16); color: var(--on-deep); }
.lead-form .form__error { background: rgba(255, 255, 255, .92); }
.messengers { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- вход, кабинет ---------- */
.auth { max-width: 460px; margin-inline: auto; width: 100%; border-radius: var(--radius-l); padding: clamp(24px, 4vw, 36px); display: grid; gap: 20px; }
.auth__title { font-size: 30px; font-weight: 700; letter-spacing: -.03em; }
.cabinet { display: grid; gap: 28px; }
.cabinet__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.access-card { border-radius: var(--radius-l); padding: 24px; display: grid; gap: 14px; align-content: start; justify-items: start; }
.access-card__title { font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.table-wrap { overflow-x: auto; border-radius: var(--radius-m); }
.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th, .table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table th { font-size: 13px; color: var(--muted); font-weight: 600; }
.status--wait { color: var(--muted); }
.status--bad { color: var(--danger); }

/* ---------- контакты, текстовые страницы ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.contact-card { border-radius: var(--radius-l); padding: 26px; display: grid; gap: 8px; align-content: start; }
.contact-card__label { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.contact-card__value { font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.prose { display: grid; gap: 14px; max-width: 46em; color: var(--muted); }
.prose h2 { color: var(--ink); font-size: 24px; letter-spacing: -.02em; }
.seo-text { border-top: 1px solid var(--line); padding-top: 28px; }

/* ---------- отзывы ---------- */
.review-card__text { font-size: 15px; color: var(--ink); white-space: pre-line; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; }
.review-card--open .review-card__text { display: block; }
.review-card__author { font-size: 14px; font-weight: 600; }

/* ---------- web-adb: рабочий интерфейс ---------- */
.adb__info { display: grid; gap: 6px; font-size: 14px; color: var(--on-deep-muted); }
.adb__info b { color: var(--on-deep); font-weight: 600; }
.adb__shell { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.adb__input { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; color: var(--on-deep); background: rgba(0, 0, 0, .28); border: 1px solid var(--deep-glass-border); border-radius: 12px; padding: 10px 12px; min-width: 0; outline: none; }
.adb__input::placeholder { color: var(--on-deep-muted); }
.adb__alert { border-radius: 14px; padding: 12px 16px; font-size: 14px; background: rgba(255, 255, 255, .92); color: #7A1020; }
.adb-app__meta { display: block; font-size: 12px; color: var(--on-deep-muted); }
.adb-app__state--fail { color: #FFB4BE; font-weight: 600; }

@media (max-width: 860px) {
  .cta__grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .cabinet__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .form__row, .cabinet__grid { grid-template-columns: minmax(0, 1fr); }
}

#adb-app { display: grid; gap: 24px; }

/* ---------- блоки страниц ---------- */
.block { padding-block: clamp(18px, 2.6vw, 30px); }
.block--head { padding-top: clamp(28px, 4vw, 48px); }
.block .breadcrumbs { margin-bottom: clamp(20px, 3vw, 32px); }
.block .seo-text { padding-top: 28px; }
.media-text { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: center; }
.media-text--reverse .media-text__media { order: 2; }
.media-text__media { border-radius: var(--radius-l); overflow: hidden; aspect-ratio: 4 / 3; max-width: 100%; display: grid; place-items: center; }
.media-text__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.media-text__body { display: grid; gap: 18px; justify-items: start; min-width: 0; }
.media-text__body .block-title { margin-bottom: 0; }
@media (max-width: 860px) { .media-text { grid-template-columns: minmax(0, 1fr); } .media-text--reverse .media-text__media { order: 0; } }

/* ---------- чат ---------- */
.chat { position: fixed; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 40; display: grid; justify-items: end; gap: 12px; }
.chat__toggle { position: relative; width: 60px; height: 60px; border-radius: 50%; border: 0; color: #FFFFFF; background: linear-gradient(135deg, var(--grad-from), var(--grad-to)); box-shadow: 0 14px 30px -10px rgba(122, 18, 237, .7), inset 0 1.5px 0 rgba(255, 255, 255, .45); display: grid; place-items: center; order: 2; }
.chat__toggle svg { width: 28px; height: 28px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.chat__badge { position: absolute; top: -2px; right: -2px; min-width: 22px; height: 22px; border-radius: 999px; padding: 0 6px; background: var(--danger); color: #FFFFFF; font-size: 12px; font-weight: 700; line-height: 22px; text-align: center; }
.chat__panel { order: 1; width: min(380px, calc(100vw - 32px)); height: min(540px, calc(100vh - 120px)); display: grid; grid-template-rows: auto minmax(0, 1fr) auto auto; border-radius: 28px; overflow: hidden;
  background: var(--glass-strong); border: 1px solid var(--glass-border); -webkit-backdrop-filter: blur(30px) saturate(170%); backdrop-filter: blur(30px) saturate(170%); box-shadow: 0 30px 70px -20px var(--shadow), inset 0 1.5px 0 var(--glass-highlight); }
.chat__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 18px; color: var(--on-deep); background: linear-gradient(125deg, var(--deep-a), var(--deep-b) 60%, var(--deep-c)); }
.chat__title { font-weight: 700; font-size: 17px; }
.chat__sub { font-size: 13px; color: var(--on-deep-muted); }
.chat__close { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--deep-glass-border); background: var(--deep-glass); color: var(--on-deep); font-size: 22px; line-height: 1; }
.chat__messages { overflow-y: auto; padding: 16px; display: grid; gap: 10px; align-content: start; }
.chat__msg { justify-self: start; max-width: 86%; display: grid; gap: 2px; }
.chat__msg--mine { justify-self: end; }
.chat__text { border-radius: 18px 18px 18px 6px; padding: 10px 14px; background: var(--accent-soft); font-size: 15px; line-height: 1.4; white-space: pre-wrap; overflow-wrap: anywhere; }
.chat__msg--mine .chat__text { border-radius: 18px 18px 6px 18px; color: #FFFFFF; background: linear-gradient(100deg, var(--grad-from), var(--grad-to)); }
.chat__time { font-size: 11px; color: var(--muted); padding-inline: 6px; }
.chat__msg--mine .chat__time { text-align: right; }
.chat__note { margin: 0 16px 8px; border-radius: 12px; padding: 8px 12px; font-size: 13px; background: var(--danger-soft); color: var(--danger); }
.chat__form { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px; padding: 12px; border-top: 1px solid var(--line); align-items: end; }
.chat__input { font: inherit; font-size: 15px; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 16px; padding: 10px 12px; resize: none; outline: none; min-width: 0; }
.chat__input:focus { border-color: var(--accent); }
.chat__guest { padding: 20px 18px; display: grid; gap: 12px; align-content: start; justify-items: start; font-size: 15px; color: var(--muted); grid-row: 2 / -1; }

/* ---------- отзывы: автор, фото, подгрузка ---------- */
.review-card__head { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.review-card__avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; display: block; background: var(--accent-soft); }
.review-card__avatar--empty { display: grid; place-items: center; font-weight: 700; font-size: 19px; color: var(--accent); }
.review-card__who { display: grid; min-width: 0; }
.review-card__author { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.review-card__source a { text-decoration: underline; text-underline-offset: 2px; }
.review-card__more { justify-self: start; border: 0; background: none; padding: 0; font-size: 14px; font-weight: 600; color: var(--accent); }
.review-card__photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.review-card__photo { display: block; aspect-ratio: 1 / 1; border-radius: 14px; overflow: hidden; background: var(--accent-soft); }
.review-card__photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s ease; }
.review-card__photo:hover img { transform: scale(1.05); }
.reviews__more { display: flex; justify-content: center; margin-top: 28px; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(94vw, 1100px); max-height: 92vh; }
.lightbox::backdrop { background: rgba(10, 6, 24, .82); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.lightbox__img { display: block; max-width: min(94vw, 1100px); max-height: 92vh; border-radius: 18px; }
.lightbox__close { position: fixed; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .16); color: #FFFFFF; font-size: 26px; line-height: 1; }
@media (prefers-reduced-motion: reduce) { .review-card__photo img { transition: none; } }

/* ---------- чат: вложения и цитаты ---------- */
.chat__attach { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--bg); color: var(--accent); display: grid; place-items: center; }
.chat__attach svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.chat__attach:disabled { opacity: .5; }
.chat__text { display: grid; gap: 6px; }
.chat__quote { border-left: 3px solid currentColor; padding-left: 8px; font-size: 13px; opacity: .75; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat__file { display: grid; gap: 2px; padding: 8px 10px; border-radius: 12px; background: rgba(127, 127, 127, .16); text-decoration: underline; text-underline-offset: 2px; }
.chat__file-size { font-size: 12px; opacity: .75; text-decoration: none; }
.chat__image img { display: block; max-width: 100%; max-height: 220px; border-radius: 12px; }
.chat__form .button { padding-inline: 16px; }

/* ---------- видео-истории: виджет в углу ---------- */
.stories-widget { position: fixed; left: max(16px, env(safe-area-inset-left, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 39; }
.stories-widget__open { position: relative; display: block; width: 112px; height: 168px; padding: 0; border: 3px solid transparent; border-radius: 26px; overflow: hidden; cursor: pointer;
  background: linear-gradient(var(--bg), var(--bg)) padding-box, linear-gradient(135deg, var(--grad-from), var(--grad-to)) border-box; box-shadow: 0 18px 40px -14px rgba(122, 18, 237, .6); transition: transform .2s ease; }
.stories-widget__open:hover { transform: translateY(-3px) scale(1.02); }
.stories-widget__media { width: 100%; height: 100%; object-fit: cover; display: block; background: var(--deep-a); }
.stories-widget__play, .story-card__play { position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .26); border: 1px solid rgba(255, 255, 255, .5); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.stories-widget__play svg, .story-card__play svg { width: 20px; height: 20px; fill: #FFFFFF; stroke: none; margin-left: 2px; }
.stories-widget__label { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 8px 9px; font-size: 11px; font-weight: 600; line-height: 1.2; color: #FFFFFF; text-align: left; background: linear-gradient(transparent, rgba(10, 6, 24, .82)); }
.stories-widget__close { position: absolute; top: -10px; right: -10px; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--glass-border); background: var(--glass-strong); color: var(--ink); font-size: 18px; line-height: 1; box-shadow: 0 6px 14px -6px var(--shadow); }

/* ---------- видео-истории: блок на странице ---------- */
.stories-block__row { display: flex; gap: 16px; overflow-x: auto; padding: 6px 4px 18px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.story-card { position: relative; flex: 0 0 auto; width: 190px; aspect-ratio: 9 / 16; padding: 0; border: 3px solid transparent; border-radius: 28px; overflow: hidden; cursor: pointer; scroll-snap-align: start;
  background: linear-gradient(var(--bg), var(--bg)) padding-box, linear-gradient(135deg, var(--grad-from), var(--grad-to)) border-box; box-shadow: 0 18px 40px -18px var(--shadow); transition: transform .2s ease; }
.story-card:hover { transform: translateY(-4px); }
.story-card__media { width: 100%; height: 100%; object-fit: cover; display: block; background: var(--deep-a); }
.story-card__title { position: absolute; left: 0; right: 0; bottom: 0; padding: 34px 14px 14px; font-size: 14px; font-weight: 600; line-height: 1.25; color: #FFFFFF; text-align: left; background: linear-gradient(transparent, rgba(10, 6, 24, .85)); }

/* ---------- видео-истории: просмотр ---------- */
.stories { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; overflow: visible; }
.stories[open] { display: flex; align-items: center; gap: 14px; }
.stories::backdrop { background: rgba(10, 6, 24, .86); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.stories__frame { position: relative; height: min(88vh, 760px); aspect-ratio: 9 / 16; max-width: 94vw; border-radius: 28px; overflow: hidden; background: #000000; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .7); }
.stories__video { width: 100%; height: 100%; object-fit: cover; display: block; }
.stories__bars { position: absolute; left: 12px; right: 12px; top: 10px; display: flex; gap: 4px; z-index: 3; }
.stories__bar { flex: 1; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .35); overflow: hidden; }
.stories__bar-fill { display: block; height: 100%; width: 0; background: #FFFFFF; }
.stories__head { position: absolute; left: 12px; right: 12px; top: 22px; display: flex; align-items: center; gap: 8px; z-index: 3; }
.stories__title { flex: 1; min-width: 0; font-size: 15px; font-weight: 600; color: #FFFFFF; text-shadow: 0 1px 6px rgba(0, 0, 0, .6); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stories__btn { width: 38px; height: 38px; flex: none; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .4); background: rgba(0, 0, 0, .3); color: #FFFFFF; font-size: 22px; line-height: 1; display: grid; place-items: center; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.stories__btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.stories__zone { position: absolute; top: 70px; bottom: 90px; width: 38%; border: 0; background: transparent; z-index: 2; }
.stories__zone--prev { left: 0; }
.stories__zone--next { right: 0; }
.stories__state { position: absolute; left: 0; right: 0; top: 50%; text-align: center; font-size: 14px; color: #FFFFFF; text-shadow: 0 1px 6px rgba(0, 0, 0, .7); pointer-events: none; z-index: 1; }
.stories__cta { position: absolute; left: 16px; right: 16px; bottom: 18px; z-index: 3; }
.stories__arrow { width: 48px; height: 48px; flex: none; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .14); color: #FFFFFF; font-size: 28px; line-height: 1; }
.stories--single .stories__arrow { visibility: hidden; }
@media (max-width: 700px) {
  .stories__arrow { display: none; }
  .stories__frame { height: 100vh; height: 100dvh; max-width: 100vw; width: 100vw; aspect-ratio: auto; border-radius: 0; }
  .stories-widget__open { width: 84px; height: 126px; border-radius: 22px; }
  .story-card { width: 150px; }
}
@media (prefers-reduced-motion: reduce) { .stories-widget__open, .story-card { transition: none; } }

/* миниатюра играет сама: кнопка «воспроизвести» уменьшается и уходит в угол */
.stories-widget__play { transition: transform .25s ease, opacity .25s ease; }
.stories-widget--playing .stories-widget__play { transform: translate(28px, -52px) scale(.55); opacity: .9; }
@media (max-width: 700px) { .stories-widget--playing .stories-widget__play { transform: translate(18px, -36px) scale(.5); } }
@media (prefers-reduced-motion: reduce) { .stories-widget__play { transition: none; } }

/* ---------- юридические документы, cookie ---------- */
.page-hero__title--doc { font-size: clamp(26px, 4vw, 40px); }
.prose--doc { max-width: 52em; gap: 12px; font-size: 15.5px; line-height: 1.6; }
.prose--doc h2 { font-size: 20px; margin-top: 18px; }
.prose--doc ul { display: grid; gap: 6px; padding-left: 20px; list-style: disc; }
.prose--doc a { color: var(--accent); text-decoration: underline; }
.doc-nav { display: flex; flex-wrap: wrap; gap: 8px 12px; margin-top: 32px; }
.doc-nav__link { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--glass-border); font-size: 14px; color: var(--ink); }
.doc-nav__link:hover { border-color: var(--accent); color: var(--accent); }
.footer__legal { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 28px; font-size: 13px; }
.footer__link--button { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; text-align: left; }
.footer__bottom { margin-top: 16px; }
.footer__bottom a { text-decoration: underline; }
.cookie-banner { background: var(--glass-strong); position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 120; width: min(760px, calc(100% - 24px)); display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 22px; font-size: 13.5px; line-height: 1.45; color: var(--ink); }
.cookie-banner__text a { color: var(--accent); text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: 8px; flex-shrink: 0; }
@media (max-width: 720px) {
  .cookie-banner { flex-direction: column; align-items: stretch; bottom: 8px; }
  .cookie-banner__actions { flex-wrap: wrap; }
  .cookie-banner__actions .button { flex: 1 1 auto; }
}

/* ---------- сделанные машины ---------- */
.block-text { color: var(--muted); max-width: 46em; margin: -8px 0 20px; }
.works { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.works__item { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 20px; overflow: hidden; background: var(--accent-soft); }
.works__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s ease; }
.works__item:hover img { transform: scale(1.04); }
.works__caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 12px 10px; font-size: 13px; line-height: 1.3; color: #FFFFFF; background: linear-gradient(transparent, rgba(0, 0, 0, .7)); }
.works__more { display: flex; justify-content: center; margin-top: 20px; }
@media (max-width: 900px) { .works { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .works { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } .works__item { border-radius: 14px; } }

/* ---------- вход через сервисы, код из письма ---------- */
.auth .form { display: grid; gap: 20px; }
.auth__social { display: grid; gap: 10px; }
.auth__social-button { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 18px; border-radius: 16px; font-weight: 600; border: 1px solid var(--line); background: var(--glass-strong); color: var(--ink); }
.auth__social-button:hover { border-color: var(--accent); }
.auth__social-mark { display: grid; place-items: center; min-width: 28px; height: 28px; padding: 0 6px; border-radius: 9px; font-size: 13px; font-weight: 700; color: #FFFFFF; background: #17121F; }
.auth__social-button--yandex .auth__social-mark { background: #E5261E; }
.auth__social-button--vk .auth__social-mark { background: #0A63E0; }
.auth__or { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); }
.auth__or::before, .auth__or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth__code { font-size: 26px; letter-spacing: .3em; text-align: center; font-variant-numeric: tabular-nums; }

/* ---------- кружки соцсетей рядом с чатом ---------- */
.social { position: fixed; z-index: 39; right: calc(max(16px, env(safe-area-inset-right, 0px)) + 72px); bottom: calc(22px + env(safe-area-inset-bottom, 0px)); display: flex; gap: 10px; }
.social__link { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: #FFFFFF; font-size: 13px; font-weight: 700; letter-spacing: -.02em; box-shadow: 0 10px 24px -10px rgba(23, 18, 31, .55), inset 0 1.5px 0 rgba(255, 255, 255, .35); transition: transform .15s ease; }
.social__link:hover { transform: translateY(-3px); }
.social__link--avito { background: #17121F; }
.social__link--telegram { background: #1C8ACB; }
.social__link--max { background: #4B32E6; font-size: 12px; }
.social__link--whatsapp { background: #128C4B; }
.chat:has(.chat__panel:not([hidden])) ~ .social { display: none; }
@media (max-width: 640px) {
  .social { right: calc(max(16px, env(safe-area-inset-right, 0px)) + 8px); bottom: calc(88px + env(safe-area-inset-bottom, 0px)); flex-direction: column-reverse; gap: 8px; }
  .social__link { width: 40px; height: 40px; font-size: 12px; }
  .social__link--max { font-size: 11px; }
}
@media (max-width: 560px) { .logo { font-size: 19px; gap: 8px; } .logo__mark { width: 28px; height: 28px; } }
@media (max-width: 400px) { .header .logo__text { display: none; } }

/* ---------- VIN в форме покупки Web-ADB ---------- */
.adb__field { display: grid; gap: 8px; max-width: 360px; margin-bottom: 16px; font-size: 14px; font-weight: 600; color: var(--on-deep); }
.adb__input--vin { font-size: 18px; letter-spacing: .12em; text-transform: uppercase; padding: 14px 16px; }
.adb__hint { font-weight: 400; font-size: 13px; color: var(--on-deep-muted); }

/* ---------- характеристики устройства в установщике ---------- */
.adb__info-row { display: grid; grid-template-columns: minmax(0, 11em) minmax(0, 1fr); gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--deep-glass-border); }
.adb__info-row b { overflow-wrap: anywhere; }
.adb__props { margin-top: 10px; }
.adb__props summary { cursor: pointer; padding: 8px 0; color: var(--on-deep); font-weight: 600; }
.adb__props-tools { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0; }
.adb__props-tools .adb__input { flex: 1 1 200px; }
.adb__props-list { max-height: 320px; }
@media (max-width: 560px) { .adb__info-row { grid-template-columns: minmax(0, 1fr); gap: 2px; } }

.adb__buy { display: grid; gap: 12px; justify-items: start; padding: 20px; border-radius: 20px; background: var(--deep-glass); border: 1px solid var(--deep-glass-border); margin-bottom: 16px; }
.adb__buy .adb__field { margin-bottom: 0; }
.access-card__vin { font-size: 13px; color: var(--muted); }

.social__link--image { background: #FFFFFF; overflow: hidden; }
.social__link--image img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- значки приложений ---------- */
.app-icon { display: block; border-radius: 24%; object-fit: cover; flex-shrink: 0; }
.app-tile__icon--image { background: none; overflow: hidden; }
.app-tile__icon--image .app-icon { width: 100%; height: 100%; }
.includes__item--icon { display: inline-flex; align-items: center; gap: 8px; padding-left: 8px; }
.checklist__item--icon { grid-template-columns: 28px minmax(0, 1fr); align-items: center; }
.checklist__item--icon::before { display: none; }
.apps-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.apps-grid__item { display: grid; justify-items: center; gap: 10px; padding: 18px 12px; border-radius: 22px; text-align: center; }
.apps-grid__item .app-tile__icon { width: 56px; height: 56px; border-radius: 16px; }
.apps-grid__name { font-size: 14px; font-weight: 600; line-height: 1.25; }
.adb-app__name { display: flex; align-items: center; gap: 10px; min-width: 0; }
.includes__list { align-items: center; }
