/* ============================================================
   Дубрава — банный комплекс. Тема «пар и вода»:
   горячие секции (уголь) чередуются с холодными (береста).
   ============================================================ */

:root {
  --ugol: #231a13;        /* уголь — тёмные секции */
  --ugol-2: #2b2117;      /* тёмные карточки */
  --ugol-deep: #191209;   /* футер */
  --beresta: #e9eae4;     /* береста — светлые секции */
  --beliy: #f7f6f1;       /* карточки на светлом */
  --ugli: #d97b2b;        /* раскалённые угли — акцент */
  --ugli-deep: #bf611b;
  --text-dark: #efe9df;   /* текст на тёмном */
  --text-light: #251d15;  /* текст на светлом */
  --dym: #a89a88;         /* дым — приглушённый на тёмном */
  --kora: #5a4f42;        /* кора — приглушённый на светлом */
  --font-display: "Oranienbaum", "Times New Roman", serif;
  --font-body: "Golos Text", "Segoe UI", sans-serif;
  --sp-sec: clamp(4rem, 9vw, 6.75rem);
  --radius: 10px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  background: var(--ugol);
  color: var(--text-dark);
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--ugli); color: #1c130b; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.08;
  margin: 0;
}

a { color: inherit; }
ul, ol { list-style: none; margin: 0; padding: 0; }
figure { margin: 0; }
p { margin: 0; }

:focus-visible {
  outline: 2px solid var(--ugli);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--ugli);
  color: #1c130b;
  padding: .6em 1em;
  border-radius: 0 0 var(--radius) 0;
  font-weight: 600;
  text-decoration: none;
}
.skip:focus { left: 0; }

.wrap {
  width: min(1120px, 92vw);
  margin-inline: auto;
}
.wrap--narrow { width: min(760px, 92vw); }

/* ---------- Кнопки и ссылки ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  background: var(--ugli);
  color: #1c130b;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  padding: .9em 1.6em;
  border: 1px solid transparent;
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s, transform .1s;
}
.btn:hover { background: var(--ugli-deep); }
.btn:active { transform: translateY(1px); }

.btn--small { padding: .6em 1.2em; font-size: .92rem; }

.btn--ghost {
  background: transparent;
  border-color: rgba(239, 233, 223, .3);
  color: var(--text-dark);
}
.btn--ghost:hover {
  background: rgba(217, 123, 43, .12);
  border-color: var(--ugli);
  color: var(--ugli);
}

.sec--light .btn--ghost {
  border-color: rgba(37, 29, 21, .3);
  color: var(--text-light);
}
.sec--light .btn--ghost:hover {
  background: rgba(217, 123, 43, .1);
  color: var(--ugli-deep);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  color: var(--ugli);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: .1em;
  transition: border-color .2s;
}
.link-arrow svg { width: 1em; height: 1em; transition: transform .2s; }
.link-arrow:hover { border-color: currentColor; }
.link-arrow:hover svg { transform: translateX(3px); }

.eyebrow {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ugli);
  margin: 0 0 1.1rem;
}

.note {
  margin-top: 2rem;
  color: var(--dym);
  font-size: .92rem;
  text-align: center;
}

/* ---------- Промо-плашка ---------- */

.promo {
  background: var(--ugli);
  color: #1c130b;
  font-size: .86rem;
  font-weight: 500;
  text-align: center;
  padding: .6em 4vw;
}
.promo a {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: .15em;
  white-space: nowrap;
}

/* ---------- Шапка ---------- */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(30, 22, 15, .86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(239, 233, 223, .08);
}

.header__row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: .65rem;
  text-decoration: none;
  color: var(--text-dark);
}
.brand__mark { width: 34px; height: 34px; color: var(--ugli); flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-family: var(--font-display); font-size: 1.45rem; }
.brand__tag {
  font-size: .62rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--dym);
}

.nav { display: flex; gap: 1.6rem; margin-left: auto; }
.nav a {
  font-size: .95rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--dym);
  transition: color .2s;
}
.nav a:hover { color: var(--ugli); }

.header__cta { display: flex; align-items: center; gap: 1rem; }
.header__phone {
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  color: var(--text-dark);
}
.header__phone:hover { color: var(--ugli); }

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  width: 44px;
  height: 44px;
  margin-left: auto;
  background: none;
  border: 0;
  cursor: pointer;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  margin-inline: auto;
  transition: transform .2s, opacity .2s;
}
body.nav-open .burger span:first-child { transform: translateY(4.5px) rotate(45deg); }
body.nav-open .burger span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(5rem, 12vw, 8.5rem) 0 clamp(4.5rem, 10vw, 7rem);
  background: var(--ugol);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 70%;
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 90% at 50% 115%, rgba(217, 123, 43, .25), transparent 55%),
    linear-gradient(180deg, rgba(20, 14, 9, .78) 0%, rgba(20, 14, 9, .55) 42%, rgba(20, 14, 9, .88) 100%);
}

.hero__inner { position: relative; z-index: 1; max-width: 820px; }

.hero__title {
  font-size: clamp(2.7rem, 6.5vw, 4.8rem);
  letter-spacing: .01em;
}

.hero__lead {
  margin-top: 1.4rem;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--dym);
  max-width: 34em;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 2.2rem;
}

.hero__stats {
  display: flex;
  gap: clamp(1.4rem, 3.2vw, 2.6rem);
  flex-wrap: wrap;
  margin-top: clamp(2.5rem, 6vw, 4rem);
  padding-top: 1.6rem;
  border-top: 1px solid rgba(239, 233, 223, .12);
}
.hero__stats li { display: flex; flex-direction: column; }
.hero__stats strong { font-family: var(--font-display); font-size: 1.35rem; font-weight: 400; }
.hero__stats span { font-size: .85rem; color: var(--dym); }

.hero__steam { position: absolute; inset: 0; pointer-events: none; }
.hero__steam i {
  position: absolute;
  width: 38vw;
  min-width: 300px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(236, 229, 215, .09), transparent 62%);
  filter: blur(28px);
  animation: drift 26s ease-in-out infinite alternate;
}
.hero__steam i:nth-child(1) { top: -12%; right: -6%; }
.hero__steam i:nth-child(2) {
  bottom: -18%; right: 22%;
  animation-duration: 34s;
  animation-delay: -9s;
}
.hero__steam i:nth-child(3) {
  top: 22%; left: -14%;
  animation-duration: 40s;
  animation-delay: -20s;
  opacity: .7;
}
@keyframes drift {
  from { transform: translate(-6%, 3%) scale(.92); }
  to   { transform: translate(7%, -5%) scale(1.14); }
}

/* ---------- Поленница ---------- */

.polen { background: var(--beresta); }
.polen svg { display: block; width: 100%; height: 72px; }

/* ---------- Секции ---------- */

.sec { padding: var(--sp-sec) 0; }
.sec--dark { background: var(--ugol); color: var(--text-dark); }
.sec--light { background: var(--beresta); color: var(--text-light); }

.sec__title { font-size: clamp(1.9rem, 3.8vw, 2.9rem); }
.sec__sub {
  margin-top: .9rem;
  max-width: 36em;
  font-size: 1.05rem;
}
.sec--dark .sec__sub { color: var(--dym); }
.sec--light .sec__sub { color: var(--kora); }

/* ---------- Карточки «что внутри» ---------- */

.cards {
  display: grid;
  gap: 1.2rem;
  margin-top: clamp(2rem, 5vw, 3rem);
}
.cards--4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.cards--3 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }

.card {
  background: var(--beliy);
  border: 1px solid rgba(90, 79, 66, .16);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.5rem 1.4rem;
}
.card__icon { width: 38px; height: 38px; color: var(--ugli-deep); }
.card h3 { font-size: 1.35rem; margin-top: .9rem; }
.card p { margin-top: .5rem; color: var(--kora); font-size: .95rem; }

/* ---------- Цены ---------- */

.price {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--ugol-2);
  border: 1px solid rgba(239, 233, 223, .09);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.8rem 1.6rem 1.6rem;
}
.price--hit { border-color: rgba(217, 123, 43, .55); }

.price__badge {
  position: absolute;
  top: -0.85em;
  left: 1.6rem;
  background: var(--ugli);
  color: #1c130b;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: .35em .9em;
}

.price h3 { font-size: 1.55rem; }
.price__meta { margin-top: .3rem; color: var(--dym); font-size: .9rem; }
.price__cost { font-family: var(--font-display); font-size: 2.3rem; margin-top: 1rem; }
.price__cost span { font-family: var(--font-body); font-size: .85rem; color: var(--dym); }

.price__list {
  display: grid;
  gap: .45rem;
  margin: 1.1rem 0 1.6rem;
  font-size: .95rem;
}
.price__list li { display: flex; gap: .6em; align-items: baseline; }
.price__list li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ugli);
  flex: none;
  transform: translateY(-2px);
}

.price .btn { margin-top: auto; }

/* ---------- Акции и доп. услуги ---------- */

.extra {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.2rem;
  margin-top: 2.4rem;
}
.extra__col {
  background: var(--ugol-2);
  border: 1px solid rgba(239, 233, 223, .09);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.6rem 1.7rem;
}
.extra__title {
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ugli);
}
.extra__list {
  margin-top: 1.1rem;
  display: grid;
  gap: .6rem;
  font-size: .95rem;
}
.extra__list li {
  display: flex;
  gap: .6em;
  align-items: baseline;
}
.extra__list li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ugli);
  flex: none;
  transform: translateY(-2px);
}
.extra__note {
  margin-top: .2rem;
  color: var(--dym);
  font-size: .85rem;
}
.extra__note::before { display: none; }
.extra__list--grid li {
  justify-content: space-between;
  gap: 1rem;
}
.extra__list--grid li::before { display: none; }
.extra__list--grid strong { color: var(--ugli); font-weight: 600; white-space: nowrap; }

/* ---------- Шаги бронирования ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
  margin-top: clamp(2rem, 5vw, 3rem);
}
.step {
  background: var(--ugol-2);
  border: 1px solid rgba(239, 233, 223, .09);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.6rem 1.5rem;
}
.step__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: rgba(217, 123, 43, .14);
  color: var(--ugli);
  font-family: var(--font-display);
  font-size: 1.15rem;
}
.step h3 { margin-top: 1rem; font-size: 1.25rem; }
.step p { margin-top: .5rem; color: var(--dym); font-size: .93rem; }

/* ---------- Галерея ---------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: clamp(2rem, 5vw, 3rem);
}
.ph {
  position: relative;
  min-height: 210px;
  border-radius: calc(var(--radius) + 2px);
  overflow: hidden;
  background: var(--ugol-2);
}
.ph:first-child {
  grid-column: span 2;
  min-height: 300px;
}
.ph img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.ph:hover img { transform: scale(1.045); }
.ph::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(20, 14, 9, .65));
}

.ph__cap {
  position: absolute;
  left: 1rem;
  bottom: .85rem;
  z-index: 1;
  color: #f3ede2;
  font-weight: 600;
  font-size: .98rem;
}

.gallery__note {
  margin-top: 1.2rem;
  font-size: .88rem;
  color: var(--kora);
}

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

.faq { margin-top: clamp(1.5rem, 4vw, 2.5rem); }
.faq details { border-bottom: 1px solid rgba(90, 79, 66, .22); }
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.05rem .2rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--ugli-deep);
  line-height: 1;
  transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p {
  padding: 0 .2rem 1.1rem;
  color: var(--kora);
  max-width: 40em;
}

/* ---------- Заявка ---------- */

.booking {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(2rem, 6vw, 4.5rem);
  align-items: start;
}

.booking__intro { display: flex; flex-direction: column; align-items: flex-start; }
.booking__intro .btn { margin-top: 1.6rem; }

.form__hint {
  margin-top: 1.1rem;
  font-size: .84rem;
  color: var(--dym);
  max-width: 32em;
}

.booking__aside {
  border-left: 1px solid rgba(239, 233, 223, .14);
  padding-left: clamp(1.5rem, 3vw, 2.5rem);
  display: grid;
  gap: 1.8rem;
}
.aside__block h3 {
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ugli);
}
.aside__phone {
  display: inline-block;
  margin-top: .55rem;
  font-size: 1.45rem;
  font-weight: 600;
  text-decoration: none;
}
.aside__phone:hover { color: var(--ugli); }
.aside__block > p:last-child { margin-top: .4rem; color: var(--dym); font-size: .92rem; }
.aside__msg { display: flex; margin-top: .7rem; width: fit-content; }
.aside__msg + .aside__msg { margin-top: .6rem; }

/* ---------- Футер ---------- */

.footer {
  background: var(--ugol-deep);
  padding: 2.4rem 0;
  font-size: .92rem;
  color: var(--dym);
}
.footer__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer__brand { font-weight: 500; }
.footer__nav { display: flex; gap: 1.4rem; }
.footer__nav a { text-decoration: none; }
.footer__nav a:hover { color: var(--ugli); }

/* ---------- Попап бронирования ---------- */

.bm {
  --bm-blue: #2f5fe0;
  --bm-blue-deep: #2049b8;
  --bm-blue-soft: #eaf0ff;
  --bm-bg: #eef1f8;
  --bm-card: #ffffff;
  --bm-border: #dde2ee;
  --bm-text: #171a2b;
  --bm-muted: #6c7285;
  --bm-green-bg: #dff3e6;
  --bm-green-text: #1c8f4f;

  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4vh 1.5rem;
  font-family: var(--font-body);
}
.bm[hidden] { display: none; }

.bm__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 12, 8, .55);
  backdrop-filter: blur(2px);
}

.bm__panel {
  position: relative;
  z-index: 1;
  width: min(480px, 100%);
  max-height: min(88vh, 820px);
  display: flex;
  flex-direction: column;
  background: var(--bm-bg);
  color: var(--bm-text);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(10, 8, 5, .45);
  animation: bm-in .22s ease;
}
@keyframes bm-in {
  from { opacity: 0; transform: translateY(10px) scale(.98); }
  to   { opacity: 1; transform: none; }
}

.bm__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.3rem 1.4rem 1rem;
  background: var(--bm-card);
  border-bottom: 1px solid var(--bm-border);
}
.bm__brand { display: flex; gap: .8rem; align-items: center; }
.bm__avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 11px;
  background: var(--bm-blue);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.15rem;
}
.bm__title { display: block; font-weight: 700; font-size: 1.02rem; line-height: 1.25; }
.bm__sub { display: block; margin-top: .2rem; font-size: .82rem; color: var(--bm-muted); }
.bm__close {
  flex: none;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 0;
  background: var(--bm-bg);
  color: var(--bm-muted);
  cursor: pointer;
}
.bm__close svg { width: 15px; height: 15px; }
.bm__close:hover { background: var(--bm-border); color: var(--bm-text); }

.bm__body {
  flex: 1;
  overflow-y: auto;
  padding: 1.1rem 1.4rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.bm__steplabel {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--bm-blue);
  margin: 0 0 .7rem;
}

.bm__stepsummary { display: none; }
.bm__step.is-done .bm__stepbody { display: none; }
.bm__step.is-done .bm__stepsummary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: var(--bm-card);
  border: 1px solid var(--bm-border);
  border-radius: 12px;
  padding: .85em 1.1em;
}
.bm__stepsummary strong { display: block; font-size: .92rem; }
.bm__stepsummary small { display: block; margin-top: .2rem; color: var(--bm-muted); font-size: .8rem; }
.bm__editbtn {
  flex: none;
  background: none;
  border: 0;
  color: var(--bm-blue);
  font: inherit;
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
}
.bm__editbtn:hover { text-decoration: underline; }

.bm__group + .bm__group { margin-top: .7rem; }
.bm__grouphead {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: var(--bm-card);
  border: 1px solid var(--bm-border);
  border-radius: 12px;
  padding: .95em 1.1em;
  font: inherit;
  color: var(--bm-text);
  cursor: pointer;
  text-align: left;
}
.bm__grouphead strong { display: block; font-size: .95rem; }
.bm__grouphead small { display: block; margin-top: .15rem; color: var(--bm-muted); font-size: .8rem; }
.bm__chev { width: 16px; height: 16px; color: var(--bm-muted); transition: transform .18s; flex: none; }
.bm__group.is-open .bm__chev { transform: rotate(180deg); }
.bm__group.is-open .bm__grouphead { border-radius: 12px 12px 0 0; border-bottom-color: transparent; }

.bm__grouplist {
  display: none;
  border: 1px solid var(--bm-border);
  border-top: 0;
  border-radius: 0 0 12px 12px;
  overflow: hidden;
}
.bm__group.is-open .bm__grouplist { display: block; }

.bm__svc {
  display: flex;
  align-items: center;
  gap: .8rem;
  width: 100%;
  background: var(--bm-card);
  border: 0;
  border-top: 1px solid var(--bm-border);
  padding: .85em 1.1em;
  font: inherit;
  color: var(--bm-text);
  text-align: left;
  cursor: pointer;
}
.bm__svc:first-child { border-top: 0; }
.bm__svc:hover { background: var(--bm-blue-soft); }
.bm__svc[hidden] { display: none; }
.bm__svc-name { display: block; font-weight: 600; font-size: .92rem; }
.bm__svc-meta {
  display: flex;
  align-items: center;
  gap: .35em;
  margin-top: .25rem;
  color: var(--bm-muted);
  font-size: .8rem;
}
.bm__svc-meta svg { width: 13px; height: 13px; }
.bm__svc-price {
  margin-left: auto;
  flex: none;
  font-weight: 700;
  font-size: .92rem;
  white-space: nowrap;
}
.bm__svc-mark {
  flex: none;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  border: 1.6px solid var(--bm-border);
  transition: border-color .15s, background .15s;
}
.bm__svc[data-checked="true"] .bm__svc-mark {
  border-color: var(--bm-blue);
  background: var(--bm-blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5 10.5 3.2 3.2L15 6.8' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/60% no-repeat;
}
.bm__svc[data-checked="true"] { background: var(--bm-blue-soft); }

.bm__cal {
  background: var(--bm-card);
  border: 1px solid var(--bm-border);
  border-radius: 14px;
  padding: 1.1rem 1.1rem 1.3rem;
}
.bm__calhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  text-transform: capitalize;
}
.bm__calnav {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--bm-border);
  border-radius: 50%;
  background: none;
  color: var(--bm-text);
  cursor: pointer;
}
.bm__calnav svg { width: 13px; height: 13px; }
.bm__calnav:disabled { opacity: .35; cursor: default; }
.bm__calweek {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin-top: 1rem;
  font-size: .75rem;
  color: var(--bm-muted);
  text-align: center;
}
.bm__calgrid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: .3rem;
  margin-top: .4rem;
}
.bm__calday {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 9px;
  font: inherit;
  font-size: .88rem;
  color: var(--bm-text);
  background: none;
  cursor: pointer;
}
.bm__calday.is-open { background: var(--bm-green-bg); color: var(--bm-green-text); font-weight: 600; }
.bm__calday.is-disabled { color: var(--bm-border); cursor: default; }
.bm__calday.is-selected { background: var(--bm-blue) !important; color: #fff !important; }
.bm__calday.is-empty { visibility: hidden; }
.bm__calnote { margin-top: .8rem; font-size: .78rem; color: var(--bm-muted); }

.bm__times { display: flex; flex-wrap: wrap; gap: .6rem; }
.bm__time {
  border: 1px solid var(--bm-border);
  background: var(--bm-card);
  border-radius: 10px;
  padding: .6em 1em;
  font: inherit;
  font-size: .88rem;
  font-weight: 600;
  color: var(--bm-text);
  cursor: pointer;
}
.bm__time:hover { border-color: var(--bm-blue); }

.bm__fields { display: flex; flex-direction: column; gap: .9rem; }
.bm__field { display: flex; flex-direction: column; gap: .4rem; font-size: .82rem; font-weight: 600; color: var(--bm-muted); }
.bm__field input,
.bm__field textarea {
  font: inherit;
  font-size: .95rem;
  font-weight: 400;
  color: var(--bm-text);
  background: var(--bm-card);
  border: 1px solid var(--bm-border);
  border-radius: 10px;
  padding: .75em .9em;
}
.bm__field textarea { resize: vertical; min-height: 64px; }
.bm__field input:focus,
.bm__field textarea:focus { outline: none; border-color: var(--bm-blue); }

.bm__ok {
  background: var(--bm-green-bg);
  color: var(--bm-green-text);
  border-radius: 12px;
  padding: 1em 1.1em;
  font-size: .92rem;
  font-weight: 600;
}
.bm__fielderr {
  color: #b5361f;
  font-size: .82rem;
  margin-top: -.15rem;
}
.bm__field.has-error input {
  border-color: #b5361f;
}

.bm__foot {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.4rem;
  background: var(--bm-card);
  border-top: 1px solid var(--bm-border);
}
.bm__summary { display: flex; flex-direction: column; line-height: 1.3; }
.bm__summary strong { font-size: 1.02rem; }
.bm__summary span { font-size: .78rem; color: var(--bm-muted); }
.bm__submit {
  margin-left: auto;
  flex: none;
  background: var(--bm-blue);
  color: #fff;
  border: 0;
  border-radius: 11px;
  padding: .85em 1.5em;
  font: inherit;
  font-weight: 700;
  font-size: .95rem;
  cursor: pointer;
  transition: background .15s;
}
.bm__submit:hover:not(:disabled) { background: var(--bm-blue-deep); }
.bm__submit:disabled { background: var(--bm-border); color: var(--bm-muted); cursor: not-allowed; }

body.bm-open { overflow: hidden; }

@media (max-width: 560px) {
  .bm { padding: 0; align-items: flex-end; }
  .bm__panel { width: 100%; max-height: 92vh; border-radius: 18px 18px 0 0; }
}

/* ---------- Адаптив ---------- */

@media (max-width: 940px) {
  .booking { grid-template-columns: 1fr; }
  .booking__aside {
    border-left: 0;
    border-top: 1px solid rgba(239, 233, 223, .14);
    padding-left: 0;
    padding-top: 2rem;
  }
}

@media (max-width: 880px) {
  .burger { display: flex; }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    background: #241b14;
    border-bottom: 1px solid rgba(239, 233, 223, .1);
  }
  body.nav-open .nav { display: flex; }
  .nav a {
    padding: .95rem 4vw;
    border-top: 1px solid rgba(239, 233, 223, .07);
  }
  .nav a:first-child { border-top: 0; }

  .header__cta .header__phone { display: none; }
  .header__row { gap: .8rem; }
  .header__cta { margin-left: auto; }
  .burger { margin-left: 0; }
}

@media (max-width: 420px) {
  .brand__tag { display: none; }
  .brand__name { font-size: 1.15rem; }
  .header__cta .btn--small { padding: .55em 1em; font-size: .85rem; }
}

@media (max-width: 640px) {
  .gallery { grid-template-columns: 1fr 1fr; }
  .ph:first-child { grid-column: span 2; min-height: 240px; }
  .ph { min-height: 180px; }
  .hero__stats { gap: 1.4rem; }
}

@media (max-width: 460px) {
  .gallery { grid-template-columns: 1fr; }
  .ph:first-child { grid-column: auto; }
}

/* ---------- Motion / print ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__steam i { animation: none; }
  * { transition-duration: .01ms !important; }
}
