/* ==========================================================================
   NOTVIN — V01-DS: теплая бумага, navy + приглушенный медный, Playfair/Onest
   ========================================================================== */

/* ---------- Шрифты (OFL 1.1, локальные файлы) ----------------------------- */
@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/PlayfairDisplay-Variable.ttf") format("truetype");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Onest";
  src: url("../fonts/Onest-Variable.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Токены -------------------------------------------------------- */
:root {
  --ink: #1e2a38;
  --text: #293344;
  --muted: #5b6672;
  --navy: #203c61;
  --navy-deep: #16293f;
  --copper: #ac8151;
  --copper-ink: #7a5a33;
  --paper: #f7f3ea;
  --paper-2: #fbf8f1;
  --ivory: #fdfbf7;
  --white: #fff;
  --line: #e3dccf;
  --line-strong: #8c8375;
  --error: #b3261e;
  --error-bg: #fdf3f1;
  --success: #2e6b4f;

  --font-display: "Playfair Display", "PT Serif", Georgia, serif;
  --font-text: "Onest", "Golos Text", "Segoe UI", Arial, sans-serif;

  --container: 1236px;
  --gutter: 28px;
  --radius-card: 20px;
  --radius-control: 10px;
  --shadow-card: 0 28px 60px -32px rgba(22, 41, 63, 0.28), 0 2px 0 rgba(22, 41, 63, 0.02);
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font-text);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  font-variant-numeric: normal;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; }
img { max-width: 100%; height: auto; }

h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }

a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--navy-deep); }

button { font: inherit; color: inherit; cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
  border-radius: 2px;
}
.btn:focus-visible { outline-color: var(--navy-deep); outline-offset: 3px; }

::selection { background: rgba(172, 129, 81, 0.28); }

[hidden] { display: none !important; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.sprite { position: absolute; overflow: hidden; }
.icon { width: 18px; height: 18px; flex: none; }
.icon--ext { width: 14px; height: 14px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 400;
  padding: 12px 18px;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
  font-size: 14px;
  text-decoration: none;
  transition: top 0.2s var(--ease-out);
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Общие элементы ------------------------------------------------ */
.kicker {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper-ink);
  font-variant-numeric: tabular-nums;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-family: var(--font-text);
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.18s var(--ease-out), color 0.18s var(--ease-out),
    border-color 0.18s var(--ease-out), box-shadow 0.18s var(--ease-out), transform 0.18s var(--ease-out);
}
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--navy-deep); color: #fff; }
.btn--primary:active { transform: translateY(1px); }
.btn--ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--line-strong);
}
.btn--ghost:hover { background: var(--ivory); border-color: var(--navy); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15.5px;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid rgba(32, 60, 97, 0.28);
  padding-bottom: 2px;
  transition: border-color 0.18s var(--ease-out), color 0.18s var(--ease-out);
}
.link-arrow::after {
  content: "";
  width: 18px; height: 18px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.65' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h16m-6-6 6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.65' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h16m-6-6 6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 0.18s var(--ease-out);
}
.link-arrow:hover { border-color: var(--navy); }
.link-arrow:hover::after { transform: translateX(3px); }

.link-ext {
  display: inline-block;
  padding-block: 3px;
  font-size: 14px;
  color: var(--navy);
  text-underline-offset: 0.22em;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(32, 60, 97, 0.35);
}
.link-ext:hover { text-decoration-color: var(--navy); }


/* ---------- Верхняя контактная полоса ------------------------------------- */
.topbar {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--text);
}
.topbar__in {
  display: flex;
  align-items: center;
  gap: 26px;
  min-height: 44px;
  padding-block: 6px;
}
.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}
.topbar__item .icon { width: 17px; height: 17px; color: var(--copper); }
a.topbar__item:hover { color: var(--navy); }
.topbar__phone { font-variant-numeric: tabular-nums; }
.topbar__phone--second { color: var(--muted); }
.topbar__mos {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  padding: 6px 0;
  color: var(--navy);
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}
.topbar__mos .icon { width: 17px; height: 17px; }
.topbar__mos .icon--ext { width: 15px; height: 15px; color: var(--copper); }
.topbar__mos:hover { color: var(--navy-deep); }

/* ---------- Шапка --------------------------------------------------------- */
.header {
  position: relative;
  z-index: 60;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.header__in {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 84px;
  padding-block: 12px;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-decoration: none;
  color: var(--ink);
  flex: none;
}
.brand__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.14;
  letter-spacing: -0.005em;
}
.brand__role {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--copper-ink);
}
.brand:hover .brand__name { color: var(--navy-deep); }

.nav { display: flex; align-items: center; margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 24px; }
.nav__list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  transition: color 0.16s var(--ease-out);
}
.nav__list a:hover { color: var(--navy); }
.nav__head,
.nav__extra { display: none; }

.header__cta { flex: none; }
.header__cta-icon {
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--navy);
  color: #fff;
  flex: none;
}
.header__cta-icon:hover { background: var(--navy-deep); color: #fff; }
.header__cta-icon .icon { width: 20px; height: 20px; }
.header__cta .icon { width: 17px; height: 17px; }

.burger {
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--navy);
  flex: none;
}
.burger .icon { width: 22px; height: 22px; }
.burger:hover { border-color: var(--navy); }

/* ---------- Герой --------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background-color: #f6f1e8;
  padding: 40px 0 76px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(250, 246, 238, 0.94) 0%,
    rgba(250, 246, 238, 0.82) 30%,
    rgba(250, 246, 238, 0.32) 53%,
    rgba(250, 246, 238, 0.04) 70%,
    rgba(250, 246, 238, 0) 82%
  );
}
/* Photo on its own layer so the entrance can settle it with a transform. */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: url("../assets/notvin-hero-1752.webp");
  background-position: center 62%;
  background-size: cover;
}
.hero__in { position: relative; z-index: 3; }
.hero__copy { max-width: 620px; }
.hero__title {
  margin-top: 14px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(38px, 3.8vw, 54px);
  line-height: 1.04;
  letter-spacing: -0.015em;
  color: var(--navy-deep);
}
.hero__lead {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 22px;
  max-width: 40ch;
  font-size: 17.5px;
  line-height: 1.55;
  color: var(--text);
}
.hero__rule {
  flex: none;
  width: 46px;
  height: 2px;
  margin-top: 0.72em;
  background: var(--copper);
}
.hero__facts { display: none; }

/* ---------- Панель действий ----------------------------------------------- */
.panel {
  position: relative;
  z-index: 30;
  margin-top: -64px;
}
.panel__card {
  background: var(--white);
  border: 1px solid rgba(200, 188, 172, 0.55);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.panel__top { padding: 26px 40px 20px; }

.panel__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: start;
  gap: 32px;
}
.panel__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(26px, 2.5vw, 34px);
  line-height: 1.14;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.panel__hint {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 36ch;
}

.tiles {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}
.tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 106px;
  padding: 16px 8px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--ivory);
  color: var(--ink);
  text-align: center;
  text-decoration: none;
  transition: border-color 0.18s var(--ease-out), background-color 0.18s var(--ease-out),
    box-shadow 0.18s var(--ease-out), transform 0.18s var(--ease-out);
}
.tile__icon { width: 30px; height: 30px; color: var(--copper); transition: color 0.18s var(--ease-out); }
.tile__label { font-size: 14.5px; font-weight: 500; line-height: 1.3; }
.tile:hover {
  border-color: var(--copper);
  background: var(--white);
  box-shadow: 0 14px 26px -18px rgba(22, 41, 63, 0.35);
  transform: translateY(-2px);
}
.tile:hover .tile__icon { color: var(--copper-ink); }
.tile:active { transform: translateY(0); border-color: var(--navy); background: var(--white); }

.search { position: relative; margin-top: 16px; }
.search__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 12px;
}
.search__field {
  position: relative;
  display: flex;
  align-items: center;
}
.search__icon {
  position: absolute;
  left: 16px;
  width: 20px; height: 20px;
  color: var(--muted);
  pointer-events: none;
}
.search__input {
  width: 100%;
  height: 54px;
  padding: 0 46px 0 48px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-control);
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 15.5px;
  appearance: none;
}
.search__input::placeholder { color: var(--muted); opacity: 1; }
.search__input::-webkit-search-cancel-button,
.search__input::-webkit-search-decoration,
.search__input::-webkit-search-results-button { -webkit-appearance: none; appearance: none; display: none; }
.search__input:hover { border-color: var(--navy); }
.search__input:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
}
.search__clear {
  position: absolute;
  right: 4px;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
}
.search__clear .icon { width: 18px; height: 18px; }
.search__clear:hover { color: var(--navy); background: var(--paper); }

.search__catalog {
  width: 100%;
  min-height: 54px;
  padding-inline: 18px;
  font-size: 15.5px;
}
.search__catalog .icon { width: 18px; height: 18px; }

.search__results {
  position: absolute;
  z-index: 40;
  left: 0;
  right: 0;
  top: 64px;
  padding: 8px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 26px 48px -24px rgba(22, 41, 63, 0.4);
  max-height: min(360px, 60vh);
  overflow: auto;
}
.search__list { display: flex; flex-direction: column; }
.search__list li + li { border-top: 1px solid var(--line); }
.search__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 48px;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--ink);
  text-decoration: none;
}
.search__link:hover,
.search__link:focus-visible { background: var(--paper-2); color: var(--navy); }
.search__link-title { font-size: 15px; font-weight: 500; }
.search__link-cat { font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.search__link .icon { width: 16px; height: 16px; color: var(--copper); }
.search__empty {
  padding: 12px 12px 14px;
  font-size: 14px;
  color: var(--muted);
}
.search__status { margin-top: 8px; font-size: 12.5px; color: var(--muted); min-height: 1em; }
.search__status:empty { display: none; }

.panel__note--nojs { margin-top: 16px; font-size: 13px; color: var(--text); }
.panel__note {
  margin-top: 12px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted);
  max-width: 78ch;
}
.panel__facts { display: none; }
.panel__cta { display: none; }

/* Полоса фактов внутри карты */
.strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  padding: 18px 40px 20px;
  border-top: 1px solid var(--line);
  background: var(--paper-2);
}
.strip__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding-right: 26px;
}
.strip__item + .strip__item {
  padding-left: 26px;
  border-left: 1px solid var(--line);
}
.strip__icon { width: 26px; height: 26px; margin-top: 2px; color: var(--copper); }
.strip__title { font-size: 14.5px; font-weight: 600; color: var(--ink); }
.strip__text { margin-top: 3px; font-size: 13.5px; line-height: 1.5; color: var(--muted); }

/* ---------- Порядок обращения -------------------------------------------- */
.order { background: var(--white); padding: 84px 0 88px; }
.order__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  column-gap: 72px;
  row-gap: 40px;
}
.order__title {
  margin-top: 12px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 2.6vw, 36px);
  line-height: 1.14;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.order__lead {
  margin-top: 18px;
  max-width: 44ch;
  font-size: 16px;
  line-height: 1.62;
  color: var(--text);
}
.order__actions {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.steps { border-top: 1px solid var(--line); }
.steps__item {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 12px;
  padding: 22px 0 24px;
  border-bottom: 1px solid var(--line);
}
.steps__num {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.2;
  color: var(--copper-ink);
  font-variant-numeric: tabular-nums;
}
.steps__title { font-size: 17px; font-weight: 600; color: var(--ink); }
.steps__text { margin-top: 6px; font-size: 14.5px; line-height: 1.58; color: var(--muted); max-width: 54ch; }

.tariff {
  grid-column: 2;
  align-self: start;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: start;
  gap: 6px 18px;
  margin-top: 2px;
  padding: 22px 26px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper-2);
}
.tariff__icon { width: 28px; height: 28px; margin-top: 2px; color: var(--copper); }
.tariff__text { font-size: 14.5px; line-height: 1.62; color: var(--text); max-width: 92ch; }
.tariff__text strong { color: var(--ink); }
.tariff__links { grid-column: 2; margin-top: 4px; }

/* ---------- Запись -------------------------------------------------------- */
.booking {
  position: relative;
  padding: 88px 0 92px;
  background-color: var(--paper);
  background-image: url("../assets/section-paper-warm.webp");
  background-position: center;
  background-size: cover;
  border-top: 1px solid var(--line);
}
.booking__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 508px;
  gap: 64px;
  align-items: start;
}
.booking__title {
  margin-top: 12px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 2.6vw, 36px);
  line-height: 1.14;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.booking__lead {
  margin-top: 16px;
  max-width: 44ch;
  font-size: 16px;
  line-height: 1.62;
  color: var(--text);
}
.contacts {
  margin-top: 30px;
  border-top: 1px solid var(--line);
}
.contacts__row {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.contacts__row dt {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--copper-ink);
}
.contacts__row dt .icon { width: 17px; height: 17px; color: var(--copper); }
.contacts__row dd a,
.booking__mos a,
.booking__note a { display: inline-block; padding-block: 3px; }
.contacts__row dd {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.booking__mos { margin-top: 20px; }
.booking__note {
  display: flex;
  gap: 10px;
  margin-top: 22px;
  padding: 14px 16px;
  border-left: 2px solid var(--copper);
  background: rgba(253, 251, 247, 0.72);
  border-radius: 0 8px 8px 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 54ch;
}
.booking__note .icon { width: 17px; height: 17px; margin-top: 2px; color: var(--copper); flex: none; }

.booking__card {
  background: var(--white);
  border: 1px solid rgba(200, 188, 172, 0.6);
  border-radius: 16px;
  box-shadow: 0 30px 64px -40px rgba(22, 41, 63, 0.45);
  padding: 30px 30px 26px;
}

/* ---------- Форма --------------------------------------------------------- */
.form { display: flex; flex-direction: column; gap: 16px; }
.form__badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 8px;
  background: var(--paper-2);
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--muted);
}
.form__badge .icon { width: 15px; height: 15px; color: var(--copper); flex: none; }

.field { display: flex; flex-direction: column; gap: 6px; }
.field-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.field__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.field__req { color: var(--copper-ink); }
.field__control { position: relative; }
.field__input {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-control);
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 15.5px;
  font-variant-numeric: tabular-nums;
  appearance: none;
}
.field__input::placeholder { color: var(--muted); opacity: 1; }
.field__input:hover { border-color: var(--navy); }
.field__input:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
}
select.field__input { padding-right: 40px; cursor: pointer; }
.field__chevron {
  position: absolute;
  right: 14px;
  top: 50%;
  width: 16px; height: 16px;
  transform: translateY(-50%) rotate(90deg);
  color: var(--muted);
  pointer-events: none;
}
input[type="date"].field__input { padding-right: 10px; }
input[type="date"]::-webkit-calendar-picker-indicator { opacity: 0.55; cursor: pointer; }

.field__error {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--error);
}
.field--invalid .field__input { border-color: var(--error); }
.field--invalid .field__label { color: var(--error); }

.field--check { gap: 8px; }
.check { display: flex; align-items: flex-start; gap: 10px; }
.check__input {
  width: 20px; height: 20px;
  margin: 1px 0 0;
  flex: none;
  accent-color: var(--navy);
}
.check__label { font-size: 13.5px; line-height: 1.5; color: var(--text); cursor: pointer; }

.form__submit { width: 100%; min-height: 52px; margin-top: 2px; }
.form__submit[disabled] { opacity: 0.72; cursor: progress; }

.form__fine {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.demo-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--muted);
  cursor: pointer;
}
.demo-switch input { width: 16px; height: 16px; margin: 0; accent-color: var(--navy); }
.form__disclaimer { font-size: 11.5px; line-height: 1.5; color: var(--muted); }

.form-result { padding: 2px 0 0; }
.form-result__eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--copper-ink);
}
.form-result__title {
  margin-top: 12px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 27px;
  line-height: 1.16;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.form-result__text { margin-top: 12px; font-size: 14px; line-height: 1.6; color: var(--text); }
.form-result__echo {
  margin-top: 20px;
  border-top: 1px solid var(--line);
}
.form-result__echo div {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}
.form-result__echo dt { font-size: 12.5px; color: var(--muted); }
.form-result__echo dd { font-size: 13.5px; line-height: 1.5; color: var(--ink); font-variant-numeric: tabular-nums; }
.form-result__again { width: 100%; margin-top: 20px; }

.form-alert {
  padding: 4px 0 0;
}
.form-alert__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  line-height: 1.2;
  color: var(--error);
}
.form-alert__text { margin-top: 10px; font-size: 14px; line-height: 1.6; color: var(--text); }
.form-alert__text a { display: inline-block; padding-block: 3px; }
.form-alert .btn { margin-top: 18px; width: 100%; }

.form-fallback { padding: 4px 0 0; }
.form-fallback__title { font-size: 17px; font-weight: 600; color: var(--ink); }
.form-fallback p { margin-top: 10px; font-size: 14px; line-height: 1.6; color: var(--text); }

/* ---------- Хлебные крошки и страница действия --------------------------- */
.svc-page { padding: 26px 0 92px; background: var(--white); }
.crumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  font-size: 13px;
  color: var(--muted);
}
.crumbs__item { display: inline-flex; align-items: center; gap: 10px; }
.crumbs__item + .crumbs__item::before {
  content: "";
  width: 14px; height: 14px;
  background: currentColor;
  opacity: 0.55;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.65' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 5 7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.65' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 5 7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat;
}
.crumbs__item a { display: inline-block; padding-block: 3px; color: var(--muted); text-decoration: none; border-bottom: 1px solid transparent; }
.crumbs__item a:hover { color: var(--navy); border-color: var(--navy); }
.crumbs__item[aria-current] { color: var(--ink); }

.svc-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 372px;
  gap: 64px;
  margin-top: 30px;
  align-items: start;
}
.svc__title {
  margin-top: 12px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(34px, 3.6vw, 52px);
  line-height: 1.06;
  letter-spacing: -0.015em;
  color: var(--navy-deep);
}
.svc__lead {
  margin-top: 20px;
  max-width: 54ch;
  font-size: 17.5px;
  line-height: 1.6;
  color: var(--text);
}
.svc__demo {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 22px;
  padding: 11px 14px;
  border-left: 2px solid var(--copper);
  border-radius: 0 8px 8px 0;
  background: var(--paper-2);
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}
.svc__demo .icon { width: 16px; height: 16px; margin-top: 2px; color: var(--copper); flex: none; }

.svc-block { margin-top: 46px; }
.svc-block__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 26px;
  line-height: 1.2;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.svc-block__body { margin-top: 14px; }
.svc-block__body p {
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.66;
  color: var(--text);
  max-width: 64ch;
}
.svc-block__body p:first-child { margin-top: 0; }
.svc-block > p { margin-top: 14px; font-size: 16px; line-height: 1.66; color: var(--text); max-width: 64ch; }
.svc-block__note {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}
.doclist { margin-top: 16px; border-top: 1px solid var(--line); }
.doclist__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.55;
  color: var(--text);
}
.doclist__item .icon { width: 17px; height: 17px; margin-top: 3px; color: var(--copper); flex: none; }

.tariff-card {
  display: flex;
  gap: 18px;
  margin-top: 16px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper-2);
}
.tariff-card__icon { width: 28px; height: 28px; margin-top: 2px; color: var(--copper); flex: none; }
.tariff-card__body p { font-size: 14.5px; line-height: 1.62; color: var(--text); max-width: 70ch; }
.tariff-card__links { margin-top: 10px; }

.svc__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.svc__booknote { margin-top: 14px; font-size: 13px; line-height: 1.5; color: var(--muted); }

.svc-aside { position: sticky; top: 24px; }
.aside-card {
  padding: 26px 24px 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
}
.aside-card__label {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--copper-ink);
}
.aside-card__name {
  margin-top: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 23px;
  line-height: 1.2;
  color: var(--ink);
}
.aside-card__role { margin-top: 6px; font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.aside-card__list {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text);
}
.aside-card__list li { display: flex; align-items: flex-start; gap: 10px; }
.aside-card__list .icon { width: 17px; height: 17px; margin-top: 2px; color: var(--copper); flex: none; }
.aside-card__list a { display: inline-block; padding-block: 3px; color: var(--navy); text-decoration: none; font-variant-numeric: tabular-nums; }
.aside-card__list a:hover { text-decoration: underline; }
.aside-card__cta { width: 100%; margin-top: 20px; }
.aside-card__mos {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 10px;
  padding-block: 4px;
  font-size: 13px;
  color: var(--navy);
}
.aside-card__mos .icon--ext { width: 14px; height: 14px; color: var(--copper); }

.aside-nav { margin-top: 26px; }
.aside-nav__label {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--copper-ink);
}
.aside-nav__list { margin-top: 10px; border-top: 1px solid var(--line); }
.aside-nav__list li { border-bottom: 1px solid var(--line); }
.aside-nav__list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  padding: 9px 0;
  font-size: 14.5px;
  color: var(--text);
  text-decoration: none;
}
.aside-nav__list a:hover { color: var(--navy); }
.aside-note { margin-top: 20px; font-size: 12px; line-height: 1.5; color: var(--muted); }

/* ---------- Подвал -------------------------------------------------------- */
.footer {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  padding: 46px 0 20px;
}
.footer__in {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 40px;
}
.footer__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  line-height: 1.2;
  color: var(--ink);
}
.footer__role { margin-top: 6px; font-size: 12.5px; color: var(--muted); }
.footer__demo { margin-top: 16px; max-width: 40ch; font-size: 12px; line-height: 1.55; color: var(--muted); }
.footer__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--copper-ink);
}
.footer__col p { margin-top: 8px; font-size: 13.5px; line-height: 1.55; color: var(--text); }
.footer__col a { color: var(--navy); text-decoration-color: rgba(32, 60, 97, 0.3); }
.footer__col > p > a { display: inline-block; padding-block: 3px; }
.footer__links { margin-top: 6px; display: flex; flex-direction: column; gap: 2px; font-size: 13.5px; }
.footer__links a { display: inline-block; padding-block: 4px; color: var(--navy); text-decoration-color: rgba(32, 60, 97, 0.3); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 34px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}
.footer__legend { max-width: 52ch; }

/* ---------- Тост ---------------------------------------------------------- */
.toast {
  position: fixed;
  z-index: 300;
  left: 24px;
  bottom: 24px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: 400px;
  padding: 14px 14px 14px 16px;
  border-radius: 12px;
  background: var(--navy-deep);
  color: #fff;
  box-shadow: 0 22px 46px -20px rgba(22, 41, 63, 0.6);
  font-size: 13.5px;
  line-height: 1.5;
}
.toast__text { margin: 0; }
.toast__close {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  margin: -8px -8px 0 0;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
}
.toast__close:hover { color: #fff; background: rgba(255, 255, 255, 0.1); }
.toast__close .icon { width: 16px; height: 16px; }

/* ---------- Анимации ------------------------------------------------------ */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }

  .hero__copy > * { animation: rise 0.7s var(--ease-out) both; }
  .hero__copy > :nth-child(1) { animation-delay: 0.02s; }
  .hero__copy > :nth-child(2) { animation-delay: 0.08s; }
  .hero__copy > :nth-child(3) { animation-delay: 0.16s; }
  .hero__copy > :nth-child(4) { animation-delay: 0.24s; }
  .hero::after { animation: hero-settle 1.5s var(--ease-out) both; animation-delay: 0.04s; }
  .panel__card { animation: rise 0.8s var(--ease-out) both; animation-delay: 0.22s; }
  /* Tiles materialize one after another while the card is still settling.
     `backwards` (not `both`) keeps the hover lift working after the run. */
  .panel .tiles .tile { animation: rise 0.45s var(--ease-out) backwards; animation-delay: 0.36s; }
  .panel .tiles li:nth-child(2) .tile { animation-delay: 0.42s; }
  .panel .tiles li:nth-child(3) .tile { animation-delay: 0.48s; }
  .panel .tiles li:nth-child(4) .tile { animation-delay: 0.54s; }
  .panel .tiles li:nth-child(5) .tile { animation-delay: 0.6s; }
  .panel .tiles li:nth-child(6) .tile { animation-delay: 0.66s; }
  .panel .tiles li:nth-child(7) .tile { animation-delay: 0.72s; }
  .search__results { animation: drop 0.18s var(--ease-out) both; }
  .toast { animation: toast-in 0.28s var(--ease-out) both; }
  .nav { transition: transform 0.34s var(--ease-out); }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
@keyframes hero-settle {
  from { opacity: 0; transform: scale(1.055); }
  to { opacity: 1; transform: none; }
}
@keyframes drop {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}
@keyframes toast-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   АДАПТИВ
   ========================================================================== */

/* --- Планшет / компактный десктоп: плитки в две строки -------------------- */
@media (max-width: 1280px) {
  .search__row { grid-template-columns: minmax(0, 1fr) 280px; }
  .search__catalog { font-size: 15px; padding-inline: 14px; gap: 8px; }
  .order__grid { column-gap: 48px; }
  .booking__grid { grid-template-columns: minmax(0, 1fr) 470px; gap: 44px; }
  .svc-grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 44px; }
  .hero__lead { font-size: 16.5px; }
}

/* --- До планшета: компактная шапка, меню-шторка --------------------------- */
@media (max-width: 1080px) {
  :root { --gutter: 24px; }

  .header__cta { display: none; }
  .header__cta-icon { display: grid; margin-left: auto; }
  .header__in { gap: 14px; }
  .burger { display: grid; margin-left: 0; }
  .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }

  .nav {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    margin: 0;
    padding: 18px 24px 32px;
    background: var(--paper);
    transform: translateY(-102%);
    overflow-y: auto;
    overscroll-behavior: contain;
    visibility: hidden;
  }
  .nav.is-open { transform: translateY(0); visibility: visible; }
  .nav__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
  }
  .nav__title {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--copper-ink);
  }
  .nav__close {
    display: grid;
    place-items: center;
    width: 44px; height: 44px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: transparent;
    color: var(--navy);
  }
  .nav__close .icon { width: 20px; height: 20px; }
  .nav__list {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    margin-top: 8px;
  }
  .nav__list li { width: 100%; border-bottom: 1px solid var(--line); }
  .nav__list a {
    width: 100%;
    min-height: 56px;
    font-size: 18px;
    font-weight: 500;
    color: var(--ink);
    justify-content: space-between;
  }
  .nav__list a::after {
    content: "";
    width: 16px;
    height: 16px;
    background: var(--copper);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.65' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 5 7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.65' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 5 7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat;
  }
  .nav__list a:hover { color: var(--navy); }
  .nav__extra { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 22px; }
  .nav__label {
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--copper-ink);
    margin-bottom: 2px;
  }
  .nav__contact {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 32px;
    font-size: 15px;
    color: var(--text);
    text-decoration: none;
    font-variant-numeric: tabular-nums;
  }
  .nav__contact .icon { width: 17px; height: 17px; color: var(--copper); }
  .nav__contact--text { font-size: 13.5px; color: var(--muted); }
  .nav__cta { width: 100%; margin-top: 12px; }

  .topbar__addr, .topbar__hours, .topbar__phone--second { display: none; }
  .topbar__in { gap: 18px; justify-content: space-between; }

  .hero {
    padding: 36px 0 78px;
  }
  .hero::after {
    background-image: url("../assets/notvin-hero-1200.webp");
    background-position: 62% top;
  }
  .hero::before {
    background: linear-gradient(
      180deg,
      rgba(250, 246, 238, 0.96) 0%,
      rgba(250, 246, 238, 0.88) 52%,
      rgba(250, 246, 238, 0.62) 100%
    );
  }
  .hero__copy { max-width: 34ch; }
  .hero__title { font-size: clamp(34px, 7vw, 46px); }
  .hero__lead { margin-top: 20px; max-width: 34ch; font-size: 16px; }
  .hero__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    margin-top: 20px;
    font-size: 13.5px;
    color: var(--text);
  }
  .hero__facts li { display: inline-flex; align-items: center; gap: 8px; }
  .hero__facts .icon { width: 16px; height: 16px; color: var(--copper); }

  .panel { margin-top: -46px; }
  .panel__head { grid-template-columns: minmax(0, 1fr); gap: 12px; align-items: start; }

  .order { padding: 64px 0 66px; }
  .order__grid { grid-template-columns: minmax(0, 1fr); column-gap: 0; row-gap: 34px; }
  .tariff { grid-column: auto; align-self: stretch; }
  .booking { padding: 64px 0 68px; }
  .booking__grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .svc-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .svc-aside { position: static; }
  .svc-page { padding: 22px 0 68px; }
}

/* --- Планшет: больше воздуха в герое, иллюстрация как фон ------------------ */
@media (min-width: 561px) and (max-width: 1080px) {
  .hero__copy { max-width: 46ch; }
  .hero__title { font-size: clamp(40px, 5.2vw, 52px); }
  .hero__lead { max-width: 44ch; font-size: 17px; }
  .panel { margin-top: -54px; }
}

/* --- Мобильный: панель строками ------------------------------------------ */
@media (max-width: 880px) {
  :root { --gutter: 20px; --radius-card: 16px; }

  .panel__card { border-radius: var(--radius-card); }
  .panel__top { padding: 24px 20px 22px; }
  .panel__title { font-size: clamp(24px, 5.4vw, 29px); }
  .panel__hint { font-size: 14px; }

  .tiles {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    margin-top: 20px;
  }
  .tile {
    flex-direction: row;
    justify-content: flex-start;
    gap: 14px;
    min-height: 54px;
    padding: 10px 44px 10px 14px;
    border-radius: 10px;
    text-align: left;
    position: relative;
  }
  .tile__icon { width: 24px; height: 24px; }
  .tile__label { font-size: 15px; }
  .tile::after {
    content: "";
    position: absolute;
    right: 16px;
    top: 50%;
    width: 16px; height: 16px;
    margin-top: -8px;
    background: var(--copper);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.65' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 5 7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.65' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 5 7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat;
  }
  .tile:hover { transform: none; }

  .search { margin-top: 18px; }
  .search__row { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .search__catalog { display: none; }
  .search__input { height: 52px; font-size: 15px; }
  .search__results { top: 58px; }

  .panel__facts {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    font-size: 13.5px;
    color: var(--muted);
  }
  .panel__facts li { display: inline-flex; align-items: center; gap: 9px; }
  .panel__facts .icon { width: 16px; height: 16px; color: var(--copper); flex: none; }
  .panel__cta { display: flex; width: 100%; margin-top: 16px; min-height: 50px; }
  .panel__note { margin-top: 14px; font-size: 12px; }

  .strip {
    grid-template-columns: minmax(0, 1fr);
    padding: 6px 20px 8px;
  }
  .strip__item { padding: 14px 0; gap: 12px; }
  .strip__item + .strip__item { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .strip__icon { width: 22px; height: 22px; }
  .strip__title { font-size: 14px; }
  .strip__text { font-size: 13px; }

  .order__actions .btn { flex: 1 1 auto; }
  .steps__item { grid-template-columns: 44px minmax(0, 1fr); padding: 18px 0 20px; }
  .steps__num { font-size: 19px; }
  .steps__title { font-size: 16px; }

  .booking__card { padding: 22px 20px 22px; }
  .contacts__row { grid-template-columns: 132px minmax(0, 1fr); }
  .booking__note { max-width: none; }
  .footer { padding: 36px 0 18px; }
  .footer__in { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .footer__bottom { flex-direction: column; gap: 8px; margin-top: 26px; }
  .footer__legend { max-width: none; }

  .toast { left: 16px; right: 16px; bottom: 16px; max-width: none; }

  .svc-page { padding: 18px 0 56px; }
  .crumbs__item:nth-child(2) { display: none; }
  .svc__title { font-size: clamp(32px, 8vw, 40px); }
  .svc__lead { font-size: 16.5px; }
  .svc-block { margin-top: 36px; }
  .svc-block__title { font-size: 23px; }
  .svc-block__body p { font-size: 15.5px; }
  .svc__actions .btn { flex: 1 1 160px; }
  .tariff-card { padding: 18px; gap: 14px; }
  .aside-card { padding: 22px 20px; }
}

/* --- Узкие телефоны ------------------------------------------------------- */
@media (max-width: 560px) {
  .field-row { grid-template-columns: minmax(0, 1fr); }
  .hero {
    padding-top: 30px;
    padding-bottom: 58px;
  }
  .hero::after {
    background-image: url("../assets/notvin-hero-720.webp");
    background-position: 68% top;
  }
  .hero__title { font-size: clamp(29px, 8.6vw, 34px); }
  .hero__lead { margin-top: 16px; }
  .hero__facts { margin-top: 14px; }
  .panel { margin-top: -44px; }
  .topbar__item, .topbar__mos { min-height: 44px; }
  .contacts__row { grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 11px 0; }
  .form-result__echo div { grid-template-columns: 116px minmax(0, 1fr); }
  .hero__copy { max-width: none; }
  .hero__title { font-size: clamp(31px, 9.4vw, 38px); }
  .hero__lead { font-size: 15px; }
  .hero__facts { font-size: 13px; gap: 6px 16px; }
  .panel__title { font-size: clamp(23px, 6.4vw, 27px); }
  .tariff { padding: 18px; grid-template-columns: minmax(0, 1fr); }
  .tariff__icon { display: none; }
  .tariff__links { grid-column: auto; }
  .footer__bottom { font-size: 11.5px; }
}

@media (max-width: 340px) {
  .topbar__mos { display: none; }
  .brand__role { display: none; }
}

@media (max-width: 380px) {
  :root { --gutter: 16px; }

  .panel__top { padding: 20px 16px 18px; }
  .topbar { font-size: 12px; }
  .topbar__mos .icon:first-child { display: none; }
  .brand__name { font-size: 18.5px; }
  .tile__label { font-size: 14.5px; }
  .tile { padding-left: 12px; padding-right: 40px; }
  .tile__icon { width: 22px; height: 22px; }
}

/* ---------- Без JavaScript: форма скрыта, навигация статична -------------- */
html.no-js .js-only { display: none !important; }
html.no-js .burger { display: none !important; }
html.no-js .search { display: none !important; }
html.no-js .footer__bottom > p.footer__legend { display: none !important; }
html.no-js .panel__top > noscript,
html.no-js .footer__bottom > noscript { display: contents; }
html.no-js .nav__head,
html.no-js .nav__extra { display: none !important; }
html.no-js .nav__list a::after { display: none; }

@media (max-width: 1080px) {
  html.no-js .header__in { flex-wrap: wrap; }
  html.no-js .nav {
    position: static;
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    background: transparent;
    transform: none;
    visibility: visible;
    overflow: visible;
  }
  html.no-js .nav__list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px 20px;
    margin-top: 12px;
  }
  html.no-js .nav__list li { width: auto; border: 0; }
  html.no-js .nav__list a { width: auto; min-height: 40px; font-size: 15px; }
}

/* --- Печать ---------------------------------------------------------------- */
@media print {
  .topbar, .header, .footer, .toast, .search__results, .panel__cta, .panel__facts { display: none !important; }
  body { color: #000; background: #fff; }
  .panel__card, .booking__card { box-shadow: none; border-color: #999; }
}

