:root {
  --cream: #f4efe4;
  --cream-2: #ebe3d2;
  --ink: #15120f;
  --muted: rgba(21, 18, 15, 0.68);
  --forest: #1b3326;
  --forest-deep: #0c1712;
  --lake: #2c5d68;
  --door: #1a6bb0;
  --gold: #c9a56a;
  --burgundy: #8a3338;
  --max: #0084ff;
  --max-2: #a133d5;
  --white: #fffcf7;
  --radius: 1.15rem;
  --shadow: 0 22px 50px rgba(12, 23, 18, 0.18);
  --container: min(1160px, calc(100% - 2rem));
  --font: "Manrope", system-ui, sans-serif;
  --display: "Cormorant Garamond", Georgia, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  overflow-x: hidden;
}

img,
video {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 0.7rem;
  color: var(--lake);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.12;
  margin: 0;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

h3 {
  font-size: 1.45rem;
}

.lead {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 42rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 0;
  border-radius: 999px;
  padding: 0.9rem 1.35rem;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s ease;
}

.btn-gold {
  background: var(--gold);
  color: #1a140c;
}

.btn-gold:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 252, 247, 0.35);
}

.btn-ghost:hover {
  background: rgba(255, 252, 247, 0.1);
}

.btn-dark {
  background: var(--forest);
  color: var(--white);
}

.btn-dark:hover {
  background: #244536;
}

.btn-max {
  display: inline-flex;
  align-items: stretch;
  padding: 0;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(90deg, #2eb8ff 0%, #5b66ff 48%, #8a3ae0 78%, #c026d3 100%);
  box-shadow: 0 10px 24px rgba(90, 98, 255, 0.28);
  gap: 0;
  line-height: 1;
  white-space: nowrap;
}

.btn-max-brand,
.btn-max-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
}

.btn-max-brand {
  flex-shrink: 0;
  gap: 0.38rem;
  padding: 0 1rem 0 0.9rem;
  background: linear-gradient(90deg, #2eb8ff 0%, #4d7bff 58%, #6a5bff 100%);
  font-weight: 800;
  font-size: 1.08rem;
  letter-spacing: -0.04em;
  text-transform: lowercase;
}

.btn-max-brand img,
.btn-max-brand svg {
  width: 22px;
  height: 22px;
  display: block;
  flex-shrink: 0;
}

.btn-max-label {
  flex: 1;
  padding: 0 1.35rem;
  border-left: 1px solid rgba(255, 255, 255, 0.32);
  background: linear-gradient(90deg, #7c3aed 0%, #a855f7 55%, #c026d3 100%);
  font-weight: 800;
}

.btn-max:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

form .btn-max,
.contact-card .btn-max {
  width: 100%;
}

.footer-social .btn-max-brand {
  min-height: 36px;
  padding: 0 0.9rem 0 0.75rem;
  font-size: 0.95rem;
}

.footer-social .btn-max-brand img {
  width: 18px;
  height: 18px;
}

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  padding: 0.85rem 0;
  transition: 0.25s ease;
}

.header.scrolled,
.header.open {
  background: rgba(12, 23, 18, 0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
}

.header-inner {
  width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--white);
}

.logo img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  background: var(--cream);
  border-radius: 50%;
  padding: 4px;
}

.logo span {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.nav a {
  color: rgba(255, 252, 247, 0.86);
  font-size: 0.92rem;
  font-weight: 600;
}

.nav a:hover {
  color: var(--gold);
}

.header-phone {
  color: var(--gold);
  font-weight: 700;
  white-space: nowrap;
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  position: relative;
  cursor: pointer;
}

.burger span,
.burger::before,
.burger::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  background: #fff;
}

.burger span {
  top: 21px;
}

.burger::before {
  top: 14px;
}

.burger::after {
  top: 28px;
}

.hero {
  min-height: 100vh;
  position: relative;
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: visible;
}

.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media .mobile-only {
  display: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 23, 18, 0.35) 0%, rgba(12, 23, 18, 0.15) 38%, rgba(12, 23, 18, 0.78) 100%),
    linear-gradient(90deg, rgba(12, 23, 18, 0.55), transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: var(--container);
  margin: 0 auto 5.5rem;
}

.hero h1 {
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  max-width: 14ch;
  margin-bottom: 1rem;
}

.hero p {
  max-width: 38rem;
  font-size: 1.12rem;
  color: rgba(255, 252, 247, 0.86);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.6rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-top: 2rem;
  font-size: 0.92rem;
  color: rgba(255, 252, 247, 0.8);
}

.hero-meta b {
  color: var(--gold);
}

.hero-note {
  margin-top: 0.65rem;
  font-size: 0.82rem;
  color: rgba(255, 252, 247, 0.65);
}

.hero-note a {
  color: rgba(255, 252, 247, 0.85);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.hero-note a:hover {
  color: var(--gold);
}

.hero-booking {
  position: relative;
  z-index: 10000;
  margin-top: 1.6rem;
  width: 100%;
  max-width: none;
  overflow: visible;
}

.hero-booking > [data-roomslot-widget-id] {
  display: block;
  width: 100%;
}

.hero-booking iframe {
  display: block;
  width: 100% !important;
  max-width: none;
  min-width: 0;
}

.stats {
  background: var(--forest-deep);
  color: var(--white);
  padding: 1.4rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}

.stats b {
  display: block;
  font-family: var(--display);
  font-size: 2rem;
  color: var(--gold);
}

.stats span {
  font-size: 0.9rem;
  color: rgba(255, 252, 247, 0.72);
}

section {
  padding: 5.2rem 0;
}

.about-grid,
.split,
.amenity-grid,
.review-grid,
.price-grid,
.faq-grid,
.contact-grid {
  display: grid;
  gap: 1.4rem;
}

.about-grid,
.split {
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
}

.about-grid img,
.split img,
.card img,
.gallery img,
.video-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}

.photo-stack {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: 1fr 1fr;
}

.photo-stack img:first-child {
  grid-column: 1 / -1;
  height: 320px;
}

.photo-stack img {
  height: 210px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
}

.chips li {
  background: #fff;
  border: 1px solid rgba(27, 51, 38, 0.1);
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  font-size: 0.88rem;
  font-weight: 600;
}

.yurts {
  background: linear-gradient(180deg, #e8e0cf 0%, var(--cream) 100%);
}

.chan {
  background: linear-gradient(180deg, var(--cream) 0%, #e5ddd0 100%);
  padding: 4rem 0;
}

.chan-gallery {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 900px) {
  .chan-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .chan-gallery {
    grid-template-columns: 1fr;
  }
}

.yurt-photos {
  display: grid;
  gap: 0.8rem;
}

.yurt-photos img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: var(--radius);
}

.amenity-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 2rem;
}

.card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.card img,
.card video {
  height: 230px;
  width: 100%;
  object-fit: cover;
}

.card-body {
  padding: 1.15rem 1.2rem 1.35rem;
}

.card p {
  margin: 0.45rem 0 0;
  color: var(--muted);
}

.territory {
  background:
    radial-gradient(1200px 420px at 80% 10%, rgba(201, 165, 106, 0.12), transparent 55%),
    var(--forest);
  color: var(--white);
}

.territory .eyebrow {
  color: var(--gold);
}

.territory .lead {
  color: rgba(255, 252, 247, 0.78);
  margin: 0;
}

.baikal-head {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 2rem;
  align-items: end;
  margin-bottom: 1.6rem;
}

.baikal-show {
  position: relative;
  border-radius: 1.35rem;
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.35);
}

.baikal-viewport {
  position: relative;
  height: min(72vh, 620px);
  background: #0a1410;
}

.baikal-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.baikal-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.baikal-slide img,
.baikal-slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

.baikal-slide.is-active img {
  animation: baikalZoom 8s ease-out forwards;
}

@keyframes baikalZoom {
  from {
    transform: scale(1.08);
  }
  to {
    transform: scale(1);
  }
}

.baikal-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(8, 14, 12, 0.82) 100%);
  pointer-events: none;
}

.baikal-caption {
  position: absolute;
  left: 1.4rem;
  right: 1.4rem;
  bottom: 3.2rem;
  z-index: 2;
}

.baikal-caption b {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 600;
  line-height: 1.1;
}

.baikal-caption span {
  display: block;
  margin-top: 0.35rem;
  color: rgba(255, 252, 247, 0.78);
}

.baikal-nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 252, 247, 0.16);
  color: #fff;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transform: translateY(-50%);
}

.baikal-nav:hover {
  background: rgba(255, 252, 247, 0.28);
}

.baikal-prev {
  left: 0.9rem;
}

.baikal-next {
  right: 0.9rem;
}

.baikal-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  height: 3px;
  background: rgba(255, 252, 247, 0.16);
}

.baikal-progress i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--gold);
  transform-origin: left;
}

.baikal-show.is-running .baikal-progress i {
  animation: baikalBar 6s linear forwards;
}

@keyframes baikalBar {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

.baikal-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.85rem;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 0.4rem;
}

.baikal-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: rgba(255, 252, 247, 0.38);
  cursor: pointer;
}

.baikal-dots button.is-on {
  width: 22px;
  background: var(--gold);
}

.baikal-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
  margin-top: 1.1rem;
}

.baikal-facts article {
  background: rgba(255, 252, 247, 0.06);
  border: 1px solid rgba(255, 252, 247, 0.1);
  border-radius: 1rem;
  padding: 1rem 1.05rem;
}

.baikal-facts b {
  display: block;
  font-family: var(--display);
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
}

.baikal-facts span {
  color: rgba(255, 252, 247, 0.7);
  font-size: 0.9rem;
}

.videos h2,
.gallery h2,
.reviews h2,
.prices h2,
.faq h2,
.contacts h2,
.location h2 {
  margin-bottom: 0.5rem;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
  margin-top: 1.8rem;
}

.video-card {
  position: relative;
  border: 0;
  padding: 0;
  background: none;
  cursor: pointer;
  border-radius: var(--radius);
  overflow: hidden;
}

.video-card img {
  height: 280px;
  filter: brightness(0.88);
}

.video-card span {
  position: absolute;
  left: 0.8rem;
  bottom: 0.8rem;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  text-shadow: 0 2px 10px #000;
}

.play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(201, 165, 106, 0.92);
  display: grid;
  place-items: center;
}

.play::after {
  content: "";
  border-style: solid;
  border-width: 8px 0 8px 14px;
  border-color: transparent transparent transparent #1a140c;
  margin-left: 4px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.7rem;
  margin-top: 1.8rem;
}

.gallery-grid button {
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  border-radius: 0.9rem;
  overflow: hidden;
}

.gallery-grid img {
  height: 210px;
  transition: 0.35s ease;
}

.gallery-grid button:hover img {
  transform: scale(1.05);
}

.reviews {
  background: #efe8d8;
}

.review-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 1.8rem;
}

.review {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.3rem;
  box-shadow: var(--shadow);
}

.stars {
  color: #c9a56a;
  letter-spacing: 0.08em;
  margin-bottom: 0.6rem;
}

.review p {
  margin: 0 0 1rem;
}

.review cite {
  font-style: normal;
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 700;
}

.prices {
  background: var(--forest-deep);
  color: var(--white);
}

.prices .eyebrow {
  color: var(--gold);
}

.price-grid {
  grid-template-columns: 1.2fr 0.8fr;
  margin-top: 1.8rem;
  align-items: stretch;
}

.prices-booking {
  position: relative;
  z-index: 20;
  margin-top: 1.4rem;
  overflow: visible;
}

.prices-booking iframe {
  max-width: 100%;
}

.price-card,
.rules {
  background: rgba(255, 252, 247, 0.06);
  border: 1px solid rgba(255, 252, 247, 0.1);
  border-radius: var(--radius);
  padding: 1.6rem;
}

.price-card .from {
  font-family: var(--display);
  font-size: 4rem;
  line-height: 1;
  color: var(--gold);
}

.price-tiers p {
  margin: 0 0 0.85rem;
  color: rgba(255, 252, 247, 0.88);
  line-height: 1.55;
}

.price-tiers p b {
  color: var(--gold);
}

.price-includes {
  margin-top: 1.2rem;
  margin-bottom: 0;
  color: rgba(255, 252, 247, 0.92);
  font-weight: 600;
}

.price-card ul,
.rules ul,
.faq details p,
.location ul {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  color: rgba(255, 252, 247, 0.8);
}

.location {
  background: var(--cream);
}

.location ul {
  color: var(--muted);
}

.map-wrap {
  margin-top: 1.6rem;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 360px;
  box-shadow: var(--shadow);
}

.map-wrap iframe {
  width: 100%;
  height: 380px;
  border: 0;
}

.faq details {
  background: #fff;
  border-radius: 0.9rem;
  padding: 1rem 1.15rem;
  margin-bottom: 0.65rem;
  box-shadow: 0 8px 24px rgba(12, 23, 18, 0.06);
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
}

.faq details p {
  color: var(--muted);
  padding-left: 0;
}

.contacts {
  background: linear-gradient(180deg, #e7dfcd, var(--cream));
}

.contact-grid {
  grid-template-columns: 0.9fr 1.1fr;
  margin-top: 1.8rem;
}

form {
  background: #fff;
  padding: 1.4rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: grid;
  gap: 0.75rem;
}

label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.88rem;
  font-weight: 700;
}

input,
textarea,
select {
  border: 1px solid rgba(21, 18, 15, 0.14);
  border-radius: 0.75rem;
  padding: 0.75rem 0.85rem;
  background: #fffcf7;
}

.contact-card {
  display: grid;
  gap: 0.85rem;
  align-content: start;
}

.contact-card a.line {
  display: flex;
  flex-direction: column;
  background: #fff;
  padding: 0.95rem 1rem;
  border-radius: 0.9rem;
  box-shadow: var(--shadow);
}

.contact-card small {
  color: var(--muted);
}

footer {
  background:
    radial-gradient(900px 280px at 12% 0%, rgba(201, 165, 106, 0.14), transparent 55%),
    linear-gradient(180deg, #12241c 0%, var(--forest-deep) 40%);
  color: rgba(255, 252, 247, 0.72);
  padding: 0 0 6.5rem;
  font-size: 0.95rem;
  border-top: 1px solid rgba(201, 165, 106, 0.18);
}

.footer-cta {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1.5rem;
  padding: 3.2rem 0 2.2rem;
  border-bottom: 1px solid rgba(255, 252, 247, 0.1);
}

.footer-cta h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
  color: var(--white);
  max-width: 16ch;
  margin-bottom: 0.55rem;
}

.footer-cta p {
  margin: 0;
}

.footer-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  flex-shrink: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.7fr 0.85fr 0.95fr;
  gap: 2rem 1.5rem;
  padding: 2.4rem 0 2rem;
}

.footer-brand .logo {
  margin-bottom: 0.9rem;
}

.footer-brand p {
  margin: 0 0 1.1rem;
  max-width: 34ch;
  line-height: 1.55;
}

.footer h3 {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 0.85rem;
}

.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.footer a {
  color: rgba(255, 252, 247, 0.78);
}

.footer a:hover {
  color: var(--gold);
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 252, 247, 0.16);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 700;
}

.footer-chip:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.footer-chip-max {
  padding: 0;
  overflow: hidden;
  border: 0;
  height: auto;
  background: transparent;
}

.footer-chip-max:hover {
  color: #fff;
  filter: brightness(1.08);
}

.footer-chip-tg {
  background: #2aabee;
  border-color: #2aabee;
  color: #fff;
}

.footer-chip-tg:hover {
  color: #fff;
  filter: brightness(1.08);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.2rem 0 0;
  border-top: 1px solid rgba(255, 252, 247, 0.1);
  font-size: 0.86rem;
}

.footer-credit {
  margin: 0.75rem 0 0;
  text-align: center;
  font-size: 0.75rem;
  opacity: 0.65;
}
.footer-credit a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-credit a:hover { opacity: 1; }


.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.float-bar {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.float-bar a {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.float-bar a img {
  display: block;
}

.max {
  padding: 0;
  background: linear-gradient(135deg, #1ea5ff, #b12de8);
}

.max img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.tg {
  padding: 0;
  background: #229ed9;
}

.tg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tel {
  background: var(--forest);
}

.tel img {
  width: 26px;
  height: 26px;
}

.lightbox,
.videobox {
  position: fixed;
  inset: 0;
  background: rgba(8, 12, 10, 0.92);
  display: none;
  place-items: center;
  z-index: 80;
  padding: 1.5rem;
}

.lightbox.open,
.videobox.open {
  display: grid;
}

.lightbox img,
.videobox video {
  max-width: min(1100px, 92vw);
  max-height: 82vh;
  border-radius: 0.8rem;
  user-select: none;
}

.lightbox-close,
.videobox button {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  font-size: 1.4rem;
  z-index: 2;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 252, 247, 0.92);
  color: #15120f;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

.lightbox-nav:hover {
  background: #fff;
}

.lightbox-prev {
  left: 1rem;
}

.lightbox-next {
  right: 1rem;
}

.lightbox-count {
  position: absolute;
  left: 50%;
  bottom: 1.1rem;
  transform: translateX(-50%);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

@media (max-width: 980px) {
  .burger {
    display: block;
  }

  .nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(12, 23, 18, 0.96);
    padding: 1rem 1.2rem 1.4rem;
    flex-direction: column;
    align-items: flex-start;
  }

  .header.open .nav {
    display: flex;
  }

  .stats-grid,
  .amenity-grid,
  .review-grid,
  .video-grid,
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-grid,
  .split,
  .price-grid,
  .contact-grid,
  .baikal-head {
    grid-template-columns: 1fr;
  }

  .baikal-facts {
    grid-template-columns: 1fr 1fr;
  }

  .footer-cta,
  .footer-bottom {
    display: grid;
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .baikal-viewport {
    height: min(68vh, 520px);
  }

  .baikal-caption {
    bottom: 2.8rem;
    left: 1rem;
    right: 1rem;
  }

  .hero-media .desktop-only {
    display: none;
  }

  .hero-media .mobile-only {
    display: block;
  }
}

@media (max-width: 640px) {
  .stats-grid,
  .video-grid,
  .gallery-grid,
  .amenity-grid,
  .review-grid {
    grid-template-columns: 1fr;
  }

  .logo span {
    display: none;
  }

  .footer .logo span {
    display: inline;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .baikal-facts {
    grid-template-columns: 1fr;
  }

  .lightbox-nav {
    width: 40px;
    height: 40px;
    font-size: 1.6rem;
  }

  .lightbox-prev {
    left: 0.4rem;
  }

  .lightbox-next {
    right: 0.4rem;
  }

  .hero-content {
    margin-bottom: 3.5rem;
  }

  .header-phone {
    display: none;
  }
}

/* Roomslot: stacking модалки поверх хедера / float-bar */
.header,
.hero-booking {
  overflow: visible;
}

html.roomslot-modal-open:not(.roomslot-modal-from-header) .header {
  z-index: 1;
}

html.roomslot-modal-open .float-bar {
  z-index: 1;
  pointer-events: none;
}

html.roomslot-modal-from-header .header {
  z-index: 10050;
  overflow: visible;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

html.roomslot-modal-from-header .hero-booking,
html.roomslot-modal-from-header .hero-content,
html.roomslot-modal-from-header .prices-booking {
  z-index: 0 !important;
  pointer-events: none;
}
