/* =========================================================
   Славянская Корчма — стили сайта
   Фирменный стиль взят с буклета: шоколадный, оранжевый,
   бежевый, белые звёзды-вышиванки.
   ========================================================= */

:root {
  --choc-900: #24160F;
  --choc: #3B2418;
  --choc-700: #4E3123;
  --orange: #E2661E;
  --orange-600: #C4520F;
  --orange-300: #F6A45C;
  --beige: #F1DDBF;
  --sand: #E8CFA8;
  --cream: #FAF3E8;
  --paper: #FFFBF5;
  --ink: #2A1A12;
  --muted: #6F5646;
  --line: rgba(59, 36, 24, .14);
  --line-dark: rgba(241, 221, 191, .16);

  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Kurale", Georgia, "Times New Roman", serif;
  --font-script: "Lobster", "Kurale", Georgia, serif;

  --container: 1180px;
  --gutter: 20px;
  --section-y: clamp(64px, 9vw, 112px);
  --radius: 14px;
  --header-h: 72px;

  /* звезда-вышиванка для фонов */
  --star-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath fill='%233B2418' d='M50 0 58 34 92 8 66 42 100 50 66 58 92 92 58 66 50 100 42 66 8 92 34 58 0 50 34 42 8 8 42 34Z'/%3E%3C/svg%3E");
  --star-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath fill='%23F1DDBF' d='M50 0 58 34 92 8 66 42 100 50 66 58 92 92 58 66 50 100 42 66 8 92 34 58 0 50 34 42 8 8 42 34Z'/%3E%3C/svg%3E");
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
ul { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 400; line-height: 1.15; text-wrap: balance; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

.ico { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--orange); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* ---------- Layout ---------- */
.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); position: relative; }
.section--light { background: var(--paper); }
.section--cream { background: var(--beige); }
.section--dark { background: var(--choc); color: var(--beige); }
.section--dark h2 { color: var(--paper); }

/* россыпь звёзд на тёмных секциях, как в буклете */
.section--dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    var(--star-dark) right 6% top 48px / 140px no-repeat,
    var(--star-dark) right 22% bottom 40px / 70px no-repeat,
    var(--star-dark) left 4% bottom 18% / 56px no-repeat;
  opacity: .06;
  pointer-events: none;
}
.section--cream::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    var(--star-light) right 5% top 40px / 120px no-repeat,
    var(--star-light) left 3% bottom 40px / 64px no-repeat;
  opacity: .06;
  pointer-events: none;
}
.section > .container { position: relative; }

.section__head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 48px); }
.section__head h2, .section h2 { font-size: clamp(2rem, 4.4vw, 3rem); margin-bottom: 16px; }
.section__lead { font-size: 1.1rem; color: var(--muted); }
.section--dark .section__lead { color: var(--sand); }

.eyebrow {
  font-family: var(--font-script);
  font-size: 1.35rem;
  line-height: 1.2;
  color: var(--orange-600);
  margin-bottom: 8px;
}
.eyebrow--orange { color: var(--orange-300); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 12px 26px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:active { transform: translateY(1px); }
.btn--orange { background: var(--orange); color: #fff; }
.btn--orange:hover { background: var(--orange-600); }
.btn--ghost { border-color: rgba(241, 221, 191, .45); color: var(--paper); }
.btn--ghost:hover { border-color: var(--beige); background: rgba(241, 221, 191, .08); }
.btn--brown { background: var(--choc); color: var(--beige); }
.btn--line { border-color: var(--line); color: var(--ink); background: var(--paper); }
.btn--line:hover { border-color: var(--orange); color: var(--orange-600); }
.btn--brown:hover { background: var(--choc-700); }
.btn--sm { min-height: 42px; padding: 8px 18px; font-size: .92rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--choc-900);
  color: var(--beige);
  border-bottom: 3px solid var(--orange);
}
.header__inner { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }
.logo { display: flex; flex: none; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.logo__mark { display: block; flex: none; width: 52px; height: 52px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(241, 221, 191, .35); }
.logo__text { display: flex; flex-direction: column; line-height: 1.1; }
.logo__name { font-family: var(--font-head); font-size: 1.3rem; color: var(--paper); white-space: nowrap; }
.logo__tag { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-300); margin-top: 3px; }

.nav ul { display: flex; gap: 20px; }
.nav a { text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--beige); transition: color .2s; }
.nav a:hover { color: var(--orange-300); }
.nav__phone { display: none; }

.header__phone { display: flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 700; white-space: nowrap; color: var(--paper); }
.header__phone .ico { color: var(--orange); width: 18px; height: 18px; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 10px; background: none; border: 0; }
.nav-toggle span { width: 24px; height: 2px; background: var(--beige); transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1180px) {
  .header__phone span { display: none; }
  .nav ul { gap: 16px; }
}
@media (max-width: 1000px) {
  :root { --header-h: 64px; }
  .nav-toggle { display: flex; }
  .header__phone { display: none; }
  .logo__mark { width: 44px; height: 44px; }
  .logo__name { font-size: 1.15rem; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--choc-900);
    border-bottom: 3px solid var(--orange);
    padding: 8px var(--gutter) 24px;
    display: none;
  }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav a { display: block; padding: 14px 0; font-size: 1.1rem; border-bottom: 1px solid var(--line-dark); }
  .nav__phone { display: block; margin-top: 16px; font-size: 1.3rem !important; color: var(--orange-300) !important; border: 0 !important; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--beige);
  background:
    radial-gradient(120% 80% at 75% 55%, #7A3F1F 0%, rgba(122, 63, 31, 0) 60%),
    linear-gradient(180deg, #2A1A12 0%, #4A2A1A 55%, #6B3A1E 100%);
  padding-block: clamp(80px, 11vw, 150px);
}
.hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
}
/* затемнение, чтобы текст читался поверх фото */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(36, 22, 15, .9) 0%, rgba(36, 22, 15, .62) 42%, rgba(36, 22, 15, .12) 75%),
    linear-gradient(0deg, rgba(36, 22, 15, .6) 0%, rgba(36, 22, 15, 0) 40%);
}
.hero__inner { z-index: 1; }
.hero__inner { position: relative; }
.hero__eyebrow {
  display: inline-block;
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange-300);
  margin-bottom: 20px;
}
.hero__title {
  font-family: var(--font-script);
  font-size: clamp(2.6rem, 7.4vw, 5.4rem);
  line-height: 1.05;
  color: var(--paper);
  max-width: 12ch;
  text-shadow: 0 2px 30px rgba(36, 22, 15, .5);
}
.hero__lead { max-width: 560px; margin-top: 22px; font-size: clamp(1.02rem, 1.6vw, 1.18rem); color: var(--beige); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__rating {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  font-size: .92rem;
  text-decoration: none;
  color: var(--beige);
}
.hero__rating b { color: var(--paper); }
.stars { color: var(--orange-300); letter-spacing: 2px; }

/* ---------- Услуги (плашка под героем) ---------- */
.services {
  background: var(--choc-900);
  border-top: 3px solid var(--orange);
  color: var(--beige);
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}
.service {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 22px 8px;
  text-align: center;
  font-size: .88rem;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  transition: background-color .2s, color .2s;
}
.service .ico { width: 30px; height: 30px; color: var(--orange-300); stroke-width: 1.5; }
.service:hover { background: var(--choc); color: var(--paper); }
@media (max-width: 900px) {
  .services__grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 520px) {
  .services__grid { grid-template-columns: repeat(3, 1fr); padding-inline: 8px; }
  .service { padding: 16px 4px; font-size: .8rem; }
  .service .ico { width: 26px; height: 26px; }
}

/* ---------- Цифры ---------- */
.facts { background: var(--beige); padding-block: 36px; border-bottom: 1px solid var(--line); }
.facts__list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.facts__list li { display: flex; flex-direction: column; align-items: center; text-align: center; }
.facts__list b { font-family: var(--font-head); font-weight: 400; font-size: clamp(2.2rem, 4vw, 3rem); line-height: 1; color: var(--orange-600); font-variant-numeric: tabular-nums; }
.facts__list span { margin-top: 6px; font-size: .9rem; color: var(--muted); line-height: 1.3; }
@media (max-width: 700px) {
  .facts__list { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
  .facts__list li:last-child { grid-column: 1 / -1; }
}

/* ---------- Залы ---------- */
.halls { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.hall {
  position: relative;
  overflow: hidden;
  padding: 28px 26px 26px;
  border-radius: var(--radius);
  background: var(--choc);
  color: var(--beige);
}
.hall__photo { margin: -28px -26px 22px; aspect-ratio: 4 / 3; overflow: hidden; }
.hall__photo img { width: 100%; height: 100%; object-fit: cover; }
.hall__star { position: absolute; right: -18px; bottom: -18px; width: 110px; height: 110px; fill: var(--beige); opacity: .08; }
.hall__num { display: block; font-family: var(--font-head); font-weight: 400; font-size: 3.2rem; line-height: 1; color: var(--orange-300); }
.hall__num::after { content: " мест"; font-family: var(--font-body); font-size: .9rem; color: var(--sand); letter-spacing: .02em; }
.hall h3 { font-size: 1.55rem; color: var(--paper); margin: 14px 0 6px; }
.hall p { color: var(--sand); font-size: .96rem; }
@media (max-width: 820px) { .halls { grid-template-columns: 1fr; } }

/* ---------- Меню ---------- */
.menu {
  margin-top: 56px;
  padding: clamp(24px, 4vw, 44px);
  border-radius: var(--radius);
  background: var(--cream);
  border: 1px solid var(--line);
}
.menu__title { font-size: 1.8rem; margin-bottom: 18px; }
.menu-tabs { display: flex; gap: 8px; overflow-x: auto; margin: 0 calc(-1 * clamp(24px, 4vw, 44px)) 20px; padding: 2px clamp(24px, 4vw, 44px) 6px; scrollbar-width: none; }
.menu-tabs::-webkit-scrollbar { display: none; }
.menu-tabs button {
  flex: none;
  padding: 8px 18px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  font-weight: 600;
  font-size: .95rem;
  transition: background-color .2s, color .2s, border-color .2s;
}
.menu-tabs button:hover { border-color: var(--orange); }
.menu-tabs button[aria-selected="true"] { background: var(--choc); border-color: var(--choc); color: var(--beige); }
.menu__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-bottom: 20px; }
.menu__head .menu__title { margin: 0; }
.menu-switch { display: inline-flex; padding: 4px; gap: 4px; border-radius: 999px; background: var(--beige); }
.menu-switch button {
  padding: 9px 18px;
  border: 0;
  border-radius: 999px;
  background: none;
  font-weight: 700;
  font-size: .95rem;
  color: var(--muted);
  transition: background-color .2s, color .2s;
}
.menu-switch button:hover { color: var(--ink); }
.menu-switch button[aria-pressed="true"] { background: var(--orange); color: #fff; }
.menu__catnote { margin: -6px 0 10px; font-size: .92rem; color: var(--orange-600); font-weight: 600; }

.menu-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; }
.menu-item {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: baseline;
  gap: 4px 16px;
  padding-block: 13px;
  border-bottom: 1px dashed var(--line);
}
.menu-item__main { min-width: 0; }
.menu-item__name { font-weight: 600; }
.menu-item__desc { display: block; font-size: .86rem; line-height: 1.4; color: var(--muted); margin-top: 2px; }
.menu-item__weight { font-size: .85rem; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.menu-item__price { white-space: nowrap; font-weight: 700; color: var(--orange-600); font-variant-numeric: tabular-nums; text-align: right; }
.menu-item__price small { font-size: .78em; font-weight: 600; }
.menu__note { margin-top: 22px; font-size: .9rem; color: var(--muted); }
@media (max-width: 720px) { .menu-list { grid-template-columns: 1fr; } }

/* ---------- Дегустации ---------- */
.tasting { background: linear-gradient(160deg, var(--choc-900), var(--choc) 60%); }
.tasting__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.tasting__claim {
  font-family: var(--font-head);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.4;
  color: var(--paper);
  padding-left: 18px;
  border-left: 3px solid var(--orange);
  margin-bottom: 18px;
}
.tasting p { max-width: 62ch; }
.checks { display: grid; gap: 10px; margin-top: 22px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks .ico { color: var(--orange-300); margin-top: 3px; stroke-width: 2.2; }
.tasting__price { margin-top: 22px; font-size: 1rem; color: var(--sand); }
.tasting__price b { font-family: var(--font-head); font-weight: 400; font-size: 1.6rem; color: var(--orange-300); margin-right: 4px; }
.tasting__card {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--radius);
  background: var(--orange);
  color: #fff;
}
.tasting__card p:first-of-type { position: relative; font-family: var(--font-script); font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.2; }
.tasting__small { position: relative; margin-top: 18px; font-size: .98rem; color: #FFE9D6; }
.tasting__star { position: absolute; right: -40px; bottom: -40px; width: 220px; height: 220px; fill: #fff; opacity: .14; }
@media (max-width: 880px) { .tasting__grid { grid-template-columns: 1fr; } }

/* ---------- Праздники ---------- */
.tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tags li {
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--beige);
  font-weight: 600;
}


/* ---------- Фото ---------- */
.subhead { font-size: 1.8rem; margin: 56px 0 18px; }
.gallery { display: grid; gap: 14px; }
.gallery__item {
  display: block;
  padding: 0;
  border: 0;
  background: var(--sand);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery__item:hover img { transform: scale(1.04); }

/* лента, листается вбок */
.gallery--strip {
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 3 * 14px) / 4);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  padding-bottom: 6px;
}
.gallery--strip .gallery__item { aspect-ratio: 1; scroll-snap-align: start; }
#stay .gallery--strip { grid-auto-columns: calc((100% - 2 * 14px) / 3); margin-bottom: 28px; }
#stay .gallery--strip .gallery__item { aspect-ratio: 4 / 3; }

/* мозаика: первое фото крупно */
.gallery--mosaic { grid-template-columns: repeat(3, 1fr); grid-auto-rows: clamp(150px, 17vw, 210px); margin-top: 36px; }
.gallery--mosaic .gallery__item:first-child { grid-column: span 2; grid-row: span 2; }
.gallery--terr { margin: 0 0 28px; }

.gallery--duo { grid-template-columns: 1fr 1fr; margin-top: 16px; }
.gallery--duo .gallery__item { aspect-ratio: 16 / 9; }

/* баня: большое фото снаружи + 4 внутри */
.gallery--banya { grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(150px, 17vw, 220px); margin-top: 40px; }
.gallery--banya .gallery__item:first-child { grid-column: span 2; grid-row: span 2; }
@media (max-width: 640px) {
  .gallery--banya { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; margin-top: 28px; }
  .gallery--banya .gallery__item:first-child { grid-column: 1 / -1; grid-row: span 2; }
}

.tasting__side { display: grid; gap: 16px; }
.gallery--tasting { grid-template-columns: 1fr 1fr; gap: 12px; }
.gallery--tasting .gallery__item { aspect-ratio: 1; }
.gallery--tasting .gallery__item:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; }

/* ---------- Просмотр фото ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 64px;
  background: rgba(20, 12, 8, .94);
}
.lightbox[hidden] { display: none; }
.lightbox__img { max-width: 100%; max-height: calc(100vh - 140px); border-radius: 8px; object-fit: contain; }
.lightbox__caption { position: absolute; left: 16px; right: 16px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); text-align: center; color: var(--sand); font-size: .95rem; }
.lightbox__close, .lightbox__nav {
  position: absolute;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(241, 221, 191, .12);
  color: var(--paper);
  font-size: 2rem;
  line-height: 1;
}
.lightbox__close:hover, .lightbox__nav:hover { background: var(--orange); }
.lightbox__close { top: calc(12px + env(safe-area-inset-top, 0px)); right: 12px; }
.lightbox__nav--prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 12px; top: 50%; transform: translateY(-50%); }
body.no-scroll { overflow: hidden; }

/* ---------- Цены ---------- */
.prices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.prices--3 { grid-template-columns: repeat(3, 1fr); }
.price-card {
  padding: 26px 24px;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.price-card h3 { font-size: 1.45rem; }
.price-card__meta { color: var(--muted); font-size: .92rem; margin-top: 4px; }
.price-card__price { margin-top: auto; padding-top: 22px; font-weight: 700; color: var(--muted); }
.price-card__price b { font-family: var(--font-head); font-weight: 400; font-size: 2.6rem; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.price-card__unit { font-size: .88rem; color: var(--muted); }
.price-card--accent { background: var(--choc); border-color: var(--choc); color: var(--beige); }
.price-card--accent h3, .price-card--accent .price-card__price b { color: var(--paper); }
.price-card--accent .price-card__price, .price-card--accent .price-card__unit { color: var(--sand); }
.price-card--list ul { margin-top: 14px; }
.price-card--list li { display: flex; justify-content: space-between; gap: 12px; padding-block: 10px; border-bottom: 1px dashed var(--line); }
.price-card--list li:last-child { border-bottom: 0; }
.price-card--list b { white-space: nowrap; color: var(--orange-600); }
@media (max-width: 900px) { .prices { grid-template-columns: repeat(2, 1fr); } .prices--3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .prices, .prices--3 { grid-template-columns: 1fr; } }

/* ---------- Домики ---------- */
.cottage {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  margin-top: 28px;
  padding: clamp(26px, 4vw, 40px);
  border-radius: var(--radius);
  background: var(--paper);
  border: 2px solid var(--orange);
}
.cottage h3 { font-size: 1.7rem; margin-bottom: 8px; }
.cottage p:not(.eyebrow) { color: var(--muted); }
.cottage__prices { display: grid; gap: 12px; }
.cottage__prices div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; border-bottom: 1px dashed var(--line); padding-bottom: 8px; }
.cottage__prices dt { color: var(--muted); font-size: .95rem; }
.cottage__prices dd { font-weight: 700; white-space: nowrap; }
.cottage__prices b { font-family: var(--font-head); font-weight: 400; font-size: 2rem; color: var(--orange-600); font-variant-numeric: tabular-nums; }
.cottage__info { display: grid; gap: 22px; justify-items: start; }
.cottage__prices { width: 100%; }
.cottage__note { margin-top: -10px; font-size: .9rem; color: var(--muted); }
.cottage__media { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.cottage__media video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 12px; background: var(--sand); }
@media (max-width: 900px) { .cottage { grid-template-columns: 1fr; } }

.gazebos__grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 16px; align-items: stretch; }
.gazebos__grid .prices--gazebo { grid-template-columns: 1fr 1fr; align-content: start; }
.gazebos__grid .prices--gazebo .price-card--list { grid-column: auto; }
/* фото подстраивается под высоту карточек, а не растягивает их */
.gallery--gazebo .gallery__item { position: relative; height: 100%; min-height: 300px; }
.gallery--gazebo img { position: absolute; inset: 0; object-position: 50% 60%; }
@media (max-width: 820px) {
  .gazebos__grid { grid-template-columns: 1fr; }
  .gallery--gazebo .gallery__item { aspect-ratio: 4 / 3; min-height: 0; }
}

.promo { margin-top: 48px; }
.promo__video { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius); background: var(--choc-900); object-fit: cover; }

/* ---------- Баня ---------- */
.banya__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.banya__grid > div > p { margin-bottom: 14px; max-width: 58ch; }
.banya .btn { margin-top: 14px; }
.pricelist {
  border-radius: var(--radius);
  background: var(--choc-900);
  border: 1px solid var(--line-dark);
  overflow: hidden;
}
.pricelist__main {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 24px 26px;
  background: var(--orange);
  color: #fff;
  font-weight: 600;
}
.pricelist__main b { font-family: var(--font-head); font-weight: 400; font-size: 2.2rem; line-height: 1; white-space: nowrap; }
.pricelist ul { padding: 10px 26px 18px; }
.pricelist li { display: flex; justify-content: space-between; gap: 16px; padding-block: 12px; border-bottom: 1px dashed var(--line-dark); }
.pricelist li:last-child { border-bottom: 0; }
.pricelist li b { color: var(--orange-300); white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (max-width: 880px) { .banya__grid { grid-template-columns: 1fr; } }

/* ---------- Территория ---------- */
.amenities { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.amenities li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-radius: var(--radius);
  background: var(--paper);
  font-weight: 600;
}
.amenities .ico { width: 28px; height: 28px; color: var(--orange-600); }
@media (max-width: 820px) { .amenities { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .amenities { grid-template-columns: 1fr; } }

/* ---------- Бронирование ---------- */
.booking__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.booking__phone {
  display: inline-block;
  margin-top: 22px;
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.6vw, 2.4rem);
  color: var(--orange-300);
  text-decoration: none;
}
.messengers { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.messengers a {
  padding: 8px 18px;
  border: 1.5px solid var(--line-dark);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: .95rem;
  transition: border-color .2s, color .2s;
}
.messengers a:hover { border-color: var(--orange-300); color: var(--paper); }

.form {
  display: grid;
  gap: 16px;
  padding: clamp(24px, 4vw, 36px);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
}
.field { display: grid; gap: 6px; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { font-size: .9rem; font-weight: 600; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: #fff;
  font-size: 1rem;
  transition: border-color .2s;
}
.field textarea { resize: vertical; min-height: 90px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); }
.field input[aria-invalid="true"] { border-color: #B3261E; }
.form__error { color: #B3261E; font-size: .92rem; font-weight: 600; }
@media (max-width: 880px) { .booking__grid { grid-template-columns: 1fr; } }
@media (max-width: 380px) { .field-row { grid-template-columns: 1fr; } }

/* ---------- Контакты ---------- */
.contacts__grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 5vw, 56px); align-items: stretch; }
.contact-list { display: grid; gap: 18px; margin: 8px 0 28px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .ico { color: var(--orange-600); margin-top: 3px; }
.contact-list a { text-decoration: none; font-weight: 700; }
.contact-list small { color: var(--muted); font-size: .9rem; }
.map { min-height: 380px; border-radius: var(--radius); overflow: hidden; background: var(--beige); }
.map iframe { display: block; width: 100%; height: 100%; min-height: 380px; border: 0; }
@media (max-width: 880px) { .contacts__grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--choc-900); color: var(--sand); padding-block: 40px; border-top: 3px solid var(--orange); font-size: .95rem; }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.footer__inner > div:first-child { display: flex; align-items: center; gap: 18px; }
.footer__logo { width: 96px; height: 96px; flex: none; }
.footer__name { font-family: var(--font-head); font-size: 1.5rem; color: var(--paper); }
.footer__meta { display: flex; flex-direction: column; gap: 4px; text-align: right; }
.footer__meta a { text-decoration: none; }
.footer__meta a:hover { color: var(--orange-300); }
@media (max-width: 600px) { .footer__meta { text-align: left; } }

/* ---------- Нижняя панель на телефоне ---------- */
.mobile-bar { display: none; }
@media (max-width: 1000px) {
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px)); }
  .mobile-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 8px;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px));
    background: var(--choc-900);
    border-top: 3px solid var(--orange);
    box-shadow: 0 -6px 20px rgba(36, 22, 15, .25);
  }
  .mobile-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
  }
  .mobile-bar__call { color: var(--paper); border: 1.5px solid rgba(241, 221, 191, .4); }
  .mobile-bar__call .ico { width: 20px; height: 20px; color: var(--orange-300); }
  .mobile-bar__book { background: var(--orange); color: #fff; }
}

/* =========================================================
   Телефон (до 640px) — компактная раскладка
   ========================================================= */
@media (max-width: 640px) {
  :root { --gutter: 16px; --section-y: 56px; --radius: 12px; }
  body { font-size: 16px; }
  .section__head h2, .section h2 { font-size: 1.95rem; margin-bottom: 12px; }
  .section__lead { font-size: 1rem; }
  .section__head { margin-bottom: 28px; }
  .eyebrow { font-size: 1.2rem; }

  /* кнопки на всю ширину */
  .btn-row { flex-direction: column; margin-top: 24px; }
  .btn-row .btn, .banya .btn, .cottage .btn { width: 100%; }

  /* hero */
  .hero { padding-block: 48px 56px; }
  .hero::after { background: linear-gradient(180deg, rgba(36, 22, 15, .72) 0%, rgba(36, 22, 15, .5) 45%, rgba(36, 22, 15, .85) 100%); }
  .hero__eyebrow { font-size: .72rem; letter-spacing: .1em; margin-bottom: 14px; }
  .hero__eyebrow-sep { display: none; }
  .hero__eyebrow { display: flex; flex-direction: column; gap: 2px; }
  .hero__title { font-size: 2.7rem; }
  .hero__lead { font-size: 1rem; margin-top: 16px; }
  .hero__actions { flex-direction: column; margin-top: 24px; }
  .hero__actions .btn { width: 100%; }
  .hero__rating { margin-top: 20px; font-size: .88rem; }

  /* услуги — лента, которую листают пальцем */
  .services__grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    padding-inline: 8px;
    -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent);
            mask-image: linear-gradient(90deg, #000 85%, transparent);
  }
  .services__grid::-webkit-scrollbar { display: none; }
  .service { flex: 0 0 92px; scroll-snap-align: start; padding: 16px 4px; font-size: .78rem; }
  .service .ico { width: 26px; height: 26px; }
  .service span { max-width: 84px; }

  /* цифры — 3 + 2 по центру */
  .facts { padding-block: 28px; }
  .facts__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px 0; }
  .facts__list li { flex: 0 0 33.33%; padding-inline: 4px; }
  .facts__list li:last-child { grid-column: auto; }
  .facts__list b { font-size: 2rem; }
  .facts__list span { font-size: .78rem; }

  /* залы — компактные строки */
  .halls { gap: 10px; }
  .hall { display: grid; grid-template-columns: 76px 1fr; column-gap: 14px; align-items: center; padding: 18px; }
  .hall__photo { grid-column: 1 / -1; margin: -18px -18px 16px; aspect-ratio: 16 / 9; }
  .hall__num { grid-row: span 2; font-size: 2.3rem; text-align: center; }
  .hall__num::after { content: "мест"; display: block; font-size: .75rem; margin-top: 2px; }
  .hall h3 { font-size: 1.3rem; margin: 0 0 2px; }
  .hall p { font-size: .88rem; line-height: 1.45; }
  .hall__star { width: 80px; height: 80px; }

  /* фото */
  .subhead { font-size: 1.45rem; margin: 36px 0 14px; }
  .gallery { gap: 10px; }
  .gallery--strip, #stay .gallery--strip { grid-auto-columns: 74%; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .gallery--strip::-webkit-scrollbar { display: none; }
  .gallery--mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 130px; margin-top: 24px; }
  .gallery--mosaic .gallery__item:first-child { grid-column: 1 / -1; grid-row: span 2; }
  .gallery--mosaic .gallery__item:last-child { grid-column: 1 / -1; grid-row: span 2; }
  .gallery--terr { margin: 0 0 20px; }
  .lightbox { padding: 64px 8px 72px; }
  .lightbox__nav { top: auto; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); transform: none; width: 44px; height: 44px; }
  .lightbox__caption { bottom: calc(24px + env(safe-area-inset-bottom, 0px)); left: 64px; right: 64px; font-size: .85rem; }

  /* меню */
  .menu { margin-top: 32px; padding: 22px 18px; }
  .menu__title { font-size: 1.5rem; }
  .menu-tabs { margin-inline: -18px; padding-inline: 18px; -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
  .menu-item { grid-template-columns: 1fr auto; padding-block: 12px; }
  .menu-item__weight { grid-row: 2; grid-column: 1; }
  .menu-item__price { grid-row: 1; grid-column: 2; }
  .menu__head { flex-direction: column; align-items: stretch; }
  .menu-switch { display: grid; grid-template-columns: repeat(3, auto); justify-content: stretch; }
  .menu-switch button { padding: 9px 8px; font-size: .86rem; }

  /* дегустации */
  .tasting__claim { font-size: 1.1rem; padding-left: 14px; }
  .checks li { font-size: .95rem; }
  .tasting__card { padding: 24px 22px; }
  .tasting__card p:first-of-type { font-size: 1.55rem; }

  /* праздники — мелкие чипсы */
  .tags { gap: 8px; }
  .tags li { padding: 7px 14px; font-size: .9rem; }

  /* номера и беседки — сетка 2×2 */
  .prices, .prices--3 { grid-template-columns: 1fr 1fr; gap: 10px; }
  .price-card { padding: 18px 16px; }
  .price-card h3 { font-size: 1.12rem; }
  .price-card__meta { font-size: .8rem; }
  .price-card__price { padding-top: 14px; font-size: .85rem; }
  .price-card__price b { font-size: 2rem; }
  .price-card__unit { font-size: .8rem; }
  .price-card--list { grid-column: 1 / -1; }
  .price-card--list ul { margin-top: 6px; }
  .gazebos__grid .prices--gazebo { grid-template-columns: 1fr; }
  .cottage__media { gap: 8px; }
  .cottage__media video { border-radius: 10px; }
  .promo { margin-top: 32px; }

  /* домики */
  .cottage { gap: 18px; margin-top: 16px; padding: 22px 18px; }
  .cottage h3 { font-size: 1.4rem; }
  .cottage p:not(.eyebrow) { font-size: .95rem; }
  .cottage__prices b { font-size: 1.7rem; }
  .cottage__prices dt { font-size: .88rem; }

  /* баня */
  .banya__grid { gap: 28px; }
  .pricelist__main { padding: 18px 20px; }
  .pricelist__main b { font-size: 1.8rem; }
  .pricelist ul { padding: 6px 20px 12px; }

  /* территория — плитки 2 в ряд */
  .amenities { grid-template-columns: 1fr 1fr; gap: 10px; }
  .amenities li { flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px; font-size: .9rem; line-height: 1.35; }

  /* бронирование */
  .booking__phone { font-size: 1.9rem; margin-top: 16px; }
  .messengers { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .messengers a { text-align: center; padding: 10px; }
  .form { padding: 20px 16px; gap: 14px; }

  /* контакты */
  .map, .map iframe { min-height: 300px; }
  .contacts__grid .btn { width: 100%; }

  .site-footer { padding-block: 32px; }
}
