

/* Start:/local/templates/lada_landing/styles.css?17930009521*/


/* End */


/* Start:/local/templates/lada_landing/template_styles.css?179457765118750*/
:root {
  /* Бренд */
  --accent: #fe6a00;
  --accent-hover: #e55f00;
  --accent-soft: #ffd2b0;   /* рамка карточки при наведении */

  /* Текст */
  --ink: #111318;           /* заголовки, логотип */
  --text: #5e5e5e;          /* основной текст */
  --text-nav: #4f535a;      /* навигация */
  --muted: #898989;         /* второстепенный текст */
  --grey: #929292;          /* характеристики автомобиля */
  --subtle: #9a9a9a;        /* комплектация, текст футера */
  --benefit-text: #8d929a;  /* подписи преимуществ */

  /* Линии и границы */
  --line: #e8e8e8;          /* карточки автомобилей */
  --line-strong: #dddddd;   /* разделители FAQ и шагов */
  --border-control: #c9c9c9;
  --border-swatch: #b1b1b1;
  --header-border: #eceef1;

  /* Фоны */
  --bg: #fff;
  --bg-soft: #f7f8fa;
  --bg-hero: #2b2d30;
  --header-bg: rgba(255, 255, 255, .93);
  --footer: #191919;
  --footer-line: #303030;

  /* Тени */
  --shadow-card: 0 15px 8px -8px rgba(26, 38, 56, .11);
  --shadow-card-active: 0 15px 8px -8px rgba(254, 106, 0, .15);
  --shadow-card-hover: 0 22px 18px -12px rgba(26, 38, 56, .16);
  --shadow-card-active-hover: 0 22px 18px -12px rgba(254, 106, 0, .22);

  /* Сетка и размеры */
  --container: 1232px;
  --gutter: 16px;
  --header-height: 72px;
  /* Брейкпоинт мобильной версии. В @media переменные не работают, поэтому там значение
     продублировано; script.js читает его отсюда */
  --bp-mobile: 767px;

  /* Анимации */
  --image-fade: .4s;        /* смена цвета автомобиля, script.js берёт длительность из стиля */

  interpolate-size: allow-keywords;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-height); }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p { margin: 0; }

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Icon ---------- */
.icon { width: 20px; height: 20px; flex: none; }
.icon--small { width: 18px; height: 18px; }
.icon--large { width: 24px; height: 24px; }

/* ---------- Logo ---------- */
.logo { font-weight: 800; font-size: 28px; line-height: 30px; color: var(--ink); white-space: nowrap; }
.logo--inverse { font-weight: 500; line-height: 34px; color: #fff; }
.logo__accent { color: var(--accent); }

/* ---------- Button ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 4px;
  transition: background .2s, border-color .2s;
}
.button--primary {
  height: 55px; padding: 0 32px;
  background: var(--accent); color: #fff;
  font-size: 18px; font-weight: 500;
}
.button--primary:hover { background: var(--accent-hover); }
.button--outline {
  gap: 10px;
  height: 38px; padding: 0 17px;
  border: 1px solid var(--border-control); background: var(--bg);
  font-size: 16px; color: #000;
}
.button--outline:hover { border-color: var(--accent); }

/* ---------- Nav ---------- */
.nav { display: flex; gap: 35px; font-size: 14px; line-height: 18px; color: var(--text-nav); }
.nav__link:hover { color: var(--accent); }

/* ---------- Swatch ---------- */
.swatch {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--swatch-color);
  box-shadow: inset 0 0 0 1px var(--border-swatch);
  transition: box-shadow .2s;
}
.swatch--active { box-shadow: inset 0 0 0 2px var(--accent); }

/* ---------- Dots ---------- */
.dots { display: flex; justify-content: center; gap: 10px; }
.dots__item { width: 12px; height: 12px; border-radius: 6px; border: 1px solid var(--accent); transition: width .2s, background .2s; }
.dots__item--active { width: 32px; background: var(--accent); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-height);
  background: var(--header-bg);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--header-border);
}
.header__inner { height: calc(var(--header-height) - 1px); display: flex; align-items: center; justify-content: space-between; }
.header__actions { display: flex; align-items: center; gap: 24px; }
.header__burger { display: none; position: relative; width: 24px; height: 24px; }
.header__burger-icon {
  position: absolute; inset: 0;
  transition: opacity .3s ease, transform .35s cubic-bezier(.4, 0, .2, 1);
}
.header__burger-icon--close { opacity: 0; transform: rotate(-90deg) scale(.5); }
.header--menu-open .header__burger-icon--menu { opacity: 0; transform: rotate(90deg) scale(.5); }
.header--menu-open .header__burger-icon--close { opacity: 1; transform: none; }

/* ---------- Mobile menu ---------- */
.mobile-menu {
  display: none; flex-direction: column; gap: 10px;
  position: absolute; top: var(--header-height); left: 0; right: 0;
  padding: 10px;
  background: var(--bg);
  border-radius: 0 0 8px 8px;
  visibility: hidden; opacity: 0; transform: translateY(-12px);
  transition: opacity .3s ease, transform .3s cubic-bezier(.4, 0, .2, 1), visibility 0s linear .3s;
}
.mobile-menu--open {
  visibility: visible; opacity: 1; transform: none;
  transition: opacity .3s ease, transform .3s cubic-bezier(.4, 0, .2, 1), visibility 0s;
}
.mobile-menu__link {
  display: flex; align-items: center; height: 42px; padding: 0 8px;
  font-size: 16px; line-height: 18px; color: var(--text-nav);
  opacity: 0; transform: translateY(-6px);
  transition: opacity .25s ease, transform .25s ease, color .2s;
}
.mobile-menu__link:hover { color: var(--accent); }
.mobile-menu--open .mobile-menu__link { opacity: 1; transform: none; }
.mobile-menu--open .mobile-menu__link:nth-child(1) { transition-delay: .06s, .06s, 0s; }
.mobile-menu--open .mobile-menu__link:nth-child(2) { transition-delay: .12s, .12s, 0s; }
.mobile-menu--open .mobile-menu__link:nth-child(3) { transition-delay: .18s, .18s, 0s; }

/* ---------- Hero ---------- */
/* Высота — первый экран под шапкой, но не больше макетных 960px.
   Если контент не помещается, блок растёт вместе с ним, а не обрезает его */
.hero {
  --hero-max-height: 960px;
  display: flex;
  min-height: min(var(--hero-max-height), 100vh - var(--header-height));
  min-height: min(var(--hero-max-height), 100svh - var(--header-height));
  color: #fff;
  background: var(--bg-hero) var(--hero-image, none) center / cover no-repeat;
  overflow: hidden;
}
/* Колонка: заголовок, текст, кнопка сверху; цена прижимается к низу через margin-top: auto */
.hero__inner {
  display: flex; flex-direction: column; align-items: flex-start;
  padding-top: 192px; padding-bottom: 93px;
}
.hero__title { font-size: 64px; line-height: 77px; font-weight: 500; letter-spacing: 0; }
.hero__line { display: block; }
.hero__line--accent { color: var(--accent); }
.hero__text { margin-top: 57px; max-width: 430px; font-size: 18px; line-height: 30.6px; font-weight: 500; }
.hero__cta { margin-top: 90px; }
.hero__extra-link {
  margin-top: 16px;
  font-size: 18px;
  line-height: 30.6px;
  font-weight: 500;
  color: inherit;
  transition: color .2s;
}
.hero__extra-link:hover { color: var(--accent); }
.hero__price {
  display: flex; align-items: baseline; gap: 10px;
  margin-top: auto; padding: 48px 0 0 6px; /* сверху — минимальный отступ от кнопки */
  font-size: 18px; line-height: 30.6px;
}
.hero__price-row { display: flex; align-items: baseline; gap: 10px; }
.hero__price-value { font-size: 32px; line-height: 32px; font-weight: 500; }

/* ---------- Benefits ---------- */
.benefits { background: var(--bg-soft); padding: 43px 0; }
.benefits__list { display: grid; grid-template-columns: repeat(4, 1fr); }

.benefit { display: flex; align-items: center; gap: 13px; min-height: 44px; }
.benefit__icon {
  display: grid; place-items: center;
  width: 33px; height: 33px; flex: none;
  background: var(--bg); border-radius: 10px;
}
.benefit__title { font-size: 16px; line-height: 18px; font-weight: 700; color: var(--ink); }
.benefit__text { margin-top: 6px; font-size: 12px; line-height: 13px; color: var(--benefit-text); }

/* ---------- Section ---------- */
.section { padding: 64px 0; }
.section--soft { background: var(--bg-soft); }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.section__eyebrow { font-size: 12px; line-height: 16.8px; font-weight: 500; color: var(--text); }
.section__title { font-size: 32px; line-height: 44.8px; font-weight: 500; color: var(--text); }
.section__note { font-size: 12px; line-height: 16.8px; color: var(--muted); text-align: right; padding-bottom: 5px; }
.section__br-mobile { display: none; }

/* ---------- Cars ---------- */
.cars { padding-bottom: 48px; }
.cars__list { margin-top: 24px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.cars__dots { display: none; }

/* ---------- Car ---------- */
.car {
  display: flex; flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--line); border-radius: 24px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  cursor: pointer;
  transition: border-color .2s, box-shadow .3s ease, transform .3s ease;
}
.car--active { border-color: var(--accent); box-shadow: var(--shadow-card-active); }
/* Только для устройств с мышью: на тач-экранах hover «залипает» после касания */
@media (hover: hover) {
  .car:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
  .car--active:hover { box-shadow: var(--shadow-card-active-hover); }
  .car:not(.car--active):hover { border-color: var(--accent-soft); }
  .car:hover .car__image { transform: scale(1.03); }
}
.car:not(.car--active) .car__swatch { box-shadow: inset 0 0 0 1px var(--border-swatch); }
.car__media { aspect-ratio: 606 / 352; display: grid; place-items: center; padding: 0 12px; }
.car__image { grid-area: 1 / 1; width: 100%; height: 100%; object-fit: contain; transition: opacity var(--image-fade) ease, transform .3s ease; }
.car__image--hidden { opacity: 0; }
.car__body { padding: 11px 16px 0; }
.car__head { display: flex; align-items: baseline; justify-content: space-between; gap: 4px 12px; flex-wrap: wrap; }
.car__name { font-size: 24px; line-height: 33.6px; font-weight: 500; color: var(--text); }
.car__spec { font-size: 14px; line-height: 19.6px; color: var(--grey); white-space: nowrap; }
.car__trim { font-size: 16px; line-height: 22.4px; color: var(--subtle); }
.car__trim-name { font-weight: 400; color: var(--text); }
.car__colors { margin-top: 10px; display: flex; align-items: center; gap: 10px; font-size: 14px; line-height: 20px; color: var(--grey); }
.car__price {
  margin: 10px 0 0; padding: 9px 0 16px;
  border-top: 1px solid var(--line);
  font-size: 14px; line-height: 19.6px; color: var(--muted);
}
.car__price-value { font-size: 24px; line-height: 33.6px; font-weight: 500; color: var(--text); }

/* ---------- Steps ---------- */
.steps { margin: 24px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }

.step__head { display: flex; align-items: center; gap: 10px; }
.step__num { font-size: 32px; line-height: 44.8px; font-weight: 500; color: var(--accent); }
.step__line { flex: 1; height: 1px; background: var(--line-strong); }
.step__title { margin-top: 10px; font-size: 16px; line-height: 22.4px; font-weight: 500; color: var(--text); }
.step__text { margin-top: 16px; font-size: 14px; line-height: 19.6px; font-weight: 500; color: var(--muted); }

/* ---------- FAQ ---------- */
/* Аккордеон на <details name="faq">: открыт только один пункт, без JS */
.faq { padding-bottom: 24px; }
.faq__inner { display: grid; grid-template-columns: 369px 1fr; gap: 10px; }
.faq__item { border-top: 1px solid var(--line-strong); }
.faq__item:last-child { border-bottom: 1px solid var(--line-strong); }
.faq__item::details-content {
  block-size: 0; overflow: hidden;
  transition: block-size .25s ease, content-visibility .25s allow-discrete;
}
.faq__item[open]::details-content { block-size: auto; }
.faq__question {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 16px 0;
  list-style: none; cursor: pointer;
  font-size: 16px; line-height: 22.4px; font-weight: 500; color: var(--text);
  transition: padding-bottom .25s ease;
}
.faq__question::-webkit-details-marker { display: none; }
.faq__question:hover { color: var(--ink); }
.faq__icon--minus { display: none; }
.faq__answer { padding: 0 30px 17px 0; font-size: 12px; line-height: 16.8px; color: var(--muted); }

.faq__item[open] .faq__question { padding-bottom: 10px; }
.faq__item[open] .faq__icon--plus { display: none; }
.faq__item[open] .faq__icon--minus { display: block; }

/* ---------- Footer ---------- */
.footer { background: var(--footer); color: var(--subtle); padding: 64px 0 24px; font-size: 12px; line-height: 14.5px; font-weight: 500; }
.footer__top { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 24px; }
.footer__nav { display: flex; gap: 24px; }
.footer__link:hover { color: #fff; }
.footer__bottom { border-top: 1px solid var(--footer-line); padding-top: 16px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .hero { background-position: 70% center; }
  .benefits__list { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
}

/* 767px = --bp-mobile */
@media (max-width: 767px) {
  .header__nav, .header__login-text { display: none; }
  .header__burger { display: block; }
  .header__inner { padding: 0 14px; }
  .header__actions { gap: 31px; margin-right: 7px; }
  .header__login {
    width: 38px; height: 36px; padding: 0; border: 0; background: none;
    transition: opacity .25s ease, visibility 0s;
  }
  .header__login, .header__burger { -webkit-tap-highlight-color: transparent; }
  /* visibility переключается после того, как иконка погасла */
  .header--menu-open .header__login { opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility 0s linear .25s; }
  .mobile-menu { display: flex; }

  .hero { --hero-max-height: 848px; background-image: var(--hero-image-mobile, var(--hero-image, none)); background-position: center; }
  .hero__inner { align-items: stretch; padding-top: 64px; padding-bottom: 37px; }
  /* 52px на макете 390px; на узких экранах уменьшается, чтобы самая длинная строка влезала в контейнер */
  .hero__title { font-size: min(52px, calc((100vw - var(--gutter) * 2) * .1455)); line-height: 1.21; }
  .hero__line { white-space: nowrap; }
  .hero__line + .hero__line { margin-top: .31em; }
  .hero__dot { display: none; }
  /* На мобильном вниз уходят и кнопка, и цена; между текстом и кнопкой минимум 32px */
  .hero__text { margin: 48px 0 32px; max-width: none; }
  .hero__cta { margin-top: auto; }
  .hero__extra-link { margin-top: 16px; }
  .hero__price { margin-top: 31px; padding: 0; flex-direction: column; align-items: flex-start; gap: 10px; }

  .benefits { padding: 32px 0; }
  .benefits__list { grid-template-columns: 1fr; }

  .section { padding: 48px 0; }
  .section__head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .section__note { text-align: left; padding: 0; }
  .section__br-mobile { display: inline; }

  .cars { padding-bottom: 28px; }
  .cars__list {
    display: flex; gap: 16px;
    margin: 24px calc(var(--gutter) * -1) 0;
    padding: 0 var(--gutter) 16px; /* снизу место под тень карточек */
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter);
    scrollbar-width: none;
  }
  .cars__list::-webkit-scrollbar { display: none; }
  .cars__item { flex: 0 0 min(338px, calc(100vw - 52px)); scroll-snap-align: start; }
  .cars__dots { display: flex; margin-top: 8px; }

  .car__media { aspect-ratio: 336 / 201; }
  .car__body { padding-top: 10px; }
  .car__colors { gap: 16px; }
  .swatch { width: 28px; height: 28px; }

  .steps { grid-template-columns: 1fr; gap: 32px; }

  .faq { padding-bottom: 32px; }
  .faq__inner { grid-template-columns: 1fr; }

  .footer { padding-top: 32px; }
  .footer__top { flex-direction: column; align-items: flex-start; gap: 10px; }
  .footer__nav { flex-direction: column; gap: 24px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .header__burger-icon, .header__login, .mobile-menu, .mobile-menu__link,
  .car, .car__image, .faq__item::details-content, .faq__question { transition: none !important; }
  .car:hover, .car:hover .car__image { transform: none; }
}

/* ---------- Auth modal ---------- */
.auth-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.auth-modal.is-open {
  display: flex;
}

.auth-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.auth-modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 370px;
}

.auth-modal__body {
  overflow: hidden;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
}

.auth-modal__close {
  position: absolute;
  top: -12px;
  right: -12px;
  z-index: 2;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.16);
}

.auth-modal__close:hover {
  background: #f4f4f4;
}

.auth-modal__close-icon {
  width: 28px;
  height: 28px;
}

.auth-modal .bxmaker-authuserphone-enter {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
  box-shadow: none;
}

/* End */
/* /local/templates/lada_landing/styles.css?17930009521 */
/* /local/templates/lada_landing/template_styles.css?179457765118750 */
