/* =========================================================
   МОТЕЛЬ «БАЗА» — базовые стили
   Концепция: «сайт база прототип» — оливковая типографика,
   светлый тёплый фон, крупные скругления и воздух.
   ========================================================= */

/* ---------- 1. Переменные ---------- */
:root {
  --primary: #6b7f38;
  --primary-dark: #4d5e28;
  --primary-deep: #2f381d;
  --sage: #96a179;
  --sage-soft: #c4cdb0;
  --sage-pale: #e5e9db;
  --ink: #2f381d;
  --text: #4e5838;
  --muted: #737b61;
  --bg: #ececea;
  --paper: #ffffff;
  --paper-soft: #f4f4f0;
  --line: rgba(86, 97, 47, 0.2);
  --line-strong: rgba(86, 97, 47, 0.42);
  --placeholder: #b5b0ad;

  --font: "Onest", "Manrope", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --container: 1680px;
  --gutter: clamp(12px, 1.8vw, 30px);
  --header-h: 64px;

  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;

  --shadow-card: 0 20px 50px -32px rgba(38, 48, 17, 0.35);
  --shadow-float: 0 30px 80px -36px rgba(38, 48, 17, 0.45);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; transition: color 0.25s ease, opacity 0.25s ease; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--primary);
}
address { font-style: normal; }
strong { font-weight: 500; }
::selection { background: var(--primary); color: #fff; }

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 4px;
  border-radius: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1200;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  transform: translateY(-160%);
  transition: transform 0.25s ease;
}
.skip-link:focus { transform: none; }

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

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

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* ---------- 3. Типографика ---------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--primary);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: 0.65;
}
.eyebrow--light { color: rgba(255, 255, 255, 0.72); }

.display {
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.lead {
  max-width: 50ch;
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.65;
  color: var(--text);
}

/* ---------- 4. Кнопки ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 56px;
  padding: 0 9px 0 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--primary);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0.005em;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease,
    transform 0.35s var(--ease),
    box-shadow 0.35s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn__arrow {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f1f2e9;
  color: var(--primary);
  font-size: 18px;
  line-height: 1;
  transition: transform 0.45s var(--ease-out), background 0.3s ease, color 0.3s ease;
}
.btn:hover .btn__arrow { transform: rotate(-45deg); }

.btn--book {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 14px 30px -18px rgba(58, 71, 26, 0.7);
}
.btn--book:hover {
  background: var(--primary-dark);
  color: #fff;
  box-shadow: 0 20px 40px -20px rgba(58, 71, 26, 0.85);
}
.btn--book .btn__arrow { background: #f4f5ec; color: var(--primary); }

.btn--sage {
  background: var(--sage);
  color: var(--ink);
}
.btn--sage:hover { background: var(--primary); color: #fff; }

.btn--outline {
  border-color: var(--line-strong);
  color: var(--primary);
}
.btn--outline:hover { border-color: var(--primary); background: var(--primary); color: #fff; }

.btn--small {
  min-height: 44px;
  padding-left: 20px;
  font-size: 14px;
}
.btn--small .btn__arrow { width: 30px; height: 30px; font-size: 15px; }

.btn--hero {
  min-height: 70px;
  padding-left: 34px;
  font-size: 17px;
}
.btn--hero .btn__arrow { width: 52px; height: 52px; font-size: 22px; }

/* ---------- 5. Шапка ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent;
  transition: background 0.35s ease, box-shadow 0.35s ease;
}
.header.is-scrolled {
  background: rgba(236, 236, 234, 0.84);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 var(--line);
}

.header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  height: var(--header-h);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.4vw, 38px);
  justify-self: start;
}
.nav__link {
  position: relative;
  padding: 6px 0;
  font-size: 15px;
  color: var(--text);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: 100% 50%;
  transition: transform 0.35s var(--ease);
}
.nav__link:hover { color: var(--primary); }
.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); transform-origin: 0 50%; }
.nav__link.is-active { color: var(--primary); }

.nav__mobile { display: none; }

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-self: center;
  color: var(--primary);
}
.logo__svg {
  width: 64px;
  height: 40px;
  flex: none;
}
.logo__text {
  font-size: 19px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.26em;
}
.logo:hover { color: var(--primary-dark); }

.header__contacts {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 30px);
  justify-self: end;
}
.header__link {
  font-size: 14px;
  color: var(--text);
}
.header__link:hover { color: var(--primary); }
.header__phone {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
}
.header__phone:hover { color: var(--primary); }

.burger {
  display: none;
  position: relative;
  z-index: 110;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: transparent;
  color: var(--primary);
}
.burger span {
  position: absolute;
  left: 14px;
  width: 20px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.35s var(--ease), opacity 0.25s ease, top 0.35s var(--ease);
}
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 23px; }
.burger span:nth-child(3) { top: 29px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 23px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { top: 23px; transform: rotate(-45deg); }

/* ---------- 6. Главный экран ---------- */
.hero { padding-top: 6px; }
.hero .container { position: relative; }

.hero__frame {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--radius-xl);
  aspect-ratio: 16 / 8.8;
  min-height: 460px;
  max-height: 700px;
  background: var(--sage-pale);
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__media .photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(20px, 3vw, 34px);
  background:
    linear-gradient(180deg, rgba(27, 34, 14, 0.24) 0%, rgba(27, 34, 14, 0) 32%),
    linear-gradient(0deg, rgba(27, 34, 14, 0.64) 0%, rgba(27, 34, 14, 0) 58%);
  color: #fff;
  pointer-events: none;
}

.hero__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.hero__place,
.hero__note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(31, 39, 18, 0.22);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.9);
}
.hero__note { border: 0; background: transparent; backdrop-filter: none; padding-inline: 0; }
.hero__place::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #dfe6c7;
}

.hero__claim {
  max-width: 13ch;
  margin: 0;
  font-size: clamp(26px, 3.3vw, 46px);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.04em;
  text-wrap: balance;
  text-shadow: 0 2px 30px rgba(24, 31, 12, 0.28);
}

.hero__cta {
  position: absolute;
  right: clamp(18px, 2.6vw, 38px);
  bottom: clamp(18px, 2.6vw, 34px);
  z-index: 3;
  display: flex;
  justify-content: flex-end;
}
.hero__cta .btn--hero {
  box-shadow: 0 20px 45px -22px rgba(47, 56, 29, 0.8);
}

/* ---------- 7. Преимущества ---------- */
.features { padding-top: clamp(28px, 4vw, 44px); }

.features__box {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-xl);
}

.feature {
  position: relative;
  padding: clamp(28px, 3.4vw, 44px);
  text-align: center;
}

.feature__icon {
  display: inline-block;
  width: 74px;
  height: 74px;
  margin-bottom: 16px;
  color: var(--primary);
}
.feature__icon svg { width: 100%; height: 100%; }

.feature__title {
  margin: 0 0 5px;
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.12;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  color: var(--primary);
}
.feature__sub {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

/* ---------- 8. О нас ---------- */
.about { padding-top: clamp(80px, 10vw, 132px); }

.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(36px, 6vw, 84px);
  align-items: center;
}

.about__media {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  min-height: clamp(420px, 42vw, 580px);
}
.about__shot {
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  background: var(--sage-pale);
}
.about__shot--main { grid-row: 1 / 3; }
.about__shot .photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease-out);
}
.about__shot:hover .photo { transform: scale(1.045); }

.about__title {
  max-width: 15ch;
  margin: 0 0 26px;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.04;
  color: var(--primary);
  text-wrap: balance;
}
.about__lead {
  max-width: 47ch;
  margin: 0;
  font-size: 15px;
  line-height: 1.68;
  color: var(--text);
}
.about__lead + .about__lead { margin-top: 14px; }

.about__actions {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-top: 32px;
}
.dots {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.dots i {
  display: block;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: var(--sage-soft);
}
.dots i:nth-child(2) { background: var(--sage); }
.dots i:nth-child(3) { background: #7d8c5d; }

/* ---------- 9. Номера и услуги ---------- */
.offers { padding-top: clamp(88px, 11vw, 142px); }

.offers__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 32px;
  margin-bottom: clamp(32px, 4vw, 52px);
}
.offers__heading { min-width: 0; }
.offers__title {
  max-width: 20ch;
  margin: 0 0 22px;
  font-size: clamp(42px, 6.2vw, 78px);
  line-height: 0.98;
  color: var(--primary);
  text-wrap: balance;
}
.offers__lead {
  max-width: 620px;
  margin: 0;
  font-size: 15px;
  line-height: 1.68;
  color: var(--text);
}
.offers__count {
  padding-bottom: 8px;
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 1.8vw, 24px);
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 14px;
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: 0 1px 0 rgba(86, 97, 47, 0.06);
  transition: transform 0.5s var(--ease), box-shadow 0.5s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }

.card__media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  background: var(--sage-pale);
  cursor: pointer;
}
.card__media .photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease-out);
}
.card:hover .card__media .photo { transform: scale(1.055); }

.card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px 10px 8px;
}
.card__title {
  margin: 0 0 4px;
  font-size: clamp(18px, 1.55vw, 21px);
  line-height: 1.14;
  letter-spacing: -0.012em;
  text-transform: uppercase;
  color: var(--primary);
}
.card__text {
  margin: 0 0 20px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
}
.card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid var(--line);
}
.price {
  font-size: 13px;
  line-height: 1.2;
  color: var(--text);
  white-space: nowrap;
}
.price strong {
  margin: 0 3px;
  font-size: clamp(23px, 2vw, 28px);
  font-weight: 400;
  letter-spacing: -0.04em;
  color: var(--primary);
}
.card__go {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--sage);
  color: #fff;
  font-size: 19px;
  line-height: 1;
  transition: background 0.3s ease, color 0.3s ease, transform 0.45s var(--ease-out);
}
.card__go:hover,
.card:hover .card__go { background: var(--primary); transform: rotate(-45deg); }

/* ---------- 10. Полоса бронирования ---------- */
.booking {
  margin-top: clamp(40px, 5vw, 64px);
  padding: clamp(36px, 4.5vw, 56px) 0;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  background: var(--paper-soft);
}
.booking__inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.booking__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.booking__lead {
  max-width: 660px;
}
.booking__lead .eyebrow {
  margin-bottom: 6px;
}
.booking__title {
  margin: 0 0 8px;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.15;
  color: var(--primary);
}
.booking__text {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.45;
}
.booking__tabs {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(86, 97, 47, 0.08);
  padding: 4px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
}
.booking__tab {
  border: none;
  background: transparent;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: calc(var(--radius-md) - 4px);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.booking__tab:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.65);
}
.booking__tab.is-active {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 2px 10px -2px rgba(47, 56, 29, 0.35);
}
.booking__content {
  position: relative;
  min-height: 140px;
  background: var(--paper);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  padding: clamp(16px, 2.5vw, 30px);
  box-sizing: border-box;
}
.booking-widget__view {
  display: none;
  width: 100%;
}
.booking-widget__view.is-active {
  display: block;
}
.booking-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 100px;
  padding: 24px 16px;
  color: var(--muted);
  font-size: 15px;
  text-align: center;
}
.booking-status__spinner {
  width: 24px;
  height: 24px;
  border: 2px solid var(--sage-soft);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: booking-spin 0.8s linear infinite;
  flex-shrink: 0;
}
@keyframes booking-spin {
  to { transform: rotate(360deg); }
}
.booking-status__fallback {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text);
  max-width: 620px;
}
.booking-status__fallback--warn {
  color: #8c5d18;
  background: #fbf7ee;
  border: 1px solid #ebd9b6;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
}
.booking-status__fallback a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
}
.booking__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px 24px;
  padding-top: 8px;
  border-top: 1px dashed var(--line);
  font-size: 13px;
  color: var(--muted);
}
.booking__feature {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.booking__feature-icon {
  width: 16px;
  height: 16px;
  color: var(--primary);
  flex-shrink: 0;
}
.booking__feature a {
  color: var(--primary);
  font-weight: 500;
}

/* ---------- 11. Заявка ---------- */
.feedback { padding-top: clamp(28px, 4vw, 48px); }

.feedback__card {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(36px, 5vw, 76px);
  padding: clamp(28px, 4.6vw, 64px);
  border-radius: var(--radius-xl);
  background: var(--paper);
  box-shadow: var(--shadow-card);
}

.feedback__intro { min-width: 0; }
.feedback__title {
  max-width: 14ch;
  margin: 0 0 24px;
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.04;
  color: var(--primary);
  text-wrap: balance;
}
.feedback__lead {
  max-width: 42ch;
  margin: 0 0 30px;
  font-size: 14px;
  line-height: 1.68;
  color: var(--text);
}
.feedback__contacts {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 30px;
  font-size: 14px;
  color: var(--muted);
}
.feedback__contacts a {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--primary);
}
.feedback__contacts a:hover { color: var(--primary-dark); }

.form { min-width: 0; }
.form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.field { display: flex; flex-direction: column; gap: 7px; }
.field--wide { grid-column: 1 / -1; }
.field__label {
  padding-left: 4px;
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.field__input {
  width: 100%;
  min-height: 52px;
  padding: 13px 16px;
  border: 1px solid #e3e4dc;
  border-radius: 13px;
  background: var(--paper-soft);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.4;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.field__input::placeholder { color: #9aa08a; }
.field__input:hover { border-color: var(--sage-soft); }
.field__input:focus {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(107, 127, 56, 0.12);
  outline: none;
}
.field__input--area {
  min-height: 92px;
  resize: vertical;
}
select.field__input {
  appearance: none;
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%236b7f38' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.hp {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 18px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
  cursor: pointer;
}
.consent input {
  flex: none;
  width: 17px;
  height: 17px;
  margin: 1px 0 0;
  accent-color: var(--primary);
}

.form__actions { margin-top: 18px; }
.form__submit {
  width: 100%;
  justify-content: space-between;
  min-height: 60px;
  padding-left: 26px;
}

.form-status {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 16px 0 0;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--paper);
  font-size: 15px;
  line-height: 1.45;
}
.form-status:empty { display: none; }
.form-status::before {
  content: "i";
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}
.form-status.is-info { color: var(--text); }
.form-status.is-info::before { color: var(--muted); }
.form-status.is-success {
  color: var(--primary);
  background: var(--sage-pale);
  border-color: var(--sage-soft);
  font-weight: 600;
}
.form-status.is-success::before {
  content: "✓";
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.form-status.is-error {
  color: #8f3a24;
  background: #faeeeb;
  border-color: #e6c3b8;
  font-weight: 600;
}
.form-status.is-error::before {
  content: "!";
  background: #a3482e;
  border-color: #a3482e;
  color: #fff;
}
.form-status strong { font-weight: 700; }

.messengers {
  grid-column: 1 / -1;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.messengers[hidden] { display: none; }
.messengers__title { margin: 0 0 12px; font-size: 13px; color: var(--muted); }
.messengers__buttons { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- 12. Заглушки для фото ---------- */
.media {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--sage-pale);
}
.media .photo {
  position: relative;
  z-index: 2;
  transition: transform 0.9s var(--ease-out), opacity 0.35s ease;
}
.media.is-missing .photo { opacity: 0; visibility: hidden; }

.media__fallback {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: none;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.86);
  background:
    radial-gradient(120% 90% at 78% 8%, rgba(244, 241, 225, 0.5) 0%, rgba(244, 241, 225, 0) 46%),
    linear-gradient(150deg, var(--art-a, #b8c19d) 0%, var(--art-b, #81915a) 52%, var(--art-c, #4c5b2e) 100%);
}
.media.is-missing .media__fallback { display: block; }

.media__fallback::before {
  content: "";
  position: absolute;
  inset: -20%;
  opacity: 0.24;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='420' viewBox='0 0 420 420'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='1'%3E%3Ccircle cx='210' cy='210' r='44'/%3E%3Ccircle cx='210' cy='210' r='86'/%3E%3Ccircle cx='210' cy='210' r='128'/%3E%3Ccircle cx='210' cy='210' r='170'/%3E%3Ccircle cx='210' cy='210' r='212'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 420px 420px;
  transform: rotate(-12deg);
}
.media__sun {
  position: absolute;
  top: -9%;
  right: 7%;
  width: 46%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(247, 243, 224, 0.78) 0%, rgba(247, 243, 224, 0.12) 58%, transparent 70%);
  filter: blur(2px);
}
.media__ridge {
  position: absolute;
  left: -18%;
  right: -18%;
  bottom: -34%;
  height: 78%;
  border-radius: 48% 52% 0 0 / 60% 58% 0 0;
  background: rgba(44, 55, 24, 0.28);
  transform: rotate(-4deg);
}
.media__ridge--2 {
  left: -8%;
  right: -28%;
  bottom: -47%;
  height: 74%;
  background: rgba(38, 48, 20, 0.36);
  transform: rotate(5deg);
}
.media__icon {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 74px;
  height: 74px;
  transform: translate(-50%, -54%);
  color: rgba(255, 255, 255, 0.62);
}
.media__mark {
  position: absolute;
  top: 18px;
  left: 20px;
  font-size: 10px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}
.media__tag {
  position: absolute;
  left: 18px;
  bottom: 18px;
  max-width: calc(100% - 36px);
  padding: 6px 11px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(38, 48, 20, 0.2);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 10px;
  line-height: 1.2;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.media[data-art="room"] { --art-a: #d8d1bd; --art-b: #9c9b74; --art-c: #5d6440; }
.media[data-art="sauna"] { --art-a: #d4c3a3; --art-b: #a78f60; --art-c: #5f4f2f; }
.media[data-art="grill"] { --art-a: #c7b08f; --art-b: #98794f; --art-c: #4f3d26; }
.media[data-art="gear"] { --art-a: #c2c6a8; --art-b: #8b9568; --art-c: #4e5b31; }
.media[data-art="forest"] { --art-a: #c3cdaa; --art-b: #819356; --art-c: #43512a; }

/* Герой: позиционирование важнее общего .media */
.hero__frame > .hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
}

/* ---------- 13. FAQ ---------- */
.faq { padding-top: clamp(84px, 10vw, 128px); }

.faq__header {
  max-width: 820px;
  margin-bottom: clamp(30px, 4vw, 46px);
}
.faq__title {
  margin: 0;
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 1.02;
  color: var(--primary);
  text-wrap: balance;
}

.faq__list {
  display: grid;
  gap: 12px;
}
.faq__item {
  overflow: hidden;
  border-radius: 20px;
  background: var(--sage);
  color: var(--ink);
  transition: background 0.3s ease;
}
.faq__item:hover { background: #a1ac86; }
.faq__item[open] { background: #9ca87e; }
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: clamp(14px, 1.9vw, 19px) clamp(20px, 3vw, 32px);
  font-size: clamp(16px, 1.7vw, 20px);
  line-height: 1.3;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::marker { content: ""; }

.faq__icon {
  position: relative;
  flex: none;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(47, 56, 29, 0.32);
  border-radius: 50%;
  transition: transform 0.4s var(--ease), background 0.3s ease;
}
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1.4px;
  background: var(--ink);
  transform: translate(-50%, -50%);
  transition: transform 0.4s var(--ease);
}
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__icon { background: var(--ink); transform: rotate(90deg); }
.faq__item[open] .faq__icon::before,
.faq__item[open] .faq__icon::after { background: var(--sage-pale); }
.faq__item[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); }

.faq__answer {
  padding: 0 clamp(20px, 3vw, 32px) clamp(22px, 2.8vw, 30px);
  animation: faq-in 0.45s var(--ease) both;
}
.faq__answer p {
  max-width: 72ch;
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(47, 56, 29, 0.82);
}
.faq__answer p + p { margin-top: 10px; }
@keyframes faq-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}

/* ---------- 14. Контакты и карта ---------- */
.contacts { padding-top: clamp(84px, 10vw, 128px); }
.contacts__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(26px, 3.4vw, 42px);
}
.contacts__title {
  margin: 0;
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 1;
  color: var(--primary);
}
.contacts__note {
  max-width: 340px;
  margin: 0 0 5px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
  text-align: right;
}

.contacts__map {
  position: relative;
  min-height: clamp(430px, 40vw, 540px);
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--sage-pale);
  box-shadow: var(--shadow-card);
}
.contacts__map-canvas { position: absolute; inset: 0; }
.contacts__map-art {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.contacts__map-art svg {
  display: block;
  width: 100%;
  height: 100%;
}
.contacts__map iframe {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
  filter: grayscale(0.32) sepia(0.12) hue-rotate(35deg) saturate(0.72) contrast(0.98);
  transition: filter 0.6s ease;
}
.contacts__map:hover iframe { filter: grayscale(0.05) sepia(0.03) hue-rotate(20deg) saturate(0.9); }

.contacts__card {
  position: absolute;
  top: 50%;
  left: clamp(16px, 3vw, 32px);
  width: min(370px, calc(100% - 64px));
  padding: clamp(22px, 2.6vw, 32px);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-float);
  translate: 0 -50%;
  z-index: 3;
}
.contacts__name {
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
}
.contacts__address {
  margin: 0 0 16px;
  font-size: clamp(20px, 2vw, 24px);
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.contacts__phone {
  display: inline-block;
  margin-bottom: 18px;
  font-size: 18px;
  font-weight: 500;
  color: var(--primary);
}
.contacts__phone:hover { color: var(--primary-dark); }

.contacts__hours {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 0 0 22px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.contacts__hours div { display: flex; flex-direction: column; gap: 3px; }
.contacts__hours dt {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.contacts__hours dd { margin: 0; font-size: 14px; color: var(--ink); }
.contacts__card .btn { width: 100%; justify-content: space-between; }

/* ---------- 15. Подвал ---------- */
.footer {
  margin-top: clamp(84px, 10vw, 128px);
  padding: clamp(44px, 5vw, 68px) 0 30px;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  background: var(--primary-deep);
  color: rgba(245, 246, 238, 0.68);
}
.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: clamp(30px, 4vw, 44px);
  border-bottom: 1px solid rgba(245, 246, 238, 0.16);
}
.footer .logo { justify-self: auto; color: #f3f5e9; }
.footer .logo:hover { color: #fff; }
.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
}
.footer__nav a,
.footer__link {
  font-size: 14px;
  color: rgba(245, 246, 238, 0.66);
}
.footer__nav a:hover,
.footer__link:hover { color: #fff; }
.footer__phone {
  font-size: clamp(17px, 1.6vw, 20px);
  font-weight: 500;
  color: #f3f5e9;
  white-space: nowrap;
}
.footer__phone:hover { color: #fff; }
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 24px;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(245, 246, 238, 0.46);
}
.footer__bottom p { margin: 0; }
.footer__top-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(245, 246, 238, 0.72);
}
.footer__top-link:hover { color: #fff; }

/* ---------- 16. Адаптив ---------- */
@media (max-width: 1120px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about__grid { grid-template-columns: 1fr; }
  .about__media { min-height: clamp(380px, 55vw, 560px); }
  .about__copy { max-width: 720px; }
  .feedback__card { grid-template-columns: 1fr; }
  .offers__header { grid-template-columns: 1fr; }
  .offers__count { display: none; }
}

@media (max-width: 860px) {
  :root { --header-h: 64px; }

  .header__inner { grid-template-columns: 1fr auto; }
  .logo { justify-self: start; }
  .header__contacts { display: none; }
  .burger { display: block; }

  .nav {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 6px;
    width: 100%;
    justify-self: stretch;
    padding: calc(var(--header-h) + 24px) var(--gutter) 40px;
    background: var(--bg);
    transform: translateY(-102%);
    visibility: hidden;
    transition: transform 0.55s var(--ease-out), visibility 0.55s;
    overflow-y: auto;
  }
  .nav.is-open { transform: none; visibility: visible; }
  .nav__link {
    padding: 9px 0;
    font-size: clamp(30px, 8vw, 44px);
    letter-spacing: -0.04em;
    color: var(--primary);
  }
  .nav__link::after { bottom: 7px; }
  .nav__mobile {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    width: 100%;
  }
  .nav__mobile a:first-child { font-size: 20px; font-weight: 500; color: var(--ink); }
  .nav__mobile .btn { width: 100%; justify-content: space-between; }

  .hero__frame {
    aspect-ratio: auto;
    height: min(72vh, 640px);
    min-height: 480px;
  }
  .hero__overlay { padding-bottom: 112px; }
  .hero__note { display: none; }
  .hero__claim { max-width: 11ch; font-size: clamp(28px, 6vw, 38px); }
  .hero__cta { right: 14px; bottom: 14px; }
  .hero__cta .btn { width: 100%; justify-content: space-between; box-shadow: 0 20px 40px -24px rgba(47, 56, 29, 0.8); }

  .features__box { grid-template-columns: 1fr; }
  .feature + .feature { border-left: 0; border-top: 1px solid var(--line); }
  .feature { display: grid; grid-template-columns: auto 1fr; column-gap: 18px; text-align: left; align-items: center; }
  .feature__icon { width: 56px; height: 56px; margin: 0; grid-row: 1 / 3; }
  .feature__title { margin: 0; }
  .feature__sub { grid-column: 2; }

  .about__media { min-height: 0; grid-template-columns: 1.2fr 1fr; grid-template-rows: 240px 170px; }
  .offers__title { font-size: clamp(38px, 8vw, 58px); }

  .booking__head { flex-direction: column; align-items: stretch; gap: 16px; }
  .booking__tabs { width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; }
  .booking__tab { padding: 8px 6px; font-size: 13px; text-align: center; }
  .booking__footer { flex-direction: column; align-items: flex-start; gap: 10px; }

  .contacts__head { flex-direction: column; align-items: flex-start; }
  .contacts__note { text-align: left; }

  .footer__top { flex-wrap: wrap; }
  .footer__nav { order: 3; width: 100%; }
}

@media (max-width: 680px) {
  .cards { grid-template-columns: 1fr; }
  .hero__topline { align-items: flex-start; }
  .hero__claim { font-size: 28px; max-width: 12ch; }
  .hero__overlay { padding-bottom: 104px; }
  .hero__cta { right: 12px; bottom: 12px; }
  .hero__cta .btn { width: 100%; }

  .about__media { grid-template-columns: 1fr 1fr; grid-template-rows: 260px 150px; gap: 10px; }
  .about__shot--main { grid-row: 1; grid-column: 1 / -1; }
  .about__shot--small { grid-row: 2; }
  .about__actions { flex-wrap: wrap; gap: 18px; }
  .about__title { font-size: clamp(31px, 8vw, 42px); }

  .feedback__card { border-radius: 24px; }
  .form__grid { grid-template-columns: 1fr; }
  .form__actions .btn { width: 100%; }

  .faq__item summary { gap: 14px; }
  .faq__icon { width: 32px; height: 32px; }

  .contacts__map { min-height: 0; display: flex; flex-direction: column; background: transparent; box-shadow: none; overflow: visible; }
  .contacts__map-canvas { position: relative; inset: auto; height: 330px; overflow: hidden; border-radius: var(--radius-lg); }
  .contacts__card {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    margin-top: 14px;
    padding: 24px;
    background: var(--paper);
    transform: none;
    translate: none;
    box-shadow: var(--shadow-card);
  }

  .footer { border-radius: 24px 24px 0 0; }
  .footer__top { flex-direction: column; align-items: flex-start; gap: 22px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
}

@media (max-width: 420px) {
  .hero__frame { height: 76vh; min-height: 430px; }
  .hero__meta { display: none; }
  .hero__claim { font-size: 26px; }
  .feature { padding: 24px 20px; }
  .feature__icon { width: 48px; height: 48px; }
  .price strong { font-size: 23px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* ---------- 17. Печать ---------- */
@media print {
  .header, .burger, .hero__cta, .booking, .form__actions, .messengers, .footer__top-link { display: none !important; }
  body { background: #fff; color: #000; }
  .hero__frame, .feedback__card, .contacts__map { box-shadow: none; }
}

/* ---------- 18. Галерея фотографий номера ---------- */
.room-modal {
  width: min(92vw, 1280px);
  height: min(86vh, 820px);
  max-width: 92vw;
  max-height: 86vh;
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: var(--radius-xl);
  background: #22251c;
  box-shadow: var(--shadow-float);
}
.room-modal::backdrop { background: rgba(23, 27, 16, 0.82); backdrop-filter: blur(10px); }
.room-modal__layout {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: inherit;
}
.room-modal__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: inherit;
  background: #22251c;
}
.room-modal__photo img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.room-modal__nav,
.room-modal__close {
  position: absolute;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.38);
  border-radius: 50%;
  background: rgba(47,56,29,.82);
  color: #fff;
  backdrop-filter: blur(10px);
  font-size: 23px;
  line-height: 1;
}
.room-modal__nav { top: 50%; transform: translateY(-50%); }
.room-modal__nav--prev { left: 18px; }
.room-modal__nav--next { right: 18px; }
.room-modal__close { top: 18px; right: 18px; }
.room-modal__caption {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(47,56,29,.82);
}
.room-modal__title { margin: 0; color: #fff; font-size: clamp(14px, 1.5vw, 18px); }
.room-modal__counter { margin: 0; color: rgba(255,255,255,.72); font-size: 12px; white-space: nowrap; }

@media (max-width: 860px) {
  .room-modal { width: calc(100vw - 20px); height: min(82vh, 760px); max-width: calc(100vw - 20px); max-height: 82vh; }
  .room-modal__nav { width: 46px; height: 46px; }
  .room-modal__nav--prev { left: 12px; }
  .room-modal__nav--next { right: 12px; }
  .room-modal__close { top: 12px; right: 12px; width: 44px; height: 44px; }
}
@media (max-width: 520px) {
  .room-modal__nav { top: auto; bottom: 14px; transform: none; }
  .room-modal__nav--prev { left: 14px; }
  .room-modal__nav--next { right: 14px; }
  .room-modal__caption { bottom: 68px; max-width: calc(100% - 32px); }
}
