/* База отдыха «Укок» — стили сайта */
:root {
  --forest: #12261e;
  --forest-2: #1b372b;
  --green: #1f7a50;
  --green-d: #176240;
  --fire: #e8912d;
  --fire-l: #ffc266;
  --cream: #f7f3ea;
  --sand: #ede5d5;
  --ink: #1d2320;
  --muted: #5d6a63;
  --white: #fff;
  --radius: 20px;
  --shadow: 0 10px 40px rgba(18, 38, 30, .10);
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'TildaSans', 'Segoe UI', Arial, sans-serif;
  --head: 76px;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--head) + 8px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 17px/1.6 var(--sans); overflow-x: hidden; }
body.locked { overflow: hidden; }
img, video, iframe { max-width: 100%; display: block; }
a { color: var(--green-d); }
h1, h2, h3, .facts b, .price b { font-variant-numeric: lining-nums; }
.contacts address > a.big { font-variant-numeric: lining-nums; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.15; margin: 0 0 .5em; font-weight: 700; }
h2 { font-size: clamp(30px, 4.6vw, 50px); }
h3 { font-size: 23px; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--fire); outline-offset: 2px; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.sec { padding: clamp(60px, 9vw, 110px) 0; }
.sec--sand { background: var(--sand); }
.sec--dark { background: var(--forest); color: #eef3ef; }
.eyebrow { display: block; text-transform: uppercase; letter-spacing: .18em; font-size: 13px; font-weight: 600; color: var(--green); margin-bottom: 12px; }
.sec--dark .eyebrow { color: var(--fire-l); }
.lead { font-size: 19px; color: var(--muted); max-width: 680px; }
.sec--dark .lead { color: #b9c9c0; }
.sec-head { margin-bottom: 40px; }

/* Кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 50px; padding: 12px 26px; border: 2px solid transparent; border-radius: 100px; background: var(--green); color: #fff; font-weight: 600; font-size: 16px; line-height: 1.2; text-decoration: none; text-align: center; transition: transform .18s, box-shadow .18s, background .18s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(0,0,0,.18); background: var(--green-d); }
.btn--fire { background: var(--fire); color: #23160a; }
.btn--fire:hover { background: var(--fire-l); }
.btn--ghost { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.55); color: #fff; backdrop-filter: blur(6px); }
.btn--ghost:hover { background: rgba(255,255,255,.2); }
.btn--line { background: transparent; border-color: var(--green); color: var(--green-d); }
.btn--line:hover { background: var(--green); color: #fff; }
.btn--sm { min-height: 42px; padding: 8px 18px; font-size: 15px; }
.btn--block { width: 100%; }
.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Шапка */
.head { position: fixed; inset: 0 0 auto; z-index: 60; height: var(--head); display: flex; align-items: center; color: #fff; transition: background .25s, box-shadow .25s; background: linear-gradient(rgba(0,0,0,.55), transparent); }
.head.solid, .head.open { background: var(--forest); box-shadow: 0 4px 24px rgba(0,0,0,.25); }
.head .wrap { display: flex; align-items: center; gap: 20px; width: min(1280px, 100% - 32px); }
.logo { display: flex; align-items: center; gap: 11px; color: #fff; text-decoration: none; margin-right: auto; }
.logo img { width: 46px; height: 49px; }
.logo b { display: block; font: italic 700 25px/1 var(--serif); }
.logo small { display: block; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; opacity: .8; white-space: nowrap; }
.nav { display: flex; gap: 22px; }
.nav a { color: #fff; text-decoration: none; font-size: 15px; padding: 6px 0; border-bottom: 2px solid transparent; white-space: nowrap; }
.nav a:hover, .nav a.active { border-color: var(--fire); }
.head-phone { color: #fff; text-decoration: none; font-weight: 600; white-space: nowrap; display: flex; gap: 7px; align-items: center; }
.burger { display: none; width: 46px; height: 46px; border: 0; background: none; color: #fff; padding: 11px; }
.burger span { display: block; height: 2px; background: currentColor; margin: 5px 0; transition: transform .25s, opacity .25s; }
.head.open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.head.open .burger span:nth-child(2) { opacity: 0; }
.head.open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 1180px) {
  .burger { display: block; }
  .nav { position: fixed; inset: var(--head) 0 auto; flex-direction: column; gap: 0; background: var(--forest); padding: 8px 24px 24px; max-height: calc(100dvh - var(--head)); overflow: auto; visibility: hidden; opacity: 0; transform: translateY(-10px); transition: .22s; }
  .head.open .nav { visibility: visible; opacity: 1; transform: none; }
  .nav a { font-size: 19px; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
}
@media (max-width: 640px) {
  .head-phone span { display: none; }
  .head-phone { width: 42px; height: 42px; justify-content: center; }
  .head .btn { display: none; }
  .head .wrap { gap: 6px; }
}

/* Первый экран */
.hero { position: relative; min-height: max(640px, 100svh); display: flex; align-items: flex-end; color: #fff; background: var(--forest); }
.hero > .slider { position: absolute; inset: 0; }
.hero .track, .hero .slide { height: 100%; }
.hero .slide img { width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(8,18,13,.25) 0%, rgba(8,18,13,.12) 30%, rgba(8,18,13,.78) 68%, rgba(8,18,13,.94) 100%); }
@media (min-width: 761px) { .hero::after { background: linear-gradient(90deg, rgba(8,18,13,.62) 0%, rgba(8,18,13,.35) 45%, transparent 75%), linear-gradient(180deg, rgba(8,18,13,.25) 0%, rgba(8,18,13,.05) 30%, rgba(8,18,13,.7) 70%, rgba(8,18,13,.92) 100%); } }
.hero-body { position: relative; z-index: 2; width: min(1180px, 100% - 40px); margin: 0 auto; padding: calc(var(--head) + 30px) 0 34px; pointer-events: none; }
.hero-body a, .hero-body button, .hero-body form { pointer-events: auto; }
.pill { display: inline-flex; align-items: center; gap: 9px; border: 1px solid rgba(255,255,255,.4); background: rgba(0,0,0,.35); border-radius: 100px; padding: 6px 16px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--fire); }
.hero h1 { font-size: clamp(34px, 4.7vw, 62px); max-width: 980px; margin: 18px 0 14px; text-shadow: 0 3px 30px rgba(0,0,0,.5); }
.hero h1 em { color: var(--fire-l); }
.hero-text { font-size: clamp(17px, 1.7vw, 20px); max-width: 640px; margin-bottom: 24px; text-shadow: 0 2px 12px rgba(0,0,0,.6); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.hero .dots { position: absolute; z-index: 3; right: 24px; top: calc(var(--head) + 14px); bottom: auto; left: auto; }
.field { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.field > span { font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.field input, .field select, .field textarea { width: 100%; min-width: 0; min-height: 48px; border: 1.5px solid #d9d3c5; border-radius: 12px; padding: 10px 13px; background: #fff; }
.field textarea { resize: vertical; }
@media (max-width: 760px) {
  .hero-cta .btn { flex: 1 1 100%; }
  .hero .dots { right: 12px; }
}

/* На телефоне кадр сверху целиком, чтобы вывеска не пряталась под заголовком */
@media (max-width: 760px) and (orientation: portrait) {
  .hero > .slider { bottom: auto; height: 150vw; max-height: 100%; }
  .hero .slide picture { display: block; height: 100%; }
  .hero .slide img { object-position: center top; }
  .hero::after { background: linear-gradient(180deg, rgba(8,18,13,.35) 0, transparent 22vw, transparent 66vw, rgba(18,38,30,.75) 100vw, var(--forest) 148vw); }
  .hero-body { padding-top: calc(86vw + 10px); }
  .hero h1 { margin-top: 12px; }
}

/* Полоса фактов */
.facts { background: var(--forest); color: #fff; }
.facts ul { list-style: none; margin: 0 auto; padding: 26px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.facts li { text-align: center; font-size: 15px; color: #b9c9c0; line-height: 1.35; }
.facts b { display: block; font: 700 30px/1.2 var(--serif); color: var(--fire-l); }
@media (max-width: 700px) { .facts ul { grid-template-columns: 1fr 1fr; } .facts b { font-size: 25px; } }

/* О базе */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 24px 0 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.4; }
.checks .ico { color: var(--green); margin-top: 1px; }
.media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--forest-2); }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 520px) { .checks { grid-template-columns: 1fr; } }

/* Слайдеры */
.slider { position: relative; overflow: hidden; }
.track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.track::-webkit-scrollbar { display: none; }
.track.dragging { scroll-snap-type: none; cursor: grabbing; user-select: none; }
.slide { flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always; margin: 0; position: relative; }
.slide img { -webkit-user-drag: none; user-select: none; }
.arrow { position: absolute; z-index: 4; top: 50%; translate: 0 -50%; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--ink); display: grid; place-items: center; box-shadow: 0 4px 14px rgba(0,0,0,.25); transition: scale .15s, opacity .2s; }
.arrow:hover { scale: 1.08; }
.arrow--prev { left: 12px; }
.arrow--next { right: 12px; }
.arrow .ico { width: 22px; height: 22px; stroke-width: 2.4; }
.dots { position: absolute; z-index: 3; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; }
.dots button { width: 20px; height: 22px; border: 0; background: none; padding: 0; display: grid; place-items: center; }
.dots button::after { content: ''; width: 8px; height: 8px; border-radius: 10px; background: rgba(255,255,255,.55); box-shadow: 0 0 4px rgba(0,0,0,.5); transition: .2s; }
.dots button.on::after { width: 18px; background: #fff; }
.count { position: absolute; z-index: 3; right: 12px; top: 12px; background: rgba(0,0,0,.6); color: #fff; border-radius: 100px; padding: 3px 11px; font-size: 13px; pointer-events: none; }
.zoomable { cursor: zoom-in; }
.hero .arrow { display: none; }
@media (min-width: 1360px) { .hero .arrow { display: grid; top: 38%; } }

/* Домики */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.chip { border: 1.5px solid #cfc6b2; background: transparent; border-radius: 100px; padding: 10px 19px; font-weight: 500; font-size: 15px; }
.chip.on { background: var(--forest); border-color: var(--forest); color: #fff; }
.houses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: start; }
.card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.card[hidden] { display: none; }
.card .slider { aspect-ratio: 4 / 3.6; background: var(--forest-2); }
.card .track, .card .slide { height: 100%; }
.card .slide img { width: 100%; height: 100%; object-fit: cover; }
.badge { position: absolute; z-index: 3; left: 12px; top: 12px; background: var(--fire); color: #23160a; font-weight: 700; font-size: 13px; border-radius: 100px; padding: 4px 13px; pointer-events: none; }
.card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 12px; }
.card h3 { margin: 0; }
.meta { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; padding: 0; list-style: none; }
.meta li { background: var(--cream); border-radius: 8px; padding: 4px 10px; font-size: 14px; }
.beds { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.45; min-height: 44px; }
.price { margin: 0; font-size: 15px; color: var(--muted); }
.price b { font: 700 27px var(--serif); color: var(--ink); }
.card details { font-size: 15px; border-top: 1px solid var(--sand); padding-top: 10px; }
.card summary { cursor: pointer; color: var(--green-d); font-weight: 600; }
.card details ul { margin: 10px 0 0; padding-left: 18px; line-height: 1.5; }
.card-actions { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.card-actions .btn--line { width: 50px; padding: 0; }
@media (max-width: 1020px) { .houses { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) { .houses { grid-template-columns: 1fr; } .beds { min-height: 0; } }
.note { margin-top: 36px; background: var(--forest); color: #fff; border-radius: var(--radius); padding: 30px 34px; display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.note h3 { margin-bottom: 4px; }
.note p { margin: 0; color: #b9c9c0; }

/* Галерея территории */
.ribbon .slide { flex-basis: calc((100% - 32px) / 3); height: 460px; border-radius: var(--radius); overflow: hidden; margin-right: 16px; scroll-snap-stop: normal; background: var(--forest-2); }
.ribbon .slide:last-child { margin-right: 0; }
.ribbon .slide img { width: 100%; height: 100%; object-fit: cover; transition: scale .5s; }
.ribbon .slide:hover img { scale: 1.04; }
.ribbon figcaption { position: absolute; inset: auto 0 0; padding: 40px 18px 16px; background: linear-gradient(transparent, rgba(0,0,0,.75)); color: #fff; font-weight: 600; pointer-events: none; }
@media (max-width: 900px) { .ribbon .slide { flex-basis: calc((100% - 16px) / 2); height: 380px; } }
@media (max-width: 600px) { .ribbon .slide { flex-basis: 86%; height: 400px; margin-right: 12px; } }
.gallery-actions { margin-top: 24px; display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* Услуги */
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.svc > img { width: 100%; height: 230px; object-fit: cover; }
.svc div { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.svc p { color: var(--muted); flex: 1; }
@media (max-width: 860px) { .cards3 { grid-template-columns: 1fr; } }

/* Видео */
.video { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }
.player { position: relative; border-radius: var(--radius); overflow: hidden; background: #000; height: min(620px, 80svh); }
.player video, .player > img { width: 100%; height: 100%; object-fit: contain; }
.player > img { object-fit: cover; }
.play { position: absolute; inset: 0; margin: auto; width: 86px; height: 86px; border-radius: 50%; border: 0; background: var(--fire); color: #23160a; display: grid; place-items: center; box-shadow: 0 0 0 12px rgba(232,145,45,.28); }
.play svg { width: 34px; height: 34px; fill: currentColor; margin-left: 5px; }
@media (max-width: 860px) { .video { grid-template-columns: 1fr; gap: 26px; } }

/* Отзывы */
.reviews { padding: 0 0 46px; }
.reviews .slide { flex-basis: calc((100% - 40px) / 3); margin-right: 20px; background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; scroll-snap-stop: normal; }
.reviews .slide:last-child { margin-right: 0; }
.reviews .track { padding-bottom: 36px; margin-bottom: -36px; }
.reviews blockquote { margin: 0 0 20px; flex: 1; font-size: 16px; white-space: pre-line; }
.who { display: flex; align-items: center; gap: 13px; }
.ava { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--forest); color: var(--fire-l); font: 700 20px var(--serif); flex: none; }
.who b { display: block; line-height: 1.3; }
.who small { color: var(--muted); }
.reviews .arrow { top: auto; bottom: 0; translate: none; background: var(--forest); color: #fff; }
.reviews .arrow--prev { left: calc(50% - 54px); }
.reviews .arrow--next { right: calc(50% - 54px); }
@media (max-width: 940px) { .reviews .slide { flex-basis: calc((100% - 20px) / 2); } }
@media (max-width: 640px) { .reviews .slide { flex-basis: 100%; margin-right: 16px; padding: 22px; } }

/* Шаги */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.steps li { counter-increment: s; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 28px; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--fire); color: #23160a; font: 700 22px var(--serif); margin-bottom: 18px; }
.steps p { color: #b9c9c0; margin: 0; }
.steps + .hero-cta { margin: 36px 0 0; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } .steps + .hero-cta .btn { flex: 1 1 100%; } }

/* Вопросы */
.faq { max-width: 860px; margin-inline: auto; }
.faq details { background: #fff; border-radius: 16px; margin-bottom: 12px; box-shadow: 0 3px 14px rgba(18,38,30,.06); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 60px 20px 24px; font-weight: 600; font-size: 18px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 22px; top: 50%; translate: 0 -50%; font-size: 30px; font-weight: 300; color: var(--green); transition: rotate .2s; }
.faq details[open] summary::after { rotate: 45deg; }
.faq .a { padding: 0 24px 22px; color: #3c4741; }
.faq .a ul, .faq .a ol { padding-left: 20px; }

/* Финальный призыв */
.final { position: relative; color: #fff; text-align: center; padding: clamp(80px, 12vw, 150px) 0; background: var(--forest); isolation: isolate; }
.final > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.final::before { content: ''; position: absolute; inset: 0; background: rgba(9,22,15,.68); z-index: -1; }
.final p { font-size: 19px; max-width: 600px; margin: 0 auto 28px; }
.final .hero-cta { justify-content: center; margin: 0; }
@media (max-width: 600px) { .final .btn { flex: 1 1 100%; } }

/* Контакты и подвал */
.contacts { display: grid; grid-template-columns: 5fr 7fr; gap: 40px; }
.contacts address { font-style: normal; }
.contacts address > a.big { display: block; font: 700 30px var(--serif); color: #fff; text-decoration: none; margin-bottom: 4px; }
.sec--dark a { color: #fff; }
.sec--dark a.btn--fire { color: #23160a; }
.contact-btns { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0; }
.map { border-radius: var(--radius); overflow: hidden; min-height: 440px; background: var(--forest-2); }
.map iframe { width: 100%; height: 100%; min-height: 440px; border: 0; }
@media (max-width: 860px) { .contacts { grid-template-columns: 1fr; } .map, .map iframe { min-height: 340px; } }
.foot { background: #0b1a13; color: #95a89d; font-size: 14px; padding: 30px 0 40px; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; }
.foot a, .linklike { color: #cfdcd4; }
.linklike { background: none; border: 0; padding: 0; text-decoration: underline; }

/* Плавающие кнопки */
.fab { position: fixed; right: 20px; bottom: 20px; z-index: 55; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.fab-main { width: 60px; height: 60px; border-radius: 50%; border: 0; background: var(--fire); color: #23160a; display: grid; place-items: center; box-shadow: 0 8px 26px rgba(0,0,0,.35); }
.fab-main .ico { width: 28px; height: 28px; }
.fab-list { display: flex; flex-direction: column; gap: 8px; align-items: stretch; }
.fab-list[hidden] { display: none; }
.fab-list .btn { box-shadow: 0 6px 20px rgba(0,0,0,.3); }
.mbar { display: none; }
@media (max-width: 640px) {
  .fab { bottom: calc(84px + env(safe-area-inset-bottom)); right: 14px; }
  .fab-main { display: none; }
  .mbar { display: grid; grid-template-columns: 1fr 1fr 1.5fr; gap: 8px; position: fixed; inset: auto 0 0; z-index: 56; background: rgba(18,38,30,.97); padding: 10px 10px calc(10px + env(safe-area-inset-bottom)); }
  .mbar .btn { min-height: 48px; padding: 6px 8px; font-size: 15px; }
  .foot { padding-bottom: 110px; }
}

/* Окна */
dialog { border: 0; padding: 0; border-radius: 24px; width: min(620px, 100% - 24px); max-height: calc(100dvh - 24px); background: var(--cream); color: var(--ink); box-shadow: 0 30px 90px rgba(0,0,0,.45); overflow: hidden; }
dialog[open] { display: flex; flex-direction: column; animation: pop .22s ease-out; }
dialog::backdrop { background: rgba(5,14,9,.72); backdrop-filter: blur(3px); }
@keyframes pop { from { opacity: 0; transform: translateY(18px); } }
.dlg-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 22px 12px; }
.dlg-head h2 { font-size: 26px; margin: 0; }
.close { width: 44px; height: 44px; flex: none; border: 0; border-radius: 50%; background: rgba(0,0,0,.07); font-size: 28px; line-height: 1; }
.dlg-body { overflow-y: auto; padding: 4px 22px 24px; overscroll-behavior: contain; }
.dlg--text { width: min(820px, 100% - 24px); }
.dlg--text h3 { font: 700 17px var(--sans); margin: 22px 0 8px; }
.dlg--text p { font-size: 15px; }

/* Просмотр фото на весь экран */
.lb { width: 100%; max-width: 100%; height: 100%; max-height: 100%; height: 100dvh; border-radius: 0; background: #06100b; color: #fff; }
.lb[open] { animation: none; }
.lb-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 14px; }
.lb-top p { margin: 0; font-size: 15px; }
.lb .close { background: rgba(255,255,255,.14); color: #fff; }
.lb .slider { flex: 1; min-height: 0; }
.lb .track, .lb .slide { height: 100%; }
.lb .slide { display: flex; align-items: center; justify-content: center; padding: 0 4px; }
.lb .slide img { width: 100%; height: 100%; object-fit: contain; }
.thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 12px 14px calc(14px + env(safe-area-inset-bottom)); justify-content: safe center; scrollbar-width: thin; }
.thumbs button { flex: 0 0 66px; height: 52px; padding: 0; border: 2px solid transparent; border-radius: 9px; overflow: hidden; background: #000; opacity: .5; }
.thumbs button.on { opacity: 1; border-color: var(--fire); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 640px) { .lb .arrow { width: 38px; height: 38px; background: rgba(255,255,255,.75); } }

/* Уведомления */
.toast { position: fixed; left: 50%; bottom: 96px; translate: -50% 0; z-index: 90; background: var(--ink); color: #fff; border-radius: 100px; padding: 11px 22px; font-size: 15px; box-shadow: var(--shadow); max-width: calc(100% - 30px); text-align: center; border: 0; margin: 0; width: max-content; }
.toast[hidden] { display: none; }
.cookie { position: fixed; right: 20px; top: calc(var(--head) + 44px); z-index: 58; background: #fff; border-radius: 16px; box-shadow: 0 10px 40px rgba(0,0,0,.28); padding: 14px 16px; display: flex; gap: 14px; align-items: center; font-size: 14px; max-width: 470px; line-height: 1.4; }
.cookie[hidden] { display: none; }
@media (max-width: 640px) { .cookie { top: auto; left: 10px; right: 10px; bottom: calc(78px + env(safe-area-inset-bottom)); } .cookie:not([hidden]) ~ .fab { display: none; } }

/* Появление при прокрутке */
.js .rv { opacity: 0; transform: translateY(26px); transition: opacity .6s, transform .6s; }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rv { opacity: 1; transform: none; }
}

/* Страница 404 */
.page { padding: calc(var(--head) + 36px) 0 70px; min-height: 80svh; }
.center { text-align: center; }

/* Страница бронирования */
body.book { background: #fff; }
.book-widget { width: min(1200px, 100%); margin-inline: auto; padding: 0 20px 40px; min-height: 80svh; }
.bnovo { text-align: right; font-size: 12px; margin: 8px 0 0; }
.bnovo a { color: #808080; }
.book-contacts { background: #2e2e2e; color: #fff; padding: clamp(50px, 10vw, 150px) 0; }
.book-contacts address { font-style: normal; }
.book-contacts h2 { font-size: clamp(45px, 6vw, 72px); }
.book-contacts a { color: #ff8562; }
.book-contacts a.plain, .book-contacts a[href^="tel"] { color: #fff; text-decoration: none; }
