/* ============================================================
   AsCar — публичные страницы (лендинг, каталог, тарифы,
   VIN-отчёт, справка, вход). Токены и компоненты — в app.css.
   ============================================================ */

body.site {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--tch-bg);
}

.site-main { flex: 1 0 auto; }

.site .container {
  max-width: 1240px;
  padding-left: max(20px, env(safe-area-inset-left));
  padding-right: max(20px, env(safe-area-inset-right));
}

/* ── Навигация ─────────────────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  padding-top: env(safe-area-inset-top);
  color: #EDF1F2;
  transition: background-color .3s ease, box-shadow .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}

.site-nav.is-scrolled,
.site-nav.menu-open,
.site-nav.is-solid {
  background: rgba(8, 13, 16, .86);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  border-bottom-color: rgba(255, 255, 255, .07);
}

.site-nav-inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: 76px;
  transition: min-height .3s ease;
}

.site-nav.is-scrolled .site-nav-inner { min-height: 64px; }

.site-nav .brand { color: #EDF1F2; }
.site-nav .brand-name b { color: var(--tch-yellow); }
.site-nav .brand-tagline { color: #8A979D; }

.site-nav-links {
  display: flex;
  align-items: center;
  gap: .25rem;
  margin: 0 auto;
}

.site-nav-link {
  position: relative;
  padding: .5rem .75rem;
  border-radius: 10px;
  color: #C3CCD0;
  font-size: .875rem;
  font-weight: 600;
  white-space: nowrap;
  transition: color .2s ease, background-color .2s ease;
}

.site-nav-link:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, .06);
}

.site-nav-link.active { color: #FFFFFF; }

.site-nav-link.active::after {
  content: '';
  position: absolute;
  left: .75rem;
  right: .75rem;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--tch-yellow);
  box-shadow: 0 0 10px rgba(var(--tch-yellow-rgb), .8);
}

.site-nav-actions {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-left: auto;
}

.site-nav-links + .site-nav-actions { margin-left: 0; }

.site-nav .icon-btn {
  background: rgba(255, 255, 255, .05);
  border-color: rgba(255, 255, 255, .1);
  color: #C3CCD0;
}

.site-nav .icon-btn:hover { background: rgba(255, 255, 255, .1); color: #FFFFFF; }

.site-nav .btn-outline-secondary {
  --tblr-btn-color: #EDF1F2;
  --tblr-btn-border-color: rgba(255, 255, 255, .18);
  --tblr-btn-hover-bg: rgba(255, 255, 255, .08);
  --tblr-btn-hover-color: #FFFFFF;
  --tblr-btn-hover-border-color: rgba(255, 255, 255, .28);
  color: #EDF1F2;
  border-color: rgba(255, 255, 255, .18);
}

.site-nav .btn-outline-secondary:hover { background: rgba(255, 255, 255, .08); color: #FFFFFF; }

.site-nav-burger { display: none; }

/* Мобильное меню */
.site-mobile-menu {
  display: none;
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s var(--tch-ease);
}

.site-mobile-menu.open { max-height: calc(100vh - 64px); overflow-y: auto; }

.site-mobile-menu-inner { padding: .5rem 0 1.25rem; }

.site-mobile-link {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .8rem .25rem;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  color: #D5DCDF;
  font-size: 1rem;
  font-weight: 600;
}

.site-mobile-link .ti { color: var(--tch-yellow); font-size: 1.2rem; }
.site-mobile-link:hover, .site-mobile-link.active { color: #FFFFFF; }

.site-mobile-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .6rem;
  margin-top: 1rem;
}

/* ── Лендинг: первый экран ─────────────────────────────────── */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: calc(76px + env(safe-area-inset-top) + 3.5rem) 0 0;
  background:
    radial-gradient(60% 70% at 78% 40%, rgba(var(--tch-emerald-rgb), .16), transparent 70%),
    radial-gradient(50% 60% at 18% 90%, rgba(var(--tch-yellow-rgb), .10), transparent 70%),
    linear-gradient(180deg, #06090B 0%, #080D10 60%, #0A1014 100%);
  color: #EDF1F2;
}

/* Большие диагональные полосы, как в фоне концепта */
.hero-bands {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.hero-bands::before,
.hero-bands::after {
  content: '';
  position: absolute;
  width: 150px;
  height: 180%;
  top: -40%;
  transform: rotate(35deg);
}

.hero-bands::before {
  right: 14%;
  background: linear-gradient(180deg, rgba(var(--tch-yellow-rgb), 0) 5%, rgba(var(--tch-yellow-rgb), .18) 40%, rgba(var(--tch-yellow-rgb), .02) 80%);
}

.hero-bands::after {
  right: 4%;
  width: 90px;
  background: linear-gradient(180deg, rgba(var(--tch-emerald-rgb), 0) 5%, rgba(var(--tch-emerald-rgb), .2) 40%, rgba(var(--tch-emerald-rgb), .02) 80%);
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 40%, #000, transparent);
  mask-image: radial-gradient(70% 60% at 50% 40%, #000, transparent);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
  gap: 3rem;
  min-height: clamp(460px, 62vh, 640px);
}

.hero-title {
  margin: 1.1rem 0 1.25rem;
  font-family: var(--tch-font-display);
  font-weight: 800;
  font-size: clamp(2.1rem, 1.3rem + 3.3vw, 3.9rem);
  line-height: 1.04;
  letter-spacing: -.04em;
  color: #FFFFFF;
}

.hero-title .accent {
  color: var(--tch-yellow);
  text-shadow: 0 0 40px rgba(var(--tch-yellow-rgb), .25);
}

.hero-lead {
  max-width: 560px;
  margin: 0 0 2rem;
  color: #A9B4BA;
  font-size: clamp(1rem, .95rem + .3vw, 1.15rem);
  line-height: 1.65;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.hero .btn-outline-secondary {
  --tblr-btn-color: #EDF1F2;
  --tblr-btn-border-color: rgba(255, 255, 255, .2);
  --tblr-btn-hover-bg: rgba(255, 255, 255, .08);
  --tblr-btn-hover-color: #FFFFFF;
  color: #EDF1F2;
  border-color: rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .02);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.25rem;
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
  color: #A9B4BA;
  font-size: .875rem;
}

.hero-points li { display: inline-flex; align-items: center; gap: .45rem; }
.hero-points .ti { color: var(--tch-emerald); font-size: 1.1rem; }

/* Эмблема-«гараж» в кольце со светом */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
}

.hero-emblem {
  position: relative;
  width: min(420px, 82%);
  aspect-ratio: 1;
}

.hero-emblem::before {
  /* Вращающийся световой ореол */
  content: '';
  position: absolute;
  inset: -12%;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(var(--tch-yellow-rgb), .0), rgba(var(--tch-yellow-rgb), .35), rgba(var(--tch-emerald-rgb), .0), rgba(var(--tch-emerald-rgb), .4), rgba(var(--tch-yellow-rgb), .0));
  filter: blur(40px);
  animation: tch-spin 14s linear infinite;
  opacity: .8;
}

.hero-emblem::after {
  content: '';
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, .06),
    0 40px 120px -30px rgba(0, 0, 0, .9);
}

.hero-emblem img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  filter: drop-shadow(0 20px 50px rgba(var(--tch-yellow-rgb), .25));
}

@keyframes tch-spin { to { transform: rotate(360deg); } }

/* Плавающие карточки-подсказки вокруг эмблемы */
.hero-chip {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .7rem .95rem .7rem .7rem;
  border-radius: 16px;
  background: rgba(15, 22, 26, .82);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, .09);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .9);
  color: #EDF1F2;
  font-size: .8125rem;
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
  animation: tch-float 6s ease-in-out infinite;
}

.hero-chip .ring-icon { --ring-size: 38px; --ring-fill: #111A1F; font-size: 1.05rem; }
.hero-chip small { display: block; color: #8A979D; font-weight: 500; font-size: .75rem; }

.hero-chip-1 { top: 10%; left: 0; }
.hero-chip-2 { top: 46%; right: -2%; animation-delay: -2s; }
.hero-chip-3 { bottom: 8%; left: 6%; animation-delay: -4s; }

@keyframes tch-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Строка «ГАРАЖ | ТЕХКАРТА | СЕРВИСЫ» под первым экраном */
.hero-tagline {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: .5rem 1.25rem;
  margin-top: 3rem;
  padding: 1.35rem 0;
  border-top: 1px solid rgba(255, 255, 255, .07);
  color: #C3CCD0;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
}

.hero-tagline-sep {
  width: 2px;
  height: 14px;
  border-radius: 1px;
  background: var(--tch-emerald);
  box-shadow: 0 0 10px rgba(var(--tch-emerald-rgb), .8);
}

/* ── Секции лендинга ───────────────────────────────────────── */
.section {
  position: relative;
  padding: clamp(4rem, 3rem + 4vw, 6.5rem) 0;
}

.section-alt { background: var(--tch-surface); border-top: 1px solid var(--tch-line); border-bottom: 1px solid var(--tch-line); }

.section-head {
  max-width: 720px;
  margin: 0 auto clamp(2.25rem, 1.8rem + 2vw, 3.5rem);
  text-align: center;
}

.section-head.text-start { margin-left: 0; text-align: left; }

.section-title {
  margin: .9rem 0 .75rem;
  font-family: var(--tch-font-display);
  font-weight: 800;
  font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: -.035em;
  color: var(--tch-text);
}

.section-subtitle {
  margin: 0;
  color: var(--tch-text-2);
  font-size: clamp(.95rem, .9rem + .25vw, 1.0625rem);
  line-height: 1.65;
}

/* Ряд «хайлайтов» на лендинге — крупнее, по центру */
.site-highlights {
  display: flex;
  justify-content: center;
  gap: clamp(1rem, .5rem + 2vw, 2.25rem);
  flex-wrap: wrap;
}

.site-highlights .highlight { width: 104px; color: var(--tch-text-2); font-size: .8125rem; }
.site-highlights .highlight:hover { color: var(--tch-text); }
.site-highlights .highlight .ring-icon { --ring-size: 76px; --ring-width: 3px; --ring-fill: var(--tch-surface); font-size: 1.9rem; }

/* Фото-плитки, как посты в ленте концепта */
.photo-tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.photo-tile {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 520px;
  padding: 1.75rem;
  border-radius: var(--tch-r-xl);
  border: 1px solid rgba(255, 255, 255, .08);
  background: #0B1114;
  color: #EDF1F2;
  box-shadow: var(--tch-shadow-2);
}

.photo-tile::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: var(--img);
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
  transition: transform .8s var(--tch-ease);
}

.photo-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(6, 9, 11, .15) 0%, rgba(6, 9, 11, .55) 38%, rgba(6, 9, 11, .95) 72%, #06090B 100%),
    linear-gradient(135deg, rgba(var(--tch-emerald-rgb), .18), transparent 50%);
}

.photo-tile:hover::before { transform: scale(1.07); }

.photo-tile-stripes {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
}

.photo-tile .ring-icon { --ring-size: 52px; --ring-fill: rgba(11, 17, 20, .75); font-size: 1.4rem; margin-bottom: 1rem; }

.photo-tile-kicker {
  color: var(--tch-yellow);
  font-size: .6875rem;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.photo-tile-title {
  margin: .35rem 0 .6rem;
  font-family: var(--tch-font-display);
  font-weight: 800;
  font-size: 1.45rem;
  line-height: 1.15;
  letter-spacing: -.025em;
  text-transform: uppercase;
  color: #FFFFFF;
}

.photo-tile p { color: #B7C1C6; font-size: .9375rem; line-height: 1.6; margin-bottom: 1rem; }

.check-list {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  gap: .6rem;
  align-items: flex-start;
  font-size: .875rem;
  line-height: 1.45;
}

.check-list .ti {
  flex: 0 0 auto;
  margin-top: .05rem;
  color: var(--tch-emerald);
  font-size: 1.1rem;
}

.photo-tile .check-list li { color: #D5DCDF; }

/* Лента-утверждение на фото */
.statement {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(5rem, 4rem + 5vw, 8rem) 0;
  color: #EDF1F2;
  text-align: center;
}

.statement::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: var(--img);
  background-size: cover;
  background-position: center;
}

.statement::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(6, 9, 11, .88), rgba(6, 9, 11, .72) 50%, rgba(6, 9, 11, .92)),
    radial-gradient(60% 80% at 50% 50%, rgba(var(--tch-yellow-rgb), .10), transparent 70%);
}

.statement-title {
  max-width: 820px;
  margin: 1rem auto;
  font-family: var(--tch-font-display);
  font-weight: 800;
  font-size: clamp(1.8rem, 1.2rem + 2.6vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -.035em;
  color: #FFFFFF;
}

.statement-text {
  max-width: 620px;
  margin: 0 auto;
  color: #B7C1C6;
  font-size: 1.0625rem;
  line-height: 1.6;
}

/* Шаги «как это работает» */
.how-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  counter-reset: step;
}

.how-step {
  position: relative;
  padding: 2rem 1.75rem 1.75rem;
  border-radius: var(--tch-r-xl);
  border: 1px solid var(--tch-line);
  background: var(--tch-surface);
  box-shadow: var(--tch-shadow-1);
  overflow: hidden;
}

.how-step-number {
  position: absolute;
  top: .9rem;
  right: 1.25rem;
  font-family: var(--tch-font-display);
  font-weight: 800;
  font-size: 4.5rem;
  line-height: 1;
  letter-spacing: -.02em;
  /* Заливка градиентом, а не контур: у переменного шрифта контур
     показывает внутренние пересечения глифов (перекладина «4», флажок «1») */
  background: linear-gradient(135deg, rgba(var(--tch-yellow-rgb), .34), rgba(var(--tch-emerald-rgb), .24));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  pointer-events: none;
}

.how-step .ring-icon { --ring-size: 56px; font-size: 1.5rem; margin-bottom: 1.25rem; }

.how-step-title {
  margin: 0 0 .5rem;
  font-family: var(--tch-font-display);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -.02em;
  color: var(--tch-text);
}

.how-step p { margin: 0; color: var(--tch-text-2); line-height: 1.6; }

.how-steps-line {
  position: absolute;
  top: 3.75rem;
  left: 16%;
  right: 16%;
  height: 2px;
  z-index: -1;
  background: repeating-linear-gradient(90deg, var(--tch-line-strong) 0 8px, transparent 8px 16px);
}

/* Витрина продукта — реальные экраны */
.showcase {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
}

.showcase-list {
  display: flex;
  flex-direction: column;
  gap: .9rem;
  margin: 1.75rem 0 2rem;
  padding: 0;
  list-style: none;
}

.showcase-list li {
  display: flex;
  align-items: center;
  gap: .9rem;
  font-weight: 600;
  color: var(--tch-text);
}

.showcase-list .ring-icon { --ring-size: 42px; font-size: 1.1rem; }

.showcase-stage {
  position: relative;
  padding-bottom: 8%;
}

.showcase-desktop {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .1);
  background: #0B1114;
  box-shadow: 0 50px 120px -40px rgba(0, 0, 0, .8), 0 0 0 8px rgba(255, 255, 255, .02);
}

.showcase-desktop::before {
  content: '';
  display: block;
  height: 26px;
  background:
    radial-gradient(circle at 16px 13px, #F0525F 4px, transparent 5px),
    radial-gradient(circle at 32px 13px, var(--tch-yellow) 4px, transparent 5px),
    radial-gradient(circle at 48px 13px, var(--tch-emerald) 4px, transparent 5px),
    #111A1F;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.showcase-desktop img { display: block; width: 100%; height: auto; }

.showcase-phone {
  position: absolute;
  right: -2%;
  bottom: 0;
  width: 27%;
  padding: 7px;
  border-radius: 30px;
  background: #0B1013;
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .9);
}

.showcase-phone img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 23px;
}

/* Мобильное приложение: блок на лендинге */
.app-promo {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  align-items: center;
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
}

.app-promo-cta { display: flex; flex-wrap: wrap; gap: .75rem; }
.app-promo-meta { margin: .9rem 0 0; color: var(--tch-text-3); font-size: .875rem; }

.app-promo-stage {
  position: relative;
  display: flex;
  justify-content: center;
  padding: .5rem 0;
}

.app-phone {
  width: min(300px, 72%);
  padding: 9px;
  border-radius: 38px;
  background: #0B1013;
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .9), 0 0 0 8px rgba(255, 255, 255, .02);
}

.app-phone img { display: block; width: 100%; height: auto; border-radius: 30px; }

/* QR лежит поверх угла телефона — со стола наводят камеру, с телефона он не нужен */
.app-qr {
  position: absolute;
  left: 0;
  bottom: 10%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .55rem;
  width: 172px;
  padding: .9rem .9rem 1rem;
  border-radius: var(--tch-r-lg);
  border: 1px solid var(--tch-line);
  background: var(--tch-surface-2);
  box-shadow: var(--tch-shadow-2);
  color: var(--tch-text-2);
  font-size: .75rem;
  line-height: 1.35;
  text-align: center;
}

.app-qr img { width: 132px; height: 132px; }

/* Страница /app */
.app-get {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 3rem;
  padding: 1.75rem;
  border-radius: var(--tch-r-xl);
  border: 1px solid var(--tch-line);
  background: var(--tch-surface);
  box-shadow: var(--tch-shadow-1);
}

.app-get-main { display: flex; align-items: center; gap: 1.25rem; flex: 1 1 auto; flex-wrap: wrap; }
.app-get-icon { width: 72px; height: 72px; border-radius: 18px; flex: none; }
.app-get-text { flex: 1 1 260px; min-width: 0; }

.app-get-text h2 {
  margin: 0 0 .3rem;
  font-family: var(--tch-font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -.02em;
}

.app-get-meta { margin: 0; color: var(--tch-text-2); font-weight: 600; }
.app-get-date { margin: .15rem 0 0; color: var(--tch-text-3); font-size: .875rem; }

.app-get-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  width: 160px;
  flex: none;
  color: var(--tch-text-3);
  font-size: .75rem;
  text-align: center;
}

.app-get-qr img { width: 132px; height: 132px; }

.app-step { position: relative; }

.app-step-number {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  font-family: var(--tch-font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: rgba(var(--tch-yellow-rgb), .5);
}

.app-ios { display: flex; align-items: flex-start; gap: 1.1rem; }
.app-ios .static-card-icon { flex: none; margin: 0; }

.app-get-sum {
  margin: 1.25rem 0 0;
  color: var(--tch-text-3);
  font-size: .75rem;
  text-align: center;
}

.app-get-sum code {
  color: var(--tch-text-2);
  font-size: .6875rem;
}

/* Преимущества */
.adv-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.adv-card {
  display: flex;
  gap: 1.1rem;
  padding: 1.6rem;
  border-radius: var(--tch-r-xl);
  border: 1px solid var(--tch-line);
  background: var(--tch-surface);
  box-shadow: var(--tch-shadow-1);
  transition: transform .25s var(--tch-ease), border-color .25s ease;
}

.adv-card:hover { transform: translateY(-3px); border-color: rgba(var(--tch-yellow-rgb), .35); }
.adv-card .ring-icon { --ring-size: 54px; font-size: 1.4rem; }

.adv-card h3 {
  margin: .2rem 0 .45rem;
  font-family: var(--tch-font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -.015em;
}

.adv-card p { margin: 0; color: var(--tch-text-2); line-height: 1.6; }

/* Цифры на фото спидометра */
.stats-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(4rem, 3rem + 4vw, 6rem) 0;
  color: #EDF1F2;
}

.stats-band::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: var(--img);
  background-size: cover;
  background-position: center;
}

.stats-band::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(6, 9, 11, .9), rgba(6, 9, 11, .8));
}

.stats-band .section-title { color: #FFFFFF; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.stat-counter {
  padding: 1.6rem 1rem;
  border-radius: var(--tch-r-xl);
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(15, 22, 26, .6);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  text-align: center;
}

.stat-counter-value {
  font-family: var(--tch-font-display);
  font-weight: 800;
  font-size: clamp(2rem, 1.5rem + 2vw, 3rem);
  line-height: 1;
  letter-spacing: -.04em;
  color: var(--tch-yellow);
  text-shadow: 0 0 30px rgba(var(--tch-yellow-rgb), .3);
}

.stat-counter-label {
  margin-top: .6rem;
  color: #A9B4BA;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

/* Вопросы-ответы */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  border-radius: var(--tch-r-lg);
  border: 1px solid var(--tch-line);
  background: var(--tch-surface);
  box-shadow: var(--tch-shadow-1);
  overflow: hidden;
  transition: border-color .2s ease;
}

.faq-item[open] { border-color: rgba(var(--tch-yellow-rgb), .4); }

.faq-question {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: 1.1rem 1.25rem;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: 1rem;
  color: var(--tch-text);
}

.faq-question::-webkit-details-marker { display: none; }
.faq-question::marker { content: ''; }

.faq-question > .ti:first-child {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: var(--tch-brand-bg);
  color: var(--tch-accent-ink);
  font-size: 1.1rem;
}

.faq-question span { flex: 1 1 auto; }

.faq-chevron {
  flex: 0 0 auto;
  color: var(--tch-text-3);
  transition: transform .25s var(--tch-ease), color .2s ease;
}

.faq-item[open] .faq-chevron { transform: rotate(180deg); color: var(--tch-accent-ink); }

.faq-answer {
  padding: 0 1.25rem 1.25rem calc(1.25rem + 36px + .9rem);
  color: var(--tch-text-2);
  line-height: 1.7;
}

/* Финальный призыв */
.cta-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: 0 auto;
  padding: clamp(3rem, 2rem + 4vw, 5rem) clamp(1.5rem, 1rem + 3vw, 4rem);
  border-radius: 32px;
  border: 1px solid rgba(var(--tch-yellow-rgb), .25);
  background:
    radial-gradient(70% 90% at 100% 0%, rgba(var(--tch-yellow-rgb), .2), transparent 60%),
    radial-gradient(60% 90% at 0% 100%, rgba(var(--tch-emerald-rgb), .18), transparent 60%),
    linear-gradient(160deg, #111A1F, #080D10);
  color: #EDF1F2;
  text-align: center;
  box-shadow: 0 40px 100px -40px rgba(0, 0, 0, .8);
}

.cta-band::before,
.cta-band::after {
  content: '';
  position: absolute;
  z-index: -1;
  top: -50%;
  width: 80px;
  height: 200%;
  transform: rotate(35deg);
}

.cta-band::before { left: 8%; background: linear-gradient(180deg, transparent, rgba(var(--tch-yellow-rgb), .16), transparent); }
.cta-band::after { left: 15%; width: 46px; background: linear-gradient(180deg, transparent, rgba(var(--tch-emerald-rgb), .18), transparent); }

.cta-band-title {
  margin: 1rem 0 .75rem;
  font-family: var(--tch-font-display);
  font-weight: 800;
  font-size: clamp(1.8rem, 1.2rem + 2.4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -.035em;
  color: #FFFFFF;
}

.cta-band-text {
  max-width: 560px;
  margin: 0 auto 1.75rem;
  color: #A9B4BA;
  font-size: 1.0625rem;
  line-height: 1.6;
}

.cta-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .6rem;
  margin: 0 0 2rem;
}

.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .45rem .9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .1);
  background: rgba(255, 255, 255, .04);
  color: #D5DCDF;
  font-size: .8125rem;
  font-weight: 600;
}

.cta-badge .ti { color: var(--tch-emerald); }

/* Полоса доверия под первым экраном */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: 1rem 1.1rem;
  border-radius: var(--tch-r-lg);
  border: 1px solid var(--tch-line);
  background: var(--tch-surface);
  font-weight: 600;
  font-size: .875rem;
  line-height: 1.35;
  color: var(--tch-text);
}

.trust-item .ring-icon { --ring-size: 40px; font-size: 1.05rem; }

/* ── Подвал сайта ──────────────────────────────────────────── */
.site-footer {
  margin-top: auto;
  padding: 4rem 0 calc(1.5rem + env(safe-area-inset-bottom));
  background: #06090B;
  border-top: 1px solid rgba(255, 255, 255, .06);
  color: #8A979D;
}

.site-footer .brand { color: #EDF1F2; }
.site-footer .brand-name b { color: var(--tch-yellow); }

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2.5rem;
}

.footer-brand-desc {
  max-width: 340px;
  margin: 1.1rem 0 1.25rem;
  font-size: .875rem;
  line-height: 1.65;
  color: #8A979D;
}

.footer-col-title {
  margin: .25rem 0 1rem;
  color: #EDF1F2;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a { color: #A9B4BA; font-size: .875rem; }
.footer-links a:hover { color: var(--tch-yellow); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .07);
  font-size: .8125rem;
}

.footer-bottom .brand-name { font-size: inherit; }

/* ── Шапка внутренних страниц ──────────────────────────────── */
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: calc(76px + env(safe-area-inset-top) + 3.25rem) 0 3.25rem;
  color: #EDF1F2;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(6, 9, 11, .96) 0%, rgba(6, 9, 11, .82) 45%, rgba(6, 9, 11, .55) 100%),
    linear-gradient(180deg, rgba(6, 9, 11, .4) 0%, rgba(6, 9, 11, .1) 50%, var(--tch-bg) 100%);
}

.page-hero::after {
  content: '';
  position: absolute;
  z-index: -1;
  top: -40%;
  right: 10%;
  width: 110px;
  height: 180%;
  transform: rotate(35deg);
  background: linear-gradient(180deg, transparent, rgba(var(--tch-yellow-rgb), .14), transparent);
  box-shadow: 150px 0 0 -30px rgba(var(--tch-emerald-rgb), .1);
}

.page-hero-title {
  max-width: 760px;
  margin: .9rem 0 .75rem;
  font-family: var(--tch-font-display);
  font-weight: 800;
  font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -.035em;
  color: #FFFFFF;
}

.page-hero-lead {
  max-width: 620px;
  margin: 0;
  color: #B7C1C6;
  font-size: clamp(1rem, .95rem + .25vw, 1.125rem);
  line-height: 1.6;
}

.page-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1.25rem;
}

.page-hero-meta .badge {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .12);
  color: #D5DCDF;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: var(--tch-text-2);
  font-size: .875rem;
  font-weight: 600;
}

.back-link:hover { color: var(--tch-accent-ink); }

/* ── Контент внутренних страниц ────────────────────────────── */
.static-page { padding: 2.5rem 0 5rem; }

.static-card {
  padding: 1.75rem;
  border-radius: var(--tch-r-xl);
  border: 1px solid var(--tch-line);
  background: var(--tch-surface);
  box-shadow: var(--tch-shadow-1);
  color: var(--tch-text);
}

.static-card-sm { padding: 1.4rem; }

.static-card h2,
.static-card h3,
.static-card h4 {
  font-family: var(--tch-font-display);
  color: var(--tch-text);
  letter-spacing: -.02em;
}

.static-card h2 { font-size: 1.5rem; font-weight: 800; }
.static-card h3 { font-size: 1.2rem; font-weight: 700; }
.static-card h4 { font-size: 1.05rem; font-weight: 700; }
.static-card p { color: var(--tch-text-2); line-height: 1.7; }
.static-card p:last-child { margin-bottom: 0; }
.static-card .lead { color: var(--tch-text-2); }

.static-card-icon {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
  border-radius: 50%;
  border: 2px solid transparent;
  background:
    linear-gradient(var(--tch-surface-2), var(--tch-surface-2)) padding-box,
    var(--tch-ring-gradient) border-box;
  color: var(--tch-icon-ink);
  font-size: 1.45rem;
}

.static-link { color: var(--tch-link); font-weight: 600; }
.static-link:hover { color: var(--tch-link-hover); }

.legal-sections { display: flex; flex-direction: column; gap: 1rem; }

.legal-section {
  padding: 1.75rem;
  border-radius: var(--tch-r-xl);
  border: 1px solid var(--tch-line);
  background: var(--tch-surface);
}

.legal-section h2 {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin: 0 0 .9rem;
  font-family: var(--tch-font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--tch-text);
}

.legal-section h2::before {
  content: '';
  width: 4px;
  height: 1.1em;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--tch-yellow), var(--tch-emerald));
}

.legal-section p { margin: 0; color: var(--tch-text-2); line-height: 1.8; }

/* Политика и соглашение (/privacy, /terms): длинный документ одним листом */
.legal-doc {
  padding: 2rem;
  border-radius: var(--tch-r-xl);
  border: 1px solid var(--tch-line);
  background: var(--tch-surface);
  color: var(--tch-text-2);
  line-height: 1.75;
}
.legal-doc .legal-meta { margin: 0 0 1.25rem; color: var(--tch-text-3); font-size: .875rem; }
.legal-doc h2 {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin: 2rem 0 .75rem;
  font-family: var(--tch-font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--tch-text);
  scroll-margin-top: 90px;
}
.legal-doc h2:first-of-type { margin-top: 0; }
.legal-doc h2::before {
  content: '';
  flex: 0 0 4px;
  width: 4px;
  height: 1.1em;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--tch-yellow), var(--tch-emerald));
}
.legal-doc p, .legal-doc ul, .legal-doc ol { margin: 0 0 .9rem; }
.legal-doc li { margin-bottom: .35rem; }
.legal-doc strong { color: var(--tch-text); }
.legal-doc .legal-table { width: 100%; margin: 0 0 1rem; border-collapse: collapse; font-size: .9375rem; }
.legal-doc .legal-table th,
.legal-doc .legal-table td { padding: .6rem .75rem; border-bottom: 1px solid var(--tch-line); vertical-align: top; text-align: left; }
.legal-doc .legal-table th { color: var(--tch-text); font-weight: 700; }
.legal-consent {
  padding: 1.25rem 1.5rem;
  border-radius: var(--tch-r-lg, 14px);
  border: 1px dashed var(--tch-line);
  background: var(--tch-surface-2, transparent);
}
.legal-consent ol { margin-bottom: .75rem; }
@media (max-width: 575.98px) {
  .legal-doc { padding: 1.25rem; }
  .legal-consent { padding: 1rem; }
}

/* Согласия при регистрации */
.consent-checks { display: flex; flex-direction: column; gap: .5rem; margin: 1.25rem 0 .5rem; font-size: .875rem; line-height: 1.5; }
.consent-checks .form-check-label a { font-weight: 600; }

.static-form .form-control:disabled { cursor: not-allowed; }

.info-label {
  display: block;
  color: var(--tch-text-3);
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.info-value { display: block; margin-top: .15rem; color: var(--tch-text); font-weight: 700; }

.measure { max-width: 680px; }

/* Каталог СТО */
.filter-panel {
  display: grid;
  grid-template-columns: 1fr 1fr auto auto;
  gap: .6rem;
  padding: .75rem;
  border-radius: var(--tch-r-xl);
  border: 1px solid var(--tch-line);
  background: var(--tch-surface);
  box-shadow: var(--tch-shadow-2);
}

.filter-panel .form-select,
.filter-panel .btn { min-height: 48px; }

.station-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: var(--tch-r-xl);
  border: 1px solid var(--tch-line);
  background: var(--tch-surface);
  box-shadow: var(--tch-shadow-1);
  color: var(--tch-text);
  overflow: hidden;
  transition: transform .25s var(--tch-ease), border-color .25s ease, box-shadow .25s ease;
}

.station-card:hover {
  color: var(--tch-text);
  transform: translateY(-4px);
  border-color: rgba(var(--tch-yellow-rgb), .4);
  box-shadow: var(--tch-shadow-2);
}

.station-card-photo {
  position: relative;
  height: 190px;
  background-size: cover;
  background-position: center;
  background-color: var(--tch-surface-2);
}

.station-card-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(6, 9, 11, .55));
}

.station-card-photo-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tch-icon-ink);
  font-size: 2.75rem;
  background:
    radial-gradient(80% 80% at 100% 0%, rgba(var(--tch-yellow-rgb), .14), transparent 60%),
    var(--tch-surface-2);
}

.station-card-badges {
  position: absolute;
  z-index: 1;
  top: .85rem;
  left: .85rem;
  display: flex;
  gap: .35rem;
}

.station-card-badges .badge { box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .7); }

.badge-pro {
  background: var(--tch-yellow) !important;
  color: var(--tch-ink) !important;
  border-color: var(--tch-yellow) !important;
}

.badge-glass {
  background: rgba(8, 13, 16, .72) !important;
  color: #EDF1F2 !important;
  border-color: rgba(255, 255, 255, .14) !important;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.station-card-body {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  padding: 1.1rem 1.25rem 1.25rem;
  flex: 1 1 auto;
}

.station-card-title {
  margin: 0;
  font-family: var(--tch-font-display);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -.02em;
}

.station-card-address {
  color: var(--tch-text-2);
  font-size: .8125rem;
}

.station-card-foot {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  margin-top: auto;
  padding-top: .75rem;
  border-top: 1px dashed var(--tch-line-strong);
}

.rating {
  display: inline-flex;
  align-items: center;
  gap: .1rem;
  color: var(--tch-name-accent);
}

.rating-value { margin-left: .4rem; color: var(--tch-text); font-weight: 700; font-size: .875rem; }
.rating-count { color: var(--tch-text-3); font-size: .8125rem; margin-left: .2rem; }

.rating-lg { font-size: 1.25rem; }

@media (min-width: 992px) {
  .sticky-aside { position: sticky; top: 88px; }
}

/* Панель фильтров наезжает на шапку страницы */
.static-page.pt-0 > .container > .filter-panel:first-child,
.overlap-hero { position: relative; z-index: 2; margin-top: -1.75rem; }

.station-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .6rem;
}

.station-gallery .station-card-photo { height: 130px; border-radius: 14px; }

.info-table { width: 100%; }
.info-table td { padding: .45rem 0; border-bottom: 1px dashed var(--tch-line); vertical-align: top; }
.info-table tr:last-child td { border-bottom: 0; }
.info-table td:last-child { text-align: right; font-weight: 600; }

.review-item + .review-item { margin-top: 1.1rem; padding-top: 1.1rem; border-top: 1px solid var(--tch-line); }

/* Тарифы */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 2rem 1.75rem 1.75rem;
  border-radius: var(--tch-r-xl);
  border: 1px solid var(--tch-line);
  background: var(--tch-surface);
  box-shadow: var(--tch-shadow-1);
  overflow: visible;
}

.pricing-card.is-featured {
  border: 1.5px solid rgba(var(--tch-yellow-rgb), .6);
  background:
    radial-gradient(90% 60% at 100% 0%, rgba(var(--tch-yellow-rgb), .12), transparent 60%),
    var(--tch-surface);
  box-shadow: 0 30px 80px -30px rgba(var(--tch-yellow-rgb), .35);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  padding: .4rem 1rem;
  border-radius: 999px;
  background: var(--tch-yellow);
  color: var(--tch-ink);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 8px 22px -8px rgba(var(--tch-yellow-rgb), .8);
}

.pricing-card h3 {
  margin: 0 0 .25rem;
  font-family: var(--tch-font-display);
  font-weight: 800;
  font-size: 1.2rem;
}

.pricing-price {
  margin-top: 1rem;
  font-family: var(--tch-font-display);
  font-weight: 800;
  font-size: 2.5rem;
  line-height: 1;
  letter-spacing: -.04em;
  color: var(--tch-text);
}

.pricing-card.is-featured .pricing-price { color: var(--tch-accent-ink); }

.pricing-period { margin-top: .4rem; color: var(--tch-text-2); font-size: .875rem; }

.pricing-card .check-list { margin: 1.5rem 0 1.75rem; flex: 1 1 auto; }
.pricing-card .check-list li { color: var(--tch-text); }

/* VIN-отчёт: поиск */
.vin-search {
  padding: 1.25rem;
  border-radius: var(--tch-r-xl);
  border: 1px solid var(--tch-line);
  background: var(--tch-surface);
  box-shadow: var(--tch-shadow-2);
}

.vin-search .form-control {
  font-family: 'SFMono-Regular', ui-monospace, Menlo, Consolas, monospace;
  letter-spacing: .12em;
  font-weight: 600;
}

/* ── Экран входа: две колонки ──────────────────────────────── */
.auth-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 100vh;
  min-height: 100dvh;
}

.auth-aside {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2.5rem clamp(2rem, 1rem + 3vw, 4rem);
  color: #EDF1F2;
  background: #06090B;
}

.auth-aside-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
  opacity: .55;
}

.auth-aside::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(6, 9, 11, .55) 0%, rgba(6, 9, 11, .35) 40%, rgba(6, 9, 11, .95) 100%),
    radial-gradient(60% 50% at 80% 20%, rgba(var(--tch-emerald-rgb), .18), transparent 70%);
}

.auth-aside::after {
  content: '';
  position: absolute;
  z-index: -1;
  top: -40%;
  right: 12%;
  width: 110px;
  height: 180%;
  transform: rotate(35deg);
  background: linear-gradient(180deg, transparent, rgba(var(--tch-yellow-rgb), .2), transparent);
  box-shadow: 140px 0 0 -34px rgba(var(--tch-emerald-rgb), .16);
}

.auth-aside .brand { color: #EDF1F2; }
.auth-aside .brand-name b { color: var(--tch-yellow); }

.auth-aside-title {
  margin: 1rem 0 1rem;
  font-family: var(--tch-font-display);
  font-weight: 800;
  font-size: clamp(2rem, 1.4rem + 1.8vw, 3rem);
  line-height: 1.08;
  letter-spacing: -.04em;
  color: #FFFFFF;
}

.auth-aside-title .accent { color: var(--tch-yellow); }

.auth-aside .check-list li { color: #D5DCDF; font-size: .9375rem; }

.auth-aside-foot {
  display: flex;
  align-items: center;
  gap: .75rem;
  color: #8A979D;
  font-size: .8125rem;
}

.auth-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 1.5rem clamp(1.25rem, .5rem + 3vw, 3.5rem) 2rem;
}

.auth-main-top {
  display: flex;
  align-items: center;
  gap: .5rem;
  min-height: 44px;
  margin-bottom: 1rem;
}

.auth-main-top .brand { display: none; }
.auth-main-top .auth-top-actions { display: flex; align-items: center; gap: .5rem; margin-left: auto; }

.auth-panel {
  width: 100%;
  max-width: 460px;
  margin: auto;
  padding: 1.5rem 0 2rem;
}

.auth-panel-wide { max-width: 620px; }

.auth-title {
  margin: .75rem 0 .5rem;
  font-family: var(--tch-font-display);
  font-weight: 800;
  font-size: clamp(1.75rem, 1.4rem + 1vw, 2.25rem);
  letter-spacing: -.035em;
  line-height: 1.1;
  color: var(--tch-text);
}

.auth-sub {
  margin: 0 0 1.75rem;
  color: var(--tch-text-2);
  line-height: 1.6;
}

.auth-card {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.auth-card .form-control,
.auth-card .form-select { min-height: 48px; }
.auth-card .input-group-text,
.auth-card .btn-password-toggle { min-height: 48px; }

.auth-card-footer {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--tch-line);
  color: var(--tch-text-2);
  font-size: .875rem;
  text-align: center;
}

.auth-card-footer a { font-weight: 700; }

.auth-divider {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin: 1.5rem 0 1rem;
  color: var(--tch-text-3);
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1 1 auto;
  height: 1px;
  background: var(--tch-line);
}

/* Подзаголовки длинной формы регистрации */
.auth-card .form-section {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin: 1.5rem 0 .9rem;
  padding: 0;
  border: 0;
  color: var(--tch-text-3);
  font-size: .6875rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.auth-card .form-section::after {
  content: '';
  flex: 1 1 auto;
  height: 1px;
  background: var(--tch-line);
}

/* ── Появление при прокрутке ───────────────────────────────── */
.js [data-animate] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--tch-ease), transform .7s var(--tch-ease);
}

.js [data-animate].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .js [data-animate] { opacity: 1; transform: none; }
  .hero-emblem::before, .hero-chip { animation: none !important; }
}

/* ── Адаптив ───────────────────────────────────────────────── */
@media (max-width: 1199.98px) {
  .site-nav-link { padding: .5rem .55rem; font-size: .8125rem; }
  .photo-tile { min-height: 480px; }
}

@media (max-width: 991.98px) {
  .site-nav-links { display: none; }
  .site-nav-links + .site-nav-actions { margin-left: auto; }
  .site-nav-burger { display: inline-flex; }
  .site-mobile-menu { display: block; }
  .site-nav-inner { min-height: 64px; gap: .75rem; }

  .hero { padding-top: calc(64px + env(safe-area-inset-top) + 2.25rem); }
  .hero-grid { grid-template-columns: 1fr; gap: 1rem; min-height: 0; text-align: center; }
  .hero-copy .eyebrow { justify-content: center; }
  .hero-lead { margin-left: auto; margin-right: auto; }
  .hero-cta, .hero-points { justify-content: center; }
  .hero-visual { min-height: 0; order: -1; margin-bottom: .5rem; }
  .hero-emblem { width: min(300px, 70vw); }
  .hero-chip { display: none; }
  .hero-tagline { margin-top: 2.5rem; letter-spacing: .16em; gap: .5rem .9rem; }

  .photo-tiles { grid-template-columns: 1fr; }
  .photo-tile { min-height: 420px; }

  .how-steps { grid-template-columns: 1fr; }
  .how-steps-line { display: none; }

  .showcase { grid-template-columns: 1fr; }
  .showcase-copy { text-align: center; }
  .showcase-copy .eyebrow { justify-content: center; }
  .showcase-list { align-items: center; }

  .app-promo { grid-template-columns: 1fr; }
  .app-promo-copy { text-align: center; }
  .app-promo-copy .eyebrow { justify-content: center; }
  .app-promo-copy .showcase-list { align-items: center; }
  .app-promo-cta { justify-content: center; }
  /* На телефоне и планшете QR не нужен: кнопка «Скачать» уже под рукой */
  .app-qr { display: none; }
  .app-get-qr { display: none; }

  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-col-brand { grid-column: 1 / -1; }

  .page-hero { padding-top: calc(64px + env(safe-area-inset-top) + 2.25rem); padding-bottom: 2.5rem; }

  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .pricing-card.is-featured { order: -1; }

  .auth-shell { grid-template-columns: 1fr; }
  .auth-aside { display: none; }
  .auth-main-top .brand { display: inline-flex; }
}

@media (max-width: 767.98px) {
  .adv-grid { grid-template-columns: 1fr; }
  .filter-panel { grid-template-columns: 1fr 1fr; }
  .filter-panel .btn { width: 100%; }
  .station-gallery .station-card-photo { height: 96px; }
  .faq-answer { padding-left: 1.25rem; }
}

@media (max-width: 575.98px) {
  .site .container { padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); }
  .site-nav .brand-tagline { display: none; }
  .site-nav .brand-emblem { width: 38px; height: 38px; }
  .site-nav .brand-name { font-size: 1.125rem; }
  .site-nav-actions .btn-cta-text { display: none; }

  .hero-cta .btn { flex: 1 1 100%; }
  .hero-title { letter-spacing: -.035em; }
  /* Строка-слоган помещается в одну строку и на узком экране */
  .hero-tagline {
    flex-wrap: nowrap;
    gap: .5rem;
    font-size: .5625rem;
    letter-spacing: .1em;
    white-space: nowrap;
  }
  .hero-tagline-sep { height: 11px; }

  .site-highlights { gap: .9rem .5rem; }
  .site-highlights .highlight { width: 86px; font-size: .75rem; }
  .site-highlights .highlight .ring-icon { --ring-size: 62px; font-size: 1.5rem; }

  .photo-tile { min-height: 400px; padding: 1.4rem; border-radius: 20px; }
  .photo-tile-title { font-size: 1.25rem; }

  .how-step, .adv-card, .static-card, .legal-section, .pricing-card { padding: 1.35rem; border-radius: 20px; }
  .adv-card { flex-direction: column; gap: .9rem; }

  .stats-grid { gap: .75rem; }
  .stat-counter { padding: 1.25rem .5rem; border-radius: 18px; }
  .stat-counter-label { font-size: .6875rem; letter-spacing: .08em; overflow-wrap: anywhere; }
  /* «ПАЙДАЛАНУШЫЛАР» заглавными с разрядкой шире плашки на 360 px */
  html[lang="kk"] .stat-counter-label { letter-spacing: .02em; }

  .trust-strip { grid-template-columns: 1fr; gap: .6rem; }

  .cta-band { border-radius: 24px; }
  .cta-band .btn { width: 100%; }

  .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .showcase-phone { width: 34%; right: 0; border-radius: 22px; padding: 5px; }
  .showcase-phone img { border-radius: 17px; }

  .app-promo-cta .btn { flex: 1 1 100%; }
  .app-phone { width: min(260px, 78%); border-radius: 32px; padding: 7px; }
  .app-phone img { border-radius: 26px; }
  .app-get { padding: 1.35rem; border-radius: 20px; }
  .app-get-main { flex-direction: column; align-items: flex-start; }
  /* В колонке flex-basis стал бы высотой — пустая полоса над кнопкой */
  .app-get-text { flex: none; }
  .app-get-btn { width: 100%; }
  .app-ios { flex-direction: column; gap: .9rem; }

  .filter-panel { grid-template-columns: 1fr; border-radius: 20px; }
  .station-card-photo { height: 170px; }

  .vin-search .input-group { flex-direction: column; gap: .6rem; }
  .vin-search .input-group > .form-control,
  .vin-search .input-group > .btn { width: 100%; border-radius: 14px !important; }

  .auth-panel { padding-top: .5rem; }
  .auth-main-top .auth-back-text { display: none; }
}

/* ── Печать ────────────────────────────────────────────────── */
@media print {
  .site-nav, .site-footer, .page-hero, .hero-bands, .d-print-none { display: none !important; }
  .static-page { padding-top: 0 !important; }
}

/* QR-код публичного отчёта: белая подложка читается в обеих темах */
.qr-image { border-radius: 12px; background: #FFFFFF; padding: 6px; }
