/* ==========================================================================
   TOKENS
   Плейсхолдеры проекта — цвет/шрифт/размеры подменяются под конкретный макет.
   В правилах используем var(--…), а не хардкод.
   ========================================================================== */
:root {
  --c-dark: #0b1a30;
  --c-accent: #022f5c;
  --c-blue: #3266ba;
  --c-white: #fff;
  --c-muted: rgba(255, 255, 255, 0.7);
  --c-glass: rgba(255, 255, 255, 0.2);
  --font-base: "WixMadeforText", sans-serif;
  --container-w: 1800px;
  --control-h: 60px;
  --radius: 8px;
  --radius-lg: 20px;
  --transition: 0.3s ease;

  --cap-r: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='60'%3E%3Cpath d='M0 0H31.793C35.537 0 37.953 3.964 36.237 7.292L10.445 57.292C9.587 58.955 7.873 60 6.001 60H0Z'/%3E%3C/svg%3E");
  --cap-l: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='60'%3E%3Cpath transform='matrix(-1 0 0 1 40 0)' d='M0 0H31.793C35.537 0 37.953 3.964 36.237 7.292L10.445 57.292C9.587 58.955 7.873 60 6.001 60H0Z'/%3E%3C/svg%3E");
  --cap-lb: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='60'%3E%3Cpath transform='matrix(-1 0 0 -1 40 60)' d='M0 0H31.793C35.537 0 37.953 3.964 36.237 7.292L10.445 57.292C9.587 58.955 7.873 60 6.001 60H0Z'/%3E%3C/svg%3E");
  --cap-rb: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='60'%3E%3Cpath transform='matrix(1 0 0 -1 0 60)' d='M0 0H31.793C35.537 0 37.953 3.964 36.237 7.292L10.445 57.292C9.587 58.955 7.873 60 6.001 60H0Z'/%3E%3C/svg%3E");
  --stroke-r: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='60'%3E%3Cpath d='M0 0.5H31.793C35.166 0.5 37.34 4.074 35.789 7.069L9.902 57.069C9.128 58.563 7.587 59.5 5.906 59.5H0' fill='none' stroke='%23000'/%3E%3C/svg%3E");
  --stroke-l: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='60'%3E%3Cpath transform='matrix(-1 0 0 1 40 0)' d='M0 0.5H31.793C35.166 0.5 37.34 4.074 35.789 7.069L9.902 57.069C9.128 58.563 7.587 59.5 5.906 59.5H0' fill='none' stroke='%23000'/%3E%3C/svg%3E");
  --stroke-lb: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='60'%3E%3Cpath transform='matrix(-1 0 0 -1 40 60)' d='M0 0.5H31.793C35.166 0.5 37.34 4.074 35.789 7.069L9.902 57.069C9.128 58.563 7.587 59.5 5.906 59.5H0' fill='none' stroke='%23000'/%3E%3C/svg%3E");
  --stroke-rb: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='60'%3E%3Cpath transform='matrix(1 0 0 -1 0 60)' d='M0 0.5H31.793C35.166 0.5 37.34 4.074 35.789 7.069L9.902 57.069C9.128 58.563 7.587 59.5 5.906 59.5H0' fill='none' stroke='%23000'/%3E%3C/svg%3E");
  --stroke-sl: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='60'%3E%3Cpath d='M40 0.5H5C2.515 0.5 0.5 2.515 0.5 5V55C0.5 57.485 2.515 59.5 5 59.5H40' fill='none' stroke='%23000'/%3E%3C/svg%3E");
  --stroke-sr: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='60'%3E%3Cpath transform='matrix(-1 0 0 1 40 0)' d='M40 0.5H5C2.515 0.5 0.5 2.515 0.5 5V55C0.5 57.485 2.515 59.5 5 59.5H40' fill='none' stroke='%23000'/%3E%3C/svg%3E");
  --cap-sl: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='60'%3E%3Cpath d='M40 0H5C2.239 0 0 2.239 0 5V55C0 57.761 2.239 60 5 60H40Z'/%3E%3C/svg%3E");
  --cap-sr: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='60'%3E%3Cpath transform='matrix(-1 0 0 1 40 0)' d='M40 0H5C2.239 0 0 2.239 0 5V55C0 57.761 2.239 60 5 60H40Z'/%3E%3C/svg%3E");
  --fill: linear-gradient(#000 0 0);
}

/* ==========================================================================
   RESET / BASE
   ========================================================================== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

body {
  max-width: 1920px;
  margin: 0 auto;
  font: 400 16px/1.4 var(--font-base);
  color: var(--c-dark);
  background: var(--c-white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

a {
  color: inherit;
  text-decoration: none;
}

sup {
  font-size: 0.7em;
  vertical-align: super;
}

/* Клавиатурный фокус (мышь/тач не трогаем). */
:focus-visible {
  outline: 2px solid var(--c-blue);
  outline-offset: 2px;
}

/* ==========================================================================
   LAYOUT
   ========================================================================== */
.container {
  position: relative;
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 30px;
}

.section-title {
  font: 700 56px/1.25 var(--font-base);
  text-transform: uppercase;
}

.panel {
  padding: 32px;
  color: var(--c-white);
  background: var(--c-glass);
  border-radius: var(--radius-lg);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

/* ==========================================================================
   BUTTONS — .btn + цвет (--white / --main / --grad / --dark / --outline)
   + скос (--cut-r / --cut-l / --cut-lb / --trap). @property — чтобы
   по ховеру плавно менялись и градиенты.
   ========================================================================== */
@property --btn-c1 {
  syntax: "<color>";
  inherits: true;
  initial-value: #0b1a30;
}

@property --btn-c2 {
  syntax: "<color>";
  inherits: true;
  initial-value: #0b1a30;
}

@property --btn-b1 {
  syntax: "<color>";
  inherits: true;
  initial-value: #0b1a30;
}

@property --btn-b2 {
  syntax: "<color>";
  inherits: true;
  initial-value: #0b1a30;
}

.btn {
  --btn-c1: var(--c-dark);
  --btn-c2: var(--c-dark);
  --btn-b1: var(--c-dark);
  --btn-b2: var(--c-dark);
  --btn-angle: 90deg;
  --cap-w: calc(var(--control-h) * 2 / 3);
  --line: calc(var(--control-h) / 60);
  --l-fill: var(--cap-sl);
  --r-fill: var(--cap-sr);
  --l-stroke: var(--stroke-sl);
  --r-stroke: var(--stroke-sr);
  position: relative;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: var(--control-h);
  padding: 0 40px;
  font: 500 18px/1.2 var(--font-base);
  color: var(--c-white);
  text-align: center;
  white-space: nowrap;
  background: none;
  border: 0;
  cursor: pointer;
  isolation: isolate;
  transition:
    color var(--transition),
    --btn-c1 var(--transition),
    --btn-c2 var(--transition),
    --btn-b1 var(--transition),
    --btn-b2 var(--transition);
}

.btn::before,
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
}

.btn::before {
  background: linear-gradient(var(--btn-angle), var(--btn-c1), var(--btn-c2));
  -webkit-mask:
    var(--l-fill) left top / var(--cap-w) 100% no-repeat,
    var(--r-fill) right top / var(--cap-w) 100% no-repeat,
    var(--fill) center / calc(100% - 2 * var(--cap-w) + 6px) 100% no-repeat;
  mask:
    var(--l-fill) left top / var(--cap-w) 100% no-repeat,
    var(--r-fill) right top / var(--cap-w) 100% no-repeat,
    var(--fill) center / calc(100% - 2 * var(--cap-w) + 6px) 100% no-repeat;
}

/* Обводка — отдельный слой из штриховых svg-«колпаков» и двух линий: один штрих
   вместо двух наложенных краёв заливки, поэтому скос без грязи. */
.btn::after {
  background: linear-gradient(var(--btn-angle), var(--btn-b1), var(--btn-b2));
  -webkit-mask:
    var(--l-stroke) left top / var(--cap-w) 100% no-repeat,
    var(--r-stroke) right top / var(--cap-w) 100% no-repeat,
    var(--fill) center top / calc(100% - 2 * var(--cap-w) + 6px) var(--line)
      no-repeat,
    var(--fill) center bottom / calc(100% - 2 * var(--cap-w) + 6px) var(--line)
      no-repeat;
  mask:
    var(--l-stroke) left top / var(--cap-w) 100% no-repeat,
    var(--r-stroke) right top / var(--cap-w) 100% no-repeat,
    var(--fill) center top / calc(100% - 2 * var(--cap-w) + 6px) var(--line)
      no-repeat,
    var(--fill) center bottom / calc(100% - 2 * var(--cap-w) + 6px) var(--line)
      no-repeat;
}

.btn:hover {
  --btn-c1: var(--c-white);
  --btn-c2: var(--c-white);
  --btn-b1: var(--c-dark);
  --btn-b2: var(--c-dark);
  color: var(--c-dark);
}

.btn--white {
  --btn-c1: var(--c-white);
  --btn-c2: var(--c-white);
  --btn-b1: var(--c-white);
  --btn-b2: var(--c-white);
  color: var(--c-dark);
}

.btn--white:hover {
  --btn-c1: var(--c-dark);
  --btn-c2: var(--c-dark);
  --btn-b1: var(--c-dark);
  --btn-b2: var(--c-dark);
  color: var(--c-white);
}

.popup_container .btn--white:hover {
  --btn-b1: var(--c-white);
  --btn-b2: var(--c-white);
}

.btn--main {
  --btn-c1: var(--c-dark);
  --btn-c2: var(--c-blue);
  --btn-b1: var(--c-dark);
  --btn-b2: var(--c-blue);
}

.btn--main:hover {
  --btn-c1: var(--c-dark);
  --btn-c2: var(--c-dark);
  --btn-b1: var(--c-dark);
  --btn-b2: var(--c-dark);
  color: var(--c-white);
}

.btn--grad {
  --btn-c1: var(--c-accent);
  --btn-c2: var(--c-dark);
  --btn-b1: var(--c-accent);
  --btn-b2: var(--c-dark);
  --btn-angle: 83deg;
}

.btn--outline {
  --btn-c1: var(--c-white);
  --btn-c2: var(--c-white);
  color: var(--c-dark);
}

.btn--outline:hover {
  --btn-c1: var(--c-dark);
  --btn-c2: var(--c-dark);
  color: var(--c-white);
}

.btn--cut-r {
  --r-fill: var(--cap-r);
  --r-stroke: var(--stroke-r);
}

.btn--cut-l {
  --l-fill: var(--cap-l);
  --l-stroke: var(--stroke-l);
}

.btn--cut-lb {
  --l-fill: var(--cap-lb);
  --l-stroke: var(--stroke-lb);
}

.btn--trap {
  --l-fill: var(--cap-lb);
  --l-stroke: var(--stroke-lb);
  --r-fill: var(--cap-rb);
  --r-stroke: var(--stroke-rb);
}

/* ==========================================================================
   FORMS — поле / селект / согласие ПД (сноска) / состояния
   ========================================================================== */
.form-group {
  position: relative;
  margin-bottom: 12px;
}

.form-group input,
.form-group select {
  width: 100%;
  height: var(--control-h);
  padding: 0 20px;
  font: 500 18px/1.2 var(--font-base);
  color: var(--c-white);
  background: transparent;
  border: 1px solid var(--c-white);
  border-radius: var(--radius);
  outline: none;
  transition: border-color var(--transition);
}

.form-group input::placeholder {
  color: rgba(255, 255, 255, 0.5);
  opacity: 1;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--c-blue);
}

.form-group select {
  appearance: none;
  padding-right: 50px;
  background: url(../img/ico/select.svg) right 21px center / 16px 9px no-repeat;
  cursor: pointer;
}

.form-group select:has(option[value=""]:checked) {
  color: rgba(255, 255, 255, 0.5);
}

.form-group select option {
  color: var(--c-dark);
}

.form-group .btn {
  width: 100%;
}

input[type="file"] {
  display: none;
}

/* Согласие на обработку ПД — мелкая сноска под формой. */
.agree-field {
  position: relative;
  display: block;
  min-height: 22px;
  padding: 3px 0 0 27px;
  font-size: 12px;
  line-height: 1.25;
  color: var(--c-white);
  text-align: left;
  cursor: pointer;
}

.agree-field a {
  text-decoration: underline;
  text-underline-position: from-font;
}

.agree-field input {
  position: absolute;
  top: 0;
  left: 0;
  width: 22px;
  height: 22px;
  appearance: none;
  background: rgba(255, 255, 255, 0.1) center / 14.76px no-repeat;
  border-radius: 5px;
  cursor: pointer;
}

.agree-field input:checked {
  background-image: url(../img/ico/check.svg);
}

/* Подсветка невалидного поля + блок кнопки без согласия (классы вешает JS). */
.has-danger input,
.has-danger select {
  border-color: #eba5a3;
  box-shadow: 0 0 6px #eba5a3;
}

/* Только submit: fancybox кладёт свой крестик (тоже <button>) внутрь формы попапа. */
.not_agree button[type="submit"] {
  --btn-c1: #ccc !important;
  --btn-c2: #ccc !important;
  --btn-b1: #ccc !important;
  --btn-b2: #ccc !important;
  color: var(--c-white) !important;
  cursor: default;
  pointer-events: none;
}

/* ==========================================================================
   POPUP — fancybox копирует innerHTML источника, поэтому стили вешаем
   на .popup_container, а не на #form_popup.
   ========================================================================== */
#form_popup {
  display: none;
}

.popup_container {
  width: 606px;
  max-width: 100%;
  padding: 80px 20px;
  color: var(--c-white);
  text-align: center;
  background: #0b1a31;
  border-radius: var(--radius-lg);
}

.form_title {
  margin-bottom: 16px;
  font: 700 48px/1.2 var(--font-base);
  text-transform: uppercase;
}

.popup__text {
  max-width: 407px;
  margin: 0 auto 32px;
  font: 500 28px/1.3 var(--font-base);
}

.popup_container .form-group,
.popup_container .agree-field {
  width: 482px;
  max-width: 100%;
  margin-right: auto;
  margin-left: auto;
}

.popup_container .form-group input {
  border-color: #e6e6e6;
}

.popup_container .form-group input::placeholder {
  color: var(--c-white);
}

.popup_container .fancybox-close-small {
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  padding: 0;
  background: url(../img/ico/close.svg) center / 16px no-repeat;
  opacity: 1;
  transition: opacity var(--transition);
}

.popup_container .fancybox-close-small:hover {
  opacity: 0.6;
}

.popup_container .fancybox-close-small svg {
  display: none;
}

/* ==========================================================================
   FANCYBOX v3 — интеграция плагина (попапы форм + галереи)
   ========================================================================== */
.fancybox-content {
  overflow: hidden;
}

.fancybox-button svg {
  transform: scale(2);
}

.fancybox-close {
  width: 22px !important;
  height: 22px !important;
  top: -25px !important;
  right: -25px !important;
  background: url(../img/bg_close.png) 50% / contain no-repeat !important;
}

.compensate-for-scrollbar {
  margin-right: auto !important;
  overflow: auto !important;
}

/* ==========================================================================
   HEADER — фикс-шапка (активная разметка)
   ========================================================================== */
header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 15;
  max-width: 1920px;
  margin: 0 auto;
  color: var(--c-white);
  background: rgba(11, 26, 48, 0.6);
  border-radius: 0 0 77px 77px;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

.header__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 83px;
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo-group__item--main {
  width: 170px;
}

.logo-group__item--partner {
  display: flex;
  align-items: center;
  height: 56px;
  padding-left: 16px;
  border-left: 1px solid rgba(255, 255, 255, 0.5);
}

.header__addr,
.header__phone {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.header__addr {
  font-size: 15px;
  line-height: 23.7px;
}

.header__phone {
  padding-left: 8px;
  font-size: 22px;
  transition: opacity var(--transition);
}

.header__phone:hover {
  opacity: 0.7;
}

header .btn {
  width: 300px;
}

.m_btn {
  display: none;
}

/* ==========================================================================
   NAV — навигация
   ========================================================================== */
.menu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 42px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.25;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.menu__group {
  display: flex;
  gap: 56px;
}

.menu__group a {
  transition: opacity var(--transition);
}

.menu__group a:hover {
  opacity: 0.6;
}

/* ==========================================================================
   BANNER — hero-баннер
   ========================================================================== */
.banner {
  position: relative;
  height: clamp(860px, 52.083vw, 1000px);
  overflow: hidden;
}

.banner__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}

.banner::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: 233px;
  background: linear-gradient(0deg, rgba(0, 27, 52, 0.8), rgba(0, 27, 52, 0));
  pointer-events: none;
}

.banner .container {
  z-index: 2;
  padding-top: 141px;
}

.banner__titles {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 1154px;
  max-width: 100%;
  margin: 0 auto;
}

.banner__panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
  margin-bottom: -32px;
  padding: 20px 150px 48px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-lg);
}

.banner__title {
  font: 800 40px/1.2 var(--font-base);
  color: #0b1a31;
  text-align: center;
  text-transform: uppercase;
}

.banner__badge {
  display: flex;
  align-items: center;
  height: 72px;
  padding: 0 24px;
  font: 800 40px/1.25 var(--font-base);
  color: var(--c-white);
  white-space: nowrap;
  background: #0b1a31;
  border-radius: 5px;
}

.banner .btn {
  width: 300px;
}

/* ==========================================================================
   TIMER — блок таймера акции
   ========================================================================== */
.timer {
  position: relative;
  z-index: 3;
  height: 222px;
  margin-top: -222px;
  color: var(--c-white);
}

.timer .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 89px;
  height: 100%;
}

.timer__form {
  flex: 0 1 731px;
  min-width: 0;
}

.timer__title {
  margin-bottom: 13px;
  font: 500 28px/1.25 var(--font-base);
}

.timer form {
  display: grid;
  grid-template-columns: 360fr 359fr;
  column-gap: 12px;
}

.timer .form-group {
  margin-bottom: 10px;
}

.timer .form-group input {
  border-color: #e6e6e6;
}

.timer .form-group input::placeholder {
  color: var(--c-white);
}

.timer .agree-field {
  grid-column: 1 / -1;
}

.timer__clock {
  flex: 0 1 626px;
  min-width: 0;
}

/* Бегущая строка под баннером. */
.ticker {
  height: 40px;
  overflow: hidden;
  background: linear-gradient(90deg, #022f5b, #0b1a30);
}

.ticker__track {
  display: flex;
  width: max-content;
  height: 100%;
  animation: ticker 40s linear infinite;
}

.ticker__item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-right: 16px;
  font-size: 18px;
  line-height: 22px;
  color: var(--c-white);
  text-transform: uppercase;
  white-space: nowrap;
}

@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ticker__track {
    animation: none;
  }
}

/* ==========================================================================
   CARS — карточки / слайдер авто
   ========================================================================== */
.cars {
  padding-top: 120px;
}

.cars .section-title {
  margin-bottom: 72px;
}

.cars__item {
  display: flex;
  justify-content: space-between;
  gap: 29px;
}

.cars__item + .cars__item {
  margin-top: 56px;
}

.cars__card {
  position: relative;
  flex: 1 1 1515px;
  min-width: 0;
  max-width: 1515px;
  padding: 56px 56px 32px;
  overflow: hidden;
  border: 1px solid var(--c-dark);
  border-radius: var(--radius-lg);
}

.cars__card::before {
  content: "";
  position: absolute;
  top: -74px;
  left: -548px;
  width: 1513px;
  height: 538px;
  background: url(../img/cars_bg.png) 0 0 / 100% 100% no-repeat;
}

.cars__top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.cars__info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 505px;
  color: var(--c-white);
}

.cars__name {
  margin-bottom: 25px;
  font: 600 48px/1.4 var(--font-base);
}

.cars__benefit {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 64px;
  margin-bottom: 16px;
  padding: 0 40px 0 20px;
  background: var(--c-white);
  border-radius: 5px;
}

.cars__benefit span {
  font: 800 24px/22px var(--font-base);
  white-space: nowrap;
  color: transparent;
  background: linear-gradient(90deg, #0b1a30, #013262);
  -webkit-background-clip: text;
  background-clip: text;
}

.cars__usp {
  display: flex;
  flex-direction: column;
  gap: 4px;
  list-style: none;
}

.cars__usp li {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 42px;
  font-size: 18px;
  font-weight: 500;
  line-height: 22px;
}

.cars__usp-ico {
  flex: none;
  width: 24px;
  height: 27px;
  background: currentColor;
  -webkit-mask: var(--ico) center / contain no-repeat;
  mask: var(--ico) center / contain no-repeat;
}

.cars__usp-ico--car {
  --ico: url(../img/ico/car.svg);
}

.cars__usp-ico--stars {
  --ico: url(../img/ico/stars.svg);
}

.cars__usp-ico--card {
  --ico: url(../img/ico/card.svg);
}

.cars__usp-ico--guarantee {
  --ico: url(../img/ico/guarantee.svg);
}

.cars__colors {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 40px;
}

.cars__color {
  flex: none;
  width: 32px;
  height: 32px;
  background: var(--color);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  transition:
    width var(--transition),
    height var(--transition),
    transform var(--transition);
}

.cars__color--light {
  box-shadow: inset 0 0 0 1px var(--c-dark);
}

.cars__color:hover {
  transform: scale(1.1);
}

.cars__color.active {
  width: 40px;
  height: 40px;
  transform: none;
}

.cars__media {
  position: absolute;
  top: -33px;
  left: 17.58%;
  z-index: 1;
  width: 95.37%;
  pointer-events: none;
}

.cars__img {
  display: block;
  width: 100%;
}

.cars__btns {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 88px;
}

.cars__gallery {
  display: flex;
  flex: 0 0 196px;
  flex-direction: column;
  gap: 25px;
  min-width: 0;
}

.car_gallery_slider {
  width: 100%;
  height: 446px;
}

.car_gallery_slider .swiper-slide {
  display: block;
  overflow: hidden;
  border-radius: 15px;
}

.car_gallery_slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.car_gallery_slider .swiper-slide:hover img {
  transform: scale(1.05);
}

.cars__arrow {
  flex: none;
  height: 47px;
  background: rgba(11, 26, 48, 0.1) url(../img/ico/arrow.svg) center / 24px 13px
    no-repeat;
  border: 0;
  border-radius: 15px;
  cursor: pointer;
  transition: background-color var(--transition);
}

.cars__arrow:hover {
  background-color: var(--c-dark);
  background-image: url(../img/ico/arrow_white.svg);
}

.cars__arrow--next {
  transform: scaleY(-1);
}

/* ==========================================================================
   COMPLECTS — таблица комплектаций (include.table.php)
   ========================================================================== */
.instock {
  margin-top: 114px;
  padding: 120px 0;
  color: var(--c-white);
  background: var(--c-dark);
}

.instock__title {
  margin-bottom: 72px;
}

.complects__menu {
  position: absolute;
  top: 5px;
  right: 30px;
  display: flex;
  gap: 20px;
  list-style: none;
}

.complects__menu button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 273px;
  height: 60px;
  background: transparent;
  border: 1px solid var(--c-white);
  border-radius: 15px;
  cursor: pointer;
  transition: background-color var(--transition);
}

.complects__menu button:hover,
.complects__menu .current button {
  background-color: var(--c-accent);
}

.complects__menu img {
  width: 128px;
}

.complects__filter {
  display: none;
}

.complects__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px 20px;
}

.complects__card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  padding: 32px 0 56px;
  overflow: hidden;
  color: #0b1a31;
  background: var(--c-white);
  border-radius: var(--radius-lg);
}

.complects__card::before {
  content: "";
  position: absolute;
  top: -76px;
  left: 50%;
  width: 563px;
  height: 200px;
  background: url(../img/complects_bg.png) 0 0 / 100% 100% no-repeat;
  transform: translateX(-50%);
}

.complects__name {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 37px;
  font: 600 48px/1.25 var(--font-base);
  color: var(--c-white);
  white-space: nowrap;
}

.complects__name span {
  display: flex;
  align-items: center;
  height: 57px;
  padding: 0 24px;
  font-size: 24px;
  color: #0b1a31;
  text-transform: uppercase;
  background: var(--c-white);
  border: 1px solid #0b1a31;
  border-radius: 15px;
}

.complects__image {
  display: flex;
  align-items: flex-end;
  width: 100%;
  aspect-ratio: 567 / 232;
  margin-bottom: -5px;
}

.complects__image img {
  width: 100%;
}

.complects__body {
  position: relative;
  width: 455px;
  max-width: calc(100% - 40px);
}

.complects__specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 56px;
  margin-bottom: 32px;
  list-style: none;
}

.complects__specs li {
  min-height: 52px;
  padding-left: 21px;
  font-size: 15px;
  font-weight: 500;
  line-height: 24.6px;
  border-left: 2px solid #013262;
}

.complects__specs b {
  display: block;
  font-size: 18px;
  font-weight: 700;
}

.complects__btns {
  display: flex;
  justify-content: center;
}

.complects__btns .btn {
  flex: 0 1 228px;
  min-width: 0;
  padding: 0 30px;
}

.complects__btns .btn--grad {
  --btn-c1: #072445;
  --btn-b1: #072445;
}

.complects__btns .btn--grad:hover {
  --btn-c1: var(--c-white);
  --btn-b1: var(--c-dark);
}

.complects__more {
  display: block;
  margin: 48px auto 0;
  font: 500 18px/1.2 var(--font-base);
  color: var(--c-white);
  text-decoration: underline;
  text-underline-offset: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  transition: opacity var(--transition);
}

.complects__more:hover {
  opacity: 0.7;
}

/* Авторский display перебивает display:none из UA-стилей для [hidden],
   поэтому кнопку «Показать ещё» прячем явно. */
.complects__more[hidden] {
  display: none;
}

/* ==========================================================================
   TRADEIN — трейд-ин
   ========================================================================== */
.tradein {
  margin-top: 56px;
}

.tradein__box {
  position: relative;
  height: 740px;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.tradein__img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}

.tradein__wrap {
  position: absolute;
  top: 56px;
  right: 56px;
  width: 509px;
  color: var(--c-white);
}

.tradein__title {
  margin-bottom: 40px;
}

.tradein__comment,
.credit__comment,
.test-drive__comment {
  margin-bottom: 24px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.34;
}

/* ==========================================================================
   CREDIT — кредит
   ========================================================================== */
.credit,
.test-drive {
  position: relative;
  overflow: hidden;
  color: var(--c-white);
  border-radius: var(--radius-lg);
}

.credit {
  height: 525px;
  margin-top: 120px;
}

.credit__bg,
.test-drive__bg {
  position: absolute;
  inset: 0;
}

.credit__bg img,
.test-drive__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.credit__bg img {
  object-position: right center;
}

.credit__wrap,
.test-drive__wrap {
  position: relative;
  z-index: 1;
  width: 623px;
  max-width: 100%;
  padding: 56px;
}

.credit__title,
.test-drive__title {
  margin-bottom: 40px;
  white-space: nowrap;
}

.test-drive {
  height: 524px;
  margin-top: 56px;
}

.test-drive__bg img {
  object-position: center bottom;
}

.test-drive::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 64.83%;
  background: linear-gradient(
    90deg,
    rgba(11, 26, 48, 0.9),
    rgba(11, 26, 48, 0.8) 43.833%,
    rgba(11, 26, 48, 0)
  );
}

/* ==========================================================================
   CONTACTS — контакты + карта
   ========================================================================== */
.contacts {
  position: relative;
  height: 672px;
  margin-top: 120px;
  background: #1f2433;
}

#map1 {
  position: absolute;
  inset: 0;
}

.contacts .container {
  z-index: 1;
  pointer-events: none;
}

.contacts__wrap {
  padding-top: 56px;
}

.contacts__title {
  margin-bottom: 40px;
  color: var(--c-white);
}

.contacts__panel {
  width: 566px;
  max-width: 100%;
  overflow: hidden;
  color: var(--c-white);
  background: var(--c-glass);
  border-radius: 20px 20px 12px 12px;
  pointer-events: auto;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

.contacts__panel .logo-group {
  gap: 35px;
  height: 120px;
  padding: 0 32px;
  background: var(--c-white);
}

.contacts__panel .logo-group__item--main {
  width: auto;
}

.contacts__panel .logo-group__item--partner {
  padding-left: 35px;
  border-left-color: rgba(11, 26, 48, 0.5);
}

.contacts__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px;
}

.contacts__phone,
.contacts__addr,
.contacts__worktime {
  display: flex;
  align-items: center;
  gap: 12px;
  font: 800 24px/23.7px var(--font-base);
}

.contacts__addr,
.contacts__worktime {
  margin-top: 16px;
}

.contacts__phone img,
.contacts__addr img,
.contacts__worktime img {
  flex: none;
  width: 16px;
}

.contacts__text {
  margin: 33px 0 25px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.25;
}

.contacts .btn {
  width: 447px;
  max-width: 100%;
}

/* ==========================================================================
   FOOTER — подвал
   ========================================================================== */
footer {
  font-size: 15px;
  font-weight: 500;
  line-height: 20.1px;
  color: var(--c-muted);
  background: #0b1a31;
}

.footer__wrap {
  display: grid;
  grid-template-columns: 45.63% 1fr auto;
  align-items: center;
  min-height: 165px;
  padding: 32px 0;
}

.footer__legal {
  max-width: 400px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer__links a,
.footer__sinoby {
  transition: color var(--transition);
}

.footer__links a:hover,
.footer__sinoby:hover {
  color: var(--c-white);
}

.footer__sinoby {
  display: flex;
  align-items: center;
  white-space: pre;
}

.disclamer {
  display: none;
  padding-bottom: 32px;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.5);
}

/* ==========================================================================
   MEDIA — медиазапросы
   ========================================================================== */

@media (max-width: 1599px) {
  header {
    border-radius: 0;
  }

  .header__top .btn,
  header .btn {
    width: 260px;
  }

  .banner .container {
    padding-top: 135px;
  }

  .banner__panel {
    gap: 12px;
    margin-bottom: -30px;
    padding: 14px 120px 36px;
  }

  .banner__title {
    font-size: 30px;
  }

  .banner__badge {
    height: 54px;
    font-size: 32px;
  }

  .cars__media {
    top: 65px;
  }

  .complects__menu button {
    width: 220px;
  }

  .complects__name {
    font-size: 40px;
  }

  .complects__name span {
    height: 50px;
    padding: 0 18px;
    font-size: 20px;
  }

  .complects__specs {
    column-gap: 24px;
  }

  .complects__btns .btn {
    padding: 0 24px;
    font-size: 16px;
  }

  .cars__info {
    width: 440px;
  }
}

@media (max-width: 1439px) {
  .header__addr {
    display: none;
  }

  .timer .container {
    gap: 32px;
  }

  .timer__title {
    font-size: 22px;
  }

  .timer .btn {
    padding: 0 30px;
  }

  .section-title {
    font-size: 48px;
  }

  .complects__list {
    column-gap: 16px;
  }
}

@media (max-width: 1199px) {
  :root {
    --control-h: 54px;
  }

  .btn {
    padding: 0 32px;
    font-size: 16px;
  }

  /* Шапка переходит на бургер. */
  .header__top {
    height: 70px;
  }

  .header__top .btn {
    display: none;
  }

  .header__phone {
    margin-left: auto;
    margin-right: 64px;
  }

  .m_btn {
    position: absolute;
    top: 24px;
    right: 30px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
  }

  .m_btn span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--c-white);
    border-radius: 2px;
    transition: var(--transition);
  }

  .m_btn.active span:nth-child(1) {
    transform: translateY(9px) rotate(-45deg);
  }

  .m_btn.active span:nth-child(2) {
    opacity: 0;
  }

  .m_btn.active span:nth-child(3) {
    transform: translateY(-9px) rotate(45deg);
  }

  .menu {
    position: absolute;
    top: 100%;
    right: -100%;
    z-index: 2;
    flex-direction: column;
    gap: 24px;
    width: 100%;
    height: auto;
    padding: 28px 0 32px;
    font-size: 18px;
    background: var(--c-dark);
    border-top: 0;
    transition: right var(--transition);
  }

  .menu.active {
    right: 0;
  }

  .menu__group {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .menu__group--model {
    flex-direction: row;
    gap: 40px;
    font-weight: 700;
  }

  /* Баннер: таймер уходит под картинку. */
  .banner {
    height: clamp(560px, 52.083vw, 1000px);
  }

  .banner .container {
    padding-top: 110px;
  }

  .banner__titles {
    width: 820px;
  }

  .banner__panel {
    padding: 20px 40px 44px;
  }

  .banner__title,
  .banner__badge {
    font-size: 30px;
  }

  .banner__badge {
    height: 56px;
  }

  .timer {
    height: auto;
    margin-top: 0;
    padding: 40px 0;
    background: var(--c-dark);
  }

  .timer .container {
    flex-direction: column;
    gap: 32px;
  }

  .timer__form {
    flex: none;
    width: 100%;
    max-width: 731px;
  }

  .timer__title {
    text-align: center;
  }

  .timer__clock {
    order: -1;
    flex: none;
    width: 100%;
    max-width: 626px;
  }

  /* Карточка модели: авто в потоке, галерея — лентой под карточкой. */
  .cars .section-title {
    margin-bottom: 48px;
  }

  .cars__item {
    flex-direction: column;
    gap: 16px;
  }

  .cars__card {
    flex: none;
    max-width: none;
    padding: 40px 32px 24px;
  }

  .cars__media {
    position: relative;
    top: auto;
    left: auto;
    width: 120%;
    margin: -110px 0 0 -6.7%;
  }

  .cars__btns {
    margin-top: 8px;
  }

  .cars__gallery {
    flex: none;
    flex-direction: row;
    align-items: center;
    gap: 10px;
  }

  .car_gallery_slider {
    flex: 1 1 auto;
    min-width: 0;
    height: auto;
  }

  .car_gallery_slider .swiper-slide {
    aspect-ratio: 196 / 132;
  }

  .cars__arrow {
    width: 40px;
    height: 40px;
    background-size: 20px 11px;
    border-radius: 12px;
    transform: rotate(-90deg);
  }

  .cars__arrow--next {
    transform: rotate(90deg);
  }

  .instock {
    padding: 80px 0;
  }

  .instock__title {
    margin-bottom: 24px;
  }

  .complects__menu {
    position: static;
    margin-bottom: 40px;
  }

  .complects__menu li {
    flex: 1 1 0;
    max-width: 273px;
  }

  .complects__menu button {
    width: 100%;
  }

  .complects__list {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 16px;
  }

  .credit,
  .tradein,
  .test-drive,
  .contacts {
    margin-top: 80px;
  }

  .tradein__box {
    height: 640px;
  }

  .tradein__wrap {
    top: 40px;
    right: 40px;
  }

  .footer__wrap {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .footer__sinoby {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767px) {
  :root {
    --control-h: 50px;
  }

  .container {
    padding: 0 15px;
  }

  .section-title {
    font-size: 32px;
  }

  .btn {
    padding: 0 28px;
    font-size: 16px;
  }

  .panel {
    padding: 20px 16px;
  }

  .form-group input,
  .form-group select {
    padding: 0 16px;
    font-size: 16px;
  }

  .form-group select {
    padding-right: 44px;
    background-position: right 16px center;
  }

  /* Шапка. */
  .header__top {
    height: 64px;
  }

  .logo-group {
    gap: 10px;
  }

  .logo-group__item--main {
    width: 104px;
  }

  .logo-group__item--partner {
    height: 36px;
    padding-left: 10px;
  }

  .logo-group__item--partner img {
    width: 92px;
  }

  .header__phone {
    width: 36px;
    height: 36px;
    margin-right: 48px;
    padding: 0;
    font-size: 0;
    gap: 0;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
  }

  .m_btn {
    top: 21px;
    right: 15px;
    width: 28px;
    height: 21px;
  }

  .menu {
    padding: 24px 0 28px;
  }

  /* Баннер: картинка в потоке задаёт высоту, текст поверх в vw. */
  .banner {
    height: auto;
  }

  .banner__media {
    position: relative;
    display: block;
  }

  .banner__media img {
    position: relative;
    height: auto;
  }

  .banner::after {
    height: 30vw;
  }

  .banner .container {
    position: absolute;
    inset: 0;
    padding-top: calc(64px + 3.2vw);
  }

  .banner__panel {
    gap: 2.1vw;
    margin-bottom: -4.3vw;
    padding: 3.2vw 3.2vw 7.5vw;
    border-radius: 3.2vw;
  }

  .banner__title {
    font-size: 4.3vw;
  }

  .banner__badge {
    height: 9.6vw;
    padding: 0 3.2vw;
    font-size: 5.3vw;
    border-radius: 1.3vw;
  }

  .banner .btn {
    --control-h: 10.7vw;
    width: 60vw;
    padding: 0 7vw;
    font-size: 3.8vw;
  }

  .timer {
    padding: 0 0 32px;
  }

  .timer .container {
    gap: 24px;
  }

  .timer__title {
    margin-bottom: 16px;
    font-size: 20px;
  }

  .sinoby-timer {
    min-height: auto !important;
  }

  .timer form {
    grid-template-columns: 1fr;
  }

  .ticker__item {
    font-size: 14px;
  }

  /* Модельный ряд. */
  .cars {
    padding-top: 56px;
  }

  .cars .section-title {
    margin-bottom: 24px;
  }

  .cars__item + .cars__item {
    margin-top: 40px;
  }

  .cars__card {
    display: flex;
    flex-direction: column;
    padding: 0 16px 16px;
    border-radius: 16px;
  }

  .cars__card::before {
    top: -38px;
    left: 50%;
    width: calc(100% - 4px);
    height: 109px;
    transform: translateX(-50%);
  }

  .cars__top,
  .cars__info {
    display: contents;
  }

  .cars__name {
    position: relative;
    align-self: center;
    margin: 16px 0 24px;
    font-size: 32px;
    line-height: 1.2;
    color: var(--c-white);
  }

  .cars__benefit {
    position: relative;
    align-self: center;
    gap: 10px;
    height: 48px;
    margin-bottom: 0;
    padding: 0 18px 0 14px;
    background: #152840;
  }

  .cars__benefit img {
    width: 22px;
    filter: brightness(0) invert(1);
  }

  .cars__benefit span {
    font-size: 18px;
    color: var(--c-white);
    background: none;
  }

  .cars__media {
    order: 1;
    width: 160%;
    margin: -29px 0 0 -26%;
  }

  .cars__colors {
    order: 2;
    flex-direction: row;
    justify-content: center;
    gap: 12px;
    width: auto;
    height: 40px;
  }

  .cars__usp {
    order: 3;
    margin-top: 16px;
    color: var(--c-dark);
  }

  .cars__usp li {
    gap: 12px;
    min-height: 34px;
    font-size: 15px;
    line-height: 1.25;
  }

  .cars__usp-ico {
    width: 20px;
    height: 22px;
  }

  .cars__btns {
    order: 4;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 16px;
  }

  .cars__btns .btn,
  .complects__btns .btn {
    --l-fill: var(--cap-sl);
    --l-stroke: var(--stroke-sl);
    --r-fill: var(--cap-r);
    --r-stroke: var(--stroke-r);
  }

  /* Комплектации. */
  .instock {
    margin-top: 56px;
    padding: 56px 0;
  }

  .complects__menu {
    gap: 8px;
    margin-bottom: 24px;
  }

  .complects__menu button {
    height: 44px;
    border-radius: 10px;
  }

  .complects__menu img {
    width: 76px;
  }

  .complects__list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .complects__card {
    padding: 28px 0 24px;
    border-radius: 16px;
  }

  .complects__card::before {
    top: -10px;
    width: 86%;
    height: 100px;
  }

  .complects__name {
    gap: 10px;
    margin-bottom: 30px;
    font-size: 30px;
  }

  .complects__name span {
    height: 38px;
    padding: 0 12px;
    font-size: 15px;
    border-radius: 10px;
  }

  .complects__body {
    max-width: calc(100% - 32px);
  }

  .complects__specs {
    gap: 16px;
    margin-bottom: 24px;
  }

  .complects__specs li {
    min-height: 0;
    padding-left: 12px;
    font-size: 13px;
    line-height: 1.5;
  }

  .complects__specs b {
    font-size: 16px;
  }

  .complects__btns {
    flex-direction: column;
    gap: 10px;
  }

  .complects__btns .btn {
    flex: none;
    width: 100%;
  }

  .complects__more {
    margin-top: 32px;
    font-size: 16px;
  }

  /* Кредит / обмен / тест-драйв: фото сверху, форма под ним. */
  .credit,
  .tradein,
  .test-drive,
  .contacts {
    margin-top: 40px;
  }

  .credit,
  .test-drive,
  .tradein__box {
    height: auto;
    background: var(--c-dark);
    border-radius: 16px;
  }

  .credit__bg,
  .test-drive__bg,
  .tradein__img {
    position: relative;
    display: block;
  }

  .credit__bg img,
  .test-drive__bg img,
  .tradein__img img {
    position: static;
    display: block;
    width: 100%;
    height: auto;
  }

  .test-drive::after {
    display: none;
  }

  .credit__bg::after,
  .test-drive__bg::after,
  .tradein__img::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 55%;
    background: linear-gradient(180deg, rgba(11, 26, 48, 0), var(--c-dark));
  }

  .credit__wrap,
  .test-drive__wrap,
  .tradein__wrap {
    position: relative;
    top: auto;
    right: auto;
    z-index: 1;
    width: auto;
    margin-top: -22px;
    padding: 0 16px 16px;
  }

  .credit__title,
  .test-drive__title,
  .tradein__title {
    margin-bottom: 20px;
    white-space: normal;
  }

  .tradein__comment,
  .credit__comment,
  .test-drive__comment {
    margin-bottom: 16px;
    font-size: 16px;
  }

  /* Контакты: панель, под ней карта. */
  .contacts {
    display: flex;
    flex-direction: column;
    height: auto;
    background: var(--c-dark);
  }

  #map1 {
    position: relative;
    order: 2;
    height: 360px;
  }

  .contacts__wrap {
    padding: 40px 0 24px;
  }

  .contacts__title {
    margin-bottom: 20px;
  }

  .contacts__panel {
    border-radius: 16px;
  }

  .contacts__panel .logo-group {
    gap: 16px;
    height: 84px;
    padding: 0 16px;
  }

  .contacts__panel .logo-group__item--main img {
    width: 140px;
  }

  .contacts__panel .logo-group__item--partner {
    padding-left: 16px;
  }

  .contacts__panel .logo-group__item--partner img {
    width: 120px;
  }

  .contacts__body {
    padding: 24px 16px;
  }

  .contacts__phone,
  .contacts__addr,
  .contacts__worktime {
    font-size: 17px;
    line-height: 1.3;
  }

  .contacts__text {
    margin: 24px 0 20px;
    font-size: 16px;
  }

  /* Подвал. */
  footer {
    font-size: 13px;
    line-height: 1.5;
  }

  .footer__wrap {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Попап на всю ширину. */
  .popup_container {
    width: 100%;
    padding: 56px 16px 32px;
  }

  .form_title {
    font-size: 30px;
  }

  .popup__text {
    margin-bottom: 24px;
    font-size: 18px;
  }

  /* fancybox на мобиле — на весь экран. */
  .fancybox-wrap,
  .fancybox-inner,
  .fancybox-type-image {
    width: 100% !important;
    left: 0 !important;
    margin: 0 !important;
  }

  .fancybox-close {
    top: 9px !important;
    right: 9px !important;
  }
}

.policy {
  max-width: 1200px;
  padding-top: 40px;
  padding-bottom: 40px;
  font-size: 16px;
  line-height: 1.5;
}

.policy h1 {
  margin-bottom: 20px;
  font-size: 32px;
  line-height: 1.25;
}

.policy h2 {
  margin: 32px 0 12px;
  font-size: 22px;
  line-height: 1.3;
}

.policy p {
  margin-bottom: 15px;
}

.policy ul {
  margin: 0 0 15px 20px;
}

.policy li {
  margin-bottom: 6px;
}

.policy a {
  color: var(--c-blue);
  text-decoration: underline;
}

.policy__table {
  margin-bottom: 20px;
  overflow-x: auto;
}

.policy table {
  width: 100%;
  min-width: 720px;
  font-size: 14px;
  line-height: 1.4;
  border-collapse: collapse;
}

.policy th,
.policy td {
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
  border: 1px solid #d5d9e0;
}

.policy th {
  color: var(--c-white);
  background: var(--c-dark);
}

@media (max-width: 767px) {
  .policy h1 {
    font-size: 24px;
  }

  .policy h2 {
    font-size: 19px;
  }

  .policy {
    font-size: 15px;
  }
}
