/* ==========================================================================
   Сад на крыше — стили сайта
   Тёмная зелень + золото. Листья только по краям, центр с фото остаётся чистым.
   ========================================================================== */

:root {
  --bg: #0a110d;
  --panel: rgba(14, 22, 17, .82);
  --line: rgba(226, 190, 128, .16);
  --line-2: rgba(255, 255, 255, .08);
  --gold: #e2b46b;
  --gold-2: #f2d097;
  --text: #efe7da;
  --muted: #b5aa98;
  --dim: #877e70;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --script: "Great Vibes", "Segoe Script", cursive;
  --container: 1240px;
  --gutter: 28px;
  --radius: 14px;
  --radius-sm: 10px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --hdr-h: 88px;
  --decor: .45;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font: 400 15px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, p, figure { margin: 0; }
::selection { background: rgba(226, 180, 107, .35); color: #fff; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 300; background: var(--gold); color: #1d1408; padding: 8px 14px; border-radius: 8px; font-weight: 600; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.i { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* --------------------------------------------------------------- фон */
.page-bg {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(1200px 760px at 12% -8%, rgba(38, 76, 51, .38), transparent 62%),
    radial-gradient(1000px 720px at 104% 52%, rgba(26, 54, 37, .3), transparent 62%),
    radial-gradient(900px 600px at -6% 108%, rgba(30, 58, 40, .26), transparent 62%),
    linear-gradient(180deg, #0b130e 0%, #09100c 55%, #0a110d 100%);
}
.page-bg::after {
  content: ""; position: absolute; inset: 0; opacity: .06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
/* своя текстура из настроек (по умолчанию не выводится) — только в полях по краям */
.page-bg__texture {
  --edge: max(90px, calc((100vw - var(--container)) / 2 + 10px));
  position: absolute; inset: 0; background: center / cover no-repeat;
  opacity: calc(var(--decor) * 1.25); filter: saturate(.85) brightness(.6);
  -webkit-mask-image: linear-gradient(90deg, #000 0, rgba(0, 0, 0, .55) calc(var(--edge) * .55), transparent var(--edge), transparent calc(100% - var(--edge)), rgba(0, 0, 0, .55) calc(100% - var(--edge) * .55), #000 100%);
          mask-image: linear-gradient(90deg, #000 0, rgba(0, 0, 0, .55) calc(var(--edge) * .55), transparent var(--edge), transparent calc(100% - var(--edge)), rgba(0, 0, 0, .55) calc(100% - var(--edge) * .55), #000 100%);
}

/* тёплые пятна света вдоль страницы — как свечи в зале; повторяются каждые 1800px */
main { position: relative; isolation: isolate; }
main::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(520px 380px at 6% 560px, rgba(228, 170, 92, .075), transparent 70%),
    radial-gradient(760px 520px at 2% 600px, rgba(34, 70, 47, .22), transparent 70%),
    radial-gradient(560px 400px at 96% 1380px, rgba(228, 170, 92, .065), transparent 70%),
    radial-gradient(800px 560px at 99% 1400px, rgba(34, 70, 47, .2), transparent 70%);
  background-size: 100% 1800px;
  background-repeat: repeat-y;
}
/* тонкая золотая линия-разделитель над заголовками секций */
.shead .eyebrow::before, .split__text > .eyebrow::before, .amen__intro > .eyebrow::before, .cta__text > .eyebrow::before {
  content: ""; display: inline-block; width: 28px; height: 1px; margin-right: 12px; vertical-align: middle;
  background: linear-gradient(90deg, transparent, var(--gold));
}

/* --------------------------------------------------------------- листья: уголки первого экрана */
.corner { position: absolute; top: 0; pointer-events: none; background-repeat: no-repeat; background-size: cover; opacity: calc(var(--decor) * 1.6); }
.corner--tl {
  left: 0; width: clamp(220px, 24vw, 500px); aspect-ratio: 750 / 560; background-image: url("../img/leaves-tl.webp"); background-position: left top;
  -webkit-mask-image: radial-gradient(ellipse 100% 100% at 0 0, #000 18%, rgba(0, 0, 0, .5) 42%, transparent 72%);
          mask-image: radial-gradient(ellipse 100% 100% at 0 0, #000 18%, rgba(0, 0, 0, .5) 42%, transparent 72%);
}
.corner--tr {
  right: 0; width: clamp(200px, 22vw, 440px); aspect-ratio: 1; background-image: url("../img/leaves-tr.webp"); background-position: right top;
  -webkit-mask-image: radial-gradient(ellipse 100% 100% at 100% 0, #000 18%, rgba(0, 0, 0, .5) 42%, transparent 72%);
          mask-image: radial-gradient(ellipse 100% 100% at 100% 0, #000 18%, rgba(0, 0, 0, .5) 42%, transparent 72%);
}

/* --------------------------------------------------------------- кнопки */
.btn {
  --h: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 26px; border-radius: 999px; border: 1px solid transparent;
  font: 600 14px/1 var(--sans); letter-spacing: .01em; white-space: nowrap; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s, background .25s, color .25s, border-color .25s;
}
.btn .i { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover .i { transform: translateX(3px); }
.btn--gold {
  background: linear-gradient(180deg, #f5d6a0 0%, #e4b76f 52%, #d39f56 100%);
  color: #251809;
  box-shadow: 0 10px 26px -12px rgba(226, 180, 107, .7), inset 0 1px 0 rgba(255, 255, 255, .45);
}
.btn--gold:hover { transform: translateY(-1px); box-shadow: 0 14px 32px -12px rgba(226, 180, 107, .9), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn--ghost { border-color: rgba(255, 255, 255, .42); color: #f1e9dc; background: rgba(10, 16, 12, .28); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-2); }
.btn--ghost .i { color: var(--gold); }
.btn--sm { --h: 42px; padding: 0 20px; font-size: 13px; }
.btn--block { width: 100%; }

.round-btn {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, .38); background: rgba(10, 16, 12, .32); color: #f1e9dc;
  transition: border-color .2s, color .2s, background .2s;
}
.round-btn .i { width: 18px; height: 18px; }
.round-btn:hover { border-color: var(--gold); color: var(--gold-2); }

.eyebrow { font: 600 11px/1.4 var(--sans); letter-spacing: .32em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.eyebrow--wide { letter-spacing: .44em; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  font: 500 13px var(--sans); color: #e8dfcf; padding-bottom: 3px; border-bottom: 1px solid rgba(255, 255, 255, .28);
  transition: color .2s, border-color .2s;
}
.link-arrow .i { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.link-arrow:hover { color: var(--gold-2); border-color: var(--gold); }
.link-arrow:hover .i { transform: translateX(3px); }

/* --------------------------------------------------------------- шапка */
.hdr { position: fixed; top: 0; left: 0; right: 0; z-index: 50; border-bottom: 1px solid transparent; transition: background .35s, border-color .35s, box-shadow .35s; }
.hdr__inner { display: flex; align-items: center; gap: 22px; height: var(--hdr-h); transition: height .35s var(--ease); }
.hdr.is-scrolled { background: rgba(9, 14, 11, .88); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); border-color: var(--line-2); box-shadow: 0 10px 40px -20px rgba(0, 0, 0, .8); }
.hdr.is-scrolled .hdr__inner { height: 70px; }

.logo { display: inline-flex; align-items: center; flex: none; line-height: 0; }
.logo__img { height: 62px; width: auto; transition: height .35s var(--ease); }
.hdr.is-scrolled .logo__img { height: 46px; }
.logo--footer .logo__img { height: 54px; }

.hdr__dash { width: 22px; height: 1px; background: rgba(255, 255, 255, .35); flex: none; }

.nav { flex: 1; min-width: 0; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 24px; }
.nav__item { position: relative; }
.nav__link { display: inline-flex; align-items: center; gap: 4px; padding: 12px 0; font: 500 13.5px/1 var(--sans); color: #ebe3d5; position: relative; transition: color .2s; }
.nav__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 5px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav__link:hover, .nav__item.is-current > .nav__link { color: var(--gold-2); }
.nav__link:hover::after, .nav__item.is-current > .nav__link::after { transform: scaleX(1); }
.nav__chev { width: 13px; height: 13px; opacity: .7; transition: transform .25s; }
.has-sub:hover .nav__chev { transform: rotate(180deg); }
.nav__sub {
  position: absolute; top: 100%; left: -16px; min-width: 240px; list-style: none; margin: 0; padding: 8px;
  background: rgba(12, 19, 15, .98); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .85);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .22s, transform .22s var(--ease), visibility 0s .22s;
}
.has-sub:hover .nav__sub, .has-sub:focus-within .nav__sub { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.nav__sub a { display: block; padding: 9px 12px; border-radius: 8px; font-size: 14px; color: #ddd3c3; transition: background .2s, color .2s; }
.nav__sub a:hover, .nav__sub a.is-current { background: rgba(226, 180, 107, .1); color: var(--gold-2); }

.hdr__contact { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; flex: none; }
.hdr__phone { display: inline-flex; align-items: center; gap: 8px; font: 600 14px/1.2 var(--sans); color: #f3eadb; }
.hdr__phone .i { color: var(--gold); width: 16px; height: 16px; }
.hdr__phone:hover { color: var(--gold-2); }
.hdr__hours { font-size: 11px; color: var(--dim); }

.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: rgba(10, 16, 12, .35); cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; flex: none; }
.burger span { width: 18px; height: 1.5px; background: #f1e9dc; transition: transform .3s var(--ease), opacity .2s; }
.menu-open .burger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
body.menu-open { overflow: hidden; }

.mnav { position: fixed; inset: 0; z-index: 45; background: rgba(4, 7, 5, .6); opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s; }
.mnav.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.mnav__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%); display: flex; flex-direction: column; padding: calc(var(--hdr-h) + 8px) 28px 28px; overflow-y: auto; background: #0c140f; border-left: 1px solid var(--line); transform: translateX(100%); transition: transform .45s var(--ease); }
.mnav.is-open .mnav__panel { transform: none; }
.mnav__list { list-style: none; margin: 0; padding: 0; }
.mnav__item { border-bottom: 1px solid var(--line-2); }
.mnav__link { display: flex; width: 100%; align-items: center; justify-content: space-between; padding: 12px 0; background: none; border: 0; cursor: pointer; text-align: left; font: 500 25px/1.1 var(--serif); color: #f3ebde; }
.mnav__item.is-current > .mnav__link { color: var(--gold-2); }
.mnav__link .i { width: 20px; height: 20px; color: var(--gold); transition: transform .25s; }
.mnav__item.is-open .mnav__link .i { transform: rotate(180deg); }
.mnav__sub { list-style: none; margin: 0; padding: 0 0 12px; display: none; }
.mnav__item.is-open .mnav__sub { display: block; }
.mnav__sub a { display: block; padding: 7px 0; color: var(--muted); font-size: 15px; }
.mnav__sub a:hover { color: var(--gold-2); }
.mnav__foot { margin-top: auto; padding-top: 28px; display: grid; gap: 12px; }
.mnav__phone { display: flex; align-items: center; gap: 10px; font: 600 19px var(--sans); }
.mnav__phone .i, .mnav__muted .i { color: var(--gold); width: 18px; height: 18px; margin-top: 2px; }
.mnav__muted { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: 14px; }

/* --------------------------------------------------------------- первый экран */
.hero { position: relative; min-height: clamp(620px, 94vh, 920px); display: flex; overflow: hidden; isolation: isolate; }
.hero__slides { position: absolute; inset: 0; }
.hero__slide { position: absolute; inset: 0; display: flex; align-items: center; opacity: 0; visibility: hidden; transition: opacity 1.2s var(--ease), visibility 0s 1.2s; }
.hero__slide.is-active { opacity: 1; visibility: visible; transition: opacity 1.2s var(--ease); z-index: 1; }
.hero__media, .phero__media { -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 100%); mask-image: linear-gradient(180deg, #000 72%, transparent 100%); }
.hero__media { position: absolute; inset: 0; z-index: -1; display: block; }
.hero__img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.07); transition: transform 9s linear; }
.hero__slide.is-active .hero__img { transform: scale(1); }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 13, 10, .94) 0%, rgba(8, 13, 10, .74) 30%, rgba(8, 13, 10, .18) 62%, rgba(8, 13, 10, .3) 100%),
    linear-gradient(180deg, rgba(8, 13, 10, .7) 0%, rgba(8, 13, 10, 0) 24%, rgba(8, 13, 10, 0) 64%, rgba(8, 13, 10, .6) 100%);
}
.hero__decor { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.hero__content { position: relative; z-index: 2; width: 100%; padding-top: calc(var(--hdr-h) + 40px); padding-bottom: 130px; }
.hero__text { max-width: 570px; }
.hero__title { font: 500 clamp(48px, 6.4vw, 96px)/.9 var(--serif); text-transform: uppercase; color: #f7f0e4; letter-spacing: .005em; text-wrap: balance; }
.hero__script { font: 400 clamp(34px, 3.8vw, 58px)/1.1 var(--script); color: var(--gold); margin: 4px 0 22px -4px; }
.hero__lead { color: #d8cfbf; max-width: 440px; font-size: 15.5px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero__aside {
  position: absolute; z-index: 3; top: calc(var(--hdr-h) + 52px);
  right: max(var(--gutter), calc((100vw - var(--container)) / 2));
  font: 600 11px/1.95 var(--sans); letter-spacing: .34em; text-transform: uppercase; color: #ebe2d1;
}
.hero__aside span { display: block; }
.hero__ctrl { position: absolute; left: 0; right: 0; bottom: 48px; z-index: 3; display: flex; justify-content: flex-end; align-items: center; gap: 12px; }
.hero__progress { display: flex; align-items: center; gap: 14px; margin-right: 12px; font: 600 13px var(--sans); color: #ece3d3; font-variant-numeric: tabular-nums; }
.hero__bar { position: relative; width: 96px; height: 1px; background: rgba(255, 255, 255, .25); overflow: hidden; }
.hero__bar span { position: absolute; inset: 0; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.hero__bar span.is-running { animation: heroBar var(--t, 7s) linear forwards; }
.hero__total { color: var(--dim); }
@keyframes heroBar { to { transform: scaleX(1); } }

/* --------------------------------------------------------------- секции */
.section { position: relative; padding: 72px 0; }
.section--first { padding-top: 54px; padding-bottom: 44px; }
.section--tight { padding: 40px 0; }
.section--last { padding-bottom: 100px; }
.shead { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.shead .eyebrow { margin-bottom: 8px; }
.shead__title { font: 500 clamp(30px, 3.2vw, 42px)/1.08 var(--serif); color: #f4ecdf; text-wrap: balance; }
.section-lead { color: var(--muted); max-width: 640px; margin: -8px 0 26px; }

/* меню */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.mcard {
  position: relative; display: block; aspect-ratio: 21 / 16; overflow: hidden; isolation: isolate;
  border-radius: var(--radius); border: 1px solid rgba(255, 255, 255, .13); background: #0f1712;
  transition: border-color .3s, transform .4s var(--ease), box-shadow .4s;
}
.mcard__media { position: absolute; inset: 0; z-index: -2; }
.mcard__img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.mcard::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 12, 10, 0) 38%, rgba(8, 12, 10, .9) 100%); }
.mcard__body { position: absolute; left: 18px; right: 64px; bottom: 16px; display: flex; flex-direction: column; gap: 2px; }
.mcard__title { font: 500 24px/1.08 var(--serif); color: #f7efe2; }
.mcard__sub { font-size: 12px; line-height: 1.4; color: #d3c9b8; }
.mcard__go { position: absolute; right: 14px; bottom: 16px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .55); display: grid; place-items: center; color: #f1e9dc; transition: background .25s, border-color .25s, color .25s; }
.mcard__go .i { width: 17px; height: 17px; }
.mcard:hover { border-color: rgba(226, 180, 107, .55); transform: translateY(-3px); box-shadow: 0 26px 50px -26px rgba(0, 0, 0, .85); }
@media (hover: hover) { .mcard:hover .mcard__img { transform: scale(1.06); } }
.mcard:hover .mcard__go { background: var(--gold); border-color: var(--gold); color: #24170a; }

/* банкетный зал */
.banquet { display: grid; grid-template-columns: minmax(0, 1fr) 300px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--panel); }
.banquet__main { position: relative; min-height: 300px; display: flex; align-items: center; isolation: isolate; }
.banquet__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.banquet__main::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 16, 12, .96) 0%, rgba(10, 16, 12, .78) 34%, rgba(10, 16, 12, .08) 72%); }
.banquet__text { padding: 36px 40px; max-width: 440px; }
.banquet__title { font: 500 clamp(28px, 2.8vw, 38px)/1.06 var(--serif); margin-bottom: 12px; color: #f6eee1; }
.banquet__lead { color: #d4cabb; font-size: 14px; margin-bottom: 22px; }
.banquet__list { list-style: none; margin: 0; padding: 30px 28px; display: flex; flex-direction: column; justify-content: center; gap: 24px; border-left: 1px solid var(--line); background: rgba(11, 18, 14, .92); }
.banquet__list li { display: flex; gap: 16px; align-items: flex-start; }
.banquet__icon { width: 28px; height: 28px; color: var(--gold); stroke-width: 1.3; }
.banquet__list strong { display: block; font: 600 14px/1.3 var(--sans); color: #f1e9dc; }
.banquet__list small { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }

/* почему мы */
.features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feature { display: flex; gap: 16px; align-items: center; }
.feature__icon { width: 56px; height: 56px; border-radius: 50%; flex: none; display: grid; place-items: center; color: var(--gold); border: 1px solid rgba(226, 180, 107, .55); background: radial-gradient(circle at 50% 30%, rgba(226, 180, 107, .12), transparent 70%); }
.feature__icon .i { width: 24px; height: 24px; stroke-width: 1.4; }
.feature__title { display: block; font: 600 14px/1.3 var(--sans); color: #f1e9dc; }
.feature__text { display: block; font-size: 12.5px; line-height: 1.45; color: var(--muted); margin-top: 3px; }

/* галерея-лента */
.gstrip { display: grid; grid-template-columns: 1fr 1fr 1.15fr 1.15fr 1.9fr; gap: 12px; height: clamp(170px, 16vw, 224px); }
.gstrip__item, .pgal__item { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--radius-sm); border: 1px solid rgba(255, 255, 255, .1); background: #0f1712; }
.gstrip__item img, .pgal__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), filter .4s; }
@media (hover: hover) { .gstrip__item:hover img, .pgal__item:hover img { transform: scale(1.06); } }
.gstrip__zoom { position: absolute; right: 10px; bottom: 10px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(10, 16, 12, .65); color: var(--gold-2); opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .25s var(--ease); }
.gstrip__item:hover .gstrip__zoom, .pgal__item:hover .gstrip__zoom { opacity: 1; transform: none; }
.gstrip__quote { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: flex-end; padding: 18px 30px; border-radius: var(--radius-sm); border: 1px solid rgba(255, 255, 255, .1); background: linear-gradient(135deg, #142319, #0b130e); }
.gstrip__quote-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .6; }
.gstrip__quote-bg { position: absolute; inset: 0; background: url("../img/leaves-bl.webp") left center / cover no-repeat; opacity: .75; }
.gstrip__quote::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(10, 16, 12, .15), rgba(10, 16, 12, .78) 58%); }
.gstrip__quote p { position: relative; z-index: 2; text-align: right; font: 400 clamp(28px, 2.5vw, 40px)/1.02 var(--script); color: var(--gold-2); }
.gstrip__quote p span { display: block; }
.gstrip__quote p span:nth-child(2) { padding-right: 26px; }

/* отзывы */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review { padding: 22px 24px 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); }
.review__head { position: relative; display: flex; gap: 14px; align-items: center; margin-bottom: 14px; padding-right: 36px; }
.review__ava { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex: none; border: 1px solid rgba(226, 180, 107, .45); }
.review__ava--txt { display: grid; place-items: center; font: 500 20px var(--serif); background: #1a281f; color: var(--gold-2); }
.review__name { display: block; font: 600 14px/1.3 var(--sans); }
.review__stars { display: flex; gap: 2px; font-size: 12px; color: #4b483f; }
.review__stars .on { color: var(--gold); }
.review__q { position: absolute; right: 0; top: 0; width: 28px; height: 28px; color: rgba(226, 180, 107, .4); fill: rgba(226, 180, 107, .1); }
.review__text { font-size: 13.5px; color: #d4cabb; line-height: 1.62; }
.review__src { margin-top: 12px; font-size: 11.5px; color: var(--dim); }

/* полоса бронирования */
.bookbar { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.35fr); gap: 32px; align-items: center; }
.has-decor .bookbar { grid-template-columns: minmax(260px, 1fr) minmax(0, 640px); padding: 36px 40px; border-radius: 20px; border: 1px solid var(--line); background: linear-gradient(90deg, rgba(9, 15, 11, .93) 0%, rgba(9, 15, 11, .8) 45%, rgba(9, 15, 11, .62) 100%), url("../img/leaves.webp") center 35% / cover no-repeat; }
.has-decor .bookbar__form { background: rgba(10, 16, 12, .78); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.bookbar__title { font: 500 clamp(30px, 3.2vw, 42px)/1.08 var(--serif); color: #f4ecdf; }
.bookbar__sub { color: #d2c8b8; margin-top: 8px; }
.bookbar__form { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 10px; padding: 14px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); }
.qfield { display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 14px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .12); background: rgba(6, 10, 8, .5); transition: border-color .2s; }
.qfield .i { width: 18px; height: 18px; color: var(--gold); }
.qfield input, .qfield select { flex: 1; min-width: 0; height: 100%; background: transparent; border: 0; outline: 0; color: #efe7da; font: 500 14px var(--sans); color-scheme: dark; -webkit-appearance: none; appearance: none; cursor: pointer; }
.qfield select option, .field select option { background: #0f1813; color: #efe7da; }
.qfield:focus-within { border-color: rgba(226, 180, 107, .6); }

/* --------------------------------------------------------------- внутренние страницы */
.phero { position: relative; min-height: clamp(540px, 76vh, 740px); display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.phero__media { position: absolute; inset: 0; z-index: -1; }
.phero__img { width: 100%; height: 100%; object-fit: cover; }
.phero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 13, 10, .94) 0%, rgba(8, 13, 10, .72) 34%, rgba(8, 13, 10, .2) 70%, rgba(8, 13, 10, .35) 100%),
    linear-gradient(180deg, rgba(8, 13, 10, .7) 0%, rgba(8, 13, 10, 0) 26%, rgba(8, 13, 10, .15) 60%, rgba(8, 13, 10, .65) 100%);
}
.phero__content { position: relative; z-index: 2; padding-top: calc(var(--hdr-h) + 40px); padding-bottom: 116px; }
.phero--plain { min-height: 0; }
.phero--plain .phero__content { padding-top: calc(var(--hdr-h) + 100px); padding-bottom: 90px; }
.phero__title { font: 500 clamp(44px, 5.6vw, 82px)/.96 var(--serif); max-width: 860px; color: #f7f0e4; text-wrap: balance; }
.phero__lead { max-width: 580px; margin-top: 4px; color: #d8cfbf; font-size: 15.5px; }
.phero .hero__script { margin: 12px 0 14px -4px; }

.crumbs ol { list-style: none; margin: 0 0 26px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; font-size: 12.5px; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--dim); }
.crumbs a:hover { color: var(--gold-2); }

.stats { list-style: none; margin: -58px 0 0; padding: 0; position: relative; z-index: 3; display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); border-radius: var(--radius); border: 1px solid var(--line); background: rgba(13, 21, 16, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); }
.stats li { display: flex; flex-direction: column; gap: 6px; padding: 24px 28px; }
.stats li + li { border-left: 1px solid var(--line); }
.stats strong { font: 500 clamp(32px, 3.1vw, 44px)/1 var(--serif); color: var(--gold-2); font-variant-numeric: lining-nums; }
.stats span { font-size: 13px; color: var(--muted); line-height: 1.4; }

.split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 72px; align-items: center; }
.split--single { grid-template-columns: minmax(0, 780px); }
.rich { margin-top: 18px; color: #d4cabb; font-size: 15.5px; line-height: 1.75; }
.rich p, .rich div { margin: 0 0 1em; }
.rich > :last-child { margin-bottom: 0; }
.rich a { color: var(--gold-2); text-decoration: underline; text-underline-offset: 3px; }
.rich strong, .rich b { color: var(--text); font-weight: 600; }
.rich ul, .rich ol { padding-left: 1.2em; margin: 0 0 1em; }
.rich h2, .rich h3 { font: 500 26px/1.2 var(--serif); color: var(--text); margin: 1.2em 0 .5em; }
.framed { position: relative; isolation: isolate; }
.framed img { width: 100%; border-radius: var(--radius); }
.framed::before { content: ""; position: absolute; inset: -12px; z-index: -1; border: 1px solid rgba(226, 180, 107, .3); border-radius: calc(var(--radius) + 10px); }

.fgrid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.fgrid > li { display: flex; }
.fcard {
  width: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; text-align: left;
  padding: 24px 24px 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel);
  transition: border-color .3s, background .3s, transform .4s var(--ease);
}
.fcard .feature__icon, .fcard__icon { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: var(--gold); border: 1px solid rgba(226, 180, 107, .5); margin-bottom: 10px; background: radial-gradient(circle at 50% 30%, rgba(226, 180, 107, .12), transparent 70%); }
.fcard__icon .i { width: 22px; height: 22px; stroke-width: 1.4; }
.fcard__title { font: 500 25px/1.12 var(--serif); color: #f4ecdf; }
.fcard__note { font-size: 13px; color: var(--muted); }
.fcard__go { margin-top: auto; padding-top: 14px; display: inline-flex; align-items: center; gap: 6px; font: 700 11px var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); opacity: .7; transition: opacity .2s; }
.fcard__go .i { width: 15px; height: 15px; transition: transform .25s var(--ease); }
button.fcard { cursor: pointer; }
a.fcard { color: inherit; }
button.fcard:hover, a.fcard:hover { border-color: rgba(226, 180, 107, .5); background: rgba(20, 32, 25, .9); transform: translateY(-3px); }
button.fcard:hover .fcard__go, a.fcard:hover .fcard__go { opacity: 1; }
button.fcard:hover .fcard__go .i, a.fcard:hover .fcard__go .i { transform: translateX(3px); }

.amen { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: start; }
.amen__text { color: var(--muted); margin-top: 14px; }
.amen__media { margin-top: 34px; }
.amen__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.amen__list li { display: flex; gap: 18px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); }
.amen__list strong { display: block; font: 600 15px/1.35 var(--sans); color: #f1e9dc; }
.amen__list li > span:last-child > span { display: block; margin-top: 3px; font-size: 13.5px; color: var(--muted); }

.partner { display: flex; align-items: center; gap: 24px; padding: 28px 32px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(115deg, rgba(226, 180, 107, .09), rgba(15, 24, 19, .85) 42%); }
.partner__icon { width: 64px; height: 64px; border-radius: 50%; flex: none; display: grid; place-items: center; color: var(--gold); border: 1px solid rgba(226, 180, 107, .5); }
.partner__icon .i { width: 26px; height: 26px; stroke-width: 1.4; }
.partner__body { flex: 1; }
.partner__title { font: 500 28px/1.15 var(--serif); margin-bottom: 6px; color: #f4ecdf; }
.partner__body p { color: var(--muted); font-size: 14px; }

.pgal { display: grid; grid-template-columns: 1.45fr 1fr 1fr; grid-auto-rows: 230px; gap: 14px; }
.pgal__item:first-child { grid-row: span 2; }
.pgal--1 { grid-template-columns: 1fr; grid-auto-rows: 460px; }
.pgal--1 .pgal__item:first-child { grid-row: auto; }
.pgal--2 { grid-template-columns: 1fr 1fr; grid-auto-rows: 360px; }
.pgal--2 .pgal__item:first-child { grid-row: auto; }
.pgal--3 { grid-template-columns: 1.45fr 1fr; }
.pgal--4 .pgal__item:last-child { grid-column: span 2; }

.cta { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 52px; align-items: start; padding: 44px; border-radius: 20px; border: 1px solid var(--line); background: linear-gradient(140deg, rgba(21, 35, 27, .94), rgba(10, 16, 12, .94)); }
.has-decor .cta { background: linear-gradient(90deg, rgba(9, 15, 11, .8) 0%, rgba(9, 15, 11, .9) 40%, rgba(9, 15, 11, .95) 100%), url("../img/leaves.webp") left center / cover no-repeat; }
.cta__lead { color: var(--muted); margin-top: 14px; }
.cta__phone { display: inline-flex; align-items: center; gap: 12px; margin-top: 26px; font: 500 32px/1 var(--serif); color: var(--gold-2); font-variant-numeric: lining-nums; }
.cta__phone .i { width: 22px; height: 22px; color: var(--gold); }
.cta__phone:hover { color: #fff; }

.preview-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; padding: 8px; text-align: center; font-size: 13px; background: #7a4b16; color: #fff; }

/* --------------------------------------------------------------- формы */
.form { position: relative; }
.form__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.field { grid-column: span 3; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field--third { grid-column: span 2; }
.field--wide2 { grid-column: span 4; }
.field--full { grid-column: 1 / -1; }
.form[data-kind="event"] .field--date, .form[data-kind="event"] .field--third[data-show="event"] { grid-column: span 3; }
.form[data-kind="event"] .field--wide2 { grid-column: 1 / -1; }
.field__label { font: 700 10.5px var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
.field input, .field select, .field textarea {
  width: 100%; height: 48px; padding: 0 14px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(5, 9, 7, .55); color: var(--text); font: 500 14.5px var(--sans); color-scheme: dark;
  transition: border-color .2s, box-shadow .2s;
}
.field select { -webkit-appearance: none; appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e2b46b' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; padding-right: 36px; }
.field textarea { height: auto; min-height: 88px; padding: 12px 14px; resize: vertical; line-height: 1.5; }
.field ::placeholder { color: #6f685d; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: rgba(226, 180, 107, .7); box-shadow: 0 0 0 3px rgba(226, 180, 107, .12); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #d4685a; }
.field__error { font-size: 12px; color: #ef8a7a; }
.field__error:empty { display: none; }
.check { display: flex; gap: 12px; align-items: flex-start; margin-top: 18px; font-size: 12.5px; line-height: 1.5; color: var(--muted); cursor: pointer; }
.check input { -webkit-appearance: none; appearance: none; width: 20px; height: 20px; margin: 0; flex: none; display: grid; place-items: center; border-radius: 6px; border: 1px solid rgba(255, 255, 255, .32); background: rgba(5, 9, 7, .55); cursor: pointer; transition: background .2s, border-color .2s; }
.check input:checked { background: var(--gold); border-color: var(--gold); }
.check input:checked::after { content: ""; width: 10px; height: 5px; border: 2px solid #24170a; border-top: 0; border-right: 0; transform: translateY(-1px) rotate(-45deg); }
.check a { color: var(--gold-2); text-decoration: underline; text-underline-offset: 2px; }
.check + .field__error { display: block; margin-top: 6px; }
.form__foot { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 20px; margin-top: 22px; }
.form__alt { font-size: 13px; color: var(--muted); }
.form__alt a { color: var(--text); white-space: nowrap; }
.form__alt a:hover { color: var(--gold-2); }
.form__error { margin-top: 14px; font-size: 13px; color: #ef8a7a; }
.form.is-loading [type="submit"] { opacity: .6; pointer-events: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
[data-show][hidden] { display: none !important; }
.form-done { text-align: center; padding: 26px 10px 8px; }
.form-done__icon { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--gold); color: var(--gold); }
.form-done__icon .i { width: 28px; height: 28px; }
.form-done__title { font: 500 32px/1.1 var(--serif); margin-bottom: 8px; }
.form-done__text { color: var(--muted); max-width: 420px; margin: 0 auto; }

/* модалка */
.modal { width: min(640px, calc(100% - 24px)); max-height: calc(100dvh - 24px); margin: auto; padding: 0; border-radius: 18px; border: 1px solid var(--line); background: #0e1712; color: var(--text); box-shadow: 0 40px 120px -20px rgba(0, 0, 0, .85); overflow: hidden; }
.modal::backdrop { background: rgba(4, 7, 5, .74); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.modal[open] { animation: modalIn .4s var(--ease); }
@keyframes modalIn { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.modal__box { position: relative; max-height: calc(100dvh - 26px); overflow-y: auto; padding: 36px 36px 30px; }
.modal__close { position: absolute; right: 14px; top: 14px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .16); background: transparent; display: grid; place-items: center; cursor: pointer; transition: border-color .2s, color .2s; }
.modal__close:hover { border-color: var(--gold); color: var(--gold-2); }
.modal__title { font: 500 36px/1.08 var(--serif); margin-bottom: 8px; padding-right: 40px; }
.modal__sub { color: var(--muted); font-size: 14px; margin-bottom: 24px; }
.modal .form-done { padding-top: 6px; }

/* лайтбокс */
.lb { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 64px 80px; background: rgba(4, 7, 5, .95); }
.lb[hidden] { display: none; }
.lb__fig { display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: 100%; max-height: 100%; }
.lb__img { max-width: min(1600px, 100%); max-height: calc(100vh - 150px); width: auto; height: auto; border-radius: 8px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .9); }
.lb__cap { font-size: 14px; color: var(--muted); }
.lb__btn { position: absolute; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; border: 1px solid rgba(255, 255, 255, .25); background: rgba(10, 16, 12, .6); color: #f1e9dc; transition: border-color .2s, color .2s; }
.lb__btn:hover { border-color: var(--gold); color: var(--gold-2); }
.lb__close { top: 16px; right: 16px; }
.lb__prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb__next { right: 18px; top: 50%; transform: translateY(-50%); }
.lb__count { position: absolute; left: 0; right: 0; bottom: 18px; text-align: center; font-size: 13px; color: var(--dim); }

/* cookie и звонок */
.cookie { position: fixed; left: 16px; bottom: 16px; z-index: 60; max-width: 470px; display: flex; gap: 16px; align-items: center; padding: 14px 16px 14px 20px; font-size: 12.5px; line-height: 1.5; color: var(--muted); border-radius: 14px; border: 1px solid var(--line); background: rgba(14, 22, 17, .97); box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .8); }
.cookie[hidden] { display: none; }
.cookie a { color: var(--gold-2); text-decoration: underline; }
.call-fab { display: none; position: fixed; right: 16px; bottom: 16px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; place-items: center; color: #251809; background: linear-gradient(180deg, #f5d6a0, #d39f56); box-shadow: 0 12px 30px -10px rgba(226, 180, 107, .7); }
.call-fab .i { width: 22px; height: 22px; }

/* --------------------------------------------------------------- подвал */
.ftr { position: relative; overflow: hidden; padding: 40px 0 26px; border-top: 1px solid var(--line-2); background: linear-gradient(180deg, rgba(8, 13, 10, 0), rgba(7, 11, 9, .92) 45%); }
.has-decor .ftr { background: linear-gradient(180deg, rgba(8, 13, 10, .82) 0%, rgba(7, 11, 9, .9) 55%, rgba(7, 11, 9, .96) 100%), url("../img/leaves.webp") center 70% / cover no-repeat; }
.ftr__inner { position: relative; z-index: 2; }
.ftr__main { display: flex; align-items: center; flex-wrap: wrap; gap: 20px 30px; }
.ftr__contacts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 13px; color: #ddd3c3; }
.ftr__contacts li { display: flex; align-items: center; gap: 8px; }
.ftr__contacts .i { width: 16px; height: 16px; color: var(--gold); }
.ftr__contacts a:hover { color: var(--gold-2); }
.ftr__social { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; }
.ftr__social a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .3); color: #ece3d3; transition: border-color .2s, color .2s; }
.ftr__social a:hover { border-color: var(--gold); color: var(--gold-2); }
.ftr__social .i { width: 17px; height: 17px; }
.ftr__slogan { margin-left: auto; display: flex; align-items: center; gap: 16px; font: 400 32px/1 var(--script); color: var(--gold-2); }
.ftr__slogan span { width: 100px; height: 1px; background: linear-gradient(90deg, transparent, rgba(226, 180, 107, .6)); }
.ftr__nav { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line-2); font-size: 13px; color: var(--muted); }
.ftr__nav a:hover { color: var(--gold-2); }
.ftr__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 20px; margin-top: 22px; font-size: 12px; color: var(--dim); }
.ftr__legal { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.ftr__legal a:hover { color: var(--text); }

/* --------------------------------------------------------------- появление */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 80ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* --------------------------------------------------------------- акцент: золото по умолчанию, в праздничной теме — карнавал */
:root {
  --acc: var(--gold);
  --acc-2: var(--gold-2);
  --acc-grad: linear-gradient(90deg, #f5d6a0, #e2b46b);
}
.theme-festive, .nyp--festive {
  --acc: #ff9a4a;
  --acc-2: #ffc98a;
  --acc-grad: linear-gradient(90deg, #ffd27a, #ff8a3d 55%, #ff5e57);
}
.btn--fest {
  background: linear-gradient(115deg, #ffe1a0 0%, #ffb35c 38%, #ff7a45 72%, #ff5e57 100%);
  color: #2a1206;
  box-shadow: 0 12px 30px -12px rgba(255, 122, 69, .75), inset 0 1px 0 rgba(255, 255, 255, .5);
}
.btn--fest:hover { transform: translateY(-1px); box-shadow: 0 16px 38px -12px rgba(255, 122, 69, .95), inset 0 1px 0 rgba(255, 255, 255, .55); }

/* праздничная тема: тёплое свечение поверх общего зелёного фона */
.theme-festive .page-bg::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(1000px 640px at 88% -4%, rgba(255, 122, 61, .13), transparent 62%),
    radial-gradient(900px 620px at -4% 46%, rgba(217, 53, 110, .07), transparent 62%),
    radial-gradient(900px 620px at 104% 92%, rgba(255, 160, 80, .07), transparent 62%);
}
.theme-festive .eyebrow { color: #ffb469; }
.theme-festive .shead .eyebrow::before, .theme-festive .split__text > .eyebrow::before,
.theme-festive .amen__intro > .eyebrow::before, .theme-festive .cta__text > .eyebrow::before { background: linear-gradient(90deg, transparent, #ff9a4a); }
.theme-festive .phero .hero__script, .nyp--festive .nyp__script {
  display: inline-block;
  background: linear-gradient(95deg, #ffe7b0 0%, #ffb35c 42%, #ff6f5b 78%, #ff9bb8 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding: .06em .24em .14em 0;
}
.theme-festive .stats { border-color: rgba(255, 170, 100, .24); }
.theme-festive .stats strong { color: #ffcf8f; }
.theme-festive .feature__icon { color: #ffb469; border-color: rgba(255, 170, 100, .5); }

/* афиша: макет целиком, в праздничной рамке */
.poster {
  position: relative; display: block; width: fit-content; max-width: 100%; padding: 5px; border-radius: 18px; isolation: isolate;
  background: linear-gradient(140deg, #ffe1a0, #ff9a4a 35%, #ff5e57 62%, #d9356e 80%, #ffd27a);
  box-shadow: 0 40px 90px -36px rgba(255, 110, 60, .65), 0 0 0 1px rgba(255, 255, 255, .05);
  transform: rotate(1.4deg); transition: transform .6s var(--ease), box-shadow .6s;
}
.poster img { display: block; width: auto; max-width: 100%; height: auto; border-radius: 13px; }
.poster--photo img { width: 100%; max-width: 420px; }
.poster::after { content: ""; position: absolute; inset: 5px; border-radius: 13px; pointer-events: none; background: linear-gradient(125deg, rgba(255, 255, 255, .16), transparent 32%); }
@media (hover: hover) { .poster:hover { transform: rotate(0) translateY(-4px); box-shadow: 0 50px 100px -36px rgba(255, 110, 60, .85), 0 0 0 1px rgba(255, 255, 255, .08); } }
.poster__tag {
  position: absolute; left: 50%; bottom: 18px; z-index: 2; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; white-space: nowrap;
  font: 600 12.5px/1 var(--sans); color: #ffe6b5; background: rgba(12, 16, 12, .8); border: 1px solid rgba(255, 200, 120, .45);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background .25s, color .25s;
}
.poster__tag .i { width: 15px; height: 15px; }
.poster:hover .poster__tag { background: #ffb35c; color: #2a1206; }
/* на афише внизу телефон брони — подпись не закрывает его: только при наведении */
.phero__poster .poster__tag { opacity: 0; transition: opacity .3s, background .25s, color .25s; }
.phero__poster:hover .poster__tag, .phero__poster:focus-visible .poster__tag { opacity: 1; }
@media (hover: none) { .phero__poster .poster__tag { display: none; } }

/* искры и гирлянда */
.fx { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.fx-glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(640px 460px at 78% 44%, rgba(255, 122, 61, .30), transparent 70%),
    radial-gradient(520px 380px at 96% 88%, rgba(217, 53, 110, .22), transparent 70%),
    radial-gradient(760px 520px at 6% 20%, rgba(255, 196, 102, .11), transparent 70%);
}
.fx-sparkles { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.fx-dot {
  position: absolute; width: var(--s); height: var(--s); border-radius: 50%; opacity: .2;
  background: radial-gradient(circle, #fff7df 0 22%, rgba(255, 214, 140, .55) 40%, transparent 70%);
  animation: fxTwinkle var(--t, 3s) ease-in-out var(--d, 0s) infinite;
}
.fx-star {
  border-radius: 0; background: linear-gradient(#fff1c9, #ffc46b);
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
}
@keyframes fxTwinkle { 0%, 100% { opacity: .12; transform: scale(.55); } 50% { opacity: 1; transform: scale(1); } }
.garland { position: absolute; left: 0; top: calc(var(--hdr-h) - 6px); width: 100%; height: 96px; z-index: 1; pointer-events: none; }
.bulb__lamp { animation: bulbLamp 2.6s ease-in-out var(--i, 0s) infinite; }
.bulb__glow { opacity: .34; animation: bulbGlow 2.6s ease-in-out var(--i, 0s) infinite; }
@keyframes bulbLamp { 0%, 100% { opacity: 1; } 50% { opacity: .4; } }
@keyframes bulbGlow { 0%, 100% { opacity: .42; } 50% { opacity: .06; } }

/* отсчёт до Нового года */
.countdown {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 20px; padding: 9px 18px 9px 13px; border-radius: 999px;
  font-size: 13px; color: #f1e3c8; background: rgba(12, 18, 14, .62); border: 1px solid rgba(255, 190, 110, .38);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.countdown b { color: #ffd08a; font-weight: 700; }
.countdown__dot { width: 8px; height: 8px; border-radius: 50%; background: #ff8a3d; animation: cdPulse 1.8s infinite; }
@keyframes cdPulse { 0% { box-shadow: 0 0 0 0 rgba(255, 138, 61, .6); } 70% { box-shadow: 0 0 0 10px rgba(255, 138, 61, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 138, 61, 0); } }

/* первый экран с афишей */
.phero--poster { min-height: 0; }
.phero--poster .phero__content { padding-top: calc(var(--hdr-h) + 76px); }
.phero--poster .phero__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 56px; align-items: center; }
.phero__poster { justify-self: end; z-index: 2; }
.phero__poster img { max-height: min(70vh, 620px); }
.phero--festive .phero__img { object-position: center 28%; }
.phero--festive.phero--poster .phero__img { filter: blur(3px) saturate(1.15); transform: scale(1.05); }
.phero--festive.phero--poster .phero__media::after {
  background:
    linear-gradient(90deg, rgba(8, 13, 10, .96) 0%, rgba(8, 13, 10, .84) 42%, rgba(8, 13, 10, .6) 72%, rgba(8, 13, 10, .72) 100%),
    linear-gradient(180deg, rgba(8, 13, 10, .82) 0%, rgba(8, 13, 10, .2) 30%, rgba(8, 13, 10, .25) 62%, rgba(8, 13, 10, .75) 100%);
}

/* программа */
.prog { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.prog--1 { grid-template-columns: minmax(0, 680px); }
.prog--2, .prog--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.prog__card {
  position: relative; overflow: hidden; isolation: isolate; padding: 30px 28px 28px; border-radius: var(--radius);
  background: var(--panel); border: 1px solid var(--line); transition: transform .4s var(--ease), border-color .3s;
}
.prog__card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--acc-grad); }
.prog__card::after { content: ""; position: absolute; right: -90px; top: -90px; z-index: -1; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 138, 61, .16), transparent 70%); }
@media (hover: hover) { .prog__card:hover { transform: translateY(-3px); border-color: rgba(255, 170, 100, .35); } }
.prog__num { position: absolute; right: 22px; top: 14px; font: 500 64px/1 var(--serif); color: transparent; -webkit-text-stroke: 1px rgba(255, 190, 120, .32); }
.prog__icon {
  width: 56px; height: 56px; margin-bottom: 20px; border-radius: 50%; display: grid; place-items: center; color: var(--acc-2);
  border: 1px solid rgba(255, 170, 100, .5); background: radial-gradient(circle at 50% 30%, rgba(255, 138, 61, .22), transparent 70%);
}
.prog__icon .i { width: 25px; height: 25px; stroke-width: 1.4; }
.prog__title { font: 500 26px/1.12 var(--serif); color: #f6ecdc; margin-bottom: 10px; padding-right: 54px; }
.prog__text { color: var(--muted); font-size: 14.5px; }
.prog-extra { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.prog-extra li {
  display: inline-flex; align-items: center; gap: 10px; padding: 11px 20px 11px 15px; border-radius: 999px;
  border: 1px solid rgba(255, 170, 100, .35); background: rgba(255, 138, 61, .07); color: #f3e2c6; font-size: 14px;
}
.prog-extra .i { width: 18px; height: 18px; color: var(--acc); }

/* программа с фото: список слева, коллаж из двух вертикальных фото справа */
.prog-split { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 64px; align-items: center; }
.prog-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.prog-row { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 20px; align-items: start; padding: 24px 0; border-bottom: 1px solid var(--line); }
.prog-row .prog__icon { margin: 0; }
.prog-row__title { font: 500 26px/1.15 var(--serif); color: #f6ecdc; margin: 2px 0 6px; }
.prog-row__num { font: 500 44px/1 var(--serif); color: transparent; -webkit-text-stroke: 1px rgba(255, 190, 120, .3); }
.prog-photos { position: relative; display: flex; justify-content: center; align-items: center; min-height: 420px; }
.prog-photo img { max-height: 540px; }
.prog-photos--two { justify-content: flex-end; padding: 28px 0 28px 90px; }
.prog-photo--back { position: absolute; left: 0; top: 0; width: 56%; transform: rotate(-5deg); opacity: .92; z-index: 0; }
.prog-photo--back img { width: 100%; max-height: none; }
.prog-photo--front { position: relative; z-index: 1; width: 66%; transform: rotate(3deg); }
.prog-photo--front img { width: 100%; max-height: none; }
@media (hover: hover) { .prog-photo--back:hover, .prog-photo--front:hover { z-index: 2; } }

/* цены и пакеты */
.packs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.packs--1 { grid-template-columns: minmax(0, 460px); }
.packs--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.packs--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pack { display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); }
.pack--featured {
  border: 1px solid transparent;
  background: linear-gradient(140deg, #14231a, #0c140f) padding-box, var(--acc-grad) border-box;
  box-shadow: 0 30px 70px -40px rgba(255, 138, 61, .6);
}
.pack__title { font: 500 26px/1.15 var(--serif); color: #f6ecdc; }
.pack__price { font: 500 38px/1 var(--serif); color: var(--acc-2); font-variant-numeric: lining-nums; }
.pack__price small { display: block; margin-top: 6px; font: 400 13px var(--sans); color: var(--muted); }
.pack__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; color: #d8cfbf; }
.pack__list li { display: flex; gap: 10px; }
.pack__list .i { width: 16px; height: 16px; margin-top: 3px; color: var(--acc); }
.pack .btn { margin-top: auto; align-self: flex-start; }

/* промо-блок другой страницы (новогоднее предложение на корпоративах) */
.nyp {
  position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1.15fr) auto;
  gap: 48px; align-items: center; padding: 50px 54px; border-radius: 22px; border: 1px solid var(--line);
  background: linear-gradient(140deg, rgba(21, 35, 27, .96), rgba(10, 16, 12, .96));
}
.nyp--no-poster { grid-template-columns: minmax(0, 1fr); }
.nyp--festive {
  border: 1px solid transparent;
  background:
    radial-gradient(560px 400px at 86% 32%, rgba(255, 122, 61, .24), transparent 70%) padding-box,
    radial-gradient(440px 340px at 100% 100%, rgba(217, 53, 110, .17), transparent 70%) padding-box,
    radial-gradient(500px 360px at 0% 0%, rgba(255, 196, 102, .08), transparent 70%) padding-box,
    linear-gradient(140deg, #14231a, #0b120e) padding-box,
    linear-gradient(135deg, rgba(255, 210, 122, .75), rgba(255, 138, 61, .55) 40%, rgba(217, 53, 110, .45) 72%, rgba(255, 210, 122, .65)) border-box;
  box-shadow: 0 40px 110px -56px rgba(255, 110, 60, .6);
}
.nyp__body, .nyp__poster { position: relative; z-index: 1; }
.nyp__title { font: 500 clamp(34px, 3.6vw, 54px)/1.02 var(--serif); color: #f7efe2; text-transform: uppercase; letter-spacing: .01em; }
.nyp__title a { transition: color .2s; }
.nyp__title a:hover { color: var(--acc-2); }
.nyp__script { font: 400 clamp(32px, 3vw, 46px)/1.1 var(--script); margin: 6px 0 4px -2px; color: var(--acc-2); }
.nyp__lead { color: #d8cfbf; max-width: 580px; margin-top: 8px; }
.nyp__label { margin-top: 24px; font: 700 11px var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--acc); }
.nyp__list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 14px; max-width: 640px; }
.nyp__list li { position: relative; padding-left: 28px; color: #d9cfbe; font-size: 15px; line-height: 1.6; }
.nyp__list li::before {
  content: ""; position: absolute; left: 3px; top: .5em; width: 10px; height: 10px; border-radius: 2px; transform: rotate(45deg);
  background: var(--acc-grad); box-shadow: 0 0 12px rgba(255, 138, 61, .6);
}
.nyp__list strong { color: #f6ecdc; font-weight: 600; }
.nyp__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 32px; }
.nyp__phone { display: inline-flex; align-items: center; gap: 10px; margin-left: 8px; font: 600 16px var(--sans); color: #f3eadb; white-space: nowrap; }
.nyp__phone .i { width: 18px; height: 18px; color: var(--acc); }
.nyp__phone:hover { color: var(--acc-2); }
.nyp__poster { justify-self: center; }
.nyp__poster img { max-height: 560px; }

/* заявка в праздничной теме: листва остаётся, рамка — праздничная */
.cta { position: relative; overflow: hidden; isolation: isolate; }
.cta > .fx-sparkles { z-index: 0; }
.cta > .cta__text, .cta > .cta__form { position: relative; z-index: 1; }
.cta.cta--festive {
  border: 1px solid transparent;
  background:
    radial-gradient(520px 380px at 0% 0%, rgba(255, 138, 61, .16), transparent 70%) padding-box,
    linear-gradient(140deg, rgba(21, 35, 27, .95), rgba(10, 16, 12, .96)) padding-box,
    linear-gradient(135deg, rgba(255, 210, 122, .6), rgba(255, 138, 61, .45), rgba(217, 53, 110, .4)) border-box;
}
.has-decor .cta.cta--festive {
  background:
    radial-gradient(520px 380px at 0% 0%, rgba(255, 138, 61, .18), transparent 70%) padding-box,
    linear-gradient(90deg, rgba(9, 15, 11, .8) 0%, rgba(9, 15, 11, .9) 40%, rgba(9, 15, 11, .95) 100%) padding-box,
    url("../img/leaves.webp") left center / cover no-repeat padding-box,
    linear-gradient(135deg, rgba(255, 210, 122, .6), rgba(255, 138, 61, .45), rgba(217, 53, 110, .4)) border-box;
}

/* --------------------------------------------------------------- адаптив */
@media (max-width: 1320px) {
  .hdr__hours { display: none; }
  .nav__list { gap: 0 20px; }
}
@media (max-width: 1200px) {
  .nav, .hdr__dash { display: none; }
  .burger { display: flex; }
  .hdr__contact { margin-left: auto; }
  .hdr__hours { display: block; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .banquet { grid-template-columns: minmax(0, 1fr) 270px; }
}
@media (max-width: 980px) {
  :root { --gutter: 22px; }
  .rail {
    display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: minmax(250px, 46%);
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 4px; scroll-padding: 0 var(--gutter);
  }
  .rail::-webkit-scrollbar { display: none; }
  .rail > * { scroll-snap-align: start; }
  .gstrip { height: auto; grid-auto-columns: minmax(220px, 40%); }
  .gstrip > * { height: 210px; }
  .reviews { grid-auto-columns: minmax(280px, 70%); }
  .banquet { grid-template-columns: 1fr; }
  .banquet__list { flex-direction: row; flex-wrap: wrap; gap: 20px 28px; border-left: 0; border-top: 1px solid var(--line); }
  .banquet__list li { flex: 1 1 200px; }
  .bookbar, .split, .amen, .cta { grid-template-columns: 1fr; gap: 32px; }
  .split__media { max-width: 560px; }
  .fgrid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats li:nth-child(odd) { border-left: 0; }
  .stats li:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .stats li:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .ftr__slogan { margin-left: 0; width: 100%; }
}
@media (max-width: 720px) {
  :root { --gutter: 18px; --hdr-h: 70px; }
  body { font-size: 14.5px; }
  .hdr__contact, .hdr__cta { display: none; }
  .burger { margin-left: auto; }
  .logo__img { height: 50px; }
  .hdr.is-scrolled .logo__img { height: 40px; }
  .hdr.is-scrolled .hdr__inner { height: 62px; }

  .hero { min-height: max(640px, 100svh); }
  .hero__slide { align-items: flex-end; }
  .hero__media::after { background: linear-gradient(180deg, rgba(8, 13, 10, .6) 0%, rgba(8, 13, 10, .15) 30%, rgba(8, 13, 10, .75) 62%, rgba(8, 13, 10, .9) 100%); }
  .hero__content { padding-bottom: 108px; }
  .hero__aside { display: none; }
  .hero__ctrl { bottom: 30px; justify-content: flex-start; padding-right: 88px; }
  .hero__progress { margin-right: auto; }
  .hero__actions .btn { flex: 1 1 auto; }

  .corner--tl { width: 190px; }
  .corner--tr { width: 150px; }

  .section { padding: 52px 0; }
  .section--tight { padding: 30px 0; }
  .section--last { padding-bottom: 80px; }
  .shead { flex-direction: column; align-items: flex-start; gap: 10px; }
  .rail { grid-auto-columns: 78%; }
  .gstrip { grid-auto-columns: 70%; }
  .reviews { grid-auto-columns: 86%; }
  .features { grid-template-columns: 1fr; gap: 16px; }
  .banquet__text { padding: 28px 22px; }
  .banquet__main::before { background: linear-gradient(180deg, rgba(10, 16, 12, .55), rgba(10, 16, 12, .92) 60%); }
  .banquet__list { flex-direction: column; padding: 24px 22px; }
  .banquet__list li { flex: none; }
  .bookbar__form { grid-template-columns: 1fr 1fr; }
  .bookbar__form .qfield:first-child, .bookbar__form .btn { grid-column: 1 / -1; }

  .phero { min-height: 560px; }
  .phero__content { padding-bottom: 96px; }
  .stats { margin-top: -44px; }
  .stats li { padding: 18px; }
  .fgrid { grid-template-columns: 1fr; }
  .fcard { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 16px; row-gap: 2px; padding: 18px; }
  .fcard__icon { grid-row: span 3; width: 48px; height: 48px; margin: 0; }
  .fcard__title { font-size: 22px; }
  .fcard__go { padding-top: 8px; }
  .framed::before { inset: -8px; border-radius: calc(var(--radius) + 6px); }
  .partner { flex-direction: column; align-items: flex-start; padding: 24px 22px; }
  /* первое фото во всю ширину, остальные парами; одиночное последнее — тоже во всю ширину */
  .pgal, .pgal--3, .pgal--4 { grid-template-columns: 1fr 1fr; grid-template-rows: 210px; grid-auto-rows: 150px; gap: 10px; }
  .pgal__item:first-child { grid-column: 1 / -1; grid-row: auto; }
  .pgal__item:last-child:nth-child(even) { grid-column: 1 / -1; }
  .pgal--1, .pgal--2 { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-rows: 240px; }
  .cta { padding: 26px 20px; border-radius: 16px; }
  .has-decor .bookbar { padding: 24px 18px; border-radius: 16px; }
  .cta__phone { font-size: 27px; }

  .form__grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .field, .field--wide2 { grid-column: 1 / -1; }
  .field--third { grid-column: span 1; }
  .form[data-kind="table"] .field--date { grid-column: 1 / -1; }
  .form[data-kind="event"] .field--date, .form[data-kind="event"] .field--third[data-show="event"] { grid-column: span 1; }
  .form__foot .btn { width: 100%; }
  .modal { width: 100%; max-width: none; max-height: 100dvh; height: auto; margin: auto 0 0; border-radius: 18px 18px 0 0; }
  .modal__box { padding: 28px 20px 24px; max-height: calc(100dvh - 10px); }
  .modal__title { font-size: 30px; }

  .lb { padding: 60px 10px; }
  .lb__prev, .lb__next { top: auto; bottom: 14px; transform: none; }
  .lb__prev { left: 14px; }
  .lb__next { right: 14px; }

  .call-fab { display: grid; }
  .cookie { left: 10px; right: 10px; bottom: 10px; max-width: none; z-index: 61; }
  .ftr__main { flex-direction: column; align-items: flex-start; }
  .ftr__contacts { flex-direction: column; }
  .ftr__bottom { flex-direction: column; padding-bottom: 60px; }
}

@media (max-width: 980px) {
  .prog-split { grid-template-columns: 1fr; gap: 40px; }
  .prog-photos--two { padding: 24px 0 24px 70px; max-width: 560px; }
  .phero--poster .phero__grid { grid-template-columns: 1fr; gap: 40px; }
  .phero__poster { justify-self: start; }
  .phero__poster img { max-height: 560px; }
  .nyp { grid-template-columns: 1fr; gap: 36px; padding: 36px 30px; }
  .nyp__poster { justify-self: start; }
  .prog, .prog--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .packs, .packs--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .phero--poster .phero__content { padding-top: calc(var(--hdr-h) + 52px); }
  .phero__poster, .nyp__poster { justify-self: center; transform: rotate(.8deg); }
  .phero__poster img, .nyp__poster img { max-height: none; width: 100%; }
  .garland { height: 72px; top: calc(var(--hdr-h) - 10px); }
  .nyp { padding: 28px 20px 30px; border-radius: 18px; gap: 30px; }
  .nyp__list li { font-size: 14.5px; }
  .nyp__actions .btn { flex: 1 1 100%; }
  .nyp__phone { margin: 4px 0 0; }
  .prog, .prog--2, .prog--4 { grid-template-columns: 1fr; }
  .prog-row { grid-template-columns: 48px minmax(0, 1fr); gap: 14px; padding: 20px 0; }
  .prog-row .prog__icon { width: 48px; height: 48px; }
  .prog-row__num { display: none; }
  .prog-row__title { font-size: 23px; }
  .prog-photos { min-height: 0; }
  .prog-photos--two { padding: 18px 0 18px 46px; }
  .prog__card { padding: 24px 22px; }
  .prog__num { font-size: 52px; }
  .packs, .packs--2, .packs--4 { grid-template-columns: 1fr; }
  .countdown { margin-top: 16px; }
}

/* ============================================================ «Спасибо» и страницы с формой */
.thanks { min-height: clamp(580px, 84vh, 860px); align-items: center; }
.thanks .phero__content { width: 100%; padding-top: calc(var(--hdr-h) + 60px); padding-bottom: 80px; }
.thanks--photo .phero__media::after { background: radial-gradient(ellipse at 50% 45%, rgba(8, 13, 10, .72), rgba(8, 13, 10, .9) 70%); }
.thanks__glow { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(620px 420px at 50% 42%, rgba(226, 180, 107, .12), transparent 70%); }
[data-variant][hidden] { display: none !important; }
.thanks__card { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; text-align: center; }
.thanks__icon {
  width: 78px; height: 78px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 28px; color: #251809;
  background: linear-gradient(180deg, #f5d6a0 0%, #e4b76f 52%, #d39f56 100%);
  box-shadow: 0 0 0 10px rgba(226, 180, 107, .1), 0 0 0 22px rgba(226, 180, 107, .05), 0 20px 50px -10px rgba(226, 180, 107, .45);
  animation: thanks-pop .8s cubic-bezier(.2, 1.4, .4, 1) .1s both;
}
.thanks__icon .i { width: 34px; height: 34px; stroke-width: 2.2; }
.thanks__title { max-width: none; font-size: clamp(40px, 5vw, 72px); }
.thanks__lead { margin: 18px auto 0; font-size: 17px; max-width: 600px; }
.thanks__phone { margin-top: 16px; color: var(--muted); font-size: 14.5px; }
.thanks__phone a { color: var(--gold-2); white-space: nowrap; border-bottom: 1px solid rgba(242, 208, 151, .35); }
.thanks__phone a:hover { color: #fff; }
.thanks .hero__actions { justify-content: center; }
.thanks__social { margin-top: 46px; padding-top: 28px; border-top: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; gap: 14px; color: var(--muted); font-size: 13.5px; max-width: 520px; }
@keyframes thanks-pop { from { transform: scale(.3); opacity: 0; } to { transform: none; opacity: 1; } }

.rpage .phero__content { width: 100%; padding-bottom: 80px; }
.rpage__title { font-size: clamp(36px, 4vw, 54px); }
.rpage__info { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 14px; font-size: 15px; }
.rpage__info li { display: flex; align-items: center; gap: 12px; color: #ddd3c3; }
.rpage__info .i { width: 18px; height: 18px; color: var(--gold); flex: none; }
.rpage__info a:hover { color: var(--gold-2); }

@media (max-width: 720px) {
  .thanks { min-height: 0; }
  .thanks .phero__content { padding-top: calc(var(--hdr-h) + 44px); padding-bottom: 60px; }
  .thanks__icon { width: 64px; height: 64px; margin-bottom: 22px; }
  .thanks__icon .i { width: 28px; height: 28px; }
  .thanks__lead { font-size: 15.5px; }
  .thanks .hero__actions .btn { flex: 1 1 100%; }
  .rpage .phero__content { padding-top: calc(var(--hdr-h) + 30px); padding-bottom: 50px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .hero__img, .hero__slide { transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; }
  .fx-dot, .bulb__lamp, .bulb__glow, .countdown__dot { animation: none !important; }
  .fx-dot { opacity: .6; }
}
