/* Белый Берег — стили сайта.
   Фирменный стиль прежнего сайта на Тильде: Oswald, зелёная шапка #00ad82, заголовки #007562, текст #292929.
   Кнопки с белым текстом — на тёмном зелёном #007562 (контраст AA); яркий #00ad82 — фон шапки и акценты
   (на нём только тёмный текст). Каркас компонентов — как у krupka.vbela.ru. */

@font-face {
  font-family: "Oswald";
  src: url("../fonts/Oswald-cyrillic.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Oswald";
  src: url("../fonts/Oswald-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --c-brand: #00ad82;
  --c-brand-strong: #007562;
  --c-brand-strong-hover: #005c4d;
  --c-brand-soft: #e5f6f1;
  --c-forest: #10352d;
  --c-forest-2: #0b2721;

  --c-ink: #292929;
  --c-text: #3b3b3b;
  --c-muted: #626262;
  --c-line: #e3e8e6;
  --c-bg: #ffffff;
  --c-bg-alt: #f3f7f5;
  --c-gold: #ffe100;

  --c-wa: #25d366;
  --c-wa-ink: #053a1a;
  --c-viber: #7360f2;
  --c-viber-hover: #5f4ce0;
  --c-error: #b42318;

  --font: "Oswald", "Arial Narrow", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --radius-s: 8px;
  --radius: 14px;
  --radius-l: 20px;
  --radius-pill: 999px;
  --shadow: 0 12px 32px rgba(16, 53, 45, .10);
  --shadow-s: 0 4px 14px rgba(16, 53, 45, .07);

  --container: 1200px;
  --gutter: 16px;
  --section: 64px;
  --header-h: 68px;
}
@media (min-width: 768px) {
  :root { --gutter: 24px; --section: 88px; --header-h: 80px; }
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.55;
  color: var(--c-text);
  background: var(--c-bg);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--c-brand-strong); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--c-brand-strong-hover); }
strong, b { font-weight: 500; }
h1, h2, h3, h4 { color: var(--c-brand-strong); line-height: 1.2; margin: 0 0 .5em; font-weight: 500; }
h1 { font-size: clamp(2rem, 1.4rem + 3vw, 3.4rem); font-weight: 600; }
h2 { font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.75rem); }
h3 { font-size: clamp(1.2rem, 1.1rem + .5vw, 1.45rem); }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--c-brand-strong); outline-offset: 3px; border-radius: 4px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--c-ink); color: #fff; border-radius: var(--radius-s); }
.skip-link:focus { top: 12px; color: #fff; }
.anchor { display: block; position: relative; top: calc(-1 * var(--header-h)); visibility: hidden; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section--alt { background: var(--c-bg-alt); }
.section--tight { padding: calc(var(--section) * .6) 0; }
.section__head { max-width: 820px; margin: 0 auto 40px; text-align: center; }
.section__head p { color: var(--c-muted); font-size: 1.15rem; margin: 0; }
.title-caps { text-transform: uppercase; }
.eyebrow { display: inline-block; margin-bottom: 10px; font-size: .9rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--c-brand-strong); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 30px;
  border: 2px solid transparent; border-radius: var(--radius-pill);
  font: 500 17px/1 var(--font); text-decoration: none; cursor: pointer; text-align: center;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 22px; height: 22px; flex: none; }
.btn--primary { background: var(--c-brand-strong); color: #fff; }
.btn--primary:hover { background: var(--c-brand-strong-hover); color: #fff; }
.btn--wa { background: var(--c-wa); color: var(--c-wa-ink); }
.btn--wa:hover { background: #1fbe5b; color: var(--c-wa-ink); }
.btn--viber { background: var(--c-viber); color: #fff; }
.btn--viber:hover { background: var(--c-viber-hover); color: #fff; }
.btn--ghost { background: transparent; color: var(--c-ink); border-color: #cfd8d4; }
.btn--ghost:hover { border-color: var(--c-ink); color: var(--c-ink); }
.btn--light { background: #fff; color: var(--c-brand-strong); }
.btn--light:hover { background: var(--c-brand-soft); color: var(--c-brand-strong); }
.btn--gold { background: var(--c-gold); color: #1c1c1c; }
.btn--gold:hover { background: #f2d400; color: #1c1c1c; }
.btn--small { min-height: 42px; padding: 0 20px; font-size: 16px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row--center { justify-content: center; }

/* ---------- header (зелёная шапка, как на прежнем сайте) ---------- */
.header { position: sticky; top: 0; z-index: 50; background: var(--c-brand); color: var(--c-ink); box-shadow: 0 2px 10px rgba(0, 0, 0, .08); }
.header__inner { display: flex; align-items: center; gap: 20px; height: var(--header-h); }
.header__logo { display: block; flex: none; }
.header__logo img { height: 46px; width: auto; }
@media (min-width: 768px) { .header__logo img { height: 58px; } }
.nav { display: none; margin-left: auto; }
.nav__list { display: flex; gap: 2px; margin: 0; padding: 0; list-style: none; }
.nav__link { display: block; padding: 8px 12px; border-radius: var(--radius-pill); color: #14211d; font-size: 1.1rem; font-weight: 400; text-decoration: none; }
.nav__link:hover { background: rgba(255, 255, 255, .25); color: #000; }
.nav__link[aria-current="page"] { background: rgba(255, 255, 255, .35); color: #000; }
.header__actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.header__phone { display: none; color: #14211d; font-size: 1.1rem; font-weight: 500; text-decoration: none; white-space: nowrap; }
.header__phone:hover { color: #000; text-decoration: underline; }
.icon-btn {
  display: inline-grid; place-items: center; width: 40px; height: 40px; flex: none;
  border-radius: 50%; border: 0; cursor: pointer; color: #fff; text-decoration: none; background: #1c1c1c;
}
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn:hover { background: #000; color: #fff; }
.icon-btn--wa { background: var(--c-wa); color: var(--c-wa-ink); }
.icon-btn--viber { background: var(--c-viber); color: #fff; }
.icon-btn--wa:hover, .icon-btn--viber:hover { filter: brightness(.95); }
.header .icon-btn--wa, .header .icon-btn--viber, .header .icon-btn--ig { background: #1c1c1c; color: #fff; }
.header__cta { display: none; }
.header .btn--light { color: var(--c-brand-strong); }
.burger { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-right: -6px; border: 0; background: none; cursor: pointer; color: #14211d; }
.burger svg { width: 30px; height: 30px; }
.burger__close { display: none; }
.header.is-open .burger__open { display: none; }
.header.is-open .burger__close { display: block; }
.mobile-nav { display: none; padding: 8px var(--gutter) 24px; background: #fff; border-top: 1px solid var(--c-line); max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
.header.is-open .mobile-nav { display: block; }
.mobile-nav ul { margin: 0 0 16px; padding: 0; list-style: none; }
.mobile-nav a.mobile-nav__link { display: block; padding: 13px 4px; border-bottom: 1px solid var(--c-line); color: var(--c-ink); font-size: 1.2rem; font-weight: 400; text-decoration: none; }
.mobile-nav__phone { display: block; margin: 4px 0 6px; font-size: 1.35rem; font-weight: 500; color: var(--c-ink); text-decoration: none; }
@media (min-width: 560px) { .header__ig { display: inline-grid; } }
.header__ig, .header__msg { display: none; }
@media (min-width: 560px) { .header__msg { display: inline-grid; } }
@media (min-width: 1100px) {
  .nav { display: block; }
  .header__actions { margin-left: 12px; }
  .header__phone { display: inline; }
  .header__cta { display: inline-flex; }
  .header__ig { display: inline-grid; }
  .burger, .mobile-nav, .header.is-open .mobile-nav { display: none; }
}
@media (min-width: 1100px) and (max-width: 1260px) { .header__ig, .header__phone { display: none; } }

/* ---------- hero slider ---------- */
.hero { position: relative; min-height: min(80vh, 720px); color: #fff; background: var(--c-forest); overflow: hidden; }
.hero__slide { position: absolute; inset: 0; display: flex; align-items: center; opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility .9s; }
.hero__slide.is-active { opacity: 1; visibility: visible; }
.hero__media, .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__media::after, .page-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 92, 77, .38) 0%, rgba(0, 92, 77, .48) 60%, rgba(6, 40, 33, .7) 100%); }
.hero__title, .hero__text, .page-hero h1, .page-hero__text { text-shadow: 0 2px 18px rgba(0, 0, 0, .35); }
.hero__content { position: relative; width: 100%; padding-top: 48px; padding-bottom: 96px; text-align: center; }
.hero__title { max-width: 900px; margin: 0 auto 18px; color: #fff; font-size: clamp(2rem, 1.4rem + 3vw, 3.4rem); font-weight: 500; text-wrap: balance; }
.hero__text { max-width: 700px; margin: 0 auto 32px; font-size: clamp(1.1rem, 1rem + .4vw, 1.35rem); }
.hero__controls { position: absolute; left: 0; right: 0; bottom: 26px; z-index: 2; display: flex; justify-content: center; align-items: center; gap: 14px; }
.hero__dot { width: 12px; height: 12px; padding: 0; border: 2px solid #fff; border-radius: 50%; background: transparent; cursor: pointer; }
.hero__dot[aria-current="true"] { background: #fff; }
.hero__arrow { display: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #fff; color: #1c1c1c; cursor: pointer; }
.hero__arrow:hover { background: var(--c-brand-soft); }
.hero__arrow svg { width: 22px; height: 22px; margin: auto; }
@media (min-width: 768px) { .hero__arrow { display: grid; place-items: center; } }

/* page hero (внутренние страницы) */
.page-hero { position: relative; min-height: 460px; display: flex; align-items: center; color: #fff; background: var(--c-forest); overflow: hidden; text-align: center; }
.page-hero__media, .page-hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero__content { position: relative; width: 100%; padding-top: 72px; padding-bottom: 72px; }
.page-hero h1 { color: #fff; max-width: 900px; margin-left: auto; margin-right: auto; text-wrap: balance; }
.page-hero__text { max-width: 720px; margin: 0 auto 28px; font-size: 1.25rem; }
.page-hero .eyebrow { color: #fff; opacity: .9; }
.page-hero .crumbs { justify-content: center; }
.page-hero--gold h1 { color: #fff; }

/* ---------- prose ---------- */
.prose { max-width: 820px; margin: 0 auto; font-size: 1.15rem; }
.prose--left { margin: 0; }
.prose > :last-child { margin-bottom: 0; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.lead { font-size: clamp(1.15rem, 1.05rem + .4vw, 1.35rem); color: var(--c-ink); }
.quote { max-width: 900px; margin: 0 auto; padding: 28px 32px; border-left: 4px solid var(--c-brand); border-radius: 0 var(--radius) var(--radius) 0; background: var(--c-bg-alt); font-size: 1.15rem; color: var(--c-ink); }
.quote > :last-child { margin-bottom: 0; }

/* ---------- split (text + image/video) ---------- */
.split { display: grid; gap: 32px; align-items: center; }
.split__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-l); box-shadow: var(--shadow); }
.split__body > :last-child { margin-bottom: 0; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 56px; }
  .split--reverse .split__media { order: -1; }
}

/* ---------- photo strip ---------- */
.strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 32px; }
.strip a { display: block; overflow: hidden; border-radius: var(--radius-s); }
.strip img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s; }
.strip a:hover img { transform: scale(1.03); }

/* ---------- offer cards (фото с подписью + текст) ---------- */
.offers { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .offers { grid-template-columns: repeat(3, 1fr); } }
.offer__media { position: relative; overflow: hidden; border-radius: var(--radius); }
.offer__media img { width: 100%; aspect-ratio: 6 / 5; object-fit: cover; }
.offer__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, .65) 100%); }
.offer__title { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 1; margin: 0; color: #fff; font-size: 1.4rem; font-weight: 500; }
.offer__text { margin: 16px 0 0; color: var(--c-muted); font-size: 1.05rem; }

/* ---------- services (фото слева, заголовок и текст справа) ---------- */
.services { display: grid; gap: 32px 48px; grid-template-columns: 1fr; margin: 0; padding: 0; list-style: none; }
@media (min-width: 900px) { .services { grid-template-columns: 1fr 1fr; } }
.service { display: grid; grid-template-columns: 120px 1fr; gap: 20px; align-items: start; }
@media (min-width: 560px) { .service { grid-template-columns: 150px 1fr; gap: 28px; } }
.service__media img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius-s); }
.service h3 { margin: 6px 0 8px; font-size: 1.35rem; }
.service p { margin: 0; color: var(--c-muted); font-size: 1.02rem; }

/* ---------- cards with icon (преимущества, СПА-процедуры, питание) ---------- */
.features { display: grid; gap: 20px; grid-template-columns: 1fr; margin: 0; padding: 0; list-style: none; }
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .features { grid-template-columns: repeat(3, 1fr); } }
.features--4 { }
@media (min-width: 1100px) { .features--4 { grid-template-columns: repeat(4, 1fr); } }
.feature { padding: 26px 24px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-s); }
.section--alt .feature { box-shadow: none; }
.feature__icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 16px; border-radius: 50%; background: var(--c-brand-soft); color: var(--c-brand-strong); }
.feature__icon svg { width: 26px; height: 26px; }
.feature h3 { margin-bottom: 6px; font-size: 1.3rem; }
.feature p { margin: 0; color: var(--c-muted); font-size: 1.02rem; }
.checks { display: grid; gap: 12px 32px; grid-template-columns: 1fr; margin: 0; padding: 0; list-style: none; }
@media (min-width: 700px) { .checks { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .checks { grid-template-columns: repeat(3, 1fr); } }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 1.15rem; color: var(--c-ink); }
.checks svg { width: 24px; height: 24px; flex: none; margin-top: 3px; color: var(--c-brand); }

/* ---------- cover banner (заголовок на фото: «Уютный обеденный зал», «СПА зона») ---------- */
.cover { position: relative; display: grid; place-items: center; min-height: 340px; padding: 64px var(--gutter); color: #fff; text-align: center; overflow: hidden; background: var(--c-forest); }
.cover__media, .cover__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cover__media::after { content: ""; position: absolute; inset: 0; background: rgba(0, 60, 50, .45); }
.cover h2 { position: relative; margin: 0; color: #fff; font-size: clamp(2.2rem, 1.6rem + 3vw, 4rem); text-shadow: 0 2px 18px rgba(0, 0, 0, .35); }

/* ---------- rooms ---------- */
.room-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0; padding: 0; list-style: none; }
.room-nav a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border: 1.5px solid #cfd8d4; border-radius: var(--radius-pill); color: var(--c-ink); font-weight: 400; text-decoration: none; }
.room-nav a:hover, .room-nav a[aria-current="page"] { border-color: var(--c-brand-strong); color: var(--c-brand-strong); background: var(--c-brand-soft); }
.building { margin-bottom: 56px; }
.building:last-child { margin-bottom: 0; }
.building__head { display: grid; gap: 8px; max-width: 860px; margin-bottom: 28px; }
.building__head h2 { margin: 0; display: flex; align-items: center; gap: 12px; }
.building__head h2 svg { width: 30px; height: 30px; color: var(--c-brand); }
.building__head p { margin: 0; color: var(--c-muted); }
.rooms { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .rooms { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .rooms { grid-template-columns: repeat(3, 1fr); } }
.room-card { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius-l); background: #fff; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; }
.room-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(16, 53, 45, .14); }
.room-card__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.room-card__body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 26px; }
.room-card__title { margin-bottom: 10px; font-size: 1.55rem; }
.room-card__title a { color: inherit; text-decoration: none; }
.room-card__title a::after { content: ""; position: absolute; inset: 0; }
.room-card__text { color: var(--c-muted); font-size: 1.02rem; }
.room-card__more { margin-top: auto; font-weight: 500; color: var(--c-brand-strong); }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; padding: 0; list-style: none; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--radius-pill); background: var(--c-brand-soft); color: var(--c-ink); font-size: .95rem; font-weight: 400; }
.badge svg { width: 16px; height: 16px; color: var(--c-brand-strong); }

/* страница номера */
.crumbs { margin: 0 0 18px; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: 1rem; color: var(--c-muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.crumbs a { color: var(--c-muted); text-decoration: none; }
.crumbs a:hover { color: var(--c-ink); text-decoration: underline; }
.page-hero .crumbs, .page-hero .crumbs a { color: rgba(255, 255, 255, .9); }
.room-layout { display: grid; gap: 40px; }
@media (min-width: 1000px) { .room-layout { grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; align-items: start; } }
.booking-box { padding: 28px; border-radius: var(--radius-l); background: var(--c-bg-alt); }
@media (min-width: 1000px) { .booking-box { position: sticky; top: calc(var(--header-h) + 24px); } }
.booking-box h2 { font-size: 1.6rem; }
.booking-box .btn { width: 100%; }
.booking-box .btn-row { flex-direction: column; }
.booking-box__phone { display: block; margin-top: 18px; text-align: center; font-size: 1.3rem; font-weight: 500; color: var(--c-ink); text-decoration: none; }

/* ---------- gallery ---------- */
.gallery { display: grid; gap: 8px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .gallery { grid-template-columns: repeat(4, 1fr); gap: 12px; } }
.gallery--hero { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) {
  .gallery--hero { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, 1fr); }
  .gallery--hero .gallery__item:first-child { grid-row: span 2; }
}
.gallery__item[hidden] { display: none; }
.gallery__item { position: relative; display: block; overflow: hidden; border-radius: var(--radius-s); padding: 0; border: 0; background: var(--c-bg-alt); cursor: zoom-in; }
.gallery__item img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s; }
.gallery--hero .gallery__item:first-child img { aspect-ratio: auto; min-height: 100%; }
.gallery__item:hover img { transform: scale(1.03); }
.gallery__more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(6, 40, 33, .55); color: #fff; font-size: 1.25rem; font-weight: 500; }

/* lightbox */
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(6, 14, 12, .94); color: #fff; }
.lightbox::backdrop { background: rgba(6, 14, 12, .94); }
.lightbox__stage { position: absolute; inset: 56px 12px 56px; display: grid; place-items: center; }
.lightbox__stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; }
.lightbox__btn { position: absolute; z-index: 2; display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; }
.lightbox__btn:hover { background: rgba(255, 255, 255, .24); }
.lightbox__btn svg { width: 24px; height: 24px; }
.lightbox__close { top: 6px; right: 8px; }
.lightbox__prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 8px; top: 50%; transform: translateY(-50%); }
.lightbox__count { position: absolute; left: 0; right: 0; bottom: 16px; text-align: center; font-size: .95rem; opacity: .8; }

/* ---------- video ---------- */
.video { position: relative; overflow: hidden; border-radius: var(--radius-l); background: #000; aspect-ratio: 16 / 9; box-shadow: var(--shadow); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__play { position: absolute; inset: 0; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
.video__play img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .2s; }
.video__play:hover img { opacity: 1; }
.video__icon { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 72px; height: 72px; transform: translate(-50%, -50%); border-radius: 50%; background: rgba(255, 255, 255, .92); color: #e00; }
.video__icon svg { width: 30px; height: 30px; margin-left: 4px; }

/* ---------- event program (Новый год) ---------- */
.program { display: grid; gap: 56px; }
.day__date { display: inline-block; margin-bottom: 8px; padding: 6px 16px; border-radius: var(--radius-pill); background: var(--c-gold); color: #1c1c1c; font-size: 1.1rem; font-weight: 500; }
.day h2 { margin-bottom: 24px; }
.timeline { margin: 0; padding: 0; list-style: none; display: grid; gap: 20px; }
.timeline__item { display: grid; gap: 16px; grid-template-columns: 1fr; padding: 20px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-s); }
@media (min-width: 700px) { .timeline__item { grid-template-columns: 200px 1fr; gap: 28px; align-items: center; } }
.timeline__item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-s); }
.timeline__time { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 6px; color: var(--c-brand-strong); font-size: 1.15rem; font-weight: 500; }
.timeline__time svg { width: 20px; height: 20px; }
.timeline__item h3 { margin: 0 0 6px; color: var(--c-ink); font-size: 1.35rem; }
.timeline__item p { margin: 0; color: var(--c-muted); }

/* ---------- routes (как добраться) ---------- */
.routes { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .routes { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .routes { grid-template-columns: repeat(4, 1fr); } }
.route { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-s); }
.route img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.route__body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 24px; }
.route h3 { font-size: 1.3rem; margin-bottom: 8px; }
.route p { color: var(--c-muted); font-size: 1rem; }
.route .btn { margin-top: auto; align-self: flex-start; }
.find { display: grid; gap: 32px; align-items: start; }
@media (min-width: 900px) { .find { grid-template-columns: 1fr 1.4fr; gap: 48px; } }
.find .map { height: 320px; border-radius: var(--radius-l); overflow: hidden; }
.widget { margin-top: 40px; }

/* ---------- booking CTA ---------- */
.booking { background: var(--c-bg-alt); }
.booking .split__media img { aspect-ratio: 3 / 2; }
.booking__phones { margin: 0 0 20px; font-size: 1.3rem; font-weight: 500; color: var(--c-ink); }
.booking__phones a { color: inherit; text-decoration: none; white-space: nowrap; }
.banner { padding: 56px 0; background: var(--c-brand-strong); color: #fff; text-align: center; }
.banner h2 { color: #fff; max-width: 900px; margin: 0 auto 12px; }
.banner p { margin: 0 0 24px; font-size: 1.25rem; }
.banner a:not(.btn) { color: #fff; }

/* ---------- contacts ---------- */
.contacts { display: grid; gap: 40px; }
@media (min-width: 900px) { .contacts { grid-template-columns: 1fr 1.1fr; gap: 64px; } }
.contacts__list { margin: 0 0 24px; padding: 0; list-style: none; }
.contacts__list li { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--c-line); }
.contacts__list svg { width: 22px; height: 22px; flex: none; margin-top: 4px; color: var(--c-brand-strong); }
.contacts__list a { color: var(--c-ink); font-weight: 500; text-decoration: none; }
.contacts__list a:hover { color: var(--c-brand-strong); }
.contacts__label { display: block; font-size: .9rem; color: var(--c-muted); }

.form { padding: 28px; border-radius: var(--radius-l); background: var(--c-bg-alt); }
@media (min-width: 768px) { .form { padding: 36px; } }
.form h3 { margin-bottom: 6px; }
.form__hint { margin-bottom: 20px; color: var(--c-muted); font-size: 1.02rem; }
.field { margin-bottom: 14px; }
.field label { display: block; margin-bottom: 6px; font-size: 1rem; font-weight: 400; color: var(--c-ink); }
.field input, .field textarea {
  width: 100%; padding: 13px 16px;
  border: 1.5px solid #c9d3cf; border-radius: var(--radius-s);
  background: #fff; color: var(--c-ink); font: 400 17px/1.4 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--c-brand-strong); box-shadow: 0 0 0 3px rgba(0, 173, 130, .25); }
.field__opt { color: var(--c-muted); }
.field--hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field__row { display: grid; gap: 14px; }
@media (min-width: 560px) { .field__row { grid-template-columns: 1fr 1fr; } }
.form__agree { margin: 4px 0 18px; font-size: .92rem; color: var(--c-muted); }
.form__status { margin-top: 14px; font-weight: 500; }
.form__status--ok { color: var(--c-brand-strong); }
.form__status--error { color: var(--c-error); }
.form .btn[disabled] { opacity: .6; cursor: wait; }

.map { height: 420px; background: var(--c-bg-alt); }
.map iframe { width: 100%; height: 100%; border: 0; }

/* ---------- footer ---------- */
.footer { padding: 56px 0 32px; background: var(--c-forest); color: rgba(255, 255, 255, .85); font-size: 1.02rem; }
.footer a { color: #fff; }
.footer a:hover { color: #9ff0d6; }
.footer__grid { display: grid; gap: 32px; }
@media (min-width: 800px) { .footer__grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.footer__logo { display: inline-block; margin-bottom: 16px; padding: 10px 16px; border-radius: var(--radius); background: #fff; }
.footer__logo img { height: 60px; width: auto; }
.footer h3 { margin-bottom: 12px; color: #fff; font-size: 1.15rem; }
.footer ul { margin: 0; padding: 0; list-style: none; }
.footer li { margin-bottom: 8px; }
.footer__social { display: flex; gap: 10px; margin-top: 16px; }
.footer__social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.footer__social a:hover { background: rgba(255, 255, 255, .24); color: #fff; }
.footer__social svg { width: 20px; height: 20px; }
.footer__bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .92rem; color: rgba(255, 255, 255, .7); }

/* floating messengers (mobile) */
.fab { position: fixed; left: 16px; bottom: 16px; z-index: 40; display: flex; flex-direction: column; gap: 10px; opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .25s, transform .25s; }
.fab.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.fab .icon-btn { width: 54px; height: 54px; box-shadow: 0 8px 24px rgba(0, 0, 0, .2); }
.fab .icon-btn svg { width: 28px; height: 28px; }
@media (min-width: 1100px) { .fab { display: none; } }

/* 404 */
.notfound { padding: 120px 0; text-align: center; }
.notfound__code { font-size: clamp(5rem, 15vw, 9rem); font-weight: 600; line-height: 1; color: var(--c-brand); }

/* галерея из 3–4 фото: большое слева, остальные столбиком */
@media (min-width: 768px) {
  .gallery--trio { grid-template-columns: 2fr 1fr; grid-auto-rows: 1fr; }
  .gallery--trio .gallery__item:first-child { grid-row: span 2; }
  .gallery--trio .gallery__item:first-child:nth-last-child(4) { grid-row: span 3; }
  .gallery--trio .gallery__item:first-child img { aspect-ratio: auto; min-height: 100%; }
}
