/* Только файлы из C:\Users\mitkinMV\Desktop\шрифты */
@font-face {
  font-family: "TT Travels Next";
  src: url("fonts/TTTravelsNext-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
/* В файле PostScript/family name = "TT Travels Next Trl" (trial) */
@font-face {
  font-family: "TT Travels Next Trl";
  src: url("fonts/TTTravelsNext-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "TT Travels Next";
  src: url("fonts/Travels-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "TT Travels Next Trl";
  src: url("fonts/Travels-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Micra";
  src: url("fonts/Micra.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Micra";
  src: url("fonts/Micra_Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Mont";
  src: url("fonts/Mont-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Mont";
  src: url("fonts/Mont-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Futura Demi C";
  src: url("fonts/FuturaDemiC.otf") format("opentype");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Futura Demi C";
  src: url("fonts/FuturaDemiC-Italic.otf") format("opentype");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Futura Futuris C";
  src: url("fonts/futurafuturisc.otf") format("opentype");
  font-weight: 300 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Futura Futuris C";
  src: url("fonts/futurafuturisc-bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --nd-green: #97ea5d;
  --nd-blue: #0085ff;
  --nd-sky: #ffffff;
  --nd-teal: #97ea5d;
  --nd-gradient: linear-gradient(-45deg, #88c276 0%, #4db6ab 50%, #2d95d2 100%);
  --site-lime: #97ea5d;
  --site-blue: #0085ff;
  --site-logo-green: #74d382;
  --site-logo-blue: #2ba1d1;
  --nd-text: #23252d;
  --nd-text-muted: #6b7280;
  --nd-label: #9ca3af;
  --nd-border: #e4e8ef;
  --nd-line: #e5e7eb;
  --card: #ffffff;
  --ghost: #f1f5f8;
  --err: #ef4444;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 4px 24px rgba(15, 23, 42, 0.04);
  --font-demi: "Futura Demi C", Futura, "Century Gothic", system-ui, sans-serif;
  --font-ui: "Futura Futuris C", Futura, "Century Gothic", "Trebuchet MS", system-ui, sans-serif;
  --font-nav: "TT Travels Next Trl", "TT Travels Next", sans-serif;
  --font-accent: "Micra", sans-serif;
  --font-label: "Mont", sans-serif;
  --font-display: var(--font-demi);
  --font: var(--font-ui);
  /* шапка: html font-size как на сайте, токены в rem */
  --hdr-rem: 1rem;
  --header-height: 9.2rem;
  --header-logo-width: 17.5rem;
  --header-gutter: 4rem;
  --header-gap: 3rem;
  --header-actions-gap: 3rem;
  --header-nav-pad: 3.3rem;
  --header-logo-pad: 2rem;
  --header-heart: 2.4rem;
  --header-heart-m: 1rem;
  /* TheHeader: lockOffset только при scroll-lock модалок; у нас дорожка всегда → 0 */
  --lockOffset: 0px;
}

/* как на сайте: fluid rem от ширины окна */
html {
  font-size: 0.52083333vw;
  /*
    Правый край: как длинная страница сайта (полоса скролла есть).
    Без scrollbar-gutter: stable — вместе с overflow-y:scroll давал лишний сдвиг влево.
  */
  overflow-y: scroll;
}

@media (max-width: 1440px) {
  html {
    font-size: 0.6944444444vw;
  }
}

@media (max-width: 1024px) {
  html {
    font-size: 10px;
  }
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  max-width: 100%;
  overflow-x: clip;
  /* тонкий скроллбар как на navigator-tmn.ru */
  scrollbar-width: thin;
  scrollbar-color: #e6e9ec transparent;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 7px;
  height: 7px;
  background-color: transparent;
}

html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb {
  border-radius: 5rem;
  background-color: #e6e9ec;
}

html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track {
  background: transparent;
}

body {
  font-family: var(--font-ui);
  font-weight: 300;
  background: #ffffff;
  color: var(--nd-text);
  font-size: 16px;
  line-height: 1.45;
  text-transform: none;
  -webkit-font-smoothing: antialiased;
  padding-top: var(--header-height);
}

button,
input,
select,
textarea {
  font-family: inherit;
}

.page {
  width: 100%;
  max-width: 100%;
  min-height: calc(100vh - var(--header-height, 71px));
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 16px 32px;
}

/* —— Шапка как TheHeader на navigator-tmn.ru —— */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 40;
  width: 100%;
  max-width: calc(100% - var(--lockOffset));
  box-sizing: border-box;
  height: var(--header-height);
  /* финальная подгонка к сайту (один раз): без дальнейших ±px */
  padding-right: calc(var(--header-gutter) - 2px);
  background: #f1f5f8;
  border-bottom: 1px solid #e5e7eb;
  color: #828a9c;
}

.site-header__bar {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 0;
  height: var(--header-height);
  min-height: var(--header-height);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Логотип как на сайте: padding ссылки СНАРУЖИ ProjectLogo (17.5rem), не внутри */
.site-logo {
  position: relative;
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  width: auto;
  height: var(--header-height);
  min-width: 0;
  overflow: hidden;
}

.site-logo__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(325.73deg, #0085ff -18.17%, #97ea5d 116.52%);
  pointer-events: none;
}

.site-logo__link {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: 100%;
  padding: 0 var(--header-logo-pad); /* 2rem — как .logoLink на сайте */
  text-decoration: none;
  box-sizing: border-box;
}

/* Аналог .ProjectLogo: сам знак = --header-logo-width × высота шапки */
.site-logo__mark {
  display: block;
  flex: 0 0 auto;
  width: var(--header-logo-width);
  height: var(--header-height);
}

.site-logo__svg {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
  object-position: center;
}

.site-nav {
  display: none;
  flex: 1 1 auto;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap;
  margin-left: 0;
  padding: 0 var(--header-nav-pad);
  gap: var(--header-gap);
  min-width: 0;
  overflow: visible;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #828a9c !important;
  text-decoration: none;
  font-family: "TT Travels Next Trl", "TT Travels Next", sans-serif !important;
  /* как .linkTitle на сайте: text-t4 = 1.2rem / 132% / −0.007em */
  font-size: calc(1.2 * var(--hdr-rem)) !important;
  line-height: var(--header-height) !important;
  font-weight: 400;
  font-synthesis: none;
  letter-spacing: -0.007em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 0;
  border-radius: 0;
  background-color: transparent;
  transition: color 0.3s ease;
  -webkit-user-select: none;
  user-select: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background-color: transparent !important;
  color: #23252d !important;
}

.site-header__actions {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  flex-shrink: 0;
  gap: var(--header-actions-gap);
  margin-left: auto;
  padding: 0;
  position: relative;
  z-index: 1;
}

.site-fav {
  display: none;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: var(--header-heart);
  height: var(--header-heart);
  margin: 0 var(--header-heart-m);
  color: #23252d;
  text-decoration: none;
  line-height: 0;
}

.site-fav:hover {
  color: #556068;
}

.site-fav__icon {
  display: block;
  width: var(--header-heart);
  height: var(--header-heart);
}

.site-phone {
  display: flex;
  align-items: center;
  align-self: stretch;
  flex: 0 0 auto;
  color: #23252d;
  text-decoration: none;
  font-family: "TT Travels Next Trl", "TT Travels Next", sans-serif;
  font-size: calc(1.6 * var(--hdr-rem));
  line-height: var(--header-height);
  font-weight: 400;
  font-synthesis: none;
  letter-spacing: -0.007em;
  white-space: nowrap;
  min-width: 0;
  transition: color 0.3s ease;
}

.site-phone__short {
  display: none;
}

.site-phone:hover {
  color: var(--site-blue);
}

.site-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  height: calc(4 * var(--hdr-rem));
  min-height: calc(4 * var(--hdr-rem));
  padding: 0 calc(2 * var(--hdr-rem));
  border: 1px solid #97ea5d;
  border-radius: calc(6.3 * var(--hdr-rem));
  background: #97ea5d;
  color: #23252d;
  text-decoration: none;
  font-family: var(--font-nav);
  font-size: calc(1.2 * var(--hdr-rem));
  line-height: 132%;
  font-weight: 400;
  font-synthesis: none;
  letter-spacing: -0.007em;
  text-transform: uppercase;
  white-space: nowrap;
  box-sizing: border-box;
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.site-cta__text {
  display: inline;
}

.site-cta__icon {
  display: none;
  width: calc(1.3 * var(--hdr-rem));
  height: calc(1.3 * var(--hdr-rem));
}

.site-cta:hover {
  border-color: #23252d;
  background: #23252d;
  color: #ffffff;
  filter: none;
}

.site-burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 36px;
  height: 36px;
  padding: 8px;
  border-radius: 8px;
  cursor: pointer;
  background: transparent;
}

.site-burger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--nd-text);
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-nav-toggle:checked ~ .site-burger span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.site-nav-toggle:checked ~ .site-burger span:nth-child(2) {
  opacity: 0;
}
.site-nav-toggle:checked ~ .site-burger span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Мобильное выпадающее меню */
.site-header:has(.site-nav-toggle:checked) .site-nav {
  display: flex;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 8px 0;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.site-header:has(.site-nav-toggle:checked) .site-nav a {
  padding: 12px 20px;
  font-size: 13px;
  line-height: 1.4;
  border-bottom: 1px solid #f1f5f9;
}


.progress {
  position: relative;
  width: min(420px, 100%);
  height: 18px;
  margin: 4px 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.progress-line {
  position: absolute;
  left: 8px;
  right: 8px;
  height: 2px;
  background: #e4e8ef;
  z-index: 0;
  overflow: hidden;
}

.progress-line::after {
  content: "";
  display: block;
  height: 100%;
  width: var(--fill, 0%);
  background: var(--site-lime);
  transition: width 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.dot {
  position: relative;
  z-index: 1;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #e4e8ef;
  transition:
    background 0.35s ease,
    border-color 0.35s ease,
    transform 0.35s ease;
}

.dot.is-on,
.dot.is-done {
  background: var(--site-lime);
  border-color: var(--site-lime);
}

.dot.is-on {
  transform: scale(1.08);
}

@media (prefers-reduced-motion: reduce) {
  .progress-line::after,
  .dot {
    transition: none;
  }
}

.card {
  position: relative;
  width: min(560px, 100%);
  max-width: 100%;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(228, 232, 239, 0.9);
  padding: 32px 28px 24px;
  scroll-margin-top: 72px;
  min-width: 0;
}

h1 {
  margin: 0 0 12px 0;
  font-family: var(--font-nav);
  font-size: 10px;
  line-height: 10.8px;
  font-weight: 700;
  font-synthesis: none;
  letter-spacing: -0.2px;
  text-transform: uppercase;
  color: #23252d;
}

.lead {
  margin: 0 0 22px;
  font-family: var(--font-label);
  font-size: 1.2rem;
  line-height: 1.5rem;
  font-weight: 400;
  font-synthesis: none;
  letter-spacing: 0;
  color: #3d4650;
  text-transform: none;
}

.muted {
  color: var(--nd-text-muted);
  font-family: var(--font-ui);
}

.choice-extra .muted {
  font-family: var(--font-label);
  font-size: 1.2rem;
  line-height: 1.5rem;
  font-weight: 400;
  font-synthesis: none;
  letter-spacing: 0;
  color: #3d4650;
}

.choice {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
  background: #fff;
  border: 1px solid var(--nd-border);
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 10px;
  cursor: pointer;
  font-family: var(--font-ui);
  font-size: inherit;
  color: inherit;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.choice.is-on {
  border-color: var(--site-lime);
  background: #fff;
}

.choice-main {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 20px;
  align-items: center;
  column-gap: 12px;
}

.choice-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--ghost);
  display: grid;
  place-items: center;
  color: var(--nd-text);
}

.choice.is-on .choice-icon {
  background: var(--ghost);
}

.choice-icon svg { width: 22px; height: 22px; }

.choice-title {
  font-family: var(--font-ui);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.2;
  text-transform: none;
}

.choice-extra {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-left: 52px;
  font-family: var(--font-ui);
}

.map-link {
  color: var(--site-blue);
  text-decoration: none;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 300;
}

.map-link:hover { text-decoration: underline; }

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
  max-width: 100%;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--ghost);
  border-radius: 999px;
  padding: 4px 10px;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 300;
  color: var(--nd-text-muted);
  line-height: 1.2;
  max-width: 100%;
}

.pill-info {
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  opacity: 0.72;
  color: var(--nd-text-muted);
}

.radio {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #cfd8e3;
}

.choice.is-on .radio {
  border-color: var(--site-lime);
  box-shadow: inset 0 0 0 5px var(--site-lime);
  background: #fff;
}

.block { margin-top: 8px; }

.lbl {
  font-family: var(--font-label);
  font-size: 1.2rem;
  line-height: 1.5rem;
  font-weight: 400;
  font-synthesis: none;
  letter-spacing: 0;
  color: #3d4650;
  margin-bottom: 8px;
  text-transform: none;
}

.month {
  color: var(--nd-text-muted);
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.dates,
.times {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  overflow: visible;
  padding-bottom: 4px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.date-card,
.time-card {
  flex: 0 0 72px;
  border: 1px solid var(--nd-border);
  border-radius: 12px;
  background: #fff;
  padding: 10px 6px;
  text-align: center;
  cursor: pointer;
  font-family: var(--font-ui);
  font-size: inherit;
  color: inherit;
  min-width: 0;
  box-sizing: border-box;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.date-card .n {
  display: block;
  font-family: var(--font-ui);
  font-size: 20px;
  font-weight: 300;
}

.date-card .w {
  display: block;
  color: var(--nd-text-muted);
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 300;
  text-transform: lowercase;
}

.time-card {
  flex-basis: 88px;
  font-family: var(--font-ui);
  font-weight: 300;
  padding: 12px 8px;
}

.date-card.is-on,
.time-card.is-on {
  border-color: var(--site-lime);
  color: var(--nd-text);
  background: #f4ffe8;
}

.field {
  display: block;
  margin-bottom: 18px;
}

.field-label {
  display: block;
  font-family: var(--font-ui);
  font-size: 1.2rem;
  line-height: 1.5rem;
  font-weight: 300;
  font-synthesis: none;
  letter-spacing: 0;
  color: #3d4650;
  margin-bottom: 6px;
  text-transform: none;
}

.field-label .req {
  color: #ea2b2b;
  font-weight: 400;
}

.field-hint {
  display: none;
  margin-top: 4px;
  font-family: "Mont", var(--font-label), sans-serif;
  font-size: 9px;
  line-height: 11.5px;
  font-weight: 400;
  font-synthesis: none;
  letter-spacing: 0;
  color: #ea2b2b;
  text-transform: none;
  cursor: default;
  text-decoration: none;
}

.field.is-invalid .field-hint {
  display: block;
}

.field input {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--nd-line);
  border-radius: 0;
  padding: 10px 0 12px;
  font-family: var(--font-nav);
  font-size: 1.4rem;
  line-height: 1.4;
  font-weight: 400;
  font-synthesis: none;
  letter-spacing: 0;
  color: #23252d;
  background: transparent;
  text-transform: none;
}

.field input::placeholder {
  font-family: "Mont", var(--font-label), sans-serif;
  font-size: 9px;
  line-height: 11.5px;
  font-weight: 600;
  font-synthesis: none;
  letter-spacing: 0;
  color: var(--nd-text-muted);
  opacity: 1;
}

.field.is-invalid input::placeholder {
  color: #ea2b2b;
}

.field input:focus {
  outline: none;
  border-bottom-color: var(--site-lime);
}

.consents {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 18px 0 8px;
}

.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 300;
  line-height: 1.45;
  color: var(--nd-text-muted);
  text-transform: none;
}

.consent input {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  flex: 0 0 16px;
  border: 1.5px solid #c5cad3;
  border-radius: 2px;
  background: #fff;
  cursor: pointer;
}

.consent input:checked {
  background: var(--site-lime);
  border-color: var(--site-lime);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath fill='none' stroke='%231a1a1a' stroke-width='2' d='M2.5 6.2l2.4 2.4 4.6-5'/%3E%3C/svg%3E");
  background-size: 12px 12px;
  background-position: center;
  background-repeat: no-repeat;
}

.consent label {
  cursor: pointer;
  font-family: inherit;
}

.consent a {
  color: var(--site-blue);
  text-decoration: underline;
  font-family: inherit;
}

.footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 26px;
  width: 100%;
  min-width: 0;
}

.btn {
  border: 0;
  border-radius: 20px;
  padding: 0 20px;
  height: 40px;
  min-height: 40px;
  font-family: var(--font-nav);
  font-size: 9px;
  line-height: 9.2px;
  font-weight: 400;
  font-synthesis: none;
  letter-spacing: -0.4px;
  color: #23252d;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease, filter 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.btn:disabled,
.btn.is-disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.btn-ghost {
  background: var(--ghost);
  color: #23252d;
  font-family: var(--font-nav);
  font-size: 9px;
  line-height: 9.2px;
  font-weight: 400;
  font-synthesis: none;
  letter-spacing: -0.4px;
  text-transform: uppercase;
}

.btn-ghost:hover:not(:disabled):not(.is-disabled) {
  background: #e5e9ee;
}

.btn-ghost:active:not(:disabled):not(.is-disabled) {
  background: #d7dde5;
  transform: scale(0.98);
}

.btn-primary {
  background: var(--site-lime);
  color: #23252d;
  font-family: var(--font-nav);
  font-size: 9px;
  line-height: 9.2px;
  font-weight: 400;
  font-synthesis: none;
  letter-spacing: -0.4px;
  text-transform: uppercase;
}

.btn-primary:hover:not(:disabled):not(.is-disabled) {
  filter: brightness(0.96);
}

.btn-primary:active:not(:disabled):not(.is-disabled) {
  filter: brightness(0.92);
  transform: scale(0.98);
}

.err {
  color: var(--err);
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 300;
  margin: 8px 0 0;
}

.is-hidden { display: none !important; }

/*
  Desktop меню как на сайте: >1024px.
  Токены высоты/лого на ≤1024 и ≤767 — как :root сайта.
*/
@media (max-width: 1440px) {
  :root {
    /* ContactsHeader на сайте: gap 1rem + space-between при ≤1440 */
    --header-actions-gap: 1rem;
  }

  .site-header__actions {
    justify-content: space-between;
  }

  /* как на сайте: текст кнопки скрыт, видна иконка телефона */
  .site-cta {
    flex: 1 0 auto;
    min-width: calc(4 * var(--hdr-rem));
    padding: 0 calc(1.2 * var(--hdr-rem));
  }

  .site-cta__text {
    display: none;
  }

  .site-cta__icon {
    display: block;
  }
}

@media (min-width: 1025px) {
  .site-nav {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    overflow: visible;
  }

  .site-fav {
    display: inline-flex;
  }

  .site-burger {
    display: none;
  }

  .site-header:has(.site-nav-toggle:checked) .site-nav {
    position: static;
    left: auto;
    right: auto;
    top: auto;
    flex-direction: row;
    flex-wrap: nowrap;
    margin-left: 0;
    padding: 0 var(--header-nav-pad);
    gap: var(--header-gap);
    background: transparent;
    border: 0;
    box-shadow: none;
    overflow: visible;
  }

  .site-header:has(.site-nav-toggle:checked) .site-nav a {
    padding: 0;
    border: 0;
    border-bottom: 0;
    font-family: var(--font-nav);
    font-size: calc(1.2 * var(--hdr-rem));
    line-height: var(--header-height);
    letter-spacing: -0.007em;
    color: #828a9c !important;
    border-radius: 0;
    background-color: transparent;
  }

  .site-header:has(.site-nav-toggle:checked) .site-nav a:hover,
  .site-header:has(.site-nav-toggle:checked) .site-nav a:focus-visible {
    background-color: transparent !important;
    color: #23252d !important;
  }
}

@media (max-width: 1024px) {
  :root {
    --header-height: 6.4rem;
    --header-gutter: 3.2rem;
    --header-gap: 1.6rem;
    /* ContactsHeader на сайте снова 3rem */
    --header-actions-gap: 3rem;
  }

  .site-nav a {
    font-size: calc(1.1 * var(--hdr-rem)) !important;
  }

  .site-nav {
    margin-left: 0;
    padding: 0;
    gap: 0;
    overflow: visible;
  }

  .site-header__actions {
    gap: var(--header-actions-gap);
  }

  .site-fav {
    display: inline-flex;
  }

  .site-cta {
    height: calc(3.2 * var(--hdr-rem));
    min-height: calc(3.2 * var(--hdr-rem));
    flex: unset;
  }

  .page {
    min-height: calc(100vh - var(--header-height));
  }

  .card {
    scroll-margin-top: calc(var(--header-height) + 8px);
  }
}

@media (max-width: 767px) {
  :root {
    --header-height: 5.6rem;
    --header-logo-width: 17.5rem;
    --header-gutter: 1.6rem;
    --header-logo-pad: 2rem;
    --header-gap: 1rem;
    --header-actions-gap: 1.6rem;
  }

  /* как .ProjectLogo @≤767: знак ×0.7, шапка/фон остаются полной высоты */
  .site-logo__mark {
    width: calc(var(--header-logo-width) * 0.7);
    height: calc(var(--header-height) * 0.7);
  }

  .site-cta {
    display: none;
  }

  .site-phone {
    font-size: calc(1.4 * var(--hdr-rem));
  }

  .site-phone__full {
    display: none;
  }

  .site-phone__short {
    display: inline;
  }

  .page {
    min-height: calc(100vh - var(--header-height));
    padding: 14px 12px 28px;
  }
}

@media (max-width: 640px) {
  .site-burger {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
  }

  .page {
    padding: 14px 12px 28px;
  }

  .progress {
    width: min(360px, 100%);
    margin: 2px 0 14px;
  }

  .card {
    width: 100%;
    max-width: 560px;
    padding: 22px 16px 16px;
    scroll-margin-top: calc(var(--header-height) + 8px);
  }

  h1 {
    font-size: 10px;
    line-height: 10.8px;
    letter-spacing: -0.2px;
  }

  .lead {
    font-size: 1.2rem;
    line-height: 1.5rem;
    margin-bottom: 14px;
  }

  .choice {
    padding: 12px;
    margin-bottom: 8px;
  }

  .choice-main {
    grid-template-columns: 36px minmax(0, 1fr) 20px;
    column-gap: 10px;
  }

  .choice-icon {
    width: 36px;
    height: 36px;
  }

  .choice-icon svg {
    width: 20px;
    height: 20px;
  }

  .choice-title {
    font-size: 15px;
    overflow-wrap: anywhere;
  }

  .choice-extra {
    margin-left: 46px;
    min-width: 0;
  }

  .pills {
    gap: 6px;
    max-width: 100%;
  }

  .pill {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .dates,
  .times {
    gap: 6px;
  }

  .date-card,
  .time-card {
    flex: 1 1 calc(25% - 6px);
    min-width: 64px;
    max-width: 88px;
  }

  .time-card {
    flex-basis: calc(33.333% - 6px);
    max-width: 104px;
  }

  .footer {
    gap: 8px;
    margin-top: 18px;
  }

  .btn {
    height: 40px;
    min-height: 40px;
    padding: 0 16px;
  }
}

@media (max-width: 480px) {
  .page {
    padding: 12px 10px 24px;
  }

  .card {
    padding: 18px 14px 14px;
    border-radius: 14px;
    scroll-margin-top: calc(var(--header-height) + 8px);
  }

  h1 {
    font-size: 10px;
    line-height: 10.8px;
    letter-spacing: -0.2px;
  }

  .lead {
    font-size: 1.2rem;
    line-height: 1.5rem;
    margin-bottom: 12px;
  }

  .choice-extra {
    margin-left: 0;
    margin-top: 2px;
  }

  .date-card,
  .time-card {
    flex: 1 1 calc(33.333% - 6px);
    min-width: 0;
    max-width: none;
  }

  .date-card .n {
    font-size: 18px;
  }

  .date-card .w {
    font-size: 12px;
  }

  .time-card {
    flex-basis: calc(33.333% - 6px);
    padding: 12px 6px;
  }

  .consent {
    font-size: 11px;
  }

  .btn {
    padding: 0 14px;
  }
}

@media (max-width: 380px) {
  .site-burger {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }

  .page {
    padding: 10px 8px 20px;
  }

  .card {
    padding: 16px 12px 12px;
    scroll-margin-top: calc(var(--header-height) + 8px);
  }

  h1 {
    font-size: 10px;
    line-height: 10.8px;
    letter-spacing: -0.2px;
  }

  .choice {
    padding: 10px;
  }

  .choice-main {
    grid-template-columns: 32px minmax(0, 1fr) 18px;
    column-gap: 8px;
  }

  .choice-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
  }

  .choice-icon svg {
    width: 18px;
    height: 18px;
  }

  .choice-title {
    font-size: 14px;
  }

  .date-card,
  .time-card {
    flex: 1 1 calc(50% - 6px);
  }

  .footer {
    gap: 6px;
  }

  .btn {
    height: 40px;
    min-height: 40px;
  }
}
