/* Стили сервиса бронирования зоны подписания.
   Порядок: база, типографика, шапка и подвал, кнопки, блоки главной,
   форма мастера, слоты, состояния, письма.
   Скруглений нет нигде: в брендинге border-radius: 0. */

*, *::before, *::after { box-sizing: border-box; }

/* Скрытые элементы прячем всегда: многие блоки ниже имеют display: flex */
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-fg);
  font-family: var(--f-text);
  font-size: var(--fz-base);
  font-weight: 300;
  line-height: 1.55;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--c-fg); }
a:hover { color: var(--c-accent); }

:focus-visible { outline: var(--focus); outline-offset: 3px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Сетка страницы ---------- */

.page { max-width: var(--page-max); margin: 0 auto; position: relative; }
.wrap { margin-inline: var(--page-pad); padding-inline: var(--grid-inset); }
.section { margin-top: var(--sp-9); }
.section--tight { margin-top: var(--sp-7); }

/* Тонкие вертикальные линии модульной сетки. Декоративные. */
.grid-lines { position: absolute; inset: 0; pointer-events: none; }
.grid-lines span { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--c-grid); }
/* Линии стоят на поле страницы: на десктопе 80 px, на телефоне 20 px от края */
.grid-lines span:first-child { left: var(--page-pad); }
.grid-lines span:last-child { right: var(--page-pad); }

/* ---------- Типографика ---------- */

.h1, .h2, .h3, .h4 { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; margin: 0; }
.h1 { font-size: var(--fz-h1); line-height: 1.1; letter-spacing: -0.005em; }
.h1--page { font-size: 56px; }   /* заголовок внутренней страницы */
.h2--cta { font-size: 44px; }
.h2 { font-size: var(--fz-h2); line-height: 1.05; }
.h3 { font-size: var(--fz-h3); line-height: 1.1; }
.h4 { font-size: 22px; line-height: 1.2; }
.lead { font-size: var(--fz-lead); line-height: 1.55; color: var(--c-fg-muted); margin: 0; }
.text-muted { color: var(--c-fg-muted); }
.text-sm { font-size: var(--fz-sm); }
.text-xs { font-size: var(--fz-xs); }
.num { font-family: var(--f-display); font-weight: 700; line-height: 1; }
.date-line { margin: 0; font-family: var(--f-display); font-weight: 300; font-size: 28px; line-height: 1.2; text-transform: uppercase; }
.date-line--page { font-size: 22px; }

/* ---------- Кнопки ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-4);
  min-height: var(--tap); padding: 0 24px; border: 0; border-radius: var(--radius);
  font-family: var(--f-display); font-weight: 700; font-size: 16px; line-height: 1;
  text-transform: uppercase; text-decoration: none; cursor: pointer; white-space: nowrap;
}
.btn--lg { min-height: 64px; font-size: 21px; padding: 0 28px; }
.btn--block { display: flex; width: 100%; justify-content: space-between; }
.btn--accent { background: var(--c-accent); color: #fff; }
.btn--accent:hover { background: var(--c-accent-hover); color: #fff; }
.btn--accent:active { background: var(--c-accent-active); }
.btn--ghost { background: transparent; color: #fff; border: 1px solid #fff; font-weight: 600; }
.btn--ghost:hover { background: var(--c-ghost-hover); color: #fff; }
.btn--ghost:active { background: var(--c-ghost-active); }
.btn--sec { background: #fff; color: var(--c-form-fg); border: 1px solid var(--c-form-fg); font-weight: 600; }
.btn--sec:hover { background: var(--c-form-hover); color: var(--c-form-fg); }
.btn--danger { background: #fff; color: var(--c-error); border: 1px solid var(--c-error); }
.btn--danger:hover { background: var(--c-error); color: #fff; }
.btn--link { background: none; border: 0; padding: 0; min-height: var(--tap);
  font-family: var(--f-text); font-size: var(--fz-sm); color: var(--c-form-fg);
  text-decoration: underline; text-underline-offset: 3px; text-transform: none; cursor: pointer; }
.btn--link:hover { color: var(--c-accent-active); }
.btn[disabled] { cursor: not-allowed; }
.btn__icon { flex-shrink: 0; }

/* Кнопка отправки с прогрессом: полоса заполняется по мере загрузки файлов */
.btn--progress { position: relative; overflow: hidden; justify-content: flex-start; }
.btn--progress .btn__bar { position: absolute; left: 0; top: 0; bottom: 0; background: var(--c-accent-active); }
.btn--progress .btn__label { position: relative; }

/* ---------- Шапка и подвал ---------- */

.header {
  position: relative; display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-4); min-height: 72px; padding-inline: calc(var(--page-pad) + var(--grid-inset)) var(--page-pad);
  border-bottom: 1px solid var(--c-grid);
}
.header__logo { display: flex; align-items: center; }
.header__logo img { height: 40px; width: auto; }
.header__nav { display: flex; align-items: center; gap: var(--sp-3); }

.footer {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: var(--sp-5); margin-top: var(--sp-9); padding: var(--sp-6) calc(var(--page-pad) + var(--grid-inset));
  border-top: 1px solid var(--c-grid); font-size: var(--fz-xs); color: var(--c-footer);
}
.footer__docs { display: flex; flex-wrap: wrap; gap: var(--sp-5); }
.footer a { color: var(--c-footer); text-decoration: none; }
.footer a:hover { color: #fff; }

/* ---------- Первый экран ---------- */

.hero { display: grid; grid-template-columns: 1fr 1fr; }
.hero.wrap { padding-inline: 0; }
.hero__left {
  display: flex; flex-direction: column; align-items: flex-start;
  padding: var(--sp-8) var(--grid-inset); border-right: 1px solid var(--c-grid);
}
.hero__photo { position: relative; padding-top: 72px; }
.hero__flag { position: absolute; right: -52px; top: calc(72px - 40px); width: 100px; height: auto; }
.hero__caption { margin-top: var(--sp-4); padding-left: calc(var(--grid-inset) + var(--sp-4)); font-size: 14px; color: var(--c-fg-muted); }
.hero .btn { margin-top: var(--sp-7); }
.hero__note { margin: var(--sp-3) 0 0; font-size: 14px; color: var(--c-fg-muted); }
/* Средняя линия первого экрана смыкается с линией над фактами */
.hero + .facts { margin-top: 0; }

/* Полоса фактов под первым экраном */
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--c-grid); }
.facts__item { padding: var(--sp-6) var(--sp-6) var(--sp-6) 0; }
.facts__item + .facts__item { border-left: 1px solid var(--c-grid); padding-left: var(--sp-6); }
.facts__title { font-family: var(--f-display); font-weight: 700; font-size: 40px; line-height: 1.05; text-transform: uppercase; }
.facts__title--long { font-size: 32px; }
.facts__text { margin-top: var(--sp-3); font-size: 16px; color: var(--c-fg-muted); }

/* ---------- Списки шагов и дней ---------- */

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--sp-6); margin-top: var(--sp-7); }
.steps__item { padding: var(--sp-6) var(--sp-6) var(--sp-6) 0; border-top: 1px solid var(--c-grid); }
.steps__num { font-family: var(--f-display); font-weight: 700; font-size: 32px; line-height: 1; color: #fff; }
.steps__title { margin-top: var(--sp-4); font-family: var(--f-display); font-weight: 500; font-size: 26px; line-height: 1.2; text-transform: uppercase; }
.steps__text { margin-top: var(--sp-2); font-size: var(--fz-sm); color: var(--c-fg-muted); }

.schedule { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-4); margin-top: var(--sp-6); }
.schedule__day { padding: var(--sp-5); border: 1px solid var(--c-grid); }
.schedule__date { font-family: var(--f-display); font-weight: 600; font-size: 28px; line-height: 1; text-transform: uppercase; }
.schedule__weekday { margin-top: var(--sp-2); font-size: var(--fz-sm); color: var(--c-fg-muted); }
.schedule__hours { margin-top: var(--sp-4); font-family: var(--f-display); font-weight: 500; font-size: 22px; }
.schedule__free { margin-top: var(--sp-2); font-size: 14px; }
.schedule__free--none { color: var(--c-fg-muted); }

.plate { padding: var(--sp-5); background: var(--c-card-dark);
  font-family: var(--f-display); font-weight: 600; font-size: 20px; line-height: 1.3; text-transform: uppercase; }

/* На десктопе схема на 30% уже полной ширины, прижата влево; на узких экранах во всю ширину */
.map { max-width: 70%; margin-top: var(--sp-6); padding: var(--sp-6); background: #fff; }

/* Та же ширина, что у схемы над ним */
.note-box { max-width: 70%; padding: var(--sp-6); border: 1px solid var(--c-grid); }

/* ---------- Аккордеон вопросов ---------- */

.faq { margin-top: var(--sp-7); border-top: 1px solid var(--c-grid); }
.faq__item { border-bottom: 1px solid var(--c-grid); }
.faq__q {
  width: 100%; min-height: var(--tap); padding: 22px 0; display: flex; align-items: center; gap: var(--sp-6);
  background: none; border: 0; color: #fff; text-align: left; cursor: pointer;
}
.faq__num { flex-shrink: 0; width: 40px; font-family: var(--f-display); font-weight: 700; font-size: 22px; line-height: 1; }
.faq__text { flex-grow: 1; font-family: var(--f-display); font-weight: 500; font-size: 20px; line-height: 1.3; text-transform: uppercase; }
.faq__chevron { flex-shrink: 0; transition: transform .15s ease; }
.faq__q[aria-expanded="true"] .faq__chevron { transform: rotate(180deg); }
.faq__a { display: none; padding: 0 0 26px 68px; max-width: 700px; font-size: var(--fz-base); line-height: 1.6; color: var(--c-fg-muted); }
.faq__q[aria-expanded="true"] + .faq__a { display: block; }
.faq__a a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Плашка cookie ---------- */

.cookie {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-6);
  /* Текст плашки на тех же вертикалях, что и контент страницы шириной --page-max */
  padding: var(--sp-5) calc(max(0px, (100vw - var(--page-max)) / 2) + var(--page-pad) + var(--grid-inset));
  background: #fff; color: var(--c-form-fg);
  box-shadow: 0 -0.5rem 2rem rgba(0, 0, 0, .45);
}
.cookie[hidden] { display: none; }
.cookie__text { max-width: 900px; font-size: var(--fz-sm); }
.cookie a { color: var(--c-form-fg); }

/* ---------- Карточка формы ---------- */

.form-card {
  background: var(--c-form-bg); color: var(--c-form-fg); padding: 40px;
  box-shadow: var(--shadow-card); display: flex; flex-direction: column; gap: var(--sp-6);
}
.form-card .h2, .form-card .h3 { color: var(--c-form-fg); }
.form-card a { color: var(--c-form-fg); }
.form-card a:hover { color: var(--c-accent-active); }

/* Карточка формы и правая колонка стоят от линии до линии, заголовки над ними — с отступом */
.layout { display: grid; grid-template-columns: 2fr 1fr; gap: var(--sp-6); align-items: start; margin-top: var(--sp-7); margin-inline: calc(-1 * var(--grid-inset)); }
.aside { display: flex; flex-direction: column; border-top: 1px solid var(--c-grid); }
.aside__title { padding: var(--sp-5) 0 var(--sp-2); font-family: var(--f-display); font-weight: 700; font-size: 22px; text-transform: uppercase; }
.aside__step { display: flex; gap: var(--sp-5); padding: var(--sp-5) 0; border-bottom: 1px solid var(--c-grid); }
.aside__num { font-family: var(--f-display); font-weight: 700; font-size: 28px; line-height: 1; color: #fff; }

/* ---------- Индикатор шагов ---------- */

.stepper { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; border: 1px solid var(--c-form-fg); }
.stepper__item { display: flex; align-items: center; gap: var(--sp-3); padding: 14px 18px; color: var(--c-form-muted); }
.stepper__item + .stepper__item { border-left: 1px solid var(--c-form-fg); }
.stepper__item--current { background: var(--c-form-fg); color: #fff; }
.stepper__item--done { color: var(--c-form-fg); }
.stepper__item a { display: flex; align-items: center; gap: var(--sp-3); text-decoration: none; color: inherit; }
.stepper__num { font-family: var(--f-display); font-weight: 700; font-size: 20px; }
.stepper__label { font-size: var(--fz-sm); font-weight: 500; font-family: var(--f-text); }

.stepper-mobile { display: none; flex-direction: column; gap: 10px; }
.stepper-mobile__bar { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-1); }
.stepper-mobile__bar span { height: 4px; background: var(--c-form-border); }
.stepper-mobile__bar span.is-done { background: var(--c-form-fg); }

/* ---------- Поля ---------- */

.fields { display: flex; flex-direction: column; gap: var(--field-gap); }
.fields--2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--sp-6); row-gap: var(--field-gap); align-items: start; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field__label { font-size: 14px; font-weight: 500; line-height: 1.3; color: var(--c-form-fg); font-family: var(--f-text); }
.field__req { color: var(--c-error); }
.field__opt { font-weight: 400; color: var(--c-form-muted); }
.field__hint { font-size: var(--fz-xs); line-height: 1.45; color: var(--c-form-muted); }
.field__error { font-size: var(--fz-xs); line-height: 1.4; color: var(--c-error); }
.field__counter { font-size: var(--fz-xs); color: var(--c-form-muted); }
.field__head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--sp-3); }

.input {
  width: 100%; padding: 10px 0 9px; border: 0; border-bottom: 1px solid var(--c-form-line);
  border-radius: var(--radius); background: transparent; color: var(--c-form-fg);
  font-family: var(--f-text); font-size: var(--fz-base); line-height: 1.4;
}
.input::placeholder { color: var(--c-form-placeholder); }
.input:hover { border-bottom-color: var(--c-form-fg); }
.input:focus { outline: none; border-bottom-color: var(--c-form-fg); box-shadow: 0 1px 0 0 var(--c-form-fg); }
.input:focus-visible { outline: var(--focus); outline-offset: 3px; }
.input[aria-invalid="true"] { border-bottom-color: var(--c-error); box-shadow: 0 1px 0 0 var(--c-error); }
.input:disabled { color: var(--c-form-placeholder); border-bottom-style: dashed; }
textarea.input { resize: vertical; min-height: 84px; }

.phone { position: relative; display: flex; align-items: flex-end; gap: var(--sp-3); }
.phone__country {
  display: flex; align-items: center; gap: 6px; min-height: 45px; padding: 0 4px 0 0;
  background: none; border: 0; border-bottom: 1px solid var(--c-form-line);
  font-family: var(--f-text); font-size: var(--fz-base); color: var(--c-form-fg); cursor: pointer;
}
.phone__code { font-size: var(--fz-xs); font-weight: 500; color: var(--c-form-muted); }
/* Список кодов стран: прямые углы, рамка цвета текста формы */
.phone__list {
  position: absolute; left: 0; top: 100%; z-index: 5; min-width: 280px; max-height: 300px; overflow-y: auto;
  margin: 4px 0 0; padding: 0; list-style: none; background: var(--c-form-bg); border: 1px solid var(--c-form-fg);
}
.phone__option {
  display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px;
  font-size: var(--fz-base); color: var(--c-form-fg); cursor: pointer;
}
.phone__option:hover, .phone__option:focus { background: var(--c-form-hover); outline: none; }
.phone__option:focus-visible { outline: 2px solid var(--c-blue); outline-offset: -2px; }
.phone__option[aria-selected="true"] { font-weight: 500; }
.phone__option-dial { margin-left: auto; color: var(--c-form-muted); }

/* Чекбокс: квадрат, рамка 1.5px, без скругления */
.check { display: flex; gap: 14px; align-items: flex-start; }
.check__box {
  appearance: none; -webkit-appearance: none; flex-shrink: 0; width: 22px; height: 22px;
  margin: 1px 0 0; border: 1.5px solid var(--c-form-fg); border-radius: var(--radius);
  background: #fff; cursor: pointer;
}
.check__box:checked { background: var(--c-form-fg); box-shadow: inset 0 0 0 4px #fff; }
.check__box[aria-invalid="true"] { border-color: var(--c-error); }
.check__label { font-size: var(--fz-sm); line-height: 1.5; cursor: pointer; }
.check__note { margin-left: 36px; font-size: var(--fz-xs); line-height: 1.45; color: var(--c-form-muted); }

/* Загрузка логотипа */
.upload { display: flex; align-items: center; gap: var(--sp-4); min-height: 88px; padding: 20px 24px;
  background: #F7F8FA; border: 1px dashed var(--c-form-line); cursor: pointer; }
.upload:hover { border-color: var(--c-form-fg); background: var(--c-form-hover); }
.upload[data-state="error"] { border-color: var(--c-error); background: var(--c-error-bg); }
.upload input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; }
.upload__text { display: flex; flex-direction: column; gap: 2px; }
.upload__link { text-decoration: underline; text-underline-offset: 3px; }

.file { display: flex; align-items: center; gap: 14px; min-height: 88px; padding: 20px 24px; border: 1px solid var(--c-form-fg); }
.file__info { display: flex; align-items: center; gap: 14px; flex-grow: 1; min-width: 0; }
.file__name { font-size: var(--fz-sm); font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file__actions { display: flex; gap: var(--sp-2); }

/* Карточка стороны подписания */
.party { border: 1px solid #C9CDD4; padding: 28px 32px; display: flex; flex-direction: column; gap: var(--sp-5); }
.party__head { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); min-height: var(--tap); }
.party__remove { display: flex; align-items: center; gap: 6px; min-height: var(--tap); padding: 0;
  background: none; border: 0; color: #B42318; font-family: var(--f-text); font-size: 14px; cursor: pointer; }
.party__remove:hover { text-decoration: underline; }
.party-add { width: 100%; min-height: 56px; border-style: dashed; }
.party-max { padding: var(--sp-4); background: var(--c-form-fill); text-align: center; font-size: 14px; color: var(--c-form-muted); }

/* Подсказка про ударение и другие заметные подсказки */
.callout { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; background: var(--c-info-bg);
  color: var(--c-form-fg); font-size: 14px; line-height: 1.45; }
.callout__icon { flex-shrink: 0; margin-top: 1px; }

/* Речь ведущего */
.speech { display: flex; flex-direction: column; gap: 10px; padding: 20px 24px; background: var(--c-info-bg); color: var(--c-form-fg); }
.speech__title { font-family: var(--f-display); font-weight: 700; font-size: 18px; text-transform: uppercase; }
.speech__text { margin: 0; font-size: 16px; line-height: 1.55; }
.speech__hint { margin: 0; font-size: var(--fz-xs); line-height: 1.45; color: var(--c-form-muted); }

/* ---------- Выбор дня и слота ---------- */

.days { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-2); }
.day {
  display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between;
  min-height: 104px; padding: 14px 16px; text-align: left; cursor: pointer;
  background: #fff; color: var(--c-form-fg); border: 1px solid var(--c-form-fg); font-family: var(--f-text);
}
.day:hover { background: var(--c-form-hover); }
.day__date { font-family: var(--f-display); font-weight: 600; font-size: 26px; line-height: 1; text-transform: uppercase; }
.day__meta { font-size: var(--fz-xs); line-height: 1.3; opacity: .85; }
.day__free { font-size: 14px; font-weight: 500; line-height: 1.2; }
.day[aria-pressed="true"] { background: var(--c-form-fg); color: #fff; }
.day--full { background: var(--c-form-fill); border-color: #C9CDD4; color: var(--c-form-line); }
.day--full:hover { background: #ECEEF1; }

.slots { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--sp-2); }
.slot {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  min-height: 56px; padding: 0; cursor: pointer;
  background: #fff; color: var(--c-form-fg); border: 1px solid var(--c-form-fg);
  font-family: var(--f-display); font-weight: 500; font-size: 20px;
}
.slot:hover { background: var(--c-form-hover); }
.slot[aria-pressed="true"] { background: var(--c-form-fg); color: #fff; }
.slot__check { position: absolute; top: 6px; right: 6px; }
.slot__note { font-family: var(--f-text); font-weight: 400; font-size: 11px; line-height: 1; }
.slot--busy { background: var(--c-form-fill); border-color: var(--c-form-border); color: var(--c-form-line); cursor: not-allowed; }
.slot--busy .slot__time { text-decoration: line-through; }
.slot--off { background: var(--c-form-fill); border-color: #E5E7EB; color: #AEB3BD; cursor: not-allowed; }

.legend { display: flex; flex-wrap: wrap; gap: var(--sp-5); font-size: var(--fz-xs); color: var(--c-form-muted); }
.legend__item { display: flex; align-items: center; gap: var(--sp-2); }
.legend__swatch { width: 16px; height: 16px; border: 1px solid var(--c-form-fg); background: #fff; }
.legend__swatch--sel { background: var(--c-form-fg); }
.legend__swatch--busy { background: var(--c-form-fill); border-color: var(--c-form-border); }

/* Скелетон загрузки */
.skeleton { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--sp-2); }
.skeleton span { height: 56px; background: #E5E7EB; animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }

/* ---------- Сообщения ---------- */

.msg { display: flex; gap: 14px; align-items: flex-start; padding: 16px 20px; font-size: var(--fz-sm); line-height: 1.5; color: var(--c-form-fg); }
.msg__icon { flex-shrink: 0; margin-top: 1px; }
.msg--warn { background: var(--c-warn-bg); border: 1px solid var(--c-accent); }
.msg--error { background: var(--c-error-bg); border: 1px solid var(--c-error); }
.msg--info { background: var(--c-form-fill); }
.msg--empty { display: block; padding: 28px 24px; background: var(--c-form-fill); }

/* Итоговая строка и навигация формы */
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-5);
  padding-top: 28px; border-top: 1px solid var(--c-form-border); }
.summary__caption { font-size: var(--fz-xs); color: var(--c-form-muted); }
.summary__value { font-family: var(--f-display); font-weight: 500; font-size: 22px; text-transform: uppercase; }
.summary__unit { font-family: var(--f-text); font-weight: 400; font-size: 14px; text-transform: none; color: var(--c-form-muted); }

/* Сводка заявки на шаге 3 и на странице успеха */
.review { display: flex; flex-direction: column; }
.review__row { display: flex; gap: var(--sp-5); padding: var(--sp-4) 0; border-top: 1px solid var(--c-form-border); }
.review__key { width: 180px; flex-shrink: 0; font-size: var(--fz-xs); font-weight: 500;
  text-transform: uppercase; letter-spacing: .04em; color: var(--c-form-muted); }
.review__val { flex-grow: 1; font-size: 16px; line-height: 1.5; }
.review__edit { align-self: flex-start; display: inline-flex; align-items: center; min-height: var(--tap); margin-block: -10px; font-size: 14px; }

/* ---------- Телефон ---------- */

@media (max-width: 900px) {
  .header { min-height: 64px; }
  .header__logo img { height: 28px; }
  .map, .note-box { max-width: none; }
  /* В мобильном макете в шапке только «Забронировать» */
  .header__nav .btn--ghost:not(:only-child) { display: none; }
  /* В мастере кнопка одна — на телефоне это простая ссылка */
  .header__nav .btn--ghost:only-child { min-height: 44px; padding: 0; border: 0; background: none; font-family: var(--f-text); font-size: var(--fz-sm); font-weight: 400; text-transform: none; color: var(--c-fg-muted); }
  .hero { grid-template-columns: 1fr; gap: var(--sp-6); }
  .hero__left { padding: var(--sp-6) var(--grid-inset) 0; border-right: 0; }
  .hero__photo { padding-top: 0; }
  .hero__caption { padding-left: var(--grid-inset); }
  /* Как в мобильном макете: кнопка и разделители фактов от линии до линии, дата мельче */
  .hero .btn { align-self: stretch; justify-content: space-between; margin-inline: calc(-1 * var(--grid-inset)); }
  .facts.wrap { padding-inline: 0; }
  .date-line { font-size: 18px; }
  .date-line--page { font-size: 16px; }
  .hero__flag { right: -20px; top: -28px; width: 52px; }
  .facts, .steps, .schedule, .fields--2, .days { grid-template-columns: 1fr; }
  .facts__item, .facts__item + .facts__item { padding-inline: var(--grid-inset); }
  .facts__item + .facts__item { border-left: 0; border-top: 1px solid var(--c-grid); }
  .days { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .slots, .skeleton { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .slot { min-height: 52px; }
  .layout { grid-template-columns: 1fr; }
  /* На телефоне карточка формы во всю ширину экрана */
  .form-card { padding: 24px var(--page-pad) 28px; margin-inline: calc(-1 * var(--page-pad)); }
  .stepper { display: none; }
  .stepper-mobile { display: flex; }
  .party { padding: 20px 16px; }
  .form-foot { flex-direction: column; align-items: stretch; gap: var(--sp-4); }
  .review__row { flex-direction: column; gap: var(--sp-1); }
  .review__key { width: auto; }
  .footer { flex-direction: column; align-items: flex-start; }
  .footer__docs { flex-direction: column; gap: var(--sp-3); }
  .cookie { flex-direction: column; align-items: stretch; }
  .faq__q { gap: var(--sp-4); }
  .faq__num { width: 28px; font-size: 18px; }
  .faq__text { font-size: 17px; }
  .faq__a { padding-left: 44px; }
  .btn--lg { min-height: 56px; font-size: 19px; }
  .h1--page { font-size: 30px; }
  .h2--cta { font-size: 28px; }
  .day__date { font-size: 22px; }
  .facts__title { font-size: 30px; }
  .steps__num { font-size: 26px; }
  .steps__title { font-size: 20px; }
  .schedule__date { font-size: 24px; }
}
