/* ============================================================
   MIROSAUNA — landing styles
   Palette: warm cream / deep charcoal-brown / cedar amber
   Mobile-first: base styles are for phones, @media = larger screens
   ============================================================ */

:root {
  --cream: #f6f1e8;
  --cream-warm: #efe6d7;
  --ink: #2b2018;
  --ink-soft: #5c4d3f;
  --cedar: #954c23;      /* точный цвет из пипетки заказчика */
  --cedar-dark: #783c1a;
  --charcoal: #241b14;
  --radius: 14px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .price {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
}

/* ---------- top bar ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: rgba(246, 241, 232, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(43, 32, 24, 0.08);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  color: var(--ink);
  text-decoration: none;
}

/* логотип-картинка в шапке */
.logo-img {
  display: block;
  height: 38px;
  width: auto;
}

/* шапка лендинга фиксированная и сплошная кремовая (тёмный логотип читается) */
.topbar-over {
  position: fixed;
  left: 0;
  right: 0;
}

/* якоря не должны заезжать под фиксированную шапку */
section[id] { scroll-margin-top: 72px; }

/* меню в шапке — только на широких экранах */
.nav-links { display: none; }

@media (min-width: 900px) {
  .nav-links {
    display: flex;
    gap: 30px;
    margin-left: auto;
    margin-right: 26px;
  }

  .nav-links a {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--ink);
    text-decoration: none;
    opacity: 0.85;
    transition: opacity 0.15s ease, color 0.15s ease;
  }

  .nav-links a:hover { color: var(--cedar-dark); opacity: 1; }
}

.logo em {
  font-style: normal;
  color: var(--cedar);
}

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  border: none;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
}

.btn-primary {
  background: var(--cedar);
  color: #fff;
  font-size: 1.05rem;
  padding: 16px 28px;
  /* в референсе кнопка плоская, без цветного свечения */
  box-shadow: 0 2px 8px rgba(43, 32, 24, 0.18);
}

.btn-primary:hover { background: var(--cedar-dark); }
.btn-primary:active { transform: scale(0.98); }

.btn-small {
  background: var(--cedar);
  color: #fff;
  font-size: 0.85rem;
  padding: 9px 16px;
}

.btn-full { width: 100%; }

/* ---------- hero ---------- */

/* герой: фото на всю ширину, текст поверх него.
   Читаемость даёт мягкая кремовая растяжка — без панели и без стыка. */
.hero {
  position: relative;
  isolation: isolate;
  text-align: left;
  padding: 104px 20px 56px;
  background: var(--cream);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
  z-index: -2;
}

/* никакой растяжки — чистое фото. Наш кадр закатный (верх светлый, низ тёмный),
   поэтому текст белый с мягкой тенью: читается и на небе, и на тёмном берегу.
   Селекторы через .hero — иначе базовые правила цвета ниже перебьют. */
.hero .hero-copy h1,
.hero .hero-sub,
.hero .hero-badge p,
.hero .hero-note {
  color: #fff;
  text-shadow: 0 2px 16px rgba(16, 11, 7, 0.75), 0 1px 3px rgba(16, 11, 7, 0.6);
}

.hero .hero-badge-icon {
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}

.hero .hero-rule {
  background: #fff;
  opacity: 0.9;
}

.hero .btn-hero { text-shadow: none; }

.hero-copy {
  max-width: 620px;
  margin: 0 auto;
}

/* тонкая линия-разделитель под заголовком */
.hero-rule {
  display: block;
  width: 56px;
  height: 2px;
  background: var(--cedar);
  margin: 18px 0;
  opacity: 0.75;
}

/* строка с иконкой: что за сауна и где работаем */
.hero-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 20px 0;
}

.hero-badge-icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid rgba(169, 100, 47, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cedar-dark);
}

.hero-badge-icon svg { width: 22px; height: 22px; }

.hero-badge p {
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.45;
}

.btn-hero { padding: 18px 32px; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cedar);
  background: rgba(169, 100, 47, 0.1);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 18px;
}

.eyebrow-light {
  color: #f0c9a8;
  background: rgba(240, 201, 168, 0.12);
}

/* заголовок держит и короткую фразу, и длинный текст из админки */
.hero h1 {
  font-size: clamp(1.75rem, 3.6vw, 2.7rem);
  line-height: 1.14;
  margin-bottom: 0;
  text-wrap: balance;
  font-weight: 700;
}

/* как в референсе — серифный тёмный подзаголовок, не мелкий серый текст;
   pre-line сохраняет переносы строк, введённые в админке */
.hero-sub {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.4vw, 1.65rem);
  line-height: 1.28;
  color: var(--ink);
  white-space: pre-line;
  margin-bottom: 4px;
}

.hero-note {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-top: 12px;
}

/* фото героя: на мобильном — полосой под текстом, на десктопе — колонкой справа */

/* ---------- tagline strip ---------- */

.tagline-strip {
  background: var(--charcoal);
  text-align: center;
  padding: 24px 20px;
}

.tagline-strip p {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 4.5vw, 1.7rem);
  letter-spacing: 0.06em;
  color: #f0c9a8;
}

/* ---------- media placeholders (replace with real photos) ---------- */

.media-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
  background:
    linear-gradient(160deg, #e7d9c3, #d9c5a8 55%, #cbb08e);
  border: 2px dashed rgba(43, 32, 24, 0.25);
  border-radius: var(--radius);
  color: var(--ink-soft);
  text-align: center;
  font-size: 0.95rem;
  padding: 20px;
}

.media-placeholder code {
  background: rgba(43, 32, 24, 0.08);
  border-radius: 4px;
  padding: 1px 5px;
}

.media-sm { min-height: 150px; font-size: 0.85rem; }

/* ---------- sections ---------- */

.section {
  padding: 38px 20px;
  max-width: 960px;
  margin: 0 auto;
}

.section h2 {
  font-size: clamp(1.6rem, 5.5vw, 2.3rem);
  text-align: center;
  margin-bottom: 34px;
}

.section-sub {
  text-align: center;
  color: var(--ink-soft);
  margin: -26px 0 34px;
}

.section-warm {
  max-width: none;
  background: var(--cream-warm);
}

.section-warm > * { max-width: 960px; margin-left: auto; margin-right: auto; }
.section-warm h2 { margin-bottom: 34px; }

/* ---------- value cards ---------- */

.cards {
  display: grid;
  gap: 16px;
}

.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 2px 10px rgba(43, 32, 24, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(43, 32, 24, 0.11);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(169, 100, 47, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cedar-dark);
  margin-bottom: 14px;
}

.card-icon svg { width: 26px; height: 26px; }

.card h3 { font-size: 1.15rem; margin-bottom: 6px; }

.card p { color: var(--ink-soft); font-size: 0.95rem; }

.card-link {
  display: inline-block;
  margin-top: 10px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--cedar-dark);
  text-decoration: none;
}

.card-link:hover { text-decoration: underline; }

/* ---------- use cases ---------- */

.usecases {
  display: grid;
  gap: 24px;
}

.usecase-img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 4px 16px rgba(43, 32, 24, 0.14);
}

/* плитка «And more…» в конце галереи */
.usecase-more {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  border: 2px dashed rgba(169, 100, 47, 0.4);
  background: rgba(169, 100, 47, 0.06);
}

.usecase-more-text {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  color: var(--cedar-dark);
  text-align: center;
}

.usecase h3 { font-size: 1.15rem; margin: 14px 0 4px; }

.usecase p { color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- интерактивные карточки-сценарии ---------- */

.usecase {
  cursor: pointer;
  transition: transform 0.25s ease;
}

.usecase-img {
  transition: transform 0.35s ease, box-shadow 0.25s ease;
  will-change: transform;
}

/* фото в рамке — зум без выхода за края */
.usecase-media {
  overflow: hidden;
  border-radius: var(--radius);
}

.usecase-media .usecase-img { border-radius: 0; box-shadow: none; }

.usecase h3 {
  transition: color 0.2s ease;
}

/* стрелка появляется при наведении.
   отступ постоянный (место под стрелку зарезервировано всегда) —
   меняется только прозрачность, поэтому высота заголовка не скачет */
.usecase h3::after {
  content: " \2192";
  color: var(--cedar);
  opacity: 0;
  margin-left: 6px;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

@media (hover: hover) {
  .usecase:hover { transform: translateY(-6px); }
  .usecase:hover .usecase-media { box-shadow: 0 12px 28px rgba(43, 32, 24, 0.2); }
  .usecase:hover .usecase-img { transform: scale(1.07); }
  .usecase:hover h3 { color: var(--cedar-dark); }
  .usecase:hover h3::after { opacity: 1; }

  .usecase-more { transition: background 0.2s ease, border-color 0.2s ease, transform 0.25s ease; }
  .usecase-more:hover {
    transform: translateY(-6px);
    background: rgba(149, 76, 35, 0.12);
    border-color: rgba(149, 76, 35, 0.7);
  }
}

/* убираем синюю обводку-фокус, оставляем аккуратную рамку для клавиатуры */
.usecase:focus-visible {
  outline: 2px solid var(--cedar);
  outline-offset: 4px;
  border-radius: var(--radius);
}

/* ---------- широкая фото-полоса в середине страницы ---------- */

.image-band {
  padding: 0;
  max-width: none;
}

.image-band img {
  display: block;
  width: 100%;
  height: clamp(280px, 42vh, 520px);
  object-fit: cover;
}

/* ---------- вступление + цепочка «как всё проходит» ---------- */

.intro-lead {
  max-width: 720px;
  margin: 0 auto 40px;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.4vw, 1.28rem);
  line-height: 1.5;
  color: var(--ink);
}

.flow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 0;
}

.flow-item {
  text-align: center;
  padding: 0 16px;
}

.flow-item + .flow-item { border-left: 1px solid rgba(43, 32, 24, 0.14); }

.flow-icon {
  display: inline-flex;
  color: var(--cedar);
  margin-bottom: 12px;
}

.flow-icon svg { width: 30px; height: 30px; }

.flow-item p {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

/* ---------- steps: круглое фото + номер ---------- */

.steps {
  list-style: none;
  display: grid;
  gap: 34px;
}

.step {
  display: flex;
  align-items: center;
  gap: 18px;
  text-align: left;
}

.step-photo {
  width: 112px;
  height: 112px;
  flex-shrink: 0;
  border-radius: 50%;
  object-fit: cover;
  /* без белого кольца — просто чистый круг с фото */
  box-shadow: 0 4px 14px rgba(43, 32, 24, 0.14);
}

.step-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.step-num {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--cedar);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.95rem;
}

.step-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  line-height: 1.2;
}

.steps p { color: var(--ink-soft); font-size: 0.95rem; }
.steps .step-head { color: var(--ink); }

/* ---------- полоса преимуществ ---------- */

.section-features { padding-top: 0; }

.features {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px 0;
}

.features li {
  text-align: center;
  padding: 0 14px;
}

.features li + li { border-left: 1px solid rgba(43, 32, 24, 0.14); }

.feature-icon {
  display: inline-flex;
  color: var(--cedar);
  margin-bottom: 10px;
}

.feature-icon svg { width: 26px; height: 26px; }

.features p {
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--ink-soft);
}

/* ---------- pricing ---------- */

.section-dark {
  max-width: none;
  background:
    radial-gradient(ellipse 80% 60% at 50% 110%, rgba(169, 100, 47, 0.25), transparent),
    var(--charcoal);
  color: #f3ece2;
  text-align: center;
}

.section-dark > * { max-width: 640px; margin-left: auto; margin-right: auto; }

.price {
  font-size: 1.3rem;
  margin: 14px auto 22px; /* auto keeps it centered — 0 would override .section-dark > * */
  color: #f3ece2;
}

.price strong {
  font-size: 3rem;
  color: #fff;
}

.price span {
  font-size: 1rem;
  color: #cbbba9;
}

.price-includes {
  list-style: none;
  display: grid;
  gap: 8px;
  margin-bottom: 24px;
  color: #d9cdbd;
  font-size: 0.98rem;
}

.price-includes li::before {
  content: "\2713  "; /* ✓ as escape — raw UTF-8 breaks if CSS is served without charset */
  color: #e8935f;
  font-weight: 700;
}

.scarcity {
  font-size: 0.95rem;
  color: #cbbba9;
  margin-bottom: 26px;
}

.scarcity strong { color: #f0c9a8; }

/* ---------- lead form ---------- */

.section-form {
  max-width: 960px;
}

/* форма — уже карточка со своим padding; не даём секциям формы и FAQ
   складывать двойной отступ на стыке */
#reserve { padding-bottom: 10px; }
#faq { padding-top: 26px; }

.booking-grid {
  display: grid;
  gap: 24px;
}

.field-title {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 8px;
}

/* --- мини-календарь --- */

.calendar {
  background: var(--cream);
  border: 1.5px solid rgba(43, 32, 24, 0.15);
  border-radius: 12px;
  padding: 12px;
  user-select: none;
}

.cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.cal-nav {
  border: none;
  background: rgba(169, 100, 47, 0.12);
  color: var(--cedar-dark);
  width: 30px;
  height: 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  cursor: pointer;
}

.cal-nav:disabled { opacity: 0.3; cursor: default; }

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}

.cal-dow {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ink-soft);
  padding: 4px 0;
}

.cal-day {
  border: none;
  background: transparent;
  font: inherit;
  font-size: 0.9rem;
  color: var(--ink);
  aspect-ratio: 1;
  border-radius: 8px;
  cursor: pointer;
}

.cal-day:hover:not(:disabled) { background: rgba(169, 100, 47, 0.15); }

.cal-day:disabled { color: rgba(43, 32, 24, 0.25); cursor: default; }

.cal-day.sel {
  background: var(--cedar);
  color: #fff;
  font-weight: 700;
}

/* дни между началом и концом диапазона — мягкая заливка */
.cal-day.in-range {
  background: rgba(169, 100, 47, 0.16);
  border-radius: 0;
}

.cal-day.range-start { border-radius: 8px 0 0 8px; }
.cal-day.range-end { border-radius: 0 8px 8px 0; }
.cal-day.range-start.range-end { border-radius: 8px; }

.cal-selected {
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-top: 8px;
}

/* --- чипы выбора --- */

.choice {
  border: none;
  padding: 0;
  margin: 0;
}

.choice legend {
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 8px;
  padding: 0;
}

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

/* #lead-form input (с id) перебивает .chip input по специфичности,
   поэтому радио тоже целим через #lead-form, иначе width:100% растягивает
   absolute-радио на ширину экрана и рвёт горизонтальную прокрутку */
#lead-form .chip input,
.chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 1px;
  height: 1px;
}

.chip span {
  display: inline-block;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1.5px solid rgba(43, 32, 24, 0.2);
  background: var(--cream);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.chip input:checked + span {
  background: var(--cedar);
  border-color: var(--cedar);
  color: #fff;
}

.chip input:focus-visible + span {
  outline: 2px solid var(--cedar-dark);
  outline-offset: 2px;
}

.form-lead {
  text-align: center;
  color: var(--ink-soft);
  margin: -14px 0 30px;
}

#lead-form {
  display: grid;
  gap: 18px;
  background: #fff;
  border-radius: var(--radius);
  padding: 28px 22px;
  box-shadow: 0 4px 24px rgba(43, 32, 24, 0.08);
}

#lead-form label {
  display: grid;
  gap: 6px;
  font-weight: 600;
  font-size: 0.92rem;
}

.booking-fields {
  display: grid;
  gap: 16px;
  align-content: start;
}

.optional { font-weight: 400; color: var(--ink-soft); }

#lead-form input {
  font: inherit;
  font-size: 1rem; /* 16px+ prevents iOS zoom-on-focus */
  padding: 13px 14px;
  border: 1.5px solid rgba(43, 32, 24, 0.2);
  border-radius: 10px;
  background: var(--cream);
  color: var(--ink);
  width: 100%;
}

#lead-form input:focus {
  outline: none;
  border-color: var(--cedar);
  background: #fff;
}

/* honeypot — hidden from humans */
.hp { position: absolute !important; left: -9999px !important; }

.form-status {
  font-size: 0.9rem;
  text-align: center;
  color: var(--cedar-dark);
  min-height: 1.2em;
  margin-top: -6px;
}

.form-privacy {
  font-size: 0.8rem;
  color: var(--ink-soft);
  text-align: center;
  margin-top: -6px;
}

.form-success {
  text-align: center;
  background: #fff;
  border-radius: var(--radius);
  padding: 44px 24px;
  box-shadow: 0 4px 24px rgba(43, 32, 24, 0.08);
}

.success-icon {
  color: #4c7a4a;
  margin-bottom: 14px;
}

.success-icon svg { width: 56px; height: 56px; }

.form-success h3 { font-size: 1.4rem; margin-bottom: 8px; }

.form-success p { color: var(--ink-soft); }

/* ---------- FAQ ---------- */

.faq {
  max-width: 640px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq details {
  background: #fff;
  border-radius: 12px;
  padding: 16px 18px;
  box-shadow: 0 2px 8px rgba(43, 32, 24, 0.05);
}

.faq summary {
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  font-size: 1.3rem;
  color: var(--cedar);
  flex-shrink: 0;
}

.faq details[open] summary::after { content: "\2013"; } /* – en dash */

.faq details p {
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* ---------- blog & articles ---------- */

.blog-hero {
  position: relative;
}

.blog-hero img {
  display: block;
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}

.blog-hero-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 24px 20px;
  background: linear-gradient(to top, rgba(36, 27, 20, 0.55), transparent 55%);
}

.blog-hero-text h1 {
  color: #fff;
  font-size: clamp(1.7rem, 6vw, 2.6rem);
  text-shadow: 0 2px 12px rgba(36, 27, 20, 0.4);
}

.blog-hero-text .eyebrow {
  background: rgba(246, 241, 232, 0.9);
  margin-bottom: 10px;
}

.blog-list {
  max-width: 720px;
  display: grid;
  gap: 18px;
}

.post-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: 0 2px 10px rgba(43, 32, 24, 0.06);
}

.post-meta {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cedar-dark);
  margin-bottom: 8px;
}

.post-meta a { color: var(--cedar-dark); text-decoration: none; }
.post-meta a:hover { text-decoration: underline; }

.post-card h2 {
  font-size: 1.35rem;
  text-align: left;
  margin-bottom: 8px;
}

.post-card h2 a { color: var(--ink); text-decoration: none; }
.post-card h2 a:hover { color: var(--cedar-dark); }

.post-card p { color: var(--ink-soft); font-size: 0.97rem; }

.prose {
  max-width: 680px;
  margin: 0 auto;
  padding: 44px 20px 60px;
}

.prose h1 {
  font-size: clamp(1.7rem, 5.5vw, 2.4rem);
  margin: 8px 0 20px;
}

.prose h2 {
  font-size: 1.3rem;
  margin: 30px 0 10px;
}

.prose p, .prose li {
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.75;
}

.prose p { margin-bottom: 14px; }

.prose ul {
  padding-left: 22px;
  margin-bottom: 14px;
}

.prose li { margin-bottom: 8px; }

.prose a { color: var(--cedar-dark); }

/* сноски-ссылки на источники [1] */
.cite {
  font-size: 0.72em;
  vertical-align: super;
  text-decoration: none;
  font-weight: 700;
  margin-left: 1px;
}

.article-cta {
  padding: 56px 20px;
  text-align: center;
}

.article-cta h2 {
  font-size: clamp(1.4rem, 5vw, 2rem);
  margin-bottom: 10px;
}

.article-cta p {
  color: #cbbba9;
  margin-bottom: 24px;
}

/* ---------- floating mobile Reserve button ---------- */

.mobile-reserve { display: none; }

@media (max-width: 759px) {
  .mobile-reserve {
    position: fixed;
    left: 14px;
    right: 14px;
    bottom: 14px;
    z-index: 50;
    display: block;
    text-align: center;
    padding: 15px;
    border-radius: 999px;
    background: var(--cedar);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(43, 32, 24, 0.32);
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  .mobile-reserve.hidden {
    opacity: 0;
    transform: translateY(120%);
    pointer-events: none;
  }

  /* запас снизу, чтобы кнопка не перекрывала подвал */
  body { padding-bottom: 78px; }

  /* в шапке кнопка не нужна — снизу уже есть плавающая */
  .topbar .btn-small { display: none; }
}

/* ---------- footer ---------- */

.footer {
  text-align: center;
  padding: 40px 20px 48px;
  background: var(--cream-warm);
  color: var(--ink-soft);
  font-size: 0.85rem;
}

.footer .logo { display: block; margin-bottom: 8px; }

.footer a { color: var(--cedar-dark); }

/* логотип в подвале — крупнее (по правке из таблицы) */
.footer-logo {
  display: inline-block;
  margin-bottom: 16px;
}

.footer-logo img {
  height: 56px;
  width: auto;
  display: block;
}

.footer-contact {
  font-size: 1rem;
  margin-bottom: 10px;
}

.footer-contact a {
  font-weight: 600;
  text-decoration: none;
}

.footer-contact a:hover { text-decoration: underline; }

.footer-dot { margin: 0 8px; color: var(--ink-soft); }

/* ============================================================
   Larger screens
   ============================================================ */

@media (min-width: 760px) {
  .booking-grid { grid-template-columns: 360px 1fr; }
}

@media (min-width: 640px) {
  .usecases { grid-template-columns: 1fr 1fr; }
  .section { padding: 48px 24px; }
  .hero { padding-top: 72px; }

  /* по макету: 4 шага цепочки и 5 преимуществ — в одну строку с разделителями */
  .flow { grid-template-columns: repeat(4, 1fr); }
  .features { grid-template-columns: repeat(5, 1fr); }

  /* шаги: фото сверху по центру, как в макете */
  .steps { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .step { flex-direction: column; text-align: center; gap: 14px; }
  .step-photo { width: 128px; height: 128px; }
  .step-head { justify-content: center; }
}

@media (min-width: 960px) {
  /* 4 фото + плитка «And more…» в одну строку; minmax(0,1fr) = ровно равные колонки */
  .usecases { grid-template-columns: repeat(5, minmax(0, 1fr)); }

  /* на широком экране растяжка идёт слева направо: текст читается на светлом,
     справа фото открыто целиком */
  .hero {
    display: flex;
    align-items: center;
    min-height: min(88vh, 820px);
    padding: 120px max(32px, calc((100vw - 1240px) / 2 + 32px)) 96px;
  }

  .hero-copy {
    max-width: 570px;
    margin: 0;
  }
}

/* ===================== Цена + что включено ===================== */
.pricing-grid {
  display: grid;
  gap: 20px;
  max-width: 980px;
  margin: 0 auto;
  text-align: left;
}
@media (min-width: 760px) {
  .pricing-grid { grid-template-columns: 1fr 1fr; align-items: stretch; }
}
.pricing-card {
  background: #fffdf9;
  border: 1px solid rgba(43, 32, 24, 0.1);
  border-radius: 18px;
  padding: 30px 30px 32px;
  box-shadow: 0 2px 14px rgba(43, 32, 24, 0.05);
}
.pricing-label {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--ink);
  margin-bottom: 18px;
}
.price-big {
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 14px;
}
.price-big strong { font-weight: 700; }
.price-was {
  font-size: 0.62em;
  color: var(--ink-soft);
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  margin-right: 10px;
  vertical-align: middle;
  font-weight: 600 !important;
}
.price-now {
  color: var(--cedar-dark);
  vertical-align: middle;
}
.price-big span {
  font-size: 0.98rem;
  color: var(--ink-soft);
  font-family: var(--font-sans, inherit);
  margin-left: 4px;
}
.price-note {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--ink-soft);
  margin-bottom: 12px;
}
.price-discount {
  font-size: 0.9rem;
  color: var(--cedar-dark);
  font-weight: 600;
}
.included-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  text-align: left;
  color: var(--ink);
  margin-bottom: 16px;
}
.included-list {
  list-style: none;
  display: grid;
  gap: 11px;
}
.included-list li {
  position: relative;
  padding-left: 28px;
  font-size: 0.98rem;
  line-height: 1.35;
  color: var(--ink);
}
.included-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--cedar);
  font-weight: 700;
}

/* ===================== Промо-попап ===================== */
.promo-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;               /* выше чат-виджета (60) */
  background: rgba(20, 14, 9, 0.62);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: promo-fade 0.25s ease;
}
/* обязательно: .promo-overlay{display:flex} иначе перебивает [hidden] */
.promo-overlay[hidden] { display: none; }

@keyframes promo-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.promo-card {
  position: relative;
  width: min(400px, 100%);
  max-height: 92vh;
  overflow-y: auto;
  background: var(--cream);
  border-radius: 20px;
  padding: 40px 28px 30px;
  text-align: center;
  box-shadow: 0 24px 60px rgba(16, 11, 7, 0.45);
  animation: promo-pop 0.32s cubic-bezier(0.2, 0.9, 0.3, 1.25);
}
@keyframes promo-pop {
  from { opacity: 0; transform: translateY(18px) scale(0.94); }
  to   { opacity: 1; transform: none; }
}

.promo-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: rgba(43, 32, 24, 0.07);
  color: var(--ink);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s ease;
}
.promo-close:hover { background: rgba(43, 32, 24, 0.15); }

.promo-eyebrow {
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--cedar);
  margin-bottom: 14px;
}

.promo-price {
  font-family: var(--font-display);
  line-height: 1;
  margin-bottom: 6px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 12px;
}
.promo-price s {
  font-size: 1.5rem;
  color: var(--ink-soft);
  opacity: 0.65;
  text-decoration-thickness: 2px;
}
.promo-price strong {
  font-size: 3.2rem;
  font-weight: 600;
  color: var(--cedar);
}

.promo-unit {
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin-bottom: 20px;
}

.promo-gift {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
  background: rgba(149, 76, 35, 0.09);
  border-radius: 12px;
  padding: 13px 16px;
  margin-bottom: 22px;
}

.promo-cta {
  width: 100%;
  font-size: 1.02rem;
  padding: 15px 20px;
}

.promo-note {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-top: 12px;
}

@media (max-width: 420px) {
  .promo-card { padding: 36px 20px 26px; }
  .promo-price strong { font-size: 2.7rem; }
}

/* ===================== Быстрый чат-заявка ===================== */
.chat {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.chat-toggle {
  width: 60px;
  height: 60px;
  border: none;
  border-radius: 50%;
  background: var(--cedar);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(43, 32, 24, 0.28);
  transition: transform 0.2s ease, background 0.2s ease;
}
.chat-toggle:hover { background: var(--cedar-dark); transform: translateY(-2px); }
.chat-toggle svg { grid-area: 1 / 1; transition: opacity 0.2s ease, transform 0.2s ease; }
.chat-ico-close { opacity: 0; transform: rotate(-45deg) scale(0.6); }
.chat.open .chat-ico-open { opacity: 0; transform: rotate(45deg) scale(0.6); }
.chat.open .chat-ico-close { opacity: 1; transform: none; }

/* подсказка-пузырь у кнопки */
.chat-bubble-hint {
  position: absolute;
  right: 72px;
  bottom: 14px;
  white-space: nowrap;
  background: #fff;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 9px 14px;
  border-radius: 20px;
  box-shadow: 0 6px 20px rgba(43, 32, 24, 0.18);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.chat-bubble-hint::after {
  content: "";
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: #fff;
  border-radius: 2px;
}
.chat.open .chat-bubble-hint,
.chat-bubble-hint.hidden {
  opacity: 0;
  transform: translateX(8px);
  pointer-events: none;
}

/* панель */
.chat-panel {
  position: absolute;
  right: 0;
  bottom: 74px;
  width: min(360px, calc(100vw - 32px));
  height: min(70vh, 520px);
  background: var(--cream);
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(43, 32, 24, 0.32);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform-origin: bottom right;
  animation: chat-in 0.24s cubic-bezier(0.2, 0.9, 0.3, 1.2);
}
.chat-panel[hidden] { display: none; }
@keyframes chat-in {
  from { opacity: 0; transform: translateY(12px) scale(0.94); }
  to   { opacity: 1; transform: none; }
}

.chat-head {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 14px;
  background: var(--charcoal);
  color: #fff;
}
.chat-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  overflow: hidden;
}
.chat-avatar img { width: 30px; height: 30px; object-fit: contain; }
.chat-head-info { display: flex; flex-direction: column; line-height: 1.25; flex: 1; }
.chat-head-info strong { font-size: 0.98rem; }
.chat-status { font-size: 0.76rem; opacity: 0.75; }
.chat-status::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6fce7a;
  margin-right: 5px;
  vertical-align: middle;
}
.chat-close {
  background: none;
  border: none;
  color: #fff;
  opacity: 0.7;
  cursor: pointer;
  padding: 4px;
  display: grid;
  place-items: center;
  transition: opacity 0.2s ease;
}
.chat-close:hover { opacity: 1; }

.chat-log {
  flex: 1;
  overflow-y: auto;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.chat-msg {
  max-width: 82%;
  padding: 10px 13px;
  border-radius: 16px;
  font-size: 0.92rem;
  line-height: 1.4;
  white-space: pre-wrap;
  animation: msg-in 0.2s ease;
}
@keyframes msg-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}
.chat-msg.bot {
  align-self: flex-start;
  background: #fff;
  color: var(--ink);
  border-bottom-left-radius: 5px;
  box-shadow: 0 1px 4px rgba(43, 32, 24, 0.08);
}
.chat-msg.me {
  align-self: flex-end;
  background: var(--cedar);
  color: #fff;
  border-bottom-right-radius: 5px;
}
.chat-typing { display: flex; gap: 4px; padding: 13px 14px; }
.chat-typing span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ink-soft);
  opacity: 0.5;
  animation: chat-dot 1s infinite;
}
.chat-typing span:nth-child(2) { animation-delay: 0.15s; }
.chat-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes chat-dot {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-4px); opacity: 0.9; }
}

.chat-input {
  display: flex;
  gap: 8px;
  padding: 10px 12px;
  border-top: 1px solid rgba(43, 32, 24, 0.1);
  background: var(--cream);
}
.chat-input input {
  flex: 1;
  font: inherit;
  font-size: 0.95rem;
  padding: 11px 14px;
  border: 1.5px solid rgba(43, 32, 24, 0.16);
  border-radius: 22px;
  background: #fff;
}
.chat-input input:focus { outline: none; border-color: var(--cedar); }
.chat-send {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border: none;
  border-radius: 50%;
  background: var(--cedar);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s ease;
}
.chat-send:hover { background: var(--cedar-dark); }
.chat-send:disabled { opacity: 0.45; cursor: default; }

/* мобильный: чат не должен спорить с плавающей кнопкой Reserve */
@media (max-width: 640px) {
  .chat { bottom: 16px; right: 16px; }
  .chat-panel { bottom: 70px; height: min(72vh, 500px); }
}
