/* === Header === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 0;
  background: rgba(245,245,244,0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease-out), background .25s var(--ease-out);
}

.site-header__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(245,245,244,0.92);
}

.site-header__logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.02em;
  color: var(--ink-dark);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.site-header__logo::before {
  content: '';
  width: 1.45em;
  height: 1.45em;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'><path d='M32 2L51 17L32 30L13 17Z' fill='%23161412'/><path d='M53 23L60 37L41 51L34 37Z' fill='%23161412'/><path d='M32 41L51 55L32 62L13 55Z' fill='%23161412'/><path d='M11 23L4 37L23 51L30 37Z' fill='%23161412'/><path d='M32 28L40 36L32 44L24 36Z' fill='%232EA86A'/></svg>");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.site-header__nav {
  display: flex;
  gap: 28px;
}
.site-header__nav a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14px;
  color: var(--ink-muted);
  transition: color .25s var(--ease-out);
}
.site-header__nav a:hover { color: var(--accent-mid); }

.site-header__phone {
  background: var(--ink-dark);
  color: var(--bg);
  padding: 11px 22px;
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  transition: background .25s var(--ease-out), color .25s var(--ease-out);
  white-space: nowrap;
}
.site-header__phone:hover {
  background: var(--accent-mid);
  color: var(--ink-dark);
}

.site-header__burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  background: var(--ink-dark);
  color: var(--bg);
  align-items: center;
  justify-content: center;
}
.site-header__burger svg { width: 18px; height: 18px; }

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0;
  text-decoration: none;
  cursor: pointer;
  transition: background .25s var(--ease-out), color .25s var(--ease-out),
              gap .25s var(--ease-out), transform .25s var(--ease-out);
  border: none;
  white-space: nowrap;
}
.btn::after {
  content: '→';
  transition: transform .25s var(--ease-out);
}
.btn:hover::after { transform: translateX(2px); }
.btn:hover { gap: 14px; }

.btn--primary {
  background: var(--ink-dark);
  color: var(--bg);
}
.btn--primary:hover {
  background: var(--accent-mid);
  color: var(--ink-dark);
}

.btn--accent {
  background: var(--accent-mid);
  color: var(--ink-dark);
  box-shadow: 0 12px 32px -10px var(--accent-glow);
}
.btn--accent:hover {
  background: var(--ink-dark);
  color: var(--bg);
  box-shadow: var(--shadow-md);
}

.btn--ghost {
  border: 1.5px solid var(--ink-dark);
  color: var(--ink-dark);
}
.btn--ghost:hover {
  background: var(--ink-dark);
  color: var(--bg);
}

.btn--light {
  border: 1.5px solid rgba(245,245,244,0.3);
  color: var(--bg);
}
.btn--light:hover {
  background: rgba(245,245,244,0.08);
  border-color: rgba(245,245,244,0.5);
}

.btn--no-arrow::after { content: none; }
.btn--no-arrow:hover { gap: 10px; }

.btn--block { width: 100%; justify-content: center; }

/* === Badge === */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 10px;
  background: var(--accent-soft);
  border: 1px solid rgba(46,168,106,0.25);
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  color: var(--accent-mid);
  white-space: nowrap;
}
.badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent-mid);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-glow);
  animation: dot-blink 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes dot-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}

/* === Card base === */
.card {
  background: var(--bg-card);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
  border: 1px solid var(--line);
}

@media (hover: hover) {
  .card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
  }
}

/* === WhatsApp FAB === */
.wa-fab {
  position: fixed;
  right: clamp(16px, 2vw, 32px);
  bottom: clamp(16px, 2vw, 32px);
  z-index: 70;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.40), 0 2px 8px rgba(22, 20, 18, 0.18);
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out);
}

.wa-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.55), 0 4px 12px rgba(22, 20, 18, 0.22);
}

.wa-fab:active { transform: scale(0.98); }

.wa-fab__icon {
  position: relative;
  z-index: 3;
  width: 30px;
  height: 30px;
  display: flex;
}
.wa-fab__icon svg { width: 100%; height: 100%; }

.wa-fab__pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #25D366;
  opacity: 0;
  pointer-events: none;
  animation: wa-fab-pulse 2.4s ease-out infinite;
  z-index: 1;
}
.wa-fab__pulse--delay { animation-delay: 1.2s; }

@keyframes wa-fab-pulse {
  0%   { transform: scale(1);    opacity: 0.7; }
  100% { transform: scale(1.85); opacity: 0; }
}

.wa-fab__tooltip {
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  padding: 8px 14px;
  background: var(--ink-dark);
  color: var(--bg);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: -0.005em;
  white-space: nowrap;
  border-radius: var(--r-pill);
  box-shadow: 0 8px 16px -4px rgba(22, 20, 18, 0.25);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s var(--ease-out), transform .25s var(--ease-out);
}
.wa-fab__tooltip::after {
  content: '';
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 6px solid var(--ink-dark);
}

@media (hover: hover) {
  .wa-fab:hover .wa-fab__tooltip {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
  }
}

/* На мобиле уже есть sticky-bar внизу с Call+WA – FAB прячем */
@media (max-width: 767px) {
  .wa-fab { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .wa-fab__pulse { animation: none; opacity: 0; }
}

/* === Sticky mobile bar ===
   Реализация скопирована с autolux-service.kz: чистый CSS, без JS slide-up.
   Бар всегда виден на мобиле (display:flex включается в responsive.css),
   две кнопки на всю ширину впритык — тёмная «Позвонить» + зелёная WhatsApp. */
.sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: none;
  height: 56px;
  box-shadow: 0 -2px 16px rgba(0, 0, 0, 0.4);
}

.sticky-bar a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  -webkit-tap-highlight-color: transparent;
}

.sticky-bar__call {
  background: var(--ink-dark);
  color: var(--bg);
}

.sticky-bar__wa {
  /* Брендовый цвет WhatsApp — узнаваемость + контраст с тёмной кнопкой звонка */
  background: #25D366;
  color: #fff;
}

.sticky-bar svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* === Mobile menu overlay === */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(380px, 100vw);
  background: var(--bg);
  z-index: 100;
  transform: translateX(100%);
  transition: transform .4s var(--ease-out);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mobile-menu.is-open { transform: translateX(0); }

.mobile-menu__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-menu__close {
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  background: var(--ink-dark);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.mobile-menu__nav a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-dark);
  letter-spacing: -0.01em;
}

.mobile-menu__cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(22,20,18,0.5);
  backdrop-filter: blur(4px);
  z-index: 99;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease-out);
}
.mobile-overlay.is-active { opacity: 1; pointer-events: auto; }

/* === Form === */
.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field label {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 13px;
  color: var(--ink-muted);
}

.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 16px;
  padding: 14px 18px;
  background: var(--bg-card);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  color: var(--ink-dark);
  transition: border-color .25s var(--ease-out), box-shadow .25s var(--ease-out);
  width: 100%;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent-mid);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.form-field textarea {
  resize: vertical;
  min-height: 100px;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
  height: 1px;
  width: 1px;
  overflow: hidden;
}


/* ========================================================================
   NUMBER STEPPER — [-] 100 [+] с шагом 10
   ======================================================================== */
.number-stepper {
  display: flex;
  align-items: stretch;
  background: var(--bg-card);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color .25s var(--ease-out), box-shadow .25s var(--ease-out);
}
.number-stepper:focus-within {
  border-color: var(--accent-mid);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.number-stepper input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--ink-dark);
  padding: 12px 8px;
  outline: none;
  font-variant-numeric: tabular-nums;
  -moz-appearance: textfield;
}
/* Скрываем нативные стрелки number-input — у нас свои кнопки */
.number-stepper input::-webkit-outer-spin-button,
.number-stepper input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.number-stepper__btn {
  width: 52px;
  min-height: 48px;
  border: 0;
  background: transparent;
  color: var(--ink-dark);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: background .15s var(--ease-out), color .15s var(--ease-out), transform .12s var(--ease-out);
}
.number-stepper__btn:hover {
  background: var(--bg-warm);
  color: var(--accent-mid);
}
.number-stepper__btn:active {
  background: var(--accent-soft);
  color: var(--accent-deep);
  transform: scale(0.94);
}
.number-stepper__btn:first-child { border-right: 1px solid var(--line); }
.number-stepper__btn:last-child  { border-left:  1px solid var(--line); }


/* ========================================================================
   CUSTOM SELECT — кастомный select с плавной анимацией открытия списка
   (нативный <select> рендерит popup мгновенно, без transition).
   Используется на калькуляторе. Скрытый нативный <select> в DOM
   сохраняется для совместимости с initCalc/initServices.
   ======================================================================== */
.custom-select {
  position: relative;
  font-family: var(--font-body);
}

.custom-select__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  background: var(--bg-card);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  color: var(--ink-dark);
  font-family: var(--font-body);
  font-size: 16px;
  cursor: pointer;
  text-align: left;
  transition: border-color .25s var(--ease-out), box-shadow .25s var(--ease-out);
}
.custom-select__trigger:hover { border-color: var(--accent-mid); }
.custom-select.is-open .custom-select__trigger {
  border-color: var(--accent-mid);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.custom-select__value {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.custom-select__icon {
  width: 12px;
  height: 8px;
  color: var(--ink-muted);
  flex-shrink: 0;
  transition: transform .3s var(--ease-out), color .25s var(--ease-out);
}
.custom-select.is-open .custom-select__icon {
  transform: rotate(180deg);
  color: var(--accent-mid);
}

/* Список рендерится через JS-portal прямо в <body>, чтобы НЕ клипился ни:
   - родителем с overflow:hidden (например .calc),
   - ни родителем с contain:layout (например .section, оптимизация в animations.css).
   contain:layout создаёт containing block даже для position:fixed. */
.custom-select__list {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: 0 24px 60px -18px rgba(22,20,18,0.28);
  padding: 8px;
  max-height: 340px;
  overflow-y: auto;
  font-family: var(--font-body);
  opacity: 0;
  transform: translateY(-8px) scale(0.98);
  transform-origin: top center;
  pointer-events: none;
  visibility: hidden;
  transition: opacity .28s var(--ease-out),
              transform .32s cubic-bezier(0.22, 1, 0.36, 1),
              visibility 0s linear .32s;
}
/* Класс is-open живёт на самом list (а не на .custom-select), потому что
   list перенесён в body и больше не descendant'ом select-а */
.custom-select__list.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  visibility: visible;
  transition: opacity .28s var(--ease-out),
              transform .32s cubic-bezier(0.22, 1, 0.36, 1),
              visibility 0s linear 0s;
}

.custom-select__group + .custom-select__group {
  margin-top: 4px;
  padding-top: 6px;
  border-top: 1px solid var(--line);
}
.custom-select__group-label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  padding: 6px 12px 4px;
}

.custom-select__option {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  background: transparent;
  border: 0;
  color: var(--ink-dark);
  font-family: var(--font-body);
  font-size: 15px;
  cursor: pointer;
  transition: background .15s var(--ease-out), color .15s var(--ease-out);
}
.custom-select__option:hover { background: var(--bg-warm); }
.custom-select__option.is-active {
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-weight: 600;
}


/* ========================================================================
   LEAD MODAL — всплывающее окно с заявкой
   ======================================================================== */
.lead-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  /* visibility делает transition в конце исчезновения, чтобы клики
     не ловились во время закрытия; на открытии меняется мгновенно */
  transition: opacity .45s var(--ease-out), visibility 0s linear .45s;
}
.lead-modal.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity .45s var(--ease-out), visibility 0s linear 0s;
}

.lead-modal__backdrop {
  position: absolute;
  inset: 0;
  /* без backdrop-filter blur — он repaint'ит каждый кадр и даёт jank.
     Тёмный непрозрачный overlay выглядит даже строже и не лагает. */
  background: rgba(18,16,14,0.7);
  cursor: pointer;
}

.lead-modal__card {
  position: relative;
  z-index: 2;
  background: var(--bg-card);
  border-radius: var(--r-xl);
  width: 100%;
  max-width: 760px;
  max-height: 92vh;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  box-shadow: 0 30px 80px -10px rgba(22,20,18,0.55);
  opacity: 0;
  transform: translateY(24px) scale(0.96);
  /* cubic-bezier(0.22, 1, 0.36, 1) — мягкий, чуть «эластичный» ease-out */
  transition: opacity .5s var(--ease-out), transform .55s cubic-bezier(0.22, 1, 0.36, 1);
}
.lead-modal.is-open .lead-modal__card {
  opacity: 1;
  transform: translateY(0) scale(1);
  /* will-change активен только пока модал открыт — снимается с .is-open
     и освобождает композитный слой, чтобы не висел постоянно */
  will-change: opacity, transform;
}

.lead-modal__media {
  position: relative;
  background: var(--bg-warm);
  overflow: hidden;
  min-height: 320px;
}
.lead-modal__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.lead-modal__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(22,20,18,0.35) 100%);
  pointer-events: none;
}

.lead-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(22,20,18,0.55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #fff;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .25s var(--ease-out), transform .25s var(--ease-out);
}
.lead-modal__close:hover {
  background: rgba(22,20,18,0.85);
  transform: scale(1.06);
}
.lead-modal__close svg { width: 12px; height: 12px; }

.lead-modal__body {
  padding: clamp(28px, 4vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
}

.lead-modal__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent-mid);
  align-self: flex-start;
}
.lead-modal__eyebrow::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-mid);
  box-shadow: 0 0 10px var(--accent-glow);
}

.lead-modal__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.1;
  letter-spacing: -0.018em;
  color: var(--ink-dark);
  margin: 4px 0 2px;
}

.lead-modal__lead {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-muted);
}

.lead-modal__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin: 4px 0 8px;
  padding: 0;
  list-style: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12px;
  color: var(--ink-dark);
}
.lead-modal__trust li {
  display: inline-flex;
  align-items: center;
}
.lead-modal__trust li + li::before {
  content: '·';
  margin-right: 14px;
  color: var(--ink-muted);
  font-weight: 400;
}

.lead-modal__form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 6px;
}
.lead-modal__form .form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.lead-modal__form input {
  font-family: var(--font-body);
  font-size: 16px;
  padding: 14px 18px;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  color: var(--ink-dark);
  width: 100%;
  transition: border-color .25s var(--ease-out), box-shadow .25s var(--ease-out);
}
.lead-modal__form input:focus {
  outline: none;
  border-color: var(--accent-mid);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.lead-modal__form .form-field__error {
  /* Место зарезервировано всегда: при появлении ошибки карточка
     не меняет высоту, картинка слева не «дёргается». */
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.35;
  color: #DC5A5A;
  min-height: 1.35em;
  opacity: 0;
  transition: opacity .25s var(--ease-out);
}
.lead-modal__form .form-field.is-invalid input {
  border-color: #DC5A5A;
  box-shadow: 0 0 0 4px rgba(220,90,90,0.18);
}
.lead-modal__form .form-field.is-invalid .form-field__error {
  opacity: 1;
}

.lead-modal__hint {
  font-size: 12px;
  color: var(--ink-muted);
  text-align: center;
  margin: 2px 0 0;
  line-height: 1.4;
}

/* === Адаптив === */
@media (max-width: 720px) {
  .lead-modal__card {
    grid-template-columns: 1fr;
    max-width: 460px;
  }
  .lead-modal__media {
    min-height: 0;
    aspect-ratio: 16/10;
  }
}

@media (max-width: 480px) {
  .lead-modal {
    padding: 0;
    align-items: flex-end;
  }
  .lead-modal__card {
    border-radius: 24px 24px 0 0;
    max-height: 94vh;
    /* На мобиле bottom-sheet: выезжает снизу, без масштаба */
    transform: translateY(60px);
  }
  .lead-modal.is-open .lead-modal__card {
    transform: translateY(0);
  }
  .lead-modal__media {
    aspect-ratio: 16/8;
  }
  .lead-modal__body { padding: 24px 22px 28px; }
  .lead-modal__close {
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lead-modal,
  .lead-modal__card { transition: opacity .15s linear; }
  .lead-modal__card { transform: none; }
  .lead-modal.is-open .lead-modal__card { transform: none; }
}
