/* «Остров» — event-площадка на Шарташе. Палитра: ночное озеро, песок, шампанское */
:root {
  --night: #0e1b2a;
  --night-2: #16283b;
  --lake: #1f5f7a;
  --sky: #e9f1f5;
  --sand: #f6f1ea;
  --ivory: #fbf9f6;
  --gold: #c8a063;
  --gold-600: #a9834a;
  --gold-50: #f5ecdf;
  --text: #1b2533;
  --muted: #6b7684;
  --line: #e7e0d6;
  --r: 18px;
  --shadow: 0 2px 6px rgba(14, 27, 42, .05), 0 18px 40px rgba(14, 27, 42, .08);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.65 var(--sans); color: var(--text); background: var(--ivory); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; overflow-wrap: break-word; hyphens: auto; }
h1, h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.hp { position: absolute; left: -9999px; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* Кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 50px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent; font-weight: 700; font-size: 15px; cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .25s, box-shadow .25s; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; }
.btn-gold { background: linear-gradient(135deg, #d8b377, var(--gold) 55%, #b38b52); color: #fff; box-shadow: 0 10px 24px rgba(200, 160, 99, .35); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(200, 160, 99, .45); }
.btn-glass { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .45); color: #fff; backdrop-filter: blur(8px); }
.btn-glass:hover { background: rgba(255, 255, 255, .22); }
.btn-ghost-dark { background: #fff; border-color: var(--line); color: var(--text); }
.btn-ghost-dark:hover { border-color: var(--gold); color: var(--gold-600); }
.btn-lg { height: 56px; padding: 0 30px; font-size: 16px; }
.btn-block { width: 100%; }

.kicker { display: inline-flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-600); }
.kicker::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.kicker-light { color: #f0d6aa; }

/* Шапка: прозрачная поверх первого экрана, стеклянная при прокрутке */
.top { position: fixed; left: 0; right: 0; top: 0; z-index: 60; color: #fff; transition: background .35s, box-shadow .35s, color .35s; }
.top.is-solid, body:not(.has-hero) .top { background: rgba(14, 27, 42, .78); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); box-shadow: 0 10px 30px rgba(14, 27, 42, .18); }
.top-row { display: flex; align-items: center; gap: 22px; height: 84px; transition: height .3s; }
.top.is-solid .top-row { height: 70px; }
.brand { display: flex; flex-direction: column; line-height: 1; }
.brand-o { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 34px; letter-spacing: .01em; background: linear-gradient(110deg, #fff 20%, #f0d6aa 45%, #fff 70%); background-size: 240% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: sheen 7s linear infinite; }
.brand-s { white-space: nowrap; font-size: 10.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .7); margin-top: 4px; }
@keyframes sheen { to { background-position: -240% 0; } }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 2px; }
.nav a { display: block; white-space: nowrap; padding: 8px 12px; border-radius: 999px; font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .88); transition: background .2s, color .2s; }
.nav a:hover, .nav a.is-active { background: rgba(255, 255, 255, .12); color: #fff; }
.nav-foot { display: none; }
.top-phone { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 15px; white-space: nowrap; }
.top-phone svg { width: 18px; height: 18px; color: #f0d6aa; }
.top-cta { height: 44px; padding: 0 20px; font-size: 14px; }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .08); color: #fff; cursor: pointer; place-items: center; }
.burger svg { width: 22px; height: 22px; }

/* Волны */
.waves { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 90px; pointer-events: none; }
.waves path { fill: var(--ivory); }
.waves .w1 { opacity: .35; animation: wave 12s ease-in-out infinite alternate; }
.waves .w2 { opacity: .6; animation: wave 9s ease-in-out infinite alternate-reverse; }
@keyframes wave { from { transform: translateX(-40px); } to { transform: translateX(40px); } }
.waves-top { top: -1px; bottom: auto; transform: scaleY(-1); }
.waves-top path { fill: var(--ivory); }

/* Первый экран */
.hero { position: relative; min-height: min(100vh, 940px); min-height: min(100svh, 940px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--night); }
.slides, .slide { position: absolute; inset: 0; }
.slide { opacity: 0; transition: opacity 1.6s ease; }
.slide.is-on { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); }
.slide.is-on img { animation: kenburns 9s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.14) translate(1%, 1%); } to { transform: scale(1.02); } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(14, 27, 42, .55) 0%, rgba(14, 27, 42, .1) 35%, rgba(14, 27, 42, .7) 100%), linear-gradient(90deg, rgba(14, 27, 42, .55), transparent 70%); }
.hero-in { position: relative; z-index: 2; padding-bottom: 150px; padding-top: 140px; max-width: 900px; margin-left: max(24px, calc((100vw - 1240px) / 2 + 24px)); }
.hero h1 { font-size: clamp(42px, 6.4vw, 86px); margin: 22px 0 22px; }
.hero h1 em { font-style: italic; color: #f0d6aa; }
.hero .lead { font-size: 19px; color: rgba(255, 255, 255, .88); max-width: 640px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-dots { display: flex; gap: 8px; margin-top: 34px; }
.hero-dots button { width: 34px; height: 4px; border-radius: 2px; border: 0; padding: 0; background: rgba(255, 255, 255, .35); cursor: pointer; transition: background .3s, width .3s; }
.hero-dots button.is-on { background: #f0d6aa; width: 56px; }

/* Секции */
.sec { padding: 100px 0; position: relative; }
.sec-sand { background: var(--sand); }
.sec-cap { padding: 0; margin-top: -60px; z-index: 3; }
.head { max-width: 720px; margin-bottom: 44px; }
.head h2 { font-size: clamp(34px, 4.4vw, 56px); margin-top: 14px; }
.head p { color: var(--muted); margin-top: 14px; font-size: 17px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.two > * { min-width: 0; }
.two h2 { font-size: clamp(32px, 4vw, 50px); margin: 14px 0 24px; }
.two-c { align-items: center; }

/* Вместимость */
.caps { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; }
.cap { padding: 28px 26px; border-left: 1px solid var(--line); display: grid; gap: 4px; }
.cap:first-child { border-left: 0; }
.cap svg { width: 28px; height: 28px; color: var(--gold); margin-bottom: 8px; }
.cap b { font-family: var(--serif); font-size: 38px; font-weight: 600; line-height: 1; }
.cap span { font-size: 14px; color: var(--muted); }

/* Форматы */
.fmts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.fmt { position: relative; border-radius: var(--r); overflow: hidden; min-height: 460px; color: #fff; display: flex; align-items: flex-end; isolation: isolate; }
.fmt img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.fmt::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 30%, rgba(14, 27, 42, .88)); transition: background .4s; }
.fmt:hover img { transform: scale(1.07); }
.fmt:hover::after { background: linear-gradient(180deg, rgba(14, 27, 42, .15) 10%, rgba(14, 27, 42, .92)); }
.fmt-in { padding: 26px; }
.fmt-ico { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .3); backdrop-filter: blur(8px); margin-bottom: 16px; }
.fmt-ico svg { width: 22px; height: 22px; color: #f0d6aa; }
.fmt h3 { font-family: var(--serif); font-size: 30px; font-weight: 600; }
.fmt p { font-size: 14px; color: rgba(255, 255, 255, .85); margin-top: 8px; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .4s, opacity .3s; }
.fmt:hover p, .fmt:focus-visible p { max-height: 100px; opacity: 1; }
.more { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; color: #f0d6aa; margin-top: 12px; }
.more svg { width: 16px; height: 16px; transition: transform .2s; }
.fmt:hover .more svg { transform: translateX(4px); }

/* Пространство */
.space { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.space > * { min-width: 0; }
.space-pics { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: 240px 240px; gap: 14px; }
.space-pics figure { margin: 0; border-radius: var(--r); overflow: hidden; }
.space-pics img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.space-pics figure:hover img { transform: scale(1.05); }
.sp1 { grid-row: span 2; }
.sp-badge { position: absolute; left: 20px; bottom: 20px; display: flex; gap: 12px; align-items: center; padding: 14px 18px; border-radius: 14px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); box-shadow: var(--shadow); }
.sp-badge svg { width: 24px; height: 24px; color: var(--gold); }
.sp-badge span { font-size: 13px; color: var(--muted); line-height: 1.3; }
.sp-badge b { display: block; font-family: var(--serif); font-size: 22px; color: var(--text); }
.space-copy h2 { font-size: clamp(32px, 4vw, 52px); margin: 14px 0 20px; }
.space-copy > p { color: var(--muted); font-size: 17px; }
.feats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 30px; }
.feats li { display: flex; gap: 14px; padding: 18px; border-radius: 14px; background: #fff; border: 1px solid var(--line); transition: border-color .25s, transform .25s, box-shadow .25s; }
.feats li:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: var(--shadow); }
.feats svg { width: 26px; height: 26px; color: var(--gold); flex: none; }
.feats h4 { font-size: 15px; font-weight: 800; }
.feats p { font-size: 13px; color: var(--muted); margin-top: 4px; line-height: 1.5; }

/* Полоса бронирования */
.band { position: relative; color: #fff; overflow: hidden; background: var(--night); }
.band-bg { position: absolute; inset: 0; }
.band-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 27, 42, .95), rgba(14, 27, 42, .6)); }
.band-in { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: center; padding: 100px 24px; }
.band-in > * { min-width: 0; }
.band h2 { font-size: clamp(32px, 4vw, 52px); margin: 14px 0 30px; }
.steps { display: grid; gap: 14px; }
.steps li { display: flex; gap: 20px; align-items: flex-start; padding: 18px 20px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.steps b { font-family: var(--serif); font-size: 34px; color: #f0d6aa; line-height: 1; }
.steps h4 { font-size: 16px; font-weight: 800; }
.steps p { font-size: 14px; color: rgba(255, 255, 255, .72); margin-top: 4px; }
.band-card { padding: 34px; border-radius: 22px; background: rgba(255, 255, 255, .96); color: var(--text); box-shadow: 0 30px 60px rgba(0, 0, 0, .3); }
.band-card h3 { font-family: var(--serif); font-size: 32px; font-weight: 600; }
.band-card p { color: var(--muted); margin: 12px 0 22px; }
.band-alt { display: block; text-align: center; margin-top: 14px; font-size: 14px; color: var(--muted); }
.band-alt:hover { color: var(--gold-600); }

/* Галерея */
.gal { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; grid-auto-flow: dense; gap: 12px; }
.g-i { position: relative; border: 0; padding: 0; border-radius: 14px; overflow: hidden; cursor: zoom-in; background: var(--sand); }
.g-i img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2, .8, .2, 1), filter .4s; }
.g-i span { position: absolute; left: 12px; bottom: 12px; right: 12px; padding: 8px 12px; border-radius: 10px; background: rgba(14, 27, 42, .7); backdrop-filter: blur(6px); color: #fff; font-size: 13px; font-weight: 600; text-align: left; opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s; }
.g-i:hover img { transform: scale(1.06); }
.g-i:hover span, .g-i:focus-visible span { opacity: 1; transform: none; }
.g0 { grid-column: span 2; grid-row: span 2; }
.g3 { grid-row: span 2; }
.g5 { grid-column: span 2; }
.strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.strip-i { border: 0; padding: 0; border-radius: 14px; overflow: hidden; aspect-ratio: 3/4; cursor: zoom-in; background: #fff; }
.strip-i img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.strip-i:hover img { transform: scale(1.06); }

.lightbox { position: fixed; inset: 0; z-index: 150; display: flex; align-items: center; justify-content: center; background: rgba(8, 14, 22, .92); padding: 40px 80px; opacity: 0; transition: opacity .3s; }
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 140px); border-radius: 12px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); animation: lbIn .4s ease; }
@keyframes lbIn { from { opacity: 0; transform: scale(.96); } }
.lightbox figcaption { color: #fff; margin-top: 14px; font-size: 15px; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .08); color: #fff; cursor: pointer; display: grid; place-items: center; }
.lb-nav svg { width: 24px; height: 24px; }
.lb-prev { left: 18px; }
.lb-next { right: 18px; }
.x-close { position: absolute; right: 16px; top: 16px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; display: grid; place-items: center; z-index: 3; }
.x-close svg { width: 20px; height: 20px; }

/* Внутренние страницы */
.phero { position: relative; min-height: min(78vh, 760px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--night); }
.phero-bg { position: absolute; inset: 0; }
.phero-bg img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 12s ease-out forwards; }
.phero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(14, 27, 42, .6), rgba(14, 27, 42, .25) 40%, rgba(14, 27, 42, .8)); }
.phero-in { position: relative; z-index: 2; padding-top: 130px; padding-bottom: 130px; }
.phero h1 { font-size: clamp(38px, 5.4vw, 72px); max-width: 900px; margin: 18px 0 18px; }
.phero .lead { font-size: 18px; color: rgba(255, 255, 255, .88); max-width: 680px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: rgba(255, 255, 255, .7); margin-bottom: 22px; }
.crumbs > * + *::before { content: "/"; margin-right: 8px; opacity: .5; }
.crumbs a:hover { color: #fff; }
.prose p { color: var(--muted); font-size: 17px; margin-bottom: 14px; }
.offer { padding: 34px; border-radius: 22px; background: #fff; box-shadow: var(--shadow); border: 1px solid var(--line); }
.offer h3 { font-family: var(--serif); font-size: 30px; font-weight: 600; margin-bottom: 18px; }
.checks { display: grid; gap: 12px; margin-bottom: 26px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.checks svg { width: 22px; height: 22px; color: var(--gold); flex: none; margin-top: 1px; }

.faq { display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; transition: border-color .2s; }
.faq details[open] { border-color: var(--gold); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 54px 18px 20px; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 24px; color: var(--gold); transition: transform .25s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 20px 18px; color: var(--muted); }
.card-form { padding: 34px; border-radius: 22px; background: #fff; box-shadow: var(--shadow); }
.card-form h3 { font-family: var(--serif); font-size: 30px; font-weight: 600; margin-bottom: 16px; }

/* Формы */
.form { display: grid; gap: 12px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 13px; font-weight: 700; color: var(--muted); }
.field input, .field textarea { width: 100%; height: 50px; border-radius: 12px; border: 1px solid var(--line); background: var(--ivory); padding: 0 16px; outline: none; transition: border-color .2s, box-shadow .2s, background .2s; }
.field textarea { height: auto; padding: 12px 16px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--gold); background: #fff; box-shadow: 0 0 0 4px rgba(200, 160, 99, .15); }
.consent { font-size: 12px; color: var(--muted); line-height: 1.5; }
.consent a { color: var(--gold-600); text-decoration: underline; }
.form-error { display: none; padding: 10px 14px; border-radius: 10px; background: #fdecec; color: #c0392b; font-size: 14px; font-weight: 600; }
.has-error .form-error { display: block; }

/* Контакты */
.ccards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 28px; }
.ccard { display: flex; flex-direction: column; gap: 4px; min-height: 170px; padding: 24px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); transition: border-color .25s, transform .25s, box-shadow .25s; }
.ccard:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: var(--shadow); }
.ccard > svg { width: 28px; height: 28px; color: var(--gold); margin-bottom: 10px; }
.ccard > span { font-size: 13px; color: var(--muted); font-weight: 600; }
.ccard b { font-size: 17px; font-weight: 800; word-break: break-word; }
.ccard small { color: var(--muted); font-size: 13px; margin-top: auto; }
.ccard-msg { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.ccard-msg a { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 999px; color: #fff; font-size: 13px; font-weight: 700; }
.ccard-msg svg { width: 15px; height: 15px; }
.ccard-msg i { font-style: normal; font-weight: 800; }
.m-tg { background: #2aabee; }
.m-max { background: linear-gradient(135deg, #4f5bff, #9b4dff); }
.two-map { align-items: stretch; }
.map { border-radius: var(--r); overflow: hidden; min-height: 440px; background: var(--sand); display: flex; }
.map iframe { flex: 1; border: 0; min-height: 440px; }
.prose-page { max-width: 860px; }
.prose-page h2 { font-family: var(--sans); font-size: 20px; font-weight: 800; margin: 30px 0 10px; }
.prose-page p, .prose-page li { color: var(--muted); margin-bottom: 8px; }
.prose-page ul { list-style: disc; padding-left: 22px; }
body:not(.has-hero) main > .sec:first-child { padding-top: 150px; }

/* Спасибо */
.ty { position: relative; min-height: min(100vh, 980px); display: flex; align-items: center; padding: 130px 0 140px; overflow: hidden; background: var(--night); }
.ty-bg { position: absolute; inset: 0; }
.ty-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .35; filter: blur(2px); }
.ty .wrap { position: relative; z-index: 1; width: 100%; }
.ty-card { max-width: 720px; margin: 0 auto; padding: 50px 44px 42px; border-radius: 26px; background: rgba(255, 255, 255, .96); text-align: center; box-shadow: 0 40px 90px rgba(0, 0, 0, .4); animation: rise .7s cubic-bezier(.2, .9, .3, 1.2) both; }
@keyframes rise { from { opacity: 0; transform: translateY(26px) scale(.97); } }
.ty-check { width: 96px; height: 96px; margin: 0 auto 16px; display: block; }
.ty-check circle { fill: var(--gold-50); stroke: var(--gold); stroke-width: 3; stroke-dasharray: 227; stroke-dashoffset: 227; animation: draw .8s .2s ease forwards; }
.ty-check path { fill: none; stroke: var(--gold-600); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw .5s .9s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.ty-card h1 { font-size: clamp(36px, 4.6vw, 52px); margin: 10px 0 12px; }
.ty-card .lead { color: var(--muted); font-size: 17px; max-width: 540px; margin: 0 auto; }
.ty-sum { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 26px 0 0; }
.ty-sum[hidden] { display: none; }
.ty-sum li { padding: 14px; border-radius: 14px; background: var(--sand); }
.ty-sum span { display: block; font-size: 12px; color: var(--muted); }
.ty-sum b { font-family: var(--serif); font-size: 22px; }
.ty-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 26px 0 28px; }
.ty-steps li { padding: 18px 14px; border-radius: 14px; border: 1px solid var(--line); display: grid; justify-items: center; gap: 4px; animation: rise .5s both; }
.ty-steps li:nth-child(1) { animation-delay: 1.1s; }
.ty-steps li:nth-child(2) { animation-delay: 1.25s; }
.ty-steps li:nth-child(3) { animation-delay: 1.4s; }
.ty-steps svg { width: 26px; height: 26px; color: var(--gold); }
.ty-steps b { font-size: 14px; }
.ty-steps span { font-size: 12px; color: var(--muted); }

/* 404 */
.nf { position: relative; min-height: min(100vh, 980px); display: flex; align-items: center; padding: 130px 0 160px; overflow: hidden; background: linear-gradient(180deg, var(--night) 0%, var(--lake) 100%); color: #fff; text-align: center; }
.nf-in { position: relative; z-index: 1; max-width: 760px; }
.nf-code { display: flex; justify-content: center; align-items: center; gap: 10px; font-family: var(--serif); font-size: clamp(110px, 18vw, 210px); font-weight: 600; line-height: 1; color: #f0d6aa; }
.nf-o { position: relative; width: .72em; height: .72em; }
.nf-o i { position: absolute; inset: 0; border-radius: 50%; border: 4px solid #f0d6aa; animation: ripple 3s ease-out infinite; }
.nf-o i:nth-child(2) { animation-delay: 1s; }
.nf-o i:nth-child(3) { animation-delay: 2s; }
@keyframes ripple { 0% { transform: scale(.35); opacity: 1; } 100% { transform: scale(1.25); opacity: 0; } }
.nf h1 { font-size: clamp(32px, 4.4vw, 52px); margin: 18px 0 14px; }
.nf p { color: rgba(255, 255, 255, .78); max-width: 560px; margin: 0 auto 22px; }
.nf-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 28px; }
.nf-links a { padding: 9px 16px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); font-size: 14px; font-weight: 700; transition: all .2s; }
.nf-links a:hover { background: rgba(255, 255, 255, .16); border-color: #f0d6aa; }
.nf-waves { height: 140px; }
.nf-waves path { fill: rgba(251, 249, 246, .9); }
.nf-waves .w1 { fill: rgba(251, 249, 246, .25); }
.nf-waves .w2 { fill: rgba(251, 249, 246, .45); }

/* Подвал */
.foot { position: relative; background: var(--night); color: rgba(255, 255, 255, .7); padding: 120px 0 28px; }
.foot .waves path { fill: var(--ivory); }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.foot p { font-size: 14px; margin-top: 18px; max-width: 320px; }
.foot h4 { color: #fff; font-size: 15px; font-weight: 800; margin-bottom: 14px; }
.foot li { margin-bottom: 9px; font-size: 14px; }
.foot a:hover { color: #f0d6aa; }
.foot-phone { display: block; font-family: var(--serif); font-size: 28px; color: #fff; margin-bottom: 8px; }
.soc { display: flex; gap: 8px; margin-top: 14px; }
.soc a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: #fff; font-weight: 800; }
.soc a:hover { background: var(--gold); color: #fff; }
.soc svg { width: 18px; height: 18px; }
.foot-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13px; }

/* Квиз бронирования */
.quiz { position: fixed; inset: 0; z-index: 140; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(8, 14, 22, .6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity .3s; }
.quiz[hidden] { display: none; }
.quiz.is-open { opacity: 1; }
.quiz-box { position: relative; width: 100%; max-width: 980px; min-height: 600px; max-height: calc(100vh - 40px); display: grid; grid-template-columns: 340px 1fr; border-radius: 26px; overflow: hidden; background: #fff; box-shadow: 0 40px 100px rgba(0, 0, 0, .45); transform: translateY(20px) scale(.97); transition: transform .4s cubic-bezier(.2, .9, .3, 1.2); }
.quiz.is-open .quiz-box { transform: none; }
.quiz-side { position: relative; background: var(--night) center/cover no-repeat; color: #fff; }
.quiz-side::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 27, 42, .45), rgba(14, 27, 42, .92)); }
.quiz-side-in { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding: 32px; }
.quiz-side h3 { font-family: var(--serif); font-size: 34px; font-weight: 600; margin: 12px 0 10px; line-height: 1.1; }
.quiz-side p { font-size: 14px; color: rgba(255, 255, 255, .78); }
.quiz-sum { display: grid; gap: 8px; margin-top: 22px; }
.quiz-sum li { display: grid; grid-template-columns: 22px 1fr; gap: 0 10px; align-items: center; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .1); transition: border-color .3s, background .3s; }
.quiz-sum li.is-set { border-color: rgba(240, 214, 170, .6); background: rgba(240, 214, 170, .12); }
.quiz-sum svg { width: 18px; height: 18px; color: #f0d6aa; grid-row: span 2; }
.quiz-sum span { font-size: 11px; color: rgba(255, 255, 255, .6); text-transform: uppercase; letter-spacing: .1em; }
.quiz-sum b { font-size: 14px; }
.quiz-main { position: relative; display: flex; flex-direction: column; padding: 34px 36px 26px; overflow-y: auto; }
.quiz-main .x-close { background: var(--sand); color: var(--text); }
.q-progress { height: 4px; border-radius: 2px; background: var(--sand); overflow: hidden; margin-right: 56px; }
.q-progress span { display: block; height: 100%; width: 20%; background: linear-gradient(90deg, #d8b377, var(--gold)); border-radius: 2px; transition: width .4s cubic-bezier(.2, .8, .2, 1); }
.q-step-n { font-size: 13px; color: var(--muted); margin: 10px 0 18px; }
.q-step { display: none; animation: stepIn .4s ease; flex: 1; }
.q-step.is-on { display: block; }
@keyframes stepIn { from { opacity: 0; transform: translateX(24px); } }
.q-step h4 { font-family: var(--serif); font-size: 32px; font-weight: 600; margin-bottom: 20px; line-height: 1.15; }
.q-sub { color: var(--muted); margin: -8px 0 16px; }
.q-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.q-opt { position: relative; cursor: pointer; }
.q-opt input { position: absolute; opacity: 0; }
.q-opt span { display: grid; justify-items: center; gap: 10px; padding: 20px 10px; border-radius: 16px; border: 1px solid var(--line); background: var(--ivory); text-align: center; transition: all .25s; }
.q-opt svg { width: 30px; height: 30px; color: var(--gold); transition: transform .3s; }
.q-opt b { font-size: 14px; }
.q-opt:hover span { border-color: var(--gold); }
.q-opt input:checked + span { border-color: var(--gold); background: var(--gold-50); box-shadow: 0 0 0 4px rgba(200, 160, 99, .15); }
.q-opt input:checked + span svg { transform: scale(1.15); }
.q-other { width: 100%; height: 50px; margin-top: 12px; border-radius: 12px; border: 1px solid var(--line); padding: 0 16px; background: var(--ivory); outline: none; }
.q-other[hidden] { display: none; }
.q-days { display: inline-grid; grid-auto-flow: column; gap: 6px; padding: 5px; border-radius: 999px; background: var(--sand); margin-bottom: 18px; }
.q-days label { position: relative; cursor: pointer; }
.q-days input { position: absolute; opacity: 0; }
.q-days span { display: inline-flex; align-items: center; gap: 7px; padding: 9px 18px; border-radius: 999px; font-size: 14px; font-weight: 700; color: var(--muted); transition: all .2s; }
.q-days span svg { width: 16px; height: 16px; }
.q-days span i { font-style: normal; font-weight: 800; }
.q-days input:checked + span { background: #fff; color: var(--text); box-shadow: 0 2px 8px rgba(14, 27, 42, .1); }
.q-reply { margin-bottom: 0; }
.cal { border: 1px solid var(--line); border-radius: 18px; padding: 16px; background: var(--ivory); }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cal-head b { font-family: var(--serif); font-size: 24px; font-weight: 600; text-transform: capitalize; }
.cal-head button { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; display: grid; place-items: center; }
.cal-head button:hover { border-color: var(--gold); color: var(--gold-600); }
.cal-head button:disabled { opacity: .35; cursor: default; }
.cal-head svg { width: 18px; height: 18px; }
.cal-week, .cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-week span { text-align: center; font-size: 12px; font-weight: 700; color: var(--muted); padding: 4px 0; }
.cal-week .we { color: var(--gold-600); }
.cal-grid button { height: 42px; border-radius: 12px; border: 0; background: transparent; cursor: pointer; font-weight: 700; font-size: 14px; transition: background .2s, color .2s; position: relative; }
.cal-grid button:hover:not(:disabled) { background: var(--gold-50); }
.cal-grid button:disabled { color: #c9c2b8; cursor: default; }
.cal-grid button.is-we:not(:disabled) { color: var(--gold-600); }
.cal-grid button.is-today::after { content: ""; position: absolute; left: 50%; bottom: 6px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--gold); }
.cal-grid button.is-range { background: var(--gold-50); border-radius: 0; }
.cal-grid button.is-sel { background: linear-gradient(135deg, #d8b377, var(--gold)); color: #fff; border-radius: 12px; }
.cal-hint { font-size: 13px; color: var(--muted); margin-top: 10px; }
.q-guests { display: flex; align-items: baseline; gap: 10px; margin: 6px 0 14px; }
.q-guests output { font-family: var(--serif); font-size: 72px; font-weight: 600; line-height: 1; color: var(--gold-600); }
.q-guests span { font-size: 18px; color: var(--muted); }
.q-range { width: 100%; height: 8px; -webkit-appearance: none; appearance: none; border-radius: 4px; background: linear-gradient(90deg, var(--gold) var(--p, 16%), var(--sand) var(--p, 16%)); outline: none; }
.q-range::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 3px solid var(--gold); box-shadow: 0 4px 12px rgba(200, 160, 99, .4); cursor: grab; }
.q-range::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 3px solid var(--gold); cursor: grab; }
.q-range-lab { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-top: 8px; }
.q-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.q-chip { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 14px; font-weight: 700; cursor: pointer; transition: all .2s; }
.q-chip:hover, .q-chip.is-on { border-color: var(--gold); background: var(--gold-50); }
.q-note { margin-top: 16px; font-size: 14px; color: var(--gold-600); font-weight: 600; min-height: 22px; }
.q-checks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 16px; }
.q-checks label { position: relative; cursor: pointer; }
.q-checks input { position: absolute; opacity: 0; }
.q-checks span { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--ivory); font-size: 14px; font-weight: 600; transition: all .2s; }
.q-checks span::before { content: ""; width: 18px; height: 18px; border-radius: 6px; border: 2px solid #cfc6ba; background: #fff; flex: none; transition: all .2s; }
.q-checks input:checked + span { border-color: var(--gold); background: var(--gold-50); }
.q-checks input:checked + span::before { background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center/12px no-repeat; border-color: var(--gold); }
.q-nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); }
.q-nav [data-q-next], .q-nav [data-q-submit] { margin-left: auto; }
.q-nav [hidden] { display: none; }
.shake { animation: shake .4s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }

/* Мультикнопка и «Наверх» */
.fab-wrap { position: fixed; right: 22px; bottom: 22px; z-index: 70; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; pointer-events: none; }
.fab { position: relative; width: 60px; height: 60px; border-radius: 50%; border: 0; cursor: pointer; color: #fff; display: grid; place-items: center; pointer-events: auto;
  background: linear-gradient(135deg, #d8b377, var(--gold) 55%, #b38b52); box-shadow: 0 12px 30px rgba(200, 160, 99, .5); transition: transform .25s; }
.fab:hover { transform: scale(1.06); }
.fab::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(200, 160, 99, .7); animation: pulse 2.6s ease-out infinite; }
.fab-wrap.is-open .fab::before { animation: none; opacity: 0; }
@keyframes pulse { to { transform: scale(1.55); opacity: 0; } }
.fab svg { width: 26px; height: 26px; }
.fab-on, .fab-off { position: absolute; inset: 0; display: grid; place-items: center; transition: transform .3s, opacity .2s; }
.fab-off { opacity: 0; transform: rotate(-90deg) scale(.6); }
.fab-wrap.is-open .fab-on { opacity: 0; transform: rotate(90deg) scale(.6); }
.fab-wrap.is-open .fab-off { opacity: 1; transform: none; }
.fab-menu { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.fab-menu li { opacity: 0; transform: translateY(14px) scale(.9); transition: opacity .2s, transform .25s cubic-bezier(.2, .9, .3, 1.3); }
.fab-wrap.is-open .fab-menu { pointer-events: auto; }
.fab-wrap.is-open .fab-menu li { opacity: 1; transform: none; }
.fab-wrap.is-open .fab-menu li:nth-last-child(2) { transition-delay: .04s; }
.fab-wrap.is-open .fab-menu li:nth-last-child(3) { transition-delay: .08s; }
.fab-wrap.is-open .fab-menu li:nth-last-child(4) { transition-delay: .12s; }
.fab-wrap.is-open .fab-menu li:nth-last-child(5) { transition-delay: .16s; }
.fab-item { display: flex; align-items: center; gap: 12px; border: 0; background: none; padding: 0; cursor: pointer; font: inherit; color: inherit; }
.fab-label { display: flex; flex-direction: column; align-items: flex-end; padding: 9px 14px; border-radius: 12px; background: #fff; color: var(--text); font-size: 14px; font-weight: 800; line-height: 1.2; box-shadow: 0 8px 24px rgba(14, 27, 42, .16); white-space: nowrap; }
.fab-label small { font-size: 12px; font-weight: 600; color: var(--muted); margin-top: 2px; }
.fab-ico { width: 50px; height: 50px; margin-right: 5px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; box-shadow: 0 8px 20px rgba(14, 27, 42, .22); flex: none; transition: transform .2s; }
.fab-ico svg { width: 22px; height: 22px; }
.fab-item:hover .fab-ico { transform: scale(1.08); }
.i-ph { background: linear-gradient(135deg, #d8b377, var(--gold)); }
.i-tg { background: #2aabee; }
.i-max { background: linear-gradient(135deg, #4f5bff, #9b4dff); }
.i-mail { background: var(--night-2); }
.i-cal { background: var(--lake); }
.fab-backdrop { position: fixed; inset: 0; z-index: 65; background: rgba(14, 27, 42, .35); backdrop-filter: blur(2px); opacity: 0; pointer-events: none; transition: opacity .25s; }
.fab-backdrop.is-on { opacity: 1; pointer-events: auto; }
.to-top { position: fixed; left: 22px; bottom: 22px; z-index: 60; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--text); cursor: pointer; display: grid; place-items: center; box-shadow: var(--shadow); opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .25s, transform .25s; }
.to-top.is-on { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { color: var(--gold-600); border-color: var(--gold); }
.to-top svg { width: 20px; height: 20px; }

/* Появление при прокрутке */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .8s cubic-bezier(.2, .8, .2, 1); }
.rv.in { opacity: 1; transform: none; }
.hero-in > * { animation: heroIn .9s both; }
.hero-in > *:nth-child(2) { animation-delay: .12s; }
.hero-in > *:nth-child(3) { animation-delay: .24s; }
.hero-in > *:nth-child(4) { animation-delay: .36s; }
.hero-in > *:nth-child(5) { animation-delay: .48s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(24px); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .rv { opacity: 1; transform: none; } }

/* Адаптив */
@media (max-width: 1300px) {
  .nav a { padding: 8px 8px; font-size: 13px; }
  .brand-s { display: none; }
}
@media (max-width: 1180px) {
  .top-phone span { display: none; }
  .fmts { grid-template-columns: repeat(2, 1fr); }
  .fmt { min-height: 380px; }
  .fmt p { max-height: 100px; opacity: 1; }
  .gal { grid-template-columns: repeat(3, 1fr); }
  .strip { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1024px) {
  .burger { display: grid; margin-left: auto; }
  .top-cta { display: none; }
  .top-phone { margin-left: auto; width: 46px; height: 46px; border-radius: 50%; justify-content: center; border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .08); }
  .burger { margin-left: 0; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; margin: 0; display: none; padding: 16px 24px 22px; background: rgba(14, 27, 42, .7); -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%); box-shadow: 0 24px 50px rgba(14, 27, 42, .35); max-height: calc(100vh - 70px); overflow-y: auto; }
  .nav.is-open { display: block; animation: navIn .28s ease; }
  @keyframes navIn { from { opacity: 0; transform: translateY(-8px); } }
  .nav ul { flex-direction: column; gap: 4px; }
  .nav a { padding: 13px 16px; font-size: 16px; background: rgba(255, 255, 255, .04); border-radius: 12px; }
  .nav-foot { display: grid; gap: 10px; margin-top: 14px; }
  .nav-phone { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; color: #fff; padding: 6px 4px; }
  .nav-phone svg { width: 18px; height: 18px; color: #f0d6aa; }
  .top { background: rgba(14, 27, 42, .35); }
  .two, .space, .band-in { grid-template-columns: 1fr; gap: 36px; }
  .caps { grid-template-columns: repeat(2, 1fr); }
  .cap:nth-child(3) { border-left: 0; }
  .cap:nth-child(n+3) { border-top: 1px solid var(--line); }
  .ccards { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .quiz-box { grid-template-columns: 1fr; min-height: 0; }
  .quiz-side { display: none; }
  .sec { padding: 76px 0; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .top-row { height: 70px; gap: 10px; }
  .brand-o { font-size: 28px; }
  .brand-s { font-size: 9px; letter-spacing: .14em; }
  .hero-in { margin-left: 16px; padding-right: 16px; padding-bottom: 120px; }
  .hero h1 { font-size: 40px; }
  .hero .lead, .phero .lead { font-size: 16px; }
  .cta .btn { flex: 1 1 100%; }
  .phero { min-height: 70vh; }
  .phero h1 { font-size: 36px; }
  .head h2, .two h2, .space-copy h2, .band h2 { font-size: 34px; }
  .caps { grid-template-columns: 1fr 1fr; }
  .cap { padding: 20px 16px; }
  .cap b { font-size: 30px; }
  .fmts { grid-template-columns: 1fr; }
  .fmt { min-height: 340px; }
  .space-pics { grid-template-rows: 170px 170px; }
  .feats { grid-template-columns: 1fr; }
  .band-in { padding: 72px 16px; }
  .band-card, .offer, .card-form { padding: 24px; }
  .gal { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
  .g0, .g5 { grid-column: span 2; }
  .strip { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .ccards { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .lightbox { padding: 60px 12px; }
  .lb-nav { top: auto; bottom: 16px; transform: none; }
  .quiz { padding: 0; align-items: flex-end; }
  .quiz-box { border-radius: 22px 22px 0 0; max-height: 94vh; }
  .quiz-main { padding: 26px 18px 18px; }
  .q-step h4 { font-size: 26px; }
  .q-grid { grid-template-columns: repeat(2, 1fr); }
  .q-checks { grid-template-columns: 1fr; }
  .q-guests output { font-size: 56px; }
  .ty-sum, .ty-steps { grid-template-columns: 1fr; }
  .ty-card { padding: 34px 20px 26px; }
  .fab-wrap { right: 16px; bottom: 16px; }
  .to-top { left: 16px; bottom: 18px; width: 44px; height: 44px; }
}

/* Волна над подвалом — тёмный силуэт, поднимается из подвала над любым фоном */
.foot { padding-top: 70px; }
.foot .waves-top { top: auto; bottom: 100%; transform: none; height: 70px; }
.foot .waves-top path { fill: var(--night); }
.foot .waves-top .w1 { opacity: .25; }
.foot .waves-top .w2 { opacity: .5; }
/* Шапка: телефон значком, пока строке тесно */
@media (max-width: 1480px) {
  .top-phone span { display: none; }
  .top-phone { width: 44px; height: 44px; border-radius: 50%; justify-content: center; border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .08); }
  .top-row { gap: 14px; }
}

/* ===== Меню v2: выпадающие «Мероприятия», полноэкранное мобильное меню ===== */
.nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-list > li > a, .nav-drop { display: flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 999px; border: 0; background: transparent; color: rgba(255, 255, 255, .9); font-size: 14.5px; font-weight: 600; cursor: pointer; white-space: nowrap; transition: background .2s, color .2s; }
.nav-list > li > a:hover, .nav-list > li > a.is-active, .nav-drop:hover, .has-drop.is-open .nav-drop { background: rgba(255, 255, 255, .12); color: #fff; }
.nav-drop svg { width: 14px; height: 14px; transform: rotate(90deg); transition: transform .25s; }
.has-drop.is-open .nav-drop svg { transform: rotate(-90deg); }
.has-drop { position: relative; }
.drop { position: absolute; top: calc(100% + 16px); left: 50%; width: 700px; padding: 16px; border-radius: 22px; background: rgba(14, 27, 42, .9); -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%); border: 1px solid rgba(255, 255, 255, .08); box-shadow: 0 30px 70px rgba(8, 14, 22, .4);
  opacity: 0; visibility: hidden; transform: translate(-50%, 10px); transition: opacity .25s, transform .3s cubic-bezier(.2, .8, .2, 1), visibility .25s; }
.drop::before { content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 18px; }
.has-drop.is-open .drop { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
@media (hover: hover) and (min-width: 1025px) { .has-drop:hover .drop { opacity: 1; visibility: visible; transform: translate(-50%, 0); } .has-drop:hover .nav-drop svg { transform: rotate(-90deg); } }
.drop-t { font-size: 11px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: #f0d6aa; margin: 2px 4px 12px; }
.drop-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.dcard { position: relative; display: block; border-radius: 14px; overflow: hidden; aspect-ratio: 3/4; isolation: isolate; }
.dcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.dcard::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 35%, rgba(14, 27, 42, .9)); }
.dcard:hover img, .dcard:focus-visible img { transform: scale(1.08); }
.dcard span { position: absolute; left: 12px; right: 12px; bottom: 12px; color: #fff; }
.dcard b { display: block; font-family: var(--serif); font-size: 21px; font-weight: 600; line-height: 1.1; }
.dcard small { font-size: 12px; color: rgba(255, 255, 255, .75); }
.dcard.is-active { box-shadow: 0 0 0 2px var(--gold); }
.top-phone { flex: none; }
.top-cta { flex: none; }
.nav-foot { display: none; }

/* бургер: три полоски → крестик */
.burger { position: relative; flex: none; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: #fff; transition: transform .3s, opacity .2s, top .3s; }
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 29px; }
.burger[aria-expanded=true] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded=true] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded=true] span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

@media (max-width: 1480px) {
  .top-phone { width: 44px; height: 44px; padding: 0; border-radius: 50%; justify-content: center; border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .08); }
  .top-phone span { display: none; }
}
@media (max-width: 1300px) and (min-width: 1025px) { .brand-s { display: none; } }

@media (max-width: 1024px) {
  .top { z-index: 90; }
  .nav { position: fixed; inset: 0; z-index: -1; margin: 0; display: block; padding: 96px 20px 28px; max-height: none; overflow-y: auto;
    background: rgba(10, 20, 32, .78); -webkit-backdrop-filter: blur(22px) saturate(150%); backdrop-filter: blur(22px) saturate(150%);
    opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; box-shadow: none; animation: none; }
  .nav.is-open { opacity: 1; visibility: visible; animation: none; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; max-width: 560px; margin: 0 auto; }
  .nav-list > li { opacity: 0; transform: translateY(14px); transition: opacity .35s, transform .45s cubic-bezier(.2, .8, .2, 1); }
  .nav.is-open .nav-list > li { opacity: 1; transform: none; }
  .nav.is-open .nav-list > li:nth-child(2) { transition-delay: .06s; }
  .nav.is-open .nav-list > li:nth-child(3) { transition-delay: .12s; }
  .nav.is-open .nav-list > li:nth-child(4) { transition-delay: .18s; }
  .nav-list > li > a { font-family: var(--serif); font-size: 32px; font-weight: 600; padding: 12px 4px; border-radius: 0; border-bottom: 1px solid rgba(255, 255, 255, .08); background: none; }
  .nav-list > li > a:hover, .nav-list > li > a.is-active { background: none; color: #f0d6aa; }
  .nav-drop { display: none; }
  .has-drop { order: 0; }
  .drop { position: static; width: auto; padding: 0 0 18px; border: 0; border-radius: 0; background: none; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; opacity: 1; visibility: visible; transform: none; }
  .drop::before { display: none; }
  .drop-grid { grid-template-columns: repeat(2, 1fr); }
  .dcard { aspect-ratio: 4/3; }
  .nav-foot { display: grid; gap: 14px; max-width: 560px; margin: 26px auto 0; opacity: 0; transform: translateY(14px); transition: opacity .35s .24s, transform .45s .24s cubic-bezier(.2, .8, .2, 1); }
  .nav.is-open .nav-foot { opacity: 1; transform: none; }
  .nav-phone { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 28px; color: #fff; }
  .nav-phone svg { width: 20px; height: 20px; color: #f0d6aa; }
  .nav-soc { display: flex; flex-wrap: wrap; gap: 8px; }
  .nav-soc a { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 14px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); color: #fff; font-size: 14px; font-weight: 700; }
  .nav-soc svg { width: 16px; height: 16px; }
  .nav-soc i { font-style: normal; font-weight: 800; color: #b9a8ff; }
  .nav-addr { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255, 255, 255, .6); }
  .nav-addr svg { width: 16px; height: 16px; color: #f0d6aa; flex: none; }
  body.menu-open { overflow: hidden; }
  body.menu-open .fab-wrap, body.menu-open .to-top { opacity: 0; pointer-events: none; }
  body.menu-open .top { background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (max-width: 640px) {
  .nav { padding-top: 86px; }
  .nav-list > li > a { font-size: 28px; }
  .dcard b { font-size: 19px; }
}

/* Старые правила .nav a не должны задевать карточки и подвал меню */
.nav .dcard { display: block; padding: 0; border-radius: 14px; background: none; font-size: inherit; white-space: normal; }
.nav .dcard:hover { background: none; }
.nav .nav-foot a { white-space: nowrap; }
@media (max-width: 1024px) {
  .nav .dcard { margin: 0; border-bottom: 0; font-family: var(--sans); }
  .nav .nav-phone { padding: 4px 2px; background: none; border-radius: 0; font-family: var(--serif); font-size: 28px; font-weight: 600; margin: 0; }
  .nav .nav-soc a { padding: 0 14px; border-radius: 999px; background: rgba(255, 255, 255, .08); font-size: 14px; margin: 0; }
  .drop-t { margin: 0 0 12px; }
}
@media (max-width: 1024px) { .nav .nav-phone { gap: 12px; } }

/* Сгенерированные сцены */
.scene { position: absolute; inset: 0; width: 100%; height: 100%; }
.scene .cloud { animation: drift linear infinite; }
@keyframes drift { from { transform: translateX(-200px); } to { transform: translateX(200px); } }
.scene .stars circle { animation: twinkle 3.6s ease-in-out infinite; }
@keyframes twinkle { 50% { opacity: .2; } }
.scene .sun-glow { animation: glow 6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes glow { 50% { opacity: .75; transform: scale(1.06); } }
.scene .glint { transform-box: fill-box; transform-origin: center; animation: unroll .6s calc(1.1s + var(--i, 0) * .06s) both, glint 3s calc(2.4s + var(--dl, 0s)) ease-in-out infinite; }
@keyframes unroll { from { opacity: 0; transform: scaleX(0); } }
@keyframes glint { 50% { opacity: .15; } }
.scene .wv { animation: sway ease-in-out infinite alternate; }
@keyframes sway { from { transform: translateX(-40px); } to { transform: translateX(40px); } }
.scene .bulb { animation: bulbOn .35s calc(.9s + var(--on, 0) * .06s) both, bulb 2.4s calc(3s + var(--tw, 0s)) ease-in-out infinite; }
@keyframes bulbOn { from { opacity: 0; } 60% { opacity: 1; r: 5px; } to { opacity: 1; } }
.scene .dglow { animation: domeOn 1.6s .35s ease-out both; }
@keyframes domeOn { from { opacity: .15; } }
.scene .veil { pointer-events: none; animation: veil 2s .1s ease-out forwards; }
@keyframes veil { to { opacity: 0; } }
.scene .refl { animation: refl 5s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: 50% 0; }
@keyframes refl { from { transform: skewX(-1.5deg) scaleY(.96); } to { transform: skewX(1.5deg) scaleY(1.02); } }
/* глубина: слои сдвигаются с разной скоростью от мыши и прокрутки */
.scene .l-sky, .scene .l-far, .scene .l-near, .scene .l-dome { transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.scene .l-sky { transform: translate(calc(var(--mx, 0) * -10px), calc(var(--my, 0) * -5px + var(--sy, 0) * 60px)); }
.scene .l-far { transform: translate(calc(var(--mx, 0) * -18px), calc(var(--my, 0) * -6px + var(--sy, 0) * 34px)); }
.scene .l-near { transform: translate(calc(var(--mx, 0) * -28px), calc(var(--my, 0) * -8px + var(--sy, 0) * 20px)); }
.scene .l-dome { transform: translate(calc(var(--mx, 0) * -40px), calc(var(--my, 0) * -10px + var(--sy, 0) * 8px)); }
@keyframes bulb { 50% { opacity: .35; } }
.scene .halo { animation: glow 5s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.scene .mist { animation: sway 18s ease-in-out infinite alternate; }
.scene .petal, .scene .conf { animation: fall linear infinite; }
@keyframes fall { to { transform: translate(var(--dx, 40px), 960px) rotate(540deg); } }
.scene .balloon { animation: rise-b linear infinite; }
@keyframes rise-b { to { transform: translateY(-1100px); } }
.scene .fw { opacity: 0; animation: burst 4s ease-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes burst { 0% { opacity: 0; transform: scale(.1); } 12% { opacity: 1; } 55% { opacity: .9; transform: scale(1); } 80%, 100% { opacity: 0; transform: scale(1.12); } }
.scene .bird { animation: flap .9s ease-in-out infinite alternate, fly 26s linear infinite; }
@keyframes flap { to { transform: scaleY(.6); } }
@keyframes fly { from { translate: -200px 0; } to { translate: 1800px -60px; } }
.scene .flake { animation: fall linear infinite; }
.scene .lantern { animation: rise-b linear infinite; }
.scene .lantern rect:first-child { filter: drop-shadow(0 0 6px #ffc46b); }
.scene .beam { animation: beam 6s ease-in-out infinite alternate; mix-blend-mode: screen; }
@keyframes beam { from { transform: rotate(-9deg); opacity: .5; } to { transform: rotate(9deg); opacity: 1; } }
.scene .bokeh { animation: bokeh ease-in-out infinite alternate; }
@keyframes bokeh { from { opacity: .2; transform: translateY(8px); } to { opacity: .9; transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .scene * { animation: none !important; transition: none !important; transform: none !important; } .scene .veil { opacity: 0; } }

/* Первые экраны на сгенерированных сценах: текст слева на мягкой тени, сцена справа */
.hero::before { background: linear-gradient(90deg, rgba(14, 27, 42, .78) 0%, rgba(14, 27, 42, .45) 42%, rgba(14, 27, 42, 0) 70%), linear-gradient(180deg, rgba(14, 27, 42, .35), transparent 30%); }
.phero::before { background: linear-gradient(90deg, rgba(14, 27, 42, .75) 0%, rgba(14, 27, 42, .4) 45%, rgba(14, 27, 42, 0) 72%), linear-gradient(180deg, rgba(14, 27, 42, .35), transparent 30%); }
.phero-morning::before, .phero-dawn::before { background: linear-gradient(90deg, rgba(14, 27, 42, .72) 0%, rgba(14, 27, 42, .35) 48%, rgba(14, 27, 42, 0) 74%), linear-gradient(180deg, rgba(14, 27, 42, .4), transparent 30%); }
.slide .scene, .phero-bg .scene { transform: none; animation: none; }
.slide.is-on img { animation: none; }
.ty-bg .scene { opacity: 1; }
.ty-bg::after { content: ""; position: absolute; inset: 0; background: rgba(14, 27, 42, .35); }
@media (max-width: 1024px) {
  .hero::before, .phero::before, .phero-morning::before, .phero-dawn::before { background: linear-gradient(180deg, rgba(14, 27, 42, .55) 0%, rgba(14, 27, 42, .25) 35%, rgba(14, 27, 42, .78) 100%); }
}

/* текст первого экрана — в левой части, купол справа свободен */
@media (min-width: 1025px) {
  .phero h1 { max-width: 700px; }
  .phero .lead { max-width: 560px; }
  .hero-in { max-width: 760px; }
  .hero .lead { max-width: 560px; }
}

/* Ещё форматы на главной */
.more-fmts { margin-top: 26px; }
.more-fmts > p { font-size: 12px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-600); margin-bottom: 12px; }
.mf-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.mf { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 10px 16px 10px 10px; border-radius: 16px; background: #fff; border: 1px solid var(--line); transition: border-color .25s, transform .25s, box-shadow .25s; }
.mf:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: var(--shadow); }
.mf img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; }
.mf b { display: block; font-family: var(--serif); font-size: 21px; font-weight: 600; line-height: 1.1; }
.mf small { font-size: 12px; color: var(--muted); }
.mf svg { width: 18px; height: 18px; color: var(--gold); transition: transform .2s; }
.mf:hover svg { transform: translateX(4px); }
@media (max-width: 1180px) { .mf-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .mf-grid { grid-template-columns: 1fr; } }
/* выпадающая панель: 8 карточек в два ряда */
@media (min-width: 1025px) {
  .drop { width: 760px; }
  .drop-grid { grid-template-columns: repeat(4, 1fr); }
}
.dcard { aspect-ratio: 4/3; }
@media (max-width: 1024px) {
  .drop, .drop-grid { width: 100%; max-width: 100%; }
  .drop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dcard span { left: 10px; right: 10px; bottom: 10px; }
  .dcard b { font-size: 18px; }
  .dcard small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}
.dcard b { font-size: 19px; }
/* квиз: 12 вариантов */
.q-opt span { padding: 16px 8px; }

/* Эмблема «Острова»: купол на волнах Шарташа */
.brand-wrap { display: flex; align-items: center; gap: 12px; }
.brand-emb { width: 50px; height: 50px; flex: none; filter: drop-shadow(0 4px 12px rgba(200, 160, 99, .35)); }
.emb-waves { animation: embWave 4s ease-in-out infinite alternate; }
@keyframes embWave { from { transform: translateX(-4px); } to { transform: translateX(4px); } }
.emb-sun { animation: embSun 5s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes embSun { 50% { opacity: .65; transform: scale(1.15); } }
.logo:hover .brand-emb { transform: rotate(-6deg) scale(1.04); transition: transform .4s cubic-bezier(.2, .9, .3, 1.3); }
.brand-emb { transition: transform .4s; }
.foot .brand-emb { width: 56px; height: 56px; }
@media (max-width: 640px) { .brand-emb { width: 40px; height: 40px; } .brand-wrap { gap: 9px; } }
@media (prefers-reduced-motion: reduce) { .emb-waves, .emb-sun { animation: none; } }

/* Юридические страницы и согласие в формах */
.legal-rev { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.legal-req { width: 100%; border-collapse: collapse; margin: 8px 0 18px; font-size: 14px; }
.legal-req th, .legal-req td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal-req th { width: 34%; color: var(--muted); font-weight: 600; }
.legal-table { overflow-x: auto; margin: 10px 0 20px; }
.legal-table table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 560px; }
.legal-table th, .legal-table td { text-align: left; padding: 10px 12px; border: 1px solid var(--line); vertical-align: top; }
.legal-table th { background: rgba(0, 0, 0, .03); font-weight: 700; }
.legal-table code { font-size: 12.5px; }
.consent-check { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; line-height: 1.45; color: var(--muted); cursor: pointer; text-align: left; }
.consent-check input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: currentColor; cursor: pointer; }
.consent-check a { text-decoration: underline; }
.has-error .consent-check input:invalid, .consent-miss .consent-check { color: #c0392b; }
/* Баннер cookie */
.cc { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 400; max-width: 760px; margin: 0 auto; display: flex; gap: 18px; align-items: center; padding: 18px 20px; border-radius: 16px;
  background: rgba(14, 22, 32, .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: #e6edf2; box-shadow: 0 20px 50px rgba(0, 0, 0, .35); font-size: 14px; line-height: 1.5;
  transform: translateY(20px); opacity: 0; visibility: hidden; pointer-events: none; transition: transform .35s ease, opacity .35s ease, visibility 0s linear .35s; }
.cc.is-on { transform: none; opacity: 1; visibility: visible; pointer-events: auto; transition: transform .35s ease, opacity .35s ease, visibility 0s; }
.cc p { margin: 0; flex: 1; }
.cc a { color: inherit; text-decoration: underline; }
.cc-btns { display: flex; gap: 8px; flex: none; }
.cc button { height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .25); background: transparent; color: #fff; font: inherit; font-weight: 700; cursor: pointer; white-space: nowrap; }
.cc button.cc-all { border-color: transparent; }
.cc-link { background: none; border: 0; padding: 0; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }
.map-gate { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; min-height: 420px; padding: 24px; text-align: center; color: var(--muted); font-size: 14px; }
.map-gate button { height: 44px; padding: 0 20px; border-radius: 999px; border: 0; cursor: pointer; font: inherit; font-weight: 700; color: #fff; }
@media (max-width: 640px) { .cc { flex-direction: column; align-items: stretch; bottom: 10px; left: 10px; right: 10px; } .cc-btns { flex-direction: column; } .cc button { width: 100%; } }

.cc button.cc-all, .map-gate button { background: linear-gradient(135deg, #d8b377, #c8a063 55%, #b38b52); }
.foot-legal a, .foot-legal .cc-link { color: inherit; }
.foot-legal a:hover, .foot-legal .cc-link:hover { color: #f0d6aa; }
.consent-check input { accent-color: var(--gold); }
.phero .consent-check, .band .consent-check { color: rgba(255, 255, 255, .7); }

/* Подпись разработчика */
.made-by { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .03); transition: border-color .3s, background .3s, transform .3s; }
.made-by:hover { border-color: rgba(200, 160, 99, .55); background: rgba(200, 160, 99, .07); transform: translateY(-1px); }
.made-by-t { font-size: 12px; color: rgba(255, 255, 255, .55); letter-spacing: .02em; }
.made-by-logo { font-family: 'Unbounded', var(--sans, system-ui), sans-serif; font-weight: 800; font-size: 14px; letter-spacing: -.01em; background: linear-gradient(90deg, #ff8a3d, #ff3d71 25%, #a45cff 50%, #3a7bff 75%, #28d6be 90%, #ff8a3d); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: made-by 6s linear infinite; }
.made-by-logo { display: inline-block; padding: 2px 0; line-height: 1.2; }
.made-by-logo i { font-style: normal; display: inline-block; color: #28d6be; -webkit-text-fill-color: #28d6be; animation: made-dot 1.6s ease-in-out infinite; }
@keyframes made-by { to { background-position: -200% 0; } }
@keyframes made-dot { 50% { transform: translateY(-3px); } }
@media (prefers-reduced-motion: reduce) { .made-by-logo, .made-by-logo i { animation: none; } }

/* Подписка на новости в подвале */
.news { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 28px; align-items: center; padding: 28px 30px; margin-top: 8px; margin-bottom: 48px; position: relative; border-radius: 18px;
  background: linear-gradient(120deg, rgba(200, 160, 99, .16), rgba(200, 160, 99, .05)); border: 1px solid rgba(255, 255, 255, .08); }
.news-copy { display: flex; gap: 16px; align-items: flex-start; }
.news-ico { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: linear-gradient(135deg, #d8b377, #a9834a); color: #fff; }
.news-ico svg { width: 24px; height: 24px; }
.news h3 { color: #fff; font-family: var(--serif); font-size: 26px; font-weight: 600; margin: 2px 0 6px; }
.news .news-copy p { margin: 0; max-width: none; color: #b7c8d0; }
.news-row { display: flex; gap: 10px; }
.news-row input { flex: 1; min-width: 0; height: 50px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .06); color: #fff; padding: 0 16px; font: inherit; outline: none; }
.news-row input::placeholder { color: #8ea3ae; }
.news-row input:focus { border-color: #c8a063; background: rgba(255, 255, 255, .09); }
.news-row .btn { height: 50px; }
.news-cons { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; font-size: 12.5px; line-height: 1.5; color: #9fb3bd; cursor: pointer; }
.news-cons input { flex: none; width: 17px; height: 17px; margin-top: 1px; accent-color: #c8a063; }
.news-cons a { color: #cfe0e6; text-decoration: underline; }
.news-msg { margin: 10px 0 0; font-size: 14px; font-weight: 600; color: #f0d6aa; }
.news-msg.is-err { color: #ff9b9b; }
@media (max-width: 960px) { .news { grid-template-columns: 1fr; padding: 22px 20px; } }
@media (max-width: 520px) { .news-row { flex-direction: column; } .news-row .btn { width: 100%; } }

/* Страницы подписки: отписка — крестик вместо галочки, форма повторной подписки */
.ty-x path { stroke-dasharray: 70; }
.ty-off .ty-check circle { stroke: #94a3b8; }
.ty-off .ty-check path { stroke: #64748b; }
.ty-note { font-size: 14px; margin: 18px auto 0; max-width: 560px; opacity: .85; }
.ty-resub { text-align: left; margin: 24px auto 8px; max-width: 560px; padding: 20px 22px; border-radius: 16px; border: 1px solid rgba(127, 127, 127, .22); background: rgba(127, 127, 127, .06); }
.ty-resub h3 { font-size: 18px; margin: 0 0 4px; }
.ty-resub > p { margin: 0 0 14px; font-size: 14px; opacity: .8; }
.ty-resub .news-row input { color: inherit; background: #fff; border-color: rgba(127, 127, 127, .35); }
.ty-resub .news-row input::placeholder { color: #8a97a0; }
.ty-resub .news-cons { color: inherit; opacity: .85; }
.ty-resub .news-cons a { color: inherit; }
.ty-resub .news-msg { color: #16a34a; }

/* живая карточка в конце галереи: ночная сцена, огоньки, форма */
.g-cta { position: relative; grid-column: span 2; grid-row: span 2; border-radius: 14px; overflow: hidden; isolation: isolate; color: #fff; background: var(--night); }
.g-cta::before { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: linear-gradient(120deg, transparent 30%, rgba(240, 214, 170, .9) 50%, transparent 70%) 0 0 / 300% 100%;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: gcta-shine 6s linear infinite; }
.g-cta-bg { position: absolute; inset: 0; z-index: -1; }
.g-cta-bg > svg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.g-cta-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 27, 42, .15) 0%, rgba(14, 27, 42, .55) 38%, rgba(14, 27, 42, .92) 70%); }
.g-cta-flies i { position: absolute; left: var(--x); top: var(--y); width: 5px; height: 5px; border-radius: 50%; background: #f7e3b8; box-shadow: 0 0 10px 3px rgba(247, 227, 184, .55);
  opacity: 0; animation: gcta-fly var(--t) ease-in-out var(--d) infinite; z-index: 2; }
.g-cta-form { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 18px; }
.g-cta-form .kicker { color: #f0d6aa; }
.g-cta-form h3 { font-family: var(--serif); font-size: 30px; font-weight: 600; line-height: 1.05; margin: 0; animation: gcta-rise .9s cubic-bezier(.2, .8, .2, 1) both; }
.g-cta-lead { margin: 0 0 4px; font-size: 13px; line-height: 1.45; color: rgba(255, 255, 255, .78); }
.g-cta-form input[type=text], .g-cta-form input[type=tel] { width: 100%; height: 40px; padding: 0 12px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .08); color: #fff; font: inherit; font-size: 14px; outline: none; transition: border-color .2s, background .2s; }
.g-cta-form input::placeholder { color: rgba(255, 255, 255, .55); }
.g-cta-form input:focus { border-color: #f0d6aa; background: rgba(255, 255, 255, .12); }
.g-cta-form .btn { height: 44px; margin-top: 2px; }
.g-cta-form .consent, .g-cta-form .consent-check { color: rgba(255, 255, 255, .6); font-size: 11px; }
.g-cta-form .consent a, .g-cta-form .consent-check a { color: #f0d6aa; }
.g-cta-form .form-error { padding: 6px 10px; font-size: 12px; }
@keyframes gcta-shine { to { background-position: -300% 0; } }
@keyframes gcta-fly { 0% { opacity: 0; transform: translate(0, 0) scale(.6); } 20% { opacity: 1; } 50% { transform: translate(14px, -22px) scale(1); } 80% { opacity: .9; } 100% { opacity: 0; transform: translate(-8px, -44px) scale(.5); } }
@keyframes gcta-rise { from { opacity: 0; transform: translateY(12px); } }
@media (min-width: 641px) and (max-width: 1180px) { .g-cta { grid-column: span 1; grid-row: span 2; } .g-cta-form { padding: 16px; gap: 7px; } .g-cta-form h3 { font-size: 26px; } }
@media (max-width: 640px) { .g-cta { grid-column: 1 / -1; grid-row: span 3; } .g-cta-form h3 { font-size: 28px; } }
@media (prefers-reduced-motion: reduce) { .g-cta::before, .g-cta-flies i, .g-cta-form h3 { animation: none; } .g-cta-flies i { opacity: .7; } }
