/* «У ручья» — стили сайта.
   Цвета и размеры собраны в :root. Шрифты: Lora (заголовки) и Onest (текст), лицензия SIL OFL. */

@font-face { font-family: "Lora"; src: url(../fonts/Lora.woff2) format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Onest"; src: url(../fonts/Onest.woff2) format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --paper: #f6f1e8;
  --sand: #ede4d4;
  --card: #fffdf9;
  --ink: #16282c;
  --ink-2: #3c5054;
  --ink-3: #5a696c;
  --line: #dcd2c1;
  --lake: #1c5466;
  --lake-2: #246a7f;
  --ice: #e3eef0;
  --night: #0f2227;
  --brick: #a9482b;
  --brick-2: #8c391f;
  --peach: #f0b48f;
  --gold: #e0a93b;
  --tg: #1777b0;
  --max: #5a3fd6;
  --danger: #b3261e;
  --focus: #e0763f;

  --serif: "Lora", Georgia, "Times New Roman", serif;
  --sans: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --gut: clamp(16px, 4vw, 40px);
  --max-w: 1240px;
  --r: 14px;
  --r-lg: 22px;
  --shadow: 0 1px 2px rgb(22 40 44 / .06), 0 10px 30px rgb(22 40 44 / .08);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --hdr-h: 72px;
}

/* ---------- основа ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr-h) + 12px); }
body {
  margin: 0; min-width: 320px; background: var(--paper); color: var(--ink);
  font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  font-variant-numeric: lining-nums;
}
@media (min-width: 700px) { body { font-size: 17px; } }
img { display: block; max-width: 100%; height: auto; }
img[style*="--ph"] { background-color: var(--ph); }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure, blockquote { margin: 0; }
address { font-style: normal; }
[hidden] { display: none !important; }
::selection { background: #f3cdb5; color: var(--ink); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 8px; }

.ic { width: 1.25em; height: 1.25em; flex: none; vertical-align: -.25em; }
.ic--lg { width: 28px; height: 28px; }
.container { width: min(100% - 2 * var(--gut), var(--max-w)); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; }
.only-narrow { display: inline; }
.only-wide { display: none; }
@media (min-width: 700px) { .only-narrow { display: none; } .only-wide { display: inline; } }

/* ---------- кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .7em 1.35em; border: 1.5px solid transparent; border-radius: 999px;
  font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; white-space: nowrap;
  transition: background-color .2s, border-color .2s, color .2s, transform .15s, box-shadow .2s;
}
.btn:active { transform: translateY(1px); }
@media (max-width: 379.98px) { .btn { white-space: normal; text-align: center; padding-inline: 1em; } }
.btn .ic { width: 1.15em; height: 1.15em; }
.btn--primary { background: var(--brick); color: #fff; box-shadow: 0 6px 18px rgb(169 72 43 / .28); }
.btn--primary:hover { background: var(--brick-2); }
.btn--line { border-color: rgb(22 40 44 / .28); color: var(--ink); background: transparent; }
.btn--line:hover { border-color: var(--ink); background: rgb(22 40 44 / .04); }
.btn--line-light { border-color: rgb(255 255 255 / .42); color: #fff; }
.btn--glass { background: rgb(255 255 255 / .12); border-color: rgb(255 255 255 / .42); color: #fff; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn--glass:hover { background: rgb(255 255 255 / .22); }
.btn--tg { background: var(--tg); color: #fff; }
.btn--tg:hover { background: #12628f; }
.btn--max { background: var(--max); color: #fff; }
.btn--max:hover { background: #4a31bd; }
.btn--lg { min-height: 56px; padding: .85em 1.6em; font-size: 1.0625rem; }
.btn--sm { min-height: 42px; padding: .5em 1.1em; font-size: .9375rem; }
.btn--block { width: 100%; }
.link {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 0; border: 0; background: none;
  color: var(--lake); font-weight: 500; font-size: .9375rem; text-decoration: underline; text-underline-offset: 3px;
}
.link:hover { color: var(--ink); }

/* ---------- шапка ---------- */
.hdr { position: fixed; inset: 0 0 auto; z-index: 50; color: #fff; transition: color .3s; }
.hdr::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .3s;
  background: rgb(246 241 232 / .9); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.hdr.is-solid { color: var(--ink); }
.hdr.is-solid::before { opacity: 1; }
.hdr__in { display: flex; align-items: center; gap: 20px; height: var(--hdr-h); }

.logo { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 10px; margin-right: auto; text-decoration: none; }
.logo__mark { width: 40px; height: 40px; }
.logo__name { display: block; font: 600 1.375rem/1 var(--serif); letter-spacing: -.01em; }
.logo__sub { display: block; margin-top: 4px; font-size: .6875rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; opacity: .78; }

.nav__list a { text-decoration: none; }
.hdr__actions { position: relative; z-index: 2; display: flex; align-items: center; gap: 14px; }
.hdr__phone { display: none; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; font-size: .9375rem; }
.hdr__cta { display: none; }
.burger {
  display: grid; place-content: center; gap: 5px; width: 46px; height: 46px; margin-right: -8px;
  border: 0; border-radius: 12px; background: transparent;
}
.burger span { display: block; width: 22px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s var(--ease), opacity .2s; }
.nav-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .burger span:nth-child(2) { opacity: 0; }
.nav-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 899.98px) {
  .nav {
    position: fixed; inset: 0; z-index: 1; display: flex; flex-direction: column; gap: 28px; overflow-y: auto;
    padding: calc(var(--hdr-h) + 20px) var(--gut) calc(28px + env(safe-area-inset-bottom));
    background: var(--paper); color: var(--ink);
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity .25s, transform .3s var(--ease), visibility 0s .3s;
  }
  .nav-open .nav { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .3s var(--ease); }
  .nav-open .hdr { color: var(--ink); }
  .nav-open .hdr::before { opacity: 0; }
  .nav__list a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); font: 500 1.75rem/1.2 var(--serif); }
  .nav__extra { display: grid; gap: 10px; margin-top: auto; }
  .nav__msg { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; margin-top: 6px; }
  .nav__msg a { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; text-decoration: none; color: var(--lake); }
}
@media (min-width: 900px) {
  .burger, .nav__extra { display: none; }
  .hdr__cta { display: inline-flex; }
  .nav__list { display: flex; gap: clamp(16px, 2vw, 30px); }
  .nav__list a { position: relative; font-size: .9375rem; font-weight: 500; padding: 6px 0; }
  .nav__list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
  .nav__list a:hover::after, .nav__list a[aria-current="true"]::after { transform: scaleX(1); }
}
@media (min-width: 1180px) { .hdr__phone { display: inline-flex; } }

/* ---------- первый экран ---------- */
.hero {
  --media-h: clamp(300px, 54svh, 560px);
  position: relative; isolation: isolate; background: var(--night); color: #fff;
  padding: calc(var(--media-h) - 70px) 0 32px;
}
.hero__media { position: absolute; inset: 0 0 auto; height: calc(var(--media-h) + 90px); z-index: -1; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 64% 50%; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgb(8 22 26 / .55) 0, rgb(8 22 26 / 0) 24%, rgb(15 34 39 / 0) 42%, rgb(15 34 39 / .85) 78%, var(--night) 100%);
}
.hero__in { position: relative; }
.season {
  display: inline-block; margin: 0 0 12px; padding: 6px 14px; border-radius: 999px;
  background: var(--brick); color: #fff; font-size: .875rem; font-weight: 600;
}
.rating {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; padding: 7px 14px 7px 10px;
  border: 1px solid rgb(255 255 255 / .3); border-radius: 999px; background: rgb(15 34 39 / .35);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-size: .875rem; text-decoration: none; transition: background-color .2s;
}
.rating:hover { background: rgb(15 34 39 / .55); }
.rating b { font-weight: 700; }
.rating__stars { display: inline-flex; gap: 1px; color: var(--gold); }
.rating__stars .ic { width: 15px; height: 15px; }
.hero__title {
  max-width: 12.5ch; font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.55rem, 1.35rem + 4.9vw, 5.6rem); line-height: 1.02; letter-spacing: -.018em; text-wrap: balance;
}
.hero__kicker {
  display: block; margin-bottom: 14px; font: 600 .8125rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; opacity: .92;
}
.hero__lead { max-width: 36ch; margin: 18px 0 26px; font-size: clamp(1.0625rem, 1rem + .4vw, 1.3125rem); line-height: 1.5; color: rgb(255 255 255 / .92); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero__actions .btn { flex: 1 1 auto; }
.facts {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px;
  margin-top: 34px; padding-top: 22px; border-top: 1px solid rgb(255 255 255 / .2);
}
.facts b { display: block; font: 500 clamp(1.5rem, 1.25rem + 1vw, 2.15rem)/1.1 var(--serif); }
.facts span { display: block; max-width: 22ch; margin-top: 4px; font-size: .875rem; line-height: 1.4; color: rgb(255 255 255 / .8); }

@media (min-width: 700px) {
  .hero__actions .btn { flex: 0 0 auto; }
}
@media (min-width: 900px) {
  .hero { min-height: min(100svh, 1040px); display: flex; align-items: flex-end; padding: calc(var(--hdr-h) + 64px) 0 40px; }
  .hero__media { inset: 0; height: auto; }
  .hero__media img { object-position: 50% 58%; }
  .hero__media::after {
    background:
      linear-gradient(180deg, rgb(8 22 26 / .5) 0, rgb(8 22 26 / 0) 18%),
      linear-gradient(0deg, rgb(10 28 33 / .9) 0, rgb(10 28 33 / .6) 32%, rgb(10 28 33 / 0) 60%),
      linear-gradient(90deg, rgb(10 28 33 / .5) 0, rgb(10 28 33 / 0) 58%);
  }
  .hero__in { width: min(100% - 2 * var(--gut), var(--max-w)); }
  .facts { grid-template-columns: repeat(4, 1fr); margin-top: 52px; }
}

/* ---------- секции ---------- */
.sec { padding-block: clamp(64px, 9vw, 124px); }
.sec--tight-top { padding-top: 0; }
.sec--paper { background: var(--paper); }
.sec--sand { background: var(--sand); }
.sec--night { background: var(--night); color: #e7eeee; }
.sec--lake { background: var(--lake); color: #fff; background-image: radial-gradient(1200px 500px at 85% -10%, rgb(255 255 255 / .08), transparent 60%); }
.sec__head { max-width: 780px; margin-bottom: clamp(32px, 5vw, 56px); }
.sec__head--split { max-width: none; display: grid; gap: 18px 56px; align-items: end; }
@media (min-width: 900px) { .sec__head--split { grid-template-columns: 1.05fr 1fr; } }
.eyebrow {
  display: flex; align-items: center; gap: 12px; margin: 0 0 16px;
  font: 600 .8125rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--brick);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; border-radius: 2px; background: currentColor; }
.sec--night .eyebrow, .sec--lake .eyebrow { color: var(--peach); }
.h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(2rem, 1.3rem + 2.6vw, 3.4rem); line-height: 1.08; letter-spacing: -.012em; text-wrap: balance; }
.sec__lead { max-width: 58ch; margin: 18px 0 0; font-size: clamp(1.0625rem, 1rem + .25vw, 1.1875rem); color: var(--ink-2); text-wrap: pretty; }
.sec__head--split .sec__lead { margin-top: 0; }
.sec--night .sec__lead { color: #b9c7c9; }

/* ---------- номера ---------- */
.rooms { display: grid; gap: 22px; }
@media (min-width: 900px) { .rooms { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; } }
.room { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r-lg); background: var(--card); box-shadow: var(--shadow); }
.room__body { flex: 1; display: flex; flex-direction: column; padding: 22px clamp(20px, 3vw, 32px) 26px; }
.room__meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0 0 10px; font-size: .875rem; color: var(--ink-2); }
.room__meta span { display: inline-flex; align-items: center; gap: 6px; }
.room__meta .ic { width: 1.05em; height: 1.05em; color: var(--lake); }
.room__title { margin-bottom: 16px; font: 500 clamp(1.5rem, 1.25rem + .9vw, 1.95rem)/1.15 var(--serif); }
.room__features { display: grid; gap: 10px; margin-bottom: 24px; }
.room__features li { display: flex; align-items: flex-start; gap: 12px; line-height: 1.45; }
.room__features .ic { margin-top: 1px; color: var(--lake); }
.room__foot { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.room__note { font-size: .8125rem; color: var(--ink-3); }
.room.is-flash { box-shadow: 0 0 0 3px var(--brick), var(--shadow); }

.carousel { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #d9d4cb; }
.carousel__track {
  position: absolute; inset: 0; display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory;
  scrollbar-width: none; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track:focus-visible { outline-offset: -4px; }
.carousel__slide { flex: 0 0 100%; height: 100%; scroll-snap-align: start; scroll-snap-stop: always; }
.carousel__slide a { display: block; height: 100%; cursor: zoom-in; }
.carousel__slide img { width: 100%; height: 100%; object-fit: cover; }
.carousel__slide.is-portrait a { background: #2b3436; }
.carousel__slide.is-portrait img { object-fit: contain; background: none !important; }
.carousel__btn {
  position: absolute; top: 50%; translate: 0 -50%; display: grid; place-items: center; width: 42px; height: 42px;
  border: 0; border-radius: 50%; background: rgb(255 253 249 / .92); color: var(--ink); box-shadow: 0 4px 14px rgb(0 0 0 / .18);
  transition: opacity .2s, background-color .2s;
}
.carousel__btn:hover { background: #fff; }
.carousel__btn:disabled { opacity: 0; pointer-events: none; }
.carousel__btn--prev { left: 12px; }
.carousel__btn--next { right: 12px; }
.carousel__count {
  position: absolute; right: 12px; bottom: 12px; padding: 4px 10px; border-radius: 999px;
  background: rgb(15 34 39 / .62); color: #fff; font-size: .8125rem; font-variant-numeric: tabular-nums; pointer-events: none;
}
@media (hover: hover) and (pointer: fine) {
  .carousel__btn { opacity: 0; }
  .carousel:hover .carousel__btn:not(:disabled), .carousel:focus-within .carousel__btn:not(:disabled) { opacity: 1; }
}

/* ---------- дом и двор ---------- */
.bento { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tile { position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--card); }
.tile--photo { grid-column: 1 / -1; aspect-ratio: 4 / 3; color: #fff; }
.tile__link { display: block; height: 100%; cursor: zoom-in; }
.tile--photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.tile--photo:hover img { transform: scale(1.03); }
.tile--photo figcaption {
  position: absolute; inset: auto 0 0; padding: 56px 20px 18px; pointer-events: none;
  background: linear-gradient(0deg, rgb(10 24 28 / .82), rgb(10 24 28 / 0)); font-size: .9375rem; line-height: 1.45;
}
.tile--photo figcaption b { display: block; margin-bottom: 4px; font: 500 1.375rem/1.2 var(--serif); }
.tile--feat { padding: 20px; box-shadow: var(--shadow); }
.tile--feat .ic { margin-bottom: 14px; padding: 8px; width: 44px; height: 44px; border-radius: 12px; background: var(--ice); color: var(--lake); }
.tile--feat h3 { margin-bottom: 6px; font: 600 1.0625rem/1.3 var(--sans); }
.tile--feat p { font-size: .9375rem; line-height: 1.5; color: var(--ink-2); }
@media (max-width: 699.98px) {
  .tile--feat { grid-column: 1 / -1; display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; padding: 16px 18px; }
  .tile--feat .ic { grid-row: span 2; margin: 0; }
  .tile--feat h3 { align-self: end; margin-bottom: 2px; }
}
@media (min-width: 700px) {
  .bento { gap: 16px; }
  .tile--feat { padding: 24px; }
}
@media (min-width: 1000px) {
  .bento { grid-template-columns: repeat(4, 1fr); grid-auto-flow: dense; }
  .tile--photo { aspect-ratio: auto; min-height: 260px; }
  .tile--a { grid-column: span 2; grid-row: span 2; }
  .tile--b { grid-column: span 2; }
}

/* ---------- хозяева и видео ---------- */
.hosts { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .hosts { grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: 64px; } }
.hosts__text > p:not(.eyebrow) { max-width: 52ch; font-size: 1.0625rem; color: var(--ink-2); }
.hosts__text .h2 { margin-bottom: 20px; }
.quote { margin-top: 28px; padding: 20px 24px; border-left: 3px solid var(--brick); border-radius: 0 var(--r) var(--r) 0; background: rgb(255 253 249 / .7); }
.quote p { margin-bottom: 8px; font: 500 1.1875rem/1.5 var(--serif); color: var(--ink); }
.quote footer { font-size: .875rem; color: var(--ink-3); }
.video__frame { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--r-lg); background: #1d2b2f; box-shadow: var(--shadow); }
.video__poster { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.video__play {
  position: absolute; inset: 0; display: flex; align-items: flex-end; gap: 14px; padding: clamp(16px, 3vw, 28px);
  border: 0; background: linear-gradient(0deg, rgb(0 0 0 / .6), rgb(0 0 0 / 0) 55%); color: #fff; text-align: left;
}
.video__btn {
  display: grid; place-items: center; width: 64px; height: 64px; flex: none; border-radius: 50%;
  background: #fff; color: var(--brick); box-shadow: 0 8px 24px rgb(0 0 0 / .3); transition: transform .25s var(--ease);
}
.video__btn .ic { width: 26px; height: 26px; margin-left: 4px; fill: currentColor; }
.video__play:hover .video__btn { transform: scale(1.07); }
.video__label { display: flex; flex-direction: column; font-weight: 600; font-size: 1.0625rem; line-height: 1.3; }
.video__label small { font-weight: 400; font-size: .875rem; opacity: .85; }
.video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__alt { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 14px; font-size: .9375rem; }
.video__alt a { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); }

/* ---------- отзывы ---------- */
.score { display: grid; gap: 22px; align-items: end; margin-bottom: clamp(28px, 4vw, 44px); }
@media (min-width: 1000px) { .score { grid-template-columns: 1fr auto auto; gap: 18px; } }
.score__big {
  display: inline-flex; align-items: center; gap: 16px; justify-self: start; padding: 16px 22px;
  border-radius: 18px; background: var(--card); box-shadow: var(--shadow); text-decoration: none;
}
.score__num { font: 500 3.4rem/1 var(--serif); letter-spacing: -.02em; }
.score__info { display: grid; gap: 6px; font-size: .875rem; line-height: 1.35; color: var(--ink-2); }
.score__stars { display: flex; gap: 2px; color: var(--gold); }
.score__stars .ic { width: 18px; height: 18px; }
.score__other { display: flex; flex-wrap: wrap; gap: 10px; }
.score__other a {
  display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: baseline; padding: 12px 16px;
  border: 1px solid var(--line); border-radius: var(--r); font-size: .9375rem; font-weight: 600; text-decoration: none; transition: border-color .2s;
}
.score__other a:hover { border-color: var(--ink-3); }
.score__other b { grid-row: span 2; font: 500 1.75rem/1 var(--serif); }
.score__other span { font-size: .8125rem; font-weight: 400; color: var(--ink-3); }

.reviews {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(86%, 360px); gap: 14px;
  margin-inline: calc(-1 * var(--gut)); padding: 4px var(--gut) 12px; scroll-padding-inline: var(--gut);
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin;
}
.review { display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: 18px; background: var(--card); box-shadow: var(--shadow); scroll-snap-align: start; }
.review__stars { display: flex; gap: 2px; color: var(--gold); }
.review__stars .ic { width: 16px; height: 16px; }
.review blockquote p { font: 400 1.0625rem/1.55 var(--serif); }
.review figcaption { margin-top: auto; display: grid; gap: 2px; font-size: .875rem; }
.review figcaption span { color: var(--ink-3); }
@media (min-width: 1000px) {
  .reviews { display: block; columns: 3; column-gap: 18px; margin: 0; padding: 0; overflow: visible; }
  .review { break-inside: avoid; margin-bottom: 18px; }
}
.reviews__more { margin-top: 24px; }

/* ---------- что рядом ---------- */
.around { display: grid; gap: 14px; }
.around__photo { position: relative; overflow: hidden; border-radius: var(--r-lg); background: #1d3036; }
.around__photo a { display: block; height: 100%; cursor: zoom-in; }
.around__photo img { width: 100%; height: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .6s var(--ease); }
.around__photo:hover img { transform: scale(1.03); }
.dist { margin-top: 10px; }
.dist li { display: grid; grid-template-columns: 92px 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid rgb(255 255 255 / .12); }
.dist b { font: 500 1.75rem/1.05 var(--serif); color: var(--peach); white-space: nowrap; }
.dist span { color: #b9c7c9; line-height: 1.5; }
.dist strong, .trips strong { display: block; margin-bottom: 3px; color: #fff; font-weight: 600; }
.trips { display: grid; gap: 10px; align-content: start; }
.trips li { display: flex; gap: 14px; padding: 18px; border-radius: var(--r); background: rgb(255 255 255 / .06); color: #b9c7c9; line-height: 1.5; }
.trips .ic { margin-top: 2px; color: var(--peach); width: 24px; height: 24px; }
@media (min-width: 700px) {
  .around { grid-template-columns: 1fr 1fr; }
  .around__photo--a { grid-column: 1 / -1; }
}
@media (min-width: 1000px) {
  .around { grid-template-columns: 1.45fr 1fr; grid-template-areas: "a b" "a c" "dist trips"; gap: 18px 20px; }
  .around__photo--a { grid-area: a; grid-column: auto; }
  .around__photo--a img { aspect-ratio: auto; }
  .around__photo--b { grid-area: b; }
  .around__photo--c { grid-area: c; }
  .dist { grid-area: dist; margin-top: 18px; }
  .trips { grid-area: trips; margin-top: 18px; }
}

/* ---------- фотографии ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
@media (min-width: 900px) { .filters { justify-content: flex-end; } }
.chip {
  padding: .55em 1.05em; border: 1px solid var(--line); border-radius: 999px; background: transparent;
  font-size: .9375rem; font-weight: 500; transition: background-color .2s, color .2s, border-color .2s;
}
.chip:hover { border-color: var(--ink-3); }
.chip[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: #fff; }
.chip span { margin-left: 3px; opacity: .6; }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 700px) { .gallery { grid-template-columns: repeat(3, 1fr); gap: 14px; } }
.js .gallery:not(.is-all):not(.is-filtered) .is-extra { display: none; }
html:not(.js) .gallery__more { display: none; }
.gallery__item a { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r); cursor: zoom-in; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery__item a:hover img { transform: scale(1.04); }
.gallery__cap {
  position: absolute; inset: auto 0 0; padding: 32px 12px 10px; color: #fff; font-size: .8125rem; line-height: 1.35;
  background: linear-gradient(0deg, rgb(0 0 0 / .62), rgb(0 0 0 / 0)); opacity: 0; transition: opacity .25s;
}
.gallery__item a:hover .gallery__cap, .gallery__item a:focus-visible .gallery__cap { opacity: 1; }
@media (hover: none) and (min-width: 700px) { .gallery__cap { opacity: 1; } }
.gallery__more { margin-top: 24px; text-align: center; }
.gallery__more span { color: var(--ink-3); font-weight: 500; }

/* ---------- бронирование ---------- */
/* Два режима блока: .is-online — главный модуль Контура; без класса — заявка напрямую. */
.booking-sec { position: relative; }
.booking-sec:not(.is-online) .only-online { display: none !important; }
.booking-sec.is-online .only-direct { display: none !important; }

.booking__head { display: grid; gap: 14px 56px; align-items: end; margin-bottom: clamp(28px, 4vw, 44px); }
@media (min-width: 900px) { .booking__head { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); } }
.booking__lead p { max-width: 50ch; margin: 0; font-size: clamp(1.0625rem, 1rem + .25vw, 1.1875rem); color: #d3e3e7; }
.booking__closed {
  display: flex; align-items: flex-start; gap: 12px; margin-top: 16px !important; padding: 14px 16px;
  border-radius: var(--r); background: rgb(255 255 255 / .1); color: #fff !important; font-size: 1rem !important;
}
.booking__closed .ic { margin-top: 2px; color: var(--peach); }

.online { margin-bottom: clamp(36px, 5vw, 56px); }
.online__widget {
  min-height: 96px; padding: 6px; border-radius: var(--r-lg); background: #fff; color: var(--ink);
  box-shadow: 0 24px 60px rgb(0 0 0 / .22);
}
.online__hint { display: flex; align-items: flex-start; gap: 10px; max-width: 70ch; margin: 16px 0 0; font-size: .9375rem; line-height: 1.5; color: #c6d9dd; }
.online__hint .ic { margin-top: 2px; color: var(--peach); }
/* Виджет Контура: убираем его собственную рамку и красим кнопку в цвета сайта.
   Если Контур поменяет вёрстку виджета, он просто останется в своём стандартном виде. */
#kontur-form [id^="bookingForm"] > div > div > div { box-sizing: border-box !important; width: 100% !important; max-width: none !important; padding: 14px !important; border: 0 !important; background: transparent !important; box-shadow: none !important; }
#kontur-form .WidgetBookingControlButtonContainer [data-tid="Button__root"] { background: none !important; box-shadow: none !important; }
#kontur-form .WidgetBookingControlButtonContainer [data-tid="Button__rootElement"] {
  min-height: 48px; border: 0 !important; border-radius: 999px !important; box-shadow: none !important;
  background: var(--brick) !important; color: #fff !important; font-weight: 600 !important;
}
#kontur-form .WidgetBookingControlButtonContainer [data-tid="Button__rootElement"]:hover { background: var(--brick-2) !important; }
#kontur-form .WidgetBookingControlButtonContainer [data-tid="Button__rootElement"] * { color: inherit !important; }
@media (max-width: 559.98px) {
  .online__widget { padding: 0; }
  #kontur-form [id^="bookingForm"] > div > div > div { padding: 12px 10px !important; }
}
/* Список номеров Контура нужен только для кнопок в карточках — на экране его не видно */
.kontur-rooms { position: absolute; top: 0; left: -10000px; width: 960px; visibility: hidden; pointer-events: none; }

.booking { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: start; }
@media (min-width: 1000px) { .booking { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 32px 56px; } }
.booking__sub { margin-bottom: 4px; font: 500 1.375rem/1.25 var(--serif); }
.booking__phone { display: inline-flex; align-items: center; gap: 14px; margin: 12px 0 20px; text-decoration: none; }
.booking__phone > .ic { width: 48px; height: 48px; padding: 12px; border-radius: 50%; background: rgb(255 255 255 / .12); }
.booking__phone span { font: 500 clamp(1.5rem, 1.3rem + .8vw, 1.85rem)/1.15 var(--serif); }
.booking__phone small { display: block; font: 500 .8125rem/1.3 var(--sans); opacity: .75; }
.booking__links { display: flex; flex-wrap: wrap; gap: 8px; }
.booking__links a {
  display: inline-flex; align-items: center; gap: 8px; padding: .55em 1em; border: 1px solid rgb(255 255 255 / .28); border-radius: 999px;
  font-size: .9375rem; text-decoration: none; transition: background-color .2s;
}
.booking__links a:hover { background: rgb(255 255 255 / .1); }

/* Заявка для мессенджера: в режиме онлайн-модуля свёрнута под заголовком */
.req-box__sum {
  display: flex; align-items: center; gap: 12px; padding: 16px 20px; border: 1px solid rgb(255 255 255 / .24); border-radius: var(--r-lg);
  background: rgb(255 255 255 / .07); font-weight: 600; list-style: none; cursor: pointer; transition: background-color .2s;
}
.req-box__sum::-webkit-details-marker { display: none; }
.req-box__sum:hover { background: rgb(255 255 255 / .12); }
.req-box__sum > span { flex: 1; }
.req-box__chev { transition: rotate .25s var(--ease); }
.req-box[open] .req-box__chev { rotate: 180deg; }
.req-box[open] > .req-box__sum { margin-bottom: 12px; }
.booking-sec:not(.is-online) .req-box__sum { display: none; }

.btn[aria-busy="true"] { cursor: progress; opacity: .8; }
.btn[aria-busy="true"] .ic { animation: busy 1s linear infinite; }
@keyframes busy { to { transform: rotate(360deg); } }

.req { padding: clamp(20px, 3vw, 36px); border-radius: var(--r-lg); background: var(--card); color: var(--ink); box-shadow: 0 24px 60px rgb(0 0 0 / .25); }
.req__title { margin-bottom: 20px; font: 500 1.5rem/1.2 var(--serif); }
.req__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.field { display: block; margin-bottom: 14px; }
.field__label { display: block; margin-bottom: 6px; font-size: .8125rem; font-weight: 600; color: var(--ink-2); }
.field__input {
  display: block; width: 100%; min-height: 50px; padding: .7em .9em; border: 1.5px solid var(--line); border-radius: 12px;
  background: #fff; color: var(--ink); font-size: 1rem; transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}
input[type="date"].field__input { min-width: 0; }
input[type="date"]::-webkit-date-and-time-value { text-align: left; }
.field__input:hover { border-color: #c4b8a4; }
.field__input:focus { outline: none; border-color: var(--lake); box-shadow: 0 0 0 3px rgb(28 84 102 / .18); }
.field__input[aria-invalid="true"] { border-color: var(--danger); }
.field__input::placeholder { color: #9aa4a5; }
textarea.field__input { min-height: 76px; resize: vertical; line-height: 1.45; }
.select { position: relative; display: block; }
.select .field__input { padding-right: 2.6em; text-overflow: ellipsis; }
.select > .ic { position: absolute; right: 14px; top: 50%; translate: 0 -50%; pointer-events: none; color: var(--ink-3); }
.select.is-flash .field__input { border-color: var(--brick); box-shadow: 0 0 0 3px rgb(169 72 43 / .2); }
.stepper { display: flex; align-items: center; justify-content: space-between; min-height: 50px; padding: 4px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; }
.stepper button { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 9px; background: var(--paper); color: var(--ink); transition: background-color .2s; }
.stepper button:hover:not(:disabled) { background: var(--sand); }
.stepper button:disabled { opacity: .35; cursor: default; }
.stepper output { font-weight: 600; font-size: 1.0625rem; font-variant-numeric: tabular-nums; }
.req__nights { min-height: 1.4em; margin: -6px 0 12px; font-size: .875rem; font-weight: 600; color: var(--lake); }
.req__ages { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 0 12px; }
.req__error { margin: 0 0 12px; padding: 10px 14px; border-radius: 10px; background: #fbe9e7; color: var(--danger); font-size: .9375rem; font-weight: 500; }
.field__opt { margin-left: 4px; font-weight: 400; color: var(--ink-3); }
/* ловушка для роботов: людям не видна */
.req__trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.check { display: flex; align-items: flex-start; gap: 12px; margin: 2px 0 16px; font-size: .9375rem; line-height: 1.45; cursor: pointer; }
.check input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--lake); cursor: pointer; }
.check input[aria-invalid="true"] { outline: 2px solid var(--danger); outline-offset: 2px; }
.check a, .req__how a { color: var(--lake); }
.req__submit { margin-top: 2px; }
.req__how { margin: 10px 0 0; font-size: .8125rem; color: var(--ink-3); }
.req__alt { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.req__alt-title { margin: 0 0 4px; font-size: .9375rem; font-weight: 600; }
.req__more { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.req--done { text-align: center; }
.req__done-ic { display: inline-grid; place-items: center; width: 56px; height: 56px; margin-bottom: 14px; border-radius: 50%; background: var(--ice); color: var(--lake); }
.req__done-ic .ic { width: 28px; height: 28px; }
.req--done .req__title { margin-bottom: 10px; }
.req__done-text { font-size: 1.0625rem; }
.req--done .link { margin-top: 14px; }

/* ---------- вопросы ---------- */
.faq { display: grid; gap: 32px; }
@media (min-width: 900px) { .faq { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 64px; align-items: start; } .faq__head { position: sticky; top: calc(var(--hdr-h) + 32px); } }
.faq__head .sec__lead { margin-bottom: 22px; }
.qa { border-bottom: 1px solid var(--line); }
.qa:first-child { border-top: 1px solid var(--line); }
.qa summary {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 0;
  list-style: none; cursor: pointer; font: 500 clamp(1.125rem, 1.05rem + .3vw, 1.25rem)/1.35 var(--serif);
}
.qa summary::-webkit-details-marker { display: none; }
.qa__ic { position: relative; flex: none; width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 50%; transition: background-color .2s, border-color .2s; }
.qa__ic::before, .qa__ic::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.6px; border-radius: 2px; background: currentColor; translate: -50% -50%; transition: rotate .25s var(--ease); }
.qa__ic::after { rotate: 90deg; }
.qa[open] .qa__ic { background: var(--ink); border-color: var(--ink); color: #fff; }
.qa[open] .qa__ic::after { rotate: 0deg; }
.qa summary:hover .qa__ic { border-color: var(--ink-3); }
.qa__a { max-width: 62ch; padding: 0 0 22px; color: var(--ink-2); }

/* ---------- контакты ---------- */
.contacts { display: grid; gap: 40px; }
@media (min-width: 900px) { .contacts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; align-items: start; } }
.contacts__info .h2 { margin-bottom: 22px; }
.contacts__addr { margin: 0 0 22px; }
.contacts__addr span { display: block; color: var(--ink-2); }
.contacts__addr b { display: block; font: 500 clamp(1.75rem, 1.4rem + 1vw, 2.3rem)/1.15 var(--serif); }
.contacts__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.contacts__list li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 12px 0; border-top: 1px solid var(--line); }
.contacts__list .ic { color: var(--lake); }
.contacts__list a { font-weight: 500; text-decoration: none; }
.contacts__list a:hover { text-decoration: underline; }
.contacts__list .sep { color: var(--ink-3); }
.way { margin-top: 30px; }
.way h3 { margin-bottom: 8px; font: 500 1.375rem/1.2 var(--serif); }
.way li { display: flex; gap: 14px; padding: 12px 0; line-height: 1.5; color: var(--ink-2); }
.way .ic { margin-top: 2px; color: var(--lake); }
.way strong { display: block; color: var(--ink); font-weight: 600; }
.map__frame { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r-lg); background: #cfd6d3; box-shadow: var(--shadow); }
@media (min-width: 900px) { .map { position: sticky; top: calc(var(--hdr-h) + 24px); } .map__frame { aspect-ratio: 4 / 4.4; } }
.map__poster { width: 100%; height: 100%; object-fit: cover; }
.map__card {
  position: absolute; left: 14px; right: 14px; bottom: 14px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 14px;
  padding: 14px 16px; border-radius: 16px; background: var(--card); box-shadow: var(--shadow);
}
.map__card p { display: flex; align-items: center; gap: 8px; margin: 0; font-weight: 600; }
.map__card .ic { color: var(--brick); }
.map__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__links { display: flex; gap: 22px; margin-top: 14px; font-size: .9375rem; }
.map__links a { display: inline-flex; align-items: center; gap: 4px; color: var(--ink-2); }

/* ---------- подвал ---------- */
.ftr { padding: 60px 0 calc(28px + env(safe-area-inset-bottom)); background: var(--night); color: #c3cfd1; font-size: .9375rem; }
.has-mbar .ftr { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
.ftr__in { display: grid; gap: 34px; }
@media (min-width: 900px) { .ftr__in { grid-template-columns: 1.3fr 1fr 1fr; gap: 48px; } }
.logo--light { color: #fff; margin-bottom: 14px; }
.ftr__brand p { max-width: 34ch; }
.ftr__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; align-content: start; }
.ftr__nav a { text-decoration: none; }
.ftr__nav a:hover, .ftr__contacts a:hover { color: #fff; }
.ftr__phone { display: inline-block; margin-bottom: 6px; font: 500 1.5rem/1.2 var(--serif); color: #fff; text-decoration: none; }
.ftr__contacts p { margin-bottom: 14px; }
.ftr__social { display: flex; gap: 10px; }
.ftr__social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgb(255 255 255 / .08); color: #fff; transition: background-color .2s; }
.ftr__social a:hover { background: rgb(255 255 255 / .18); }
.ftr__legal { display: flex; flex-wrap: wrap; gap: 6px 26px; margin-top: 44px; padding-top: 22px; border-top: 1px solid rgb(255 255 255 / .12); font-size: .8125rem; color: #8fa2a5; }
/* партнёры и значок Яндекса — неброско, под реквизитами */
.ftr__extra { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: 14px; font-size: .8125rem; color: #8fa2a5; }
.ftr__partners { margin: 0; }
.ftr__extra a { color: inherit; }
.ftr__extra a:hover { color: #fff; }
.ftr__iks { display: block; opacity: .75; transition: opacity .2s; }
.ftr__iks:hover { opacity: 1; }

/* ---------- мобильная панель, альбом, уведомление ---------- */
.mbar {
  position: fixed; inset: auto 0 0; z-index: 40; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 10px;
  padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom));
  background: rgb(15 34 39 / .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  transform: translateY(110%); transition: transform .35s var(--ease);
}
.mbar .btn { min-height: 48px; padding-inline: 1em; }
.mbar.is-on { transform: none; }
@media (min-width: 900px) { .mbar { display: none; } }

.lb { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0; background: rgb(9 15 17 / .97); color: #fff; overscroll-behavior: contain; }
.lb::backdrop { background: rgb(9 15 17 / .9); }
.lb[open] { display: block; }
.lb__fig { display: grid; grid-template-rows: 1fr auto; place-items: center; height: 100%; padding: 64px 12px calc(16px + env(safe-area-inset-bottom)); touch-action: pan-y; user-select: none; }
.lb__img { max-width: 100%; max-height: calc(100svh - 150px); width: auto; height: auto; object-fit: contain; border-radius: 6px; }
.lb__cap { min-height: 1.4em; margin-top: 12px; padding-inline: 56px; text-align: center; font-size: .9375rem; color: #d5dee0; }
.lb__count { position: fixed; top: 22px; left: 20px; margin: 0; font-size: .875rem; color: #aebcbe; font-variant-numeric: tabular-nums; }
.lb__btn { position: fixed; display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgb(255 255 255 / .12); color: #fff; transition: background-color .2s; }
.lb__btn:hover { background: rgb(255 255 255 / .24); }
.lb__btn .ic { width: 24px; height: 24px; }
.lb__close { top: 12px; right: 12px; }
.lb__prev { left: 16px; top: 50%; translate: 0 -50%; }
.lb__next { right: 16px; top: 50%; translate: 0 -50%; }
@media (max-width: 699.98px) {
  .lb__prev, .lb__next { top: auto; bottom: calc(10px + env(safe-area-inset-bottom)); translate: none; }
  .lb__fig { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
}
.lb.is-single .lb__prev, .lb.is-single .lb__next { display: none; }

.toast {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 60; max-width: min(92vw, 460px);
  padding: 12px 18px; border-radius: 12px; background: var(--ink); color: #fff; font-size: .9375rem; line-height: 1.4; text-align: center;
  box-shadow: 0 10px 30px rgb(0 0 0 / .25); opacity: 0; translate: -50% 16px; pointer-events: none; transition: opacity .25s, translate .25s;
}
.toast.is-on { opacity: 1; translate: -50% 0; }
.has-mbar .toast { bottom: calc(88px + env(safe-area-inset-bottom)); }

/* ---------- появление при прокрутке ---------- */
.js.motion [data-reveal] { opacity: 0; translate: 0 18px; transition: opacity .8s var(--ease), translate .8s var(--ease); }
.js.motion [data-reveal].is-in { opacity: 1; translate: 0 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
@media print {
  .hdr, .mbar, .toast, .lb, .video, .map, .req__alt, .online { display: none !important; }
  .hero { padding-top: 24px; color: var(--ink); background: none; }
  .hero__media { display: none; }
  .js.motion [data-reveal] { opacity: 1; translate: none; }
}
