/* ==========================================================================
   Zeekr Астана — лендинг
   ========================================================================== */

/* Шрифты
   -------------------------------------------------------------------------- */
@font-face { font-family: 'Zeekr Headline'; src: url('../fonts/ZeekrHeadline-Light.woff2') format('woff2'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'Zeekr Headline'; src: url('../fonts/ZeekrHeadline-Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Zeekr Headline'; src: url('../fonts/ZeekrHeadline-Medium.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Zeekr Text'; src: url('../fonts/ZeekrText-Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Zeekr Text'; src: url('../fonts/ZeekrText-Medium.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Zeekr Text'; src: url('../fonts/ZeekrText-Bold.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
/* Кириллица: фирменные шрифты Zeekr её не содержат, поэтому русские буквы, ₸ и № берутся отсюда */
@font-face { font-family: 'Zeekr Cyrillic'; src: url('../fonts/ZeekrCyrillic-Variable.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; size-adjust: 93.7%; unicode-range: U+0400-052F, U+20B8, U+2116; }

/* Переменные
   -------------------------------------------------------------------------- */
:root {
  --accent: #ED8733;          /* кнопки, выбранные чипы, галочка согласия */
  --brand: #ED8733;           /* акценты: линии, бейджи, цифры шагов */

  --black: #000000;
  --white: #FFFFFF;
  --graphite: #1A1D21;
  --steel: #4A5058;
  --line-dark: #33383F;
  --line-header: #22262B;
  --muted: #9AA0A6;
  --muted-light: #C9CDD2;
  --muted-lighter: #E2E4E7;
  --text-secondary: #4E545B;
  --bg-light: #F1F2F4;
  --line-light: #D9DCE0;
  --placeholder: #E4E6E9;
  --error: #FFB4A8;

  --font-head: 'Zeekr Headline', 'Zeekr Cyrillic', 'Helvetica Neue', sans-serif;
  --font-text: 'Zeekr Text', 'Zeekr Cyrillic', 'Helvetica Neue', system-ui, sans-serif;

  --header-h: 72px;
  --gutter: clamp(20px, 4vw, 48px);
  --section-pad: clamp(64px, 8vw, 120px);
}

/* База
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-text);
  color: var(--white);
  background: var(--black);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }

[hidden] { display: none !important; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

section[id], article[id] { scroll-margin-top: var(--header-h); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

.container {
  max-width: 1360px;
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.cover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  display: block;
}

/* Иконки: файлы в static/img/svg/, цвет задан в самом файле */
.icon {
  display: block;
  flex-shrink: 0;
}

/* Кнопки
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-family: var(--font-text);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s, filter .2s;
}

.btn--accent { background: var(--accent); color: var(--black); }
.btn--accent:hover { filter: brightness(1.08); }

.btn--outline { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .6); }
.btn--outline:hover { border-color: var(--white); background: rgba(255, 255, 255, .08); }

.btn--dark { background: var(--black); color: var(--white); }
.btn--dark:hover { background: #2A2E33; }

.btn--sm { min-height: 44px; height: 44px; padding: 0 18px; }
.btn--xs { padding: 0 14px; }
.btn--compact { padding: 0 24px; }
.btn--block { width: 100%; min-height: 56px; font-size: 16px; }

.btn[disabled] { opacity: .6; cursor: progress; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Шапка
   -------------------------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(0, 0, 0, .92);
  border-bottom: 1px solid var(--line-header);
}

.header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.header__brand {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.6vw, 22px);
  flex-shrink: 0;
  text-decoration: none;
}

.header__logo { display: block; width: auto; }
.header__logo--zeekr { height: clamp(18px, 1.8vw, 26px); }
.header__logo--orbis { height: clamp(15px, 1.5vw, 22px); }

.header__divider {
  display: block;
  width: 1px;
  height: clamp(18px, 2vw, 28px);
  background: var(--steel);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 28px;
  white-space: nowrap;
}

.header__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  color: var(--white);
  font-size: 15px;
  text-decoration: none;
}

.header__phone:hover { color: var(--brand); }

.header__call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--white);
  border: 1px solid var(--steel);
  border-radius: 2px;
}

.header__mobile { display: none; }

/* Переключатель языков */
.lang-switch {
  display: flex;
  align-items: center;
}

.lang-switch__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 44px;
  padding: 0 6px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .04em;
  text-decoration: none;
  transition: color .2s;
}

.lang-switch__link:hover { color: var(--white); }

.lang-switch__link[aria-current="page"] {
  color: var(--white);
  text-decoration: underline;
  text-decoration-color: var(--brand);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

@media (max-width: 759px) {
  .header__actions { gap: 8px; }
  .header__desktop { display: none; }
  .header__mobile { display: inline-flex; }
  /* На телефоне показываем только ссылку на другой язык */
  .lang-switch__link[aria-current="page"] { display: none; }
  .lang-switch__link { min-width: 32px; padding: 0; }
}

/* Узкие телефоны: чуть уменьшаем логотипы, чтобы в шапку поместились язык, звонок и заявка */
@media (max-width: 420px) {
  .header__brand { gap: 8px; }
  .header__logo--zeekr { height: 15px; }
  .header__logo--orbis { height: 12px; }
  .header__divider { height: 16px; }
  .header__actions { gap: 6px; }
}

@media (max-width: 380px) {
  .header__inner { gap: 8px; }
  .header__actions { gap: 4px; }
  .header__call { width: 40px; }
  .btn--xs { padding: 0 12px; }
}

@media (max-width: 340px) {
  .header__brand { gap: 6px; }
  .header__logo--zeekr { height: 13px; }
  .header__logo--orbis { height: 10px; }
  .header__divider { height: 14px; }
}

/* Первый экран
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 780px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--graphite);
  overflow: hidden;
}

.hero__media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 40%;
  display: block;
}

@media (max-width: 600px) {
  .hero__img { object-position: 50% 50%; }
}

.hero__shade {
  position: absolute;
  pointer-events: none;
}

.hero__shade--left {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, .6), rgba(0, 0, 0, 0) 65%);
}

.hero__shade--bottom {
  left: 0;
  right: 0;
  bottom: 0;
  height: 560px;
  background: linear-gradient(to top, rgba(0, 0, 0, .94), rgba(0, 0, 0, 0));
}

.hero__content {
  position: relative;
  width: 100%;
  padding-top: 160px;
  padding-bottom: 48px;
}

.hero__eyebrow {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--brand);
}

.hero__title {
  margin: 16px 0 0;
  max-width: 12ch;
  font-family: var(--font-head);
  font-weight: 300;
  font-size: clamp(40px, 6vw, 88px);
  line-height: 1.04;
  letter-spacing: -.01em;
}

.hero__lead {
  margin: 24px 0 0;
  max-width: 520px;
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.55;
  color: var(--muted-lighter);
}

.hero__actions { margin-top: 36px; }

.hero__models {
  margin-top: 64px;
  border-top: 1px solid rgba(255, 255, 255, .24);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  column-gap: 40px;
}

.hero__model {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 4px 16px;
  min-height: 44px;
  padding: 20px 0;
  color: var(--white);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.hero__model-name {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 400;
  transition: color .2s;
}

.hero__model:hover .hero__model-name { color: var(--brand); }

.hero__model-price {
  font-size: 15px;
  color: var(--muted-light);
}

/* Секции
   -------------------------------------------------------------------------- */
.section {
  padding-top: var(--section-pad);
  padding-bottom: var(--section-pad);
}

.section--dark { background: var(--black); color: var(--white); }
.section--light { background: var(--white); color: var(--black); }
.section--gray { background: var(--bg-light); color: var(--black); }

.section__title {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 300;
  font-size: clamp(30px, 3.6vw, 52px);
  line-height: 1.1;
}

.section__lead {
  margin: 16px 0 0;
  font-size: 17px;
  line-height: 1.55;
  color: var(--text-secondary);
}

.section--dark .section__lead { color: var(--muted); }

.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px 40px;
}

.section-head__text { max-width: 640px; }

.note {
  margin: 40px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-secondary);
}

/* Модельный ряд
   -------------------------------------------------------------------------- */
.models__lead { max-width: 560px; }

.models__list {
  margin-top: clamp(40px, 5vw, 64px);
  display: flex;
  flex-direction: column;
}

.model {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 32px 64px;
  padding: clamp(40px, 5vw, 72px) 0;
  border-top: 1px solid var(--line-dark);
}

.model--reverse { flex-direction: row-reverse; }

.model__media {
  flex: 1 1 560px;
  min-width: 0;
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--graphite);
  border-radius: 4px;
  overflow: hidden;
}

.model__body {
  flex: 1 1 380px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.model__name {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 300;
  font-size: clamp(32px, 3.4vw, 48px);
  line-height: 1.1;
}

.model__meta {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
}

.model__price {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: clamp(20px, 1.8vw, 24px);
}

.model__badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border: 1px solid var(--brand);
  border-radius: 2px;
  color: var(--brand);
  font-size: 14px;
  line-height: 1.3;
}

.model__tagline {
  margin: 20px 0 0;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.4;
}

.model__text {
  margin: 10px 0 0;
  max-width: 46ch;
  font-size: 17px;
  line-height: 1.55;
  color: var(--muted);
}

.model__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 24px 0;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.stat__value-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 6px;
}

.stat__value {
  font-family: var(--font-head);
  font-weight: 300;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1;
}

.stat__unit {
  font-size: 15px;
  color: var(--muted);
}

.stat__label {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--muted);
}

.model__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
}

.model__pricelist {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--white);
  font-size: 15px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.model__pricelist:hover { color: var(--brand); }

/* Специальные условия
   -------------------------------------------------------------------------- */
.offers__grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 24px;
}

.offer {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
}

.offer__media {
  position: relative;
  aspect-ratio: 3 / 2;
  background: var(--placeholder);
}

.offer__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px clamp(20px, 2vw, 28px) 28px;
  border-top: 3px solid var(--brand);
}

.offer__title {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 400;
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.25;
}

.offer__text {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-secondary);
}

/* Дизайн
   -------------------------------------------------------------------------- */
.split {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px 64px;
}

.design__text {
  flex: 1 1 380px;
  min-width: 0;
}

.design__title { max-width: 14ch; }

.design__p {
  margin: 24px 0 0;
  max-width: 52ch;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.design__p + .design__p { margin-top: 16px; }

.design__cta { margin-top: 32px; }

.design__media {
  flex: 1 1 560px;
  min-width: 0;
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--bg-light);
  border-radius: 4px;
  overflow: hidden;
}

/* Почему Zeekr Астана
   -------------------------------------------------------------------------- */
.why__photo {
  margin-top: clamp(32px, 4vw, 48px);
  position: relative;
  width: 100%;                /* без явной ширины min-height растягивает блок вширь на телефонах */
  aspect-ratio: 21 / 9;
  min-height: 240px;
  background: var(--placeholder);
  border-radius: 4px;
  overflow: hidden;
}

.why__photo .cover { object-position: 40% 35%; }

.features {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 40px 32px;
}

.feature {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 27px;
  border-top: 2px solid var(--brand);
}

.feature__title {
  margin: 0;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.3;
}

.feature__text {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-secondary);
}

/* Заявка
   -------------------------------------------------------------------------- */
.lead {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 48px 72px;
}

.lead__intro {
  flex: 1 1 400px;
  min-width: 0;
}

.lead__title { max-width: 13ch; }

.lead__text {
  margin: 24px 0 0;
  max-width: 46ch;
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
}

.steps {
  list-style: none;
  margin: 48px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.step {
  display: flex;
  gap: 20px;
}

.step__num {
  flex-shrink: 0;
  width: 32px;
  font-family: var(--font-head);
  font-weight: 300;
  font-size: 22px;
  color: var(--brand);
}

.step__title {
  font-size: 18px;
  font-weight: 500;
}

.step__text {
  margin-top: 6px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--muted);
}

.lead__call-label {
  margin: 48px 0 0;
  font-size: 15px;
  color: var(--muted);
}

.lead__phone {
  display: inline-block;
  margin-top: 6px;
  font-family: var(--font-head);
  font-weight: 300;
  font-size: clamp(22px, 2.2vw, 30px);
  color: var(--white);
  text-decoration: none;
}

.lead__card {
  flex: 1 1 460px;
  min-width: 0;
  padding: clamp(24px, 3vw, 44px);
  background: var(--graphite);
  border-radius: 4px;
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.field-group {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.field-group__legend {
  margin-bottom: 12px;
  padding: 0;
  font-size: 14px;
  color: var(--muted);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  min-height: 44px;
  padding: 0 18px;
  background: transparent;
  color: var(--white);
  border: 1px solid var(--steel);
  border-radius: 2px;
  font-family: var(--font-text);
  font-size: 15px;
  cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s;
}

.chip[aria-pressed="false"]:hover { border-color: var(--muted); }

.chip[aria-pressed="true"] {
  background: var(--accent);
  color: var(--black);
  border-color: var(--accent);
}

.fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 20px 16px;
}

.field__label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--muted);
}

.field__input {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  background: var(--black);
  color: var(--white);
  border: 1px solid var(--steel);
  border-radius: 2px;
  font-family: var(--font-text);
  font-size: 17px;
}

.field__input:focus {
  outline: none;
  border-color: var(--accent);
}

.field__input[aria-invalid="true"] { border-color: var(--error); }

.consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
  cursor: pointer;
}

.consent__box {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  accent-color: var(--accent);
}

.consent a { color: var(--white); }

.form-error {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--error);
}

.lead-success {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 24px 0;
}

.lead-success__title {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 300;
  font-size: clamp(26px, 2.6vw, 36px);
  line-height: 1.15;
}

.lead-success__title:focus { outline: none; }

.lead-success__text {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted-light);
}

.lead-success__summary {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
}

.lead-success__actions { margin-top: 8px; }

.lead__card { color-scheme: dark; }

/* Google reCAPTCHA
   -------------------------------------------------------------------------- */
.captcha { min-height: 78px; }

.captcha--placeholder {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  border: 1px dashed var(--steel);
  border-radius: 2px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--muted);
}

/* Виджет Google фиксированной ширины 304px: на очень узких экранах уменьшаем */
@media (max-width: 339px) {
  .captcha {
    transform: scale(.88);
    transform-origin: 0 0;
  }
}

/* Выпадающий список
   -------------------------------------------------------------------------- */
.select { position: relative; }

.select__control {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 44px;
  cursor: pointer;
}

.select__control:invalid { color: var(--muted); }

.select__control option { color: var(--white); background: var(--graphite); }

.select::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 20px;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid var(--muted-light);
  border-bottom: 1.5px solid var(--muted-light);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

/* Всплывающая форма
   -------------------------------------------------------------------------- */
html.modal-open { overflow: hidden; }
html.modal-open body { padding-right: var(--scrollbar-gap, 0px); }

.modal {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  visibility: hidden;
  opacity: 0;
  transition: opacity .2s ease, visibility 0s linear .2s;
}

.modal.is-open {
  visibility: visible;
  opacity: 1;
  transition: opacity .2s ease, visibility 0s;
}

.modal__overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, .72);
}

.modal__dialog {
  position: relative;
  width: 100%;
  max-width: 520px;
  max-height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: clamp(16px, 4vw, 40px);
  background: var(--graphite);
  color: var(--white);
  border-radius: 4px;
  color-scheme: dark;
  transform: translateY(12px);
  transition: transform .2s ease;
}

.modal.is-open .modal__dialog { transform: none; }

.modal__dialog:focus { outline: none; }

.modal__close {
  position: absolute;
  top: 8px;
  right: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  color: var(--muted-light);
  border: 0;
  border-radius: 2px;
  opacity: .75;
  cursor: pointer;
  transition: opacity .2s;
}

.modal__close:hover { opacity: 1; }

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.modal__title {
  margin: 0;
  padding-right: 40px;
  font-family: var(--font-head);
  font-weight: 300;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.15;
}

.modal__title:focus { outline: none; }

.modal__text {
  margin: 12px 0 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--muted);
}

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

.modal-success {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 8px 0;
}

/* Контакты
   -------------------------------------------------------------------------- */
.contacts {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 40px 64px;
}

.contacts__info {
  flex: 1 1 360px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contacts__title { max-width: 12ch; }

.contacts__label {
  font-size: 14px;
  color: var(--text-secondary);
}

.contacts__value {
  margin-top: 6px;
  font-size: 19px;
  line-height: 1.4;
}

.contacts__phone {
  display: inline-block;
  margin-top: 6px;
  font-family: var(--font-head);
  font-weight: 300;
  font-size: clamp(22px, 2.2vw, 28px);
  color: var(--black);
  text-decoration: none;
}

.contacts__social {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 10px;
  min-height: 44px;
  color: var(--black);
  font-size: 16px;
  text-decoration: none;
}

.contacts__social:hover { color: var(--text-secondary); }

.contacts__map {
  flex: 1 1 560px;
  min-width: 0;
  min-height: 420px;
  position: relative;
  background: var(--bg-light);
  border: 1px solid var(--line-light);
  border-radius: 4px;
  overflow: hidden;
}

.contacts__map-frame {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.contacts__route {
  position: absolute;
  left: 16px;
  bottom: 16px;
  min-height: 48px;
}

/* Подвал
   -------------------------------------------------------------------------- */
.footer {
  padding-top: 56px;
  padding-bottom: 48px;
  background: var(--black);
  color: var(--white);
}

.footer__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line-header);
}

.footer__brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.footer__wordmark {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: .3em;
}

.footer__city {
  font-size: 13px;
  color: var(--muted);
}

.footer__contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  font-size: 15px;
}

.footer__contacts a { color: var(--white); text-decoration: none; }
.footer__contacts span { color: var(--muted); }

.footer__disclaimer {
  margin: 32px 0 0;
  max-width: 960px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

.footer__bottom {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 32px;
  font-size: 13px;
  color: var(--muted);
}

.footer__bottom a { color: var(--white); }

.footer__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
}

.footer__lang {
  display: flex;
  gap: 16px;
}

.footer__lang a {
  color: var(--muted);
  text-decoration: none;
}

.footer__lang a:hover { color: var(--white); }

.footer__lang a[aria-current="page"] {
  color: var(--white);
  text-decoration: underline;
  text-decoration-color: var(--brand);
  text-underline-offset: 4px;
}
