/* ============================================================================
   Тургид 39 — дизайн-система витрины (M3).
   Источник токенов — публичные страницы M2 (tour_form.html), brand-guidelines.
   Тёплый балтийский минимализм: песок/бумага, янтарь-акцент, Georgia/serif заголовки.
   Без внешних веб-шрифтов (быстрая отдача из РФ, ноль зависимостей — принцип 5).
   ============================================================================ */

:root {
  --bg: #faf8f5; --paper: #fffdfa; --ink: #2b2b2b; --line: #e5e0d8;
  --muted: #8a8378; --amber: #c8861e; --amber-soft: #f6d28a;
  --terra: #e07a6b; --baltic: #3a6ea5; --err: #c0432e;

  --serif: Georgia, "Times New Roman", serif;
  --sans: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --wrap: 1080px;
  --radius: 14px;
  --shadow: 0 1px 0 rgba(0,0,0,.02), 0 18px 40px -28px rgba(43,43,43,.35);
  --shadow-lift: 0 1px 0 rgba(0,0,0,.02), 0 28px 56px -30px rgba(43,43,43,.45);
  /* Сильная ease-out (emil): отклик ощущается мгновенным, встроенные кривые слабоваты. */
  --ease-out: cubic-bezier(.23, 1, .32, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0; color: var(--ink); background: var(--bg);
  overflow-x: hidden;   /* страховка от горизонтального переполнения на узких экранах */
  background-image:
    radial-gradient(1200px 520px at 82% -12%, rgba(200,134,30,.10), transparent 60%),
    radial-gradient(900px 520px at -12% 108%, rgba(58,110,165,.07), transparent 55%);
  background-attachment: fixed;
  font: 16px/1.6 var(--sans);
  min-height: 100vh;
  display: flex; flex-direction: column;
}

/* --- Типографика --- */
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; letter-spacing: -.01em; color: var(--ink); }
h1 { font-size: clamp(30px, 5.6vw, 50px); margin: 0 0 14px; }
h2 { font-size: clamp(24px, 3.4vw, 34px); margin: 0 0 16px; }
h3 { font-size: 20px; margin: 0 0 8px; }
p { margin: 0 0 14px; }
a { color: var(--baltic); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
.lead { color: var(--muted); font-size: clamp(17px, 2vw, 19px); max-width: 54ch; }
.lead em { color: var(--ink); font-style: normal; box-shadow: inset 0 -2px 0 var(--amber-soft); }
.eyebrow { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }

/* --- Раскладка --- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.section { padding: clamp(48px, 8vw, 96px) 0; }
.section--tight { padding: clamp(32px, 5vw, 56px) 0; }
main { flex: 1 0 auto; }

/* --- Шапка --- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,248,245,.82); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__in { display: flex; align-items: center; gap: 22px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-family: var(--serif);
  font-size: 18px; color: var(--ink); white-space: nowrap; }
.brand:hover { text-decoration: none; }
.brand .dot { width: 11px; height: 11px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--amber-soft), var(--amber));
  box-shadow: 0 0 0 3px rgba(200,134,30,.15); flex: none; }
.brand small { font-family: var(--sans); font-size: 11px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a { color: var(--ink); font-size: 14.5px; padding: 8px 12px; border-radius: 8px;
  position: relative; }
.nav a:hover { background: rgba(200,134,30,.08); text-decoration: none; }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 12px; right: 12px;
  bottom: 3px; height: 2px; background: var(--amber); border-radius: 2px; }

/* --- Кнопки --- */
.btn { display: inline-flex; align-items: center; gap: 8px; font: inherit; font-weight: 600;
  font-size: 15px; cursor: pointer; border: none; border-radius: 10px; padding: 12px 18px;
  transition: transform .16s var(--ease-out), background .15s, box-shadow .15s, border-color .15s; }
.btn:active { transform: scale(.97); }   /* мгновенный отклик на нажатие (emil) */
.btn--primary { color: #fff; background: var(--ink); border-bottom: 3px solid var(--amber); }
.btn--primary:hover { background: #1f1f1f; text-decoration: none; box-shadow: var(--shadow); }
.btn--ghost { color: var(--ink); background: var(--paper); border: 1px solid var(--line); }
.btn--ghost:hover { border-color: var(--amber); text-decoration: none; }
.btn--sm { padding: 8px 14px; font-size: 13.5px; }
.nav .btn--primary { color: #fff; }

/* --- Карточки экскурсий --- */
.grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.card-exc { display: flex; flex-direction: column; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .2s var(--ease-out), box-shadow .2s var(--ease-out); }
/* Подъём карточки — только для мыши/точного указателя (на тач — ложный hover при тапе). */
@media (hover: hover) and (pointer: fine) {
  .card-exc:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); text-decoration: none; }
}
.card-exc__cover { aspect-ratio: 16/10; position: relative; display: grid; place-items: center;
  color: #fff; overflow: hidden; }
.card-exc__cover .mono { font-family: var(--serif); font-size: 46px; opacity: .9;
  text-shadow: 0 2px 18px rgba(0,0,0,.25); }
.card-exc__badge { position: absolute; top: 12px; left: 12px; font-size: 11.5px; font-weight: 600;
  letter-spacing: .04em; color: var(--ink); background: rgba(255,253,250,.92);
  padding: 4px 10px; border-radius: 100px; }
.card-exc__body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.card-exc__title { font-family: var(--serif); font-size: 19px; color: var(--ink); margin: 0 0 6px; line-height: 1.2; }
.card-exc__sum { color: var(--muted); font-size: 14.5px; margin: 0 0 14px; flex: 1; }
.card-exc__meta { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); }
.card-exc__more { margin-left: auto; color: var(--amber); font-weight: 600;
  display: inline-flex; align-items: center; gap: 5px; transition: gap .15s; }
.card-exc:hover .card-exc__more { gap: 9px; }

/* Плейсхолдер обложки по категории (пока нет живых фото — выглядит намеренно). */
.cover--city    { background: linear-gradient(140deg, #3a6ea5, #2b2b2b); }
.cover--nature  { background: linear-gradient(140deg, #5b8c6e, #2f5d4a); }
.cover--coast   { background: linear-gradient(140deg, #3a6ea5, #c8861e); }
.cover--castles { background: linear-gradient(140deg, #8a5a3c, #2b2b2b); }
.cover--forts   { background: linear-gradient(140deg, #54585c, #23262b); }
.cover--themed  { background: linear-gradient(140deg, #c8861e, #e07a6b); }
.cover--flat    { background: linear-gradient(140deg, #b08968, #6b4f3a); }

/* --- Врезка доверия (голос Светланы) — из M2 --- */
.trust { display: flex; gap: 14px; align-items: flex-start; background: var(--paper);
  border: 1px solid var(--line); border-left: 3px solid var(--amber);
  border-radius: 12px; padding: 16px 18px; }
.trust .ava { flex: none; width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--amber-soft), var(--terra)); color: #fff;
  font-family: var(--serif); font-size: 21px; display: grid; place-items: center; }
.trust p { margin: 0; font-size: 14.5px; }
.trust .who { color: var(--muted); font-size: 13px; margin-top: 3px; }

/* --- Знакомство на главной: высказывание о регионе + подписанная записка (M5) --- */
.intro { display: grid; gap: clamp(28px, 4vw, 40px); }
.intro__lede { font-family: var(--serif); font-weight: 600;
  font-size: clamp(22px, 3vw, 30px); line-height: 1.3; letter-spacing: -.01em;
  color: var(--ink); margin: 0; max-width: 30ch; }
.intro__lede em { font-style: normal; box-shadow: inset 0 -3px 0 var(--amber-soft); }
.meet { display: flex; gap: 18px; align-items: flex-start; background: var(--paper);
  border: 1px solid var(--line); border-left: 3px solid var(--amber);
  border-radius: var(--radius); padding: clamp(20px, 3vw, 26px); box-shadow: var(--shadow); }
.meet__ava { flex: none; width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--amber-soft), var(--terra)); color: #fff;
  font-family: var(--serif); font-size: 26px; display: grid; place-items: center; }
.meet__body { min-width: 0; }
.meet__body p { font-size: 16px; line-height: 1.7; color: var(--ink); margin: 0 0 14px; }
.meet__sign { font-family: var(--serif); font-size: 16px; color: var(--ink); margin: 0; }
.meet__sign span { display: block; font-family: var(--sans); font-size: 13px;
  color: var(--muted); margin-top: 2px; }
@media (max-width: 560px) { .meet { flex-direction: column; gap: 14px; } }

/* --- Подвал --- */
.site-footer { flex-shrink: 0; border-top: 1px solid var(--line); background: var(--paper);
  margin-top: clamp(48px, 8vw, 96px); }
.site-footer__in { display: flex; flex-wrap: wrap; gap: 18px 40px; padding: 36px 20px;
  align-items: flex-start; }
.site-footer__col { display: flex; flex-direction: column; gap: 6px; }
.site-footer__note { color: var(--muted); font-size: 13px; max-width: 40ch; }
.site-footer a { color: var(--muted); font-size: 14px; }
.site-footer__legal { width: 100%; border-top: 1px solid var(--line); padding: 16px 20px;
  color: var(--muted); font-size: 12.5px; }

/* --- Появление на загрузке (с уважением к reduced-motion) --- */
.rise { animation: rise .55s var(--ease-out) both; }
.rise:nth-child(2){animation-delay:.06s}.rise:nth-child(3){animation-delay:.12s}
.rise:nth-child(4){animation-delay:.18s}.rise:nth-child(5){animation-delay:.24s}
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* Стаггер сетки карточек — короткие задержки (emil: 30–80ms между элементами). */
.grid--stagger .card-exc { animation: rise .5s var(--ease-out) both; }
.grid--stagger .card-exc:nth-child(1){animation-delay:.03s}
.grid--stagger .card-exc:nth-child(2){animation-delay:.09s}
.grid--stagger .card-exc:nth-child(3){animation-delay:.15s}
.grid--stagger .card-exc:nth-child(4){animation-delay:.21s}
.grid--stagger .card-exc:nth-child(5){animation-delay:.27s}
.grid--stagger .card-exc:nth-child(6){animation-delay:.33s}
.grid--stagger .card-exc:nth-child(7){animation-delay:.39s}
.grid--stagger .card-exc:nth-child(8){animation-delay:.45s}
.grid--stagger .card-exc:nth-child(9){animation-delay:.51s}

@media (prefers-reduced-motion: reduce) {
  .rise, .grid--stagger .card-exc { animation: none; }
  html { scroll-behavior: auto; }
  .card-exc:hover { transform: none; }
}

/* ============================ Компоненты страниц (Ф3) ============================ */

.wrap--narrow { max-width: 760px; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.section-head { display: flex; align-items: center; justify-content: space-between;
  gap: 16px; margin-bottom: 24px; }

/* Два входа: экскурсии (активный) / жильё (скоро) */
.two-paths { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.path { display: flex; flex-direction: column; gap: 6px; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
  box-shadow: var(--shadow); transition: transform .2s var(--ease-out), border-color .2s; }
.path h3 { margin: 4px 0; }
.path--active .card-exc__more { color: var(--amber); font-weight: 600; margin-top: 6px; }
.path--soon { opacity: .72; }
.path__soon-tag { align-self: flex-start; margin-top: 8px; font-size: 12px; letter-spacing: .04em;
  color: var(--muted); background: var(--bg); border: 1px solid var(--line);
  padding: 4px 11px; border-radius: 100px; }
@media (hover: hover) and (pointer: fine) {
  .path--active:hover { transform: translateY(-3px); border-color: var(--amber); text-decoration: none; }
}

/* Страница тура */
.crumbs { font-size: 13.5px; color: var(--muted); margin-bottom: 16px; }
.crumbs a { color: var(--muted); }
.crumbs span { color: var(--muted); }
.facts { list-style: none; padding: 18px 0; margin: 22px 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts li { display: flex; flex-direction: column; gap: 3px; }
.facts span { font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.facts strong { font-size: 15px; font-weight: 600; }
.cover-hero { position: relative; aspect-ratio: 16/8; border-radius: var(--radius); overflow: hidden;
  display: grid; place-items: center; color: #fff; margin: 26px 0 8px; box-shadow: var(--shadow); }
.cover-hero .mono { font-family: var(--serif); font-size: clamp(56px, 12vw, 88px); opacity: .9;
  text-shadow: 0 2px 24px rgba(0,0,0,.3); }
.prose { font-size: 17px; margin: 24px 0; }
.block { margin: 30px 0; }
.block h2 { margin-bottom: 12px; }
/* Кнопка возврата (правило юзабилити, CLAUDE.md). */
.backlink { display: inline-block; color: var(--muted); font-size: 14px; margin-bottom: 10px; }
.backlink:hover { color: var(--ink); text-decoration: none; }
/* Страница квартиры: две зоны — витрина (слева) + липкая карточка брони (справа). ADR-23. */
.apt-grid { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: start; }
.apt-grid > * { min-width: 0; }   /* grid-дети не распирают колонку (по умолч. min-width:auto) */
@media (min-width: 900px) {
  .apt-grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 36px; }
  .apt-booking { position: sticky; top: 88px; }
}
.booking-card { background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.booking-card__head { font-family: var(--serif); font-size: 18px; display: flex;
  align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.booking-card__price { font-family: var(--serif); font-size: 26px; color: var(--ink); }
.booking-card__price span { font-size: 14px; color: var(--muted); margin-left: 6px; }
.booking-card__note { color: var(--muted); font-size: 13.5px; margin: 6px 0 16px; }
.booking-card__pay { color: var(--muted); font-size: 13px; margin: 12px 0 0; text-align: center; }
.booking-card__badges { display: flex; gap: 8px; justify-content: center; margin-top: 12px; }
.booking-card__badges span { font-size: 11px; letter-spacing: .04em; color: var(--muted);
  border: 1px solid var(--line); border-radius: 6px; padding: 3px 8px; }
.booking-chip { font-size: 11.5px; color: var(--muted); background: var(--bg);
  border: 1px solid var(--line); border-radius: 100px; padding: 4px 10px; display: inline-block; }
.booking-card > .booking-chip { margin-top: 14px; width: 100%; text-align: center; }
.btn--block { display: flex; width: 100%; justify-content: center; }
/* Поля брони (RealtyCalendar-карточка): даты, гости, расчёт. */
.booking-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 14px 0 10px; }
.booking-fields label, .booking-field { display: flex; flex-direction: column; gap: 4px;
  font-size: 12px; letter-spacing: .03em; text-transform: uppercase; color: var(--muted); }
.booking-field { margin-bottom: 10px; }
.booking-fields input, .booking-field select { font: inherit; font-size: 15px; text-transform: none;
  letter-spacing: 0; color: var(--ink); background: var(--bg); border: 1px solid var(--line);
  border-radius: 10px; padding: 9px 11px; min-width: 0; width: 100%; }
.booking-fields input:focus, .booking-field select:focus { outline: none; border-color: var(--amber); }
.booking-hint { font-size: 13px; color: var(--muted); margin: 0 0 10px; }
.booking-hint--err { color: var(--err); }
.booking-calc { background: var(--bg); border: 1px solid var(--line); border-radius: 10px;
  padding: 10px 12px; font-size: 14.5px; color: var(--ink); margin-bottom: 12px; }
.booking-calc strong { font-family: var(--serif); font-size: 17px; }
/* Путь A — ручная бронь (ADR-24): бейдж режима, строка расчёта по гостям, звонок менеджеру. */
.mode-tag { font-size: 11px; letter-spacing: .04em; text-transform: uppercase;
  color: var(--baltic); margin-bottom: 8px; }
.booking-breakdown { font-size: 12.5px; color: var(--muted); margin: 0 0 8px; }
.booking-breakdown span { color: var(--ink); }
.booking-call { display: flex; align-items: center; gap: 10px; margin-top: 14px;
  padding: 11px 13px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg);
  color: var(--ink); font-size: 13px; line-height: 1.35; text-decoration: none;
  transition: border-color .12s, background .12s; }
.booking-call:hover { border-color: var(--amber); background: #fdf6e9; text-decoration: none; }
.booking-call__ico { font-size: 18px; flex: none; }
.booking-call b { font-family: var(--serif); font-weight: 600; }
.booking-call__tel { white-space: nowrap; }   /* номер целиком, не рвём между группами цифр */
/* Карта расположения квартиры (Яндекс, ADR-24 Фаза 4). */
.apt-map__frame { position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); aspect-ratio: 16/9; background: var(--bg); }
.apt-map__frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.apt-map__addr { margin-top: 10px; font-size: 13.5px; color: var(--muted); }
.apt-map__addr b { color: var(--ink); font-weight: 600; }
/* Галерея квартиры: адаптивная сетка миниатюр (M4). */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.gallery__item { display: block; aspect-ratio: 4/3; overflow: hidden; border-radius: 10px;
  border: 1px solid var(--line); background: var(--paper); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .35s ease; }
.gallery__item:hover img { transform: scale(1.05); }
.gallery__item { cursor: zoom-in; }
/* Лайтбокс: полноэкранный просмотр фото с листанием (M4). */
.lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(0,0,0,.92);
  display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lightbox__img { max-width: 92vw; max-height: 88vh; object-fit: contain; border-radius: 6px;
  box-shadow: 0 12px 48px rgba(0,0,0,.6); }
.lightbox__btn { position: absolute; background: rgba(255,255,255,.14); color: #fff; border: none;
  cursor: pointer; display: flex; align-items: center; justify-content: center; line-height: 1;
  border-radius: 50%; transition: background .2s; }
.lightbox__btn:hover { background: rgba(255,255,255,.3); }
.lightbox__close { top: 16px; right: 18px; width: 46px; height: 46px; font-size: 28px; }
.lightbox__prev, .lightbox__next { top: 50%; transform: translateY(-50%); width: 54px; height: 54px;
  font-size: 34px; }
.lightbox__prev { left: 14px; } .lightbox__next { right: 14px; }
.lightbox__counter { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%);
  color: #fff; font-size: 14px; background: rgba(0,0,0,.4); padding: 4px 12px; border-radius: 100px; }
@media (max-width: 600px) {
  .lightbox__prev, .lightbox__next { width: 44px; height: 44px; font-size: 26px; }
}
.route { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.route li { position: relative; padding-left: 22px; }
.route li::before { content: "→"; position: absolute; left: 0; color: var(--amber); font-weight: 700; }
.note { background: var(--paper); border: 1px solid var(--line); border-left: 3px solid var(--baltic);
  border-radius: 12px; padding: 18px 20px; }
.note h2 { font-size: 18px; margin-bottom: 8px; }
.note p { margin: 0; }
.cta-card { display: flex; align-items: center; justify-content: space-between; gap: 18px;
  flex-wrap: wrap; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px 24px; margin-top: 30px; box-shadow: var(--shadow); }
.cta-card .btn { flex: none; }

/* Публичный календарь занятости (Ф4) */
.cal { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; box-shadow: var(--shadow); margin-top: 24px; }
.cal__head { display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-bottom: 14px; }
.cal__label { font-family: var(--serif); font-size: 20px; text-transform: capitalize; }
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal__weekdays { margin-bottom: 6px; }
.cal__weekdays span { text-align: center; font-size: 12px; color: var(--muted); padding: 4px 0; }
.cal__cell { position: relative; aspect-ratio: 1/1; border-radius: 10px; display: flex;
  flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  border: 1px solid transparent; font-size: 14px; }
.cal__num { font-weight: 600; }
.cal__tag { font-size: 9.5px; letter-spacing: .03em; text-transform: uppercase; }
.is-out { background: transparent; }
.is-past { color: var(--muted); opacity: .45; background: var(--bg); }
.is-past .cal__num { font-weight: 400; }
.is-busy { background: #f4ece2; color: var(--muted); border-color: var(--line); }
.is-free { background: rgba(58,110,165,.07); border-color: rgba(58,110,165,.25); color: var(--ink);
  transition: transform .15s var(--ease-out), background .15s, border-color .15s; }
.is-free .cal__tag { color: var(--baltic); }
@media (hover: hover) and (pointer: fine) {
  .is-free:hover { background: rgba(200,134,30,.12); border-color: var(--amber);
    transform: translateY(-2px); text-decoration: none; }
}
.cal__legend { display: flex; gap: 18px; margin-top: 14px; font-size: 13px; color: var(--muted); }
.cal__legend i { display: inline-block; width: 12px; height: 12px; border-radius: 4px;
  vertical-align: -1px; margin-right: 5px; }
.dot--free { background: rgba(58,110,165,.25); border: 1px solid rgba(58,110,165,.5); }
.dot--busy { background: #e6d8c6; border: 1px solid var(--line); }

/* --- Мобильная адаптация --- */
@media (max-width: 640px) {
  .brand small { display: none; }
  .brand { font-size: 16px; gap: 7px; }       /* компактнее, чтобы меню влезало целиком */
  .site-header__in { gap: 12px; }
  .nav { gap: 0; }
  .nav a:not(.btn) { padding: 8px 8px; font-size: 13px; }
  .nav .btn { display: none; } /* CTA дублируется в контенте на мобильном */
  .two-paths { grid-template-columns: 1fr; }
}
/* Узкие Android (Galaxy S25 ≈360px CSS): ужимаем шапку, чтобы «Календарь» не обрезался */
@media (max-width: 400px) {
  .site-header .wrap { padding-left: 14px; padding-right: 14px; }
  .site-header__in { gap: 8px; }
  .nav a:not(.btn) { padding: 8px 6px; }
  .booking-fields { grid-template-columns: 1fr; }   /* даты — в столбик, чтобы не распирали узкий экран */
}
@media (max-width: 420px) {
  .cal { padding: 12px; }
  .cal__grid { gap: 4px; }
  .cal__tag { display: none; }   /* на узких экранах — только цвет+число */
}
