/* =====================================================================
   LEEKE PLACE · Выпускной «Легенда пятой стихии»
   Палитра — из мудборда; шрифты — Cormorant Garamond (заголовки),
   Manrope (текст). Размеры подобраны для комфортного чтения 40+.
   ===================================================================== */

:root {
  /* палитра мудборда */
  --teal:        #018da6;
  --teal-soft:   #4f9faa;
  --coral:       #e66440;
  --orange:      #e58e58;
  --sand:        #e0c5a8;
  --stone:       #e2d8cf;
  --cream:       #f6f1eb;
  --olive:       #5b7a3c;

  /* текст */
  --ink:         #2a1a0e;
  --ink-soft:    #4a3521;
  --ink-mute:    #6b5640;
  --gold:        #b8893a;

  /* типографика */
  --serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --sans:  "Manrope", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --hand:  "Caveat", "Segoe Script", cursive;

  --fs-body: 18px;
  --fs-small: 16px;
  --fs-h2: 36px;
  --fs-h1: 44px;

  --page-w: 540px;
  --pad: 24px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--ink);
  background: #1c1510 url("../assets/sea.jpg") center / cover fixed no-repeat;
  min-height: 100vh;
}
body::before {               /* затемнение фона вокруг колонки на десктопе */
  content: ""; position: fixed; inset: 0;
  background: rgba(20, 14, 10, .72);
  backdrop-filter: blur(6px);
  z-index: -1;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
button, input, select { font: inherit; }

/* ---------- Колонка страницы ---------- */
.page {
  position: relative;
  max-width: var(--page-w);
  margin: 0 auto;
  background: var(--cream);
  box-shadow: 0 0 80px rgba(0,0,0,.55);
  overflow: hidden;
}
.section { position: relative; overflow: hidden; }
.section__inner {
  position: relative; z-index: 2;
  padding: 140px var(--pad) 64px;   /* сверху — место под закреплённый логотип */
  text-align: center;
}

/* ---------- Типографика ---------- */
.h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: var(--fs-h2);
  line-height: 1.12;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 22px;
}
.h2--light { color: #fff; text-shadow: 0 2px 18px rgba(0,0,0,.55); }
.h2--right { text-align: right; }
.lead {
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 420px;
  margin: 0 auto 18px;
}
.brand-mark {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: .36em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 18px;
}
.brand-mark span { display: block; font-size: 13px; letter-spacing: .5em; margin-top: -2px; color: var(--ink-mute); }
.brand-mark small { display: block; font-family: var(--sans); font-size: 12px; letter-spacing: .22em; margin-top: 8px; color: var(--ink-mute); }
.brand-mark--big { font-size: 30px; }
.hw {
  font-family: var(--hand);
  font-size: 30px;
  line-height: 1.15;
  color: var(--ink);
  transform: rotate(-4deg);
  margin-top: 28px;
}
.hw--center { text-align: center; }
.hw--right { text-align: right; transform: rotate(-5deg); color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,.5); }
.divider { display: flex; justify-content: center; margin: 18px auto; }
.divider img { width: 150px; height: auto; opacity: .85; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px;
  padding: 12px 26px;
  border-radius: 12px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease;
  border: 0;
}
.btn svg { width: 20px; height: 20px; fill: currentColor; flex: none; }
.btn:active { transform: scale(.98); }
.btn--outline {
  background: rgba(255,255,255,.55);
  color: var(--ink);
  border: 1.5px solid rgba(42,26,14,.55);
  backdrop-filter: blur(4px);
}
.btn--outline:hover { background: rgba(255,255,255,.8); }
.btn--solid {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 8px 22px rgba(42,26,14,.28);
}
.btn--solid:hover { background: #3a2718; }
.btn--wide { width: 100%; }

/* ---------- Шапка ---------- */
.header {
  position: fixed; top: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: var(--page-w);
  z-index: 50;
  display: flex; align-items: center; justify-content: center;
  padding: 10px var(--pad);
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(246,241,235,.92) 0%, rgba(246,241,235,.55) 60%, rgba(246,241,235,0) 100%);
  transition: background .3s ease;
}
.header.is-dark { background: linear-gradient(to bottom, rgba(0,0,0,.55) 0%, rgba(0,0,0,0) 100%); }
.header__logo { pointer-events: auto; }
.header__logo img { width: 110px; height: auto; filter: drop-shadow(0 2px 8px rgba(0,0,0,.25)); }
.burger {
  pointer-events: auto;
  position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px;
  background: rgba(246,241,235,.75);
  border: 0; border-radius: 10px;
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  cursor: pointer;
}
.burger span { width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; }

/* ---------- Боковое меню ---------- */
.menu-backdrop {
  position: fixed; inset: 0; z-index: 60;
  background: rgba(0,0,0,.5);
}
.menu {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 70;
  width: min(84vw, 340px);
  background: #1f1a16;
  color: #f1e9df;
  padding: 72px 34px 32px;
  transform: translateX(105%);
  transition: transform .32s cubic-bezier(.2,.8,.2,1);
  display: flex; flex-direction: column;
  overflow-y: auto;
}
.menu.is-open { transform: translateX(0); }
.menu__close {
  position: absolute; top: 14px; right: 16px;
  width: 48px; height: 48px;
  background: transparent; border: 0; color: #fff;
  font-size: 36px; line-height: 1; cursor: pointer;
}
.menu__logo { width: 100px; margin: 0 0 24px; filter: brightness(1.15); }
.menu__list li a {
  display: block;
  padding: 12px 0;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: .03em;
  text-decoration: none;
  color: #f1e9df;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.menu__list li a:hover { color: var(--orange); }
.menu__footer { margin-top: auto; padding-top: 32px; font-size: 14px; color: rgba(255,255,255,.55); }
.socials { display: flex; gap: 12px; margin-top: 14px; }
.socials a {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,.1);
}
.socials svg { width: 20px; height: 20px; fill: #fff; }

/* ---------- 1. Hero ---------- */
.hero { position: relative; min-height: 100svh; background: #000; display: flex; flex-direction: column; justify-content: flex-end; }
.hero__video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
}
.hero__panel {
  position: relative; z-index: 2;
  margin-top: auto;
  background: url("../assets/parchment-wide.png") top center / 112% auto no-repeat;
  padding: 92px var(--pad) 16px;
  text-align: center;
}
.hero__panel::after {        /* дотягиваем пергамент до низа */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 40%;
  background: linear-gradient(to bottom, rgba(237,222,197,0), #efe0c6 60%);
  z-index: -1;
}
.hero__brand {
  font-family: var(--serif); font-weight: 600;
  font-size: 24px; letter-spacing: .4em; text-transform: uppercase; color: var(--ink);
}
.hero__brand span { display: block; font-size: 13px; letter-spacing: .55em; margin-top: -4px; color: var(--ink-mute); }
.hero__brand-sub { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-mute); margin: 4px 0 14px; }
.hero__title {
  font-family: var(--serif); font-weight: 700;
  font-size: var(--fs-h1); line-height: 1.05; letter-spacing: .08em; text-transform: uppercase; color: var(--ink);
}
.hero__subtitle {
  font-family: var(--serif); font-weight: 600;
  font-size: 24px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); margin: 6px 0 14px;
}
.hero__date { font-family: var(--serif); font-weight: 600; font-size: 24px; letter-spacing: .2em; color: var(--ink); }
.hero__place { font-size: 15px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); margin: 2px 0 16px; }
.hero__hw { width: 200px; margin: 16px auto 0; transform: rotate(-3deg); }
.scroll-hint {
  display: block; margin-top: 12px;
  font-size: 12px; letter-spacing: .3em; text-transform: uppercase; text-decoration: none; color: var(--ink-mute);
}
.scroll-hint span { display: block; font-size: 22px; line-height: .6; animation: bob 1.6s infinite; }
@keyframes bob { 0%,100% { transform: translateY(0) } 50% { transform: translateY(5px) } }

/* ---------- 2. Легенда ---------- */
.legend {
  background: #f3e6cf url("../assets/bg-village.png") bottom center / 100% auto no-repeat;
  min-height: 980px;
}
.legend::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, #f3e6cf 0%, #f3e6cf 42%, rgba(243,230,207,0) 72%);
}
.legend .section__inner { padding-bottom: 440px; }
.elements { display: grid; gap: 10px; max-width: 300px; margin: 26px auto 26px; }
.elements li {
  display: grid; grid-template-columns: 80px 1fr; align-items: center; gap: 18px;
  text-align: left;
}
.elements img { width: 80px; height: 80px; object-fit: contain; filter: drop-shadow(0 6px 10px rgba(0,0,0,.18)); }
.elements span {
  font-family: var(--serif); font-weight: 600; font-size: 28px; letter-spacing: .14em; text-transform: uppercase;
}
.legend__bottom {
  margin: 0 -6px;
  padding: 18px 16px 22px;
  border-radius: 18px;
  background: rgba(243,230,207,.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.legend__note {
  font-weight: 600; font-size: 17px; line-height: 1.6; color: var(--ink);
  text-align: center;
}
.legend__bottom .hw { margin-top: 16px; font-size: 28px; }

/* ---------- 3. Хранитель ---------- */
.guardian {
  background: #f8e9d0 url("../assets/bg-guardian.png") bottom center / 100% auto no-repeat;
  min-height: 1000px;
}
.guardian::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, #f8e9d0 0%, #f8e9d0 30%, rgba(248,233,208,0) 62%);
}
.guardian .section__inner { padding-bottom: 420px; }
.guardian__hw { width: 270px; margin: 18px auto 0 10px; transform: rotate(-6deg); }
.guardian__follow {
  text-align: left; max-width: 230px; margin-top: 40px;
  font-size: 17px; line-height: 1.7; color: var(--ink);
  text-shadow: 0 0 14px rgba(248,233,208,.95), 0 0 30px rgba(248,233,208,.9);
}

/* ---------- 4. Четыре стихии ---------- */
.banners {
  background: #2a1d14 url("../assets/bg-banners.png") center top / cover no-repeat;
  min-height: 820px;
  color: #fff;
}
.banners::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.5) 0%, rgba(0,0,0,.05) 35%, rgba(0,0,0,0) 60%, rgba(20,12,6,.75) 100%);
}
.banners .section__inner { display: flex; flex-direction: column; min-height: 940px; }
.banners__legend {
  margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.banners__legend li {
  background: rgba(255,255,255,.12); backdrop-filter: blur(6px);
  border-left: 5px solid var(--c);
  border-radius: 10px; padding: 12px 14px; text-align: left;
}
.banners__legend b {
  display: block; font-family: var(--serif); font-size: 22px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.banners__legend span { font-size: 14px; line-height: 1.4; color: rgba(255,255,255,.85); display: block; }
.banners__tag { margin-top: 18px; font-size: 15px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.9); }

/* ---------- 5. Программа ---------- */
.program { background: #f1e4cd url("../assets/parchment-aged.png") center / cover no-repeat; }
.program .section__inner { text-align: left; }
.program .brand-mark, .program .h2, .program__date, .program__motto { text-align: center; }
.program__date { font-family: var(--serif); font-size: 24px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.program__motto { font-family: var(--serif); font-size: 20px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mute); margin: 4px 0 34px; }
.timeline { display: grid; gap: 28px; }
.timeline > li { display: grid; grid-template-columns: 74px 1fr; gap: 12px; align-items: start; }
.timeline time {
  font-weight: 800; font-size: 22px; color: var(--ink); line-height: 1.3;
  padding-top: 3px;
}
.timeline h3 {
  font-family: var(--serif); font-weight: 700; font-size: 23px; letter-spacing: .06em; text-transform: uppercase;
  line-height: 1.25; margin-bottom: 6px; color: var(--ink);
}
.timeline p { font-size: 17px; line-height: 1.6; color: var(--ink-soft); }
.zones { margin: 10px 0 0; display: grid; gap: 6px; }
.zones li { font-size: 16px; line-height: 1.5; color: var(--ink-soft); padding-left: 16px; position: relative; }
.zones li::before { content: ""; position: absolute; left: 0; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--coral); }
.zones b { color: var(--ink); text-transform: uppercase; letter-spacing: .04em; font-size: 15px; }
.timeline__hint { margin-top: 12px; font-style: italic; font-size: 16px; }
.program__warn {
  margin: 38px auto 0; text-align: center; max-width: 360px;
  font-family: var(--serif); font-style: italic; font-size: 21px; color: var(--ink);
}
.countdown {
  margin: 36px auto 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; max-width: 380px; text-align: center;
}
.countdown b { display: block; font-family: var(--serif); font-weight: 700; font-size: 38px; line-height: 1; color: var(--ink); }
.countdown span { display: block; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-mute); margin-top: 6px; }
.countdown div + div { border-left: 1px solid rgba(42,26,14,.2); }

/* ---------- 5b. Иммерсивная программа ---------- */
.immersive { background: var(--stone); }
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }
.card {
  background: #fff; border-radius: 16px; overflow: hidden; text-align: left;
  box-shadow: 0 8px 24px rgba(42,26,14,.12);
}
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card div { padding: 12px 14px 14px; }
.card b { display: block; font-family: var(--serif); font-size: 18px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; line-height: 1.2; overflow-wrap: anywhere; }
.card span { display: block; font-size: 14px; line-height: 1.4; color: var(--ink-mute); margin-top: 4px; }

/* ---------- 6. Локация ---------- */
.place {
  background: #f1e2cc url("../assets/bg-lefkara.png") bottom center / 100% auto no-repeat;
  min-height: 900px;
}
.place::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, #f1e2cc 0%, #f1e2cc 34%, rgba(241,226,204,0) 60%);
}
.place .section__inner { padding-bottom: 420px; }
.place__date { font-family: var(--serif); font-size: 22px; font-weight: 600; letter-spacing: .2em; margin: -10px 0 16px; }
.place__btns { display: grid; gap: 12px; max-width: 320px; margin: 10px auto 0; }
.btn--dark { background: rgba(255,255,255,.75); }

/* ---------- 7. Дресс-код ---------- */
.dresscode { background: #ecdcc6 url("../assets/bg-lefkara.png") center / cover no-repeat; }
.dresscode::before {
  content: ""; position: absolute; inset: 0;
  background: rgba(240,226,204,.82);
  backdrop-filter: blur(14px);
}
.dresscode__name {
  font-family: var(--serif); font-weight: 700; font-size: 28px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--orange); margin: -8px 0 14px;
}
.swatches { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 8px; max-width: 360px; margin: 26px auto 0; }
.swatches img { width: 86px; height: 86px; object-fit: contain; margin: 0 auto; filter: drop-shadow(0 8px 10px rgba(0,0,0,.2)); }
.swatches span { display: block; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); margin-top: 6px; }
.dresscode__tips { margin: 34px auto 0; display: grid; gap: 12px; max-width: 420px; text-align: left; }
.dresscode__tips li {
  display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center;
  background: rgba(255,255,255,.55); border-radius: 14px; padding: 14px 16px;
}
.ico { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 22px; }
.ico--ok { background: rgba(1,141,166,.15); color: var(--teal); }
.ico--no { background: rgba(230,100,64,.15); color: var(--coral); }
.dresscode__tips b { display: block; font-size: 17px; letter-spacing: .04em; text-transform: uppercase; }
.dresscode__tips span { font-size: 15px; color: var(--ink-mute); line-height: 1.45; }

/* ---------- 8. Что взять с собой ---------- */
.bring { background: #f7ecd9; }
/* рамка из олив (верх) и закат (низ) — одна картинка, две части */
.bring::before, .bring::after {
  content: ""; position: absolute; left: 0; width: 100%; z-index: 1; pointer-events: none;
  background-image: url("../assets/bg-sunset-olive.png");
  background-size: 100% auto; background-repeat: no-repeat;
}
.bring::before { top: 0; aspect-ratio: 600 / 330; background-position: top center; }
.bring::after  { bottom: 0; aspect-ratio: 600 / 420; background-position: bottom center; }
.bring .section__inner { padding-top: 120px; padding-bottom: 72%; }
.bring__list { display: grid; gap: 14px; max-width: 380px; margin: 26px auto 0; text-align: left; }
.bring__list li { display: grid; grid-template-columns: 84px 1fr; gap: 14px; align-items: center; }
.bring__list img { width: 84px; height: 84px; object-fit: contain; filter: drop-shadow(0 6px 10px rgba(0,0,0,.18)); }
.bring__list b { display: block; font-size: 18px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); line-height: 1.3; }
.bring__list span { font-size: 16px; color: var(--ink-soft); }

/* ---------- 9. Правила ---------- */
.rules { background: #efe0c6 url("../assets/parchment-aged.png") center / cover no-repeat; }
.rules .section__inner { text-align: left; }
.rules .h2 { text-align: center; }
.rules__intro { text-align: center; font-family: var(--serif); font-style: italic; font-size: 23px; color: var(--ink-soft); margin-bottom: 26px; }
.rules__list { display: grid; gap: 12px; max-width: 420px; margin: 0 auto; }
.rules__list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; font-size: 18px; color: var(--ink); line-height: 1.5; }
.rules__list i {
  font-style: normal; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; font-size: 20px; font-weight: 700;
  background: rgba(1,141,166,.14); color: var(--teal);
}
.rules__list--share i { background: rgba(229,142,88,.2); color: #8c4d1b; }
.rules__list--warn i { background: rgba(230,100,64,.16); color: var(--coral); }
.rules__remember { font-family: var(--serif); font-size: 28px; font-weight: 600; text-align: center; margin: 4px 0 18px; }

/* ---------- 10. Регистрация ---------- */
.register { background: #ead9bf url("../assets/parchment-tall.png") center / cover no-repeat; }
.register::before { content: ""; position: absolute; inset: 0; background: rgba(243,230,207,.35); }
.form { max-width: 400px; margin: 24px auto 0; text-align: left; display: grid; gap: 16px; }
.field span { display: block; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 6px; }
.field input, .phone select {
  width: 100%; min-height: 54px;
  padding: 12px 16px;
  border: 1.5px solid rgba(42,26,14,.3); border-radius: 12px;
  background: rgba(255,255,255,.85);
  color: var(--ink); font-size: 18px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.field input::placeholder { color: #9b8a76; }
.field input:focus, .phone select:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(1,141,166,.18); }
.field input.is-invalid { border-color: var(--coral); }
.phone { display: grid; grid-template-columns: 128px 1fr; gap: 8px; }
.field small { display: block; font-size: 13px; color: var(--ink-mute); margin-top: 4px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field-row input { text-align: center; font-weight: 600; }
.field--choice { border: 0; padding: 0; margin: 0; min-width: 0; }
.field--choice legend { padding: 0; }
.choices { display: grid; gap: 8px; }
.choice {
  display: grid; grid-template-columns: 26px 1fr; align-items: center; gap: 12px;
  min-height: 54px; padding: 10px 16px;
  border: 1.5px solid rgba(42,26,14,.3); border-radius: 12px;
  background: rgba(255,255,255,.7); cursor: pointer; font-size: 17px; color: var(--ink);
  transition: border-color .2s, background .2s;
}
.choice input { width: 22px; height: 22px; margin: 0; accent-color: var(--teal); }
.choice span { text-transform: none; letter-spacing: 0; font-size: 17px; color: var(--ink); margin: 0; }
.choice:has(input:checked) { border-color: var(--teal); background: rgba(1,141,166,.1); }
.choice:hover { border-color: var(--teal-soft); }
.phone select { padding-right: 8px; appearance: auto; }
.check { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; font-size: 15px; color: var(--ink-soft); line-height: 1.45; cursor: pointer; }
.check input { width: 24px; height: 24px; margin: 2px 0 0; accent-color: var(--teal); }
.form__error { color: var(--coral); font-size: 15px; font-weight: 600; }
.form__note { text-align: center; font-size: 15px; color: var(--ink-mute); }
.form__success {
  max-width: 400px; margin: 24px auto 0; padding: 26px 22px; text-align: center;
  background: rgba(255,255,255,.8); border-radius: 16px; border: 1.5px solid rgba(1,141,166,.35);
}
.form__success-title { font-family: var(--serif); font-size: 32px; font-weight: 700; color: var(--teal); margin-bottom: 6px; }
.register__bye { font-family: var(--serif); font-size: 32px; font-weight: 500; letter-spacing: .04em; margin-top: 40px; }

/* ---------- 11. Финал ---------- */
.final {
  background: #c99c6e url("../assets/bg-final.png") center / cover no-repeat;
  min-height: 900px; color: #fff;
}
.final::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.35) 0%, rgba(0,0,0,.15) 40%, rgba(0,0,0,.45) 100%);
}
.final .section__inner { text-align: right; padding-top: 90px; }
.final__hw { width: 250px; margin: 0 auto 22px; filter: drop-shadow(0 4px 10px rgba(0,0,0,.35)); }
.final__list {
  font-family: var(--serif); font-weight: 600; font-size: 26px; line-height: 1.4; letter-spacing: .08em; text-transform: uppercase;
  text-shadow: 0 2px 16px rgba(0,0,0,.6);
}
.final .h2 { color: #fff; text-shadow: 0 2px 18px rgba(0,0,0,.6); font-size: 38px; }

/* ---------- 12. Футер ---------- */
.footer { background: var(--cream); text-align: center; padding: 48px var(--pad) 40px; }
.footer__logo { width: 140px; margin: 0 auto 14px; }
.footer__brand { font-family: var(--serif); font-weight: 600; font-size: 26px; letter-spacing: .4em; text-transform: uppercase; }
.footer__brand span { display: block; font-size: 13px; letter-spacing: .55em; color: var(--ink-mute); margin-top: -4px; }
.footer__sub { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-mute); margin: 6px 0 28px; }
.footer__links { display: flex; justify-content: center; gap: 28px; }
.footer__links a { text-decoration: none; display: grid; justify-items: center; gap: 8px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.footer__links svg { width: 30px; height: 30px; fill: var(--ink); }
.footer__copy { margin-top: 30px; font-size: 13px; letter-spacing: .1em; color: var(--ink-mute); }

.to-top {
  position: fixed; right: 18px; bottom: 18px; z-index: 40;
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(42,26,14,.8); color: #fff; text-decoration: none;
  display: grid; place-items: center; font-size: 22px;
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.to-top.is-visible { opacity: 1; pointer-events: auto; }

/* ---------- Появление при скролле ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-hint span { animation: none; }
}

/* ---------- Адаптив ---------- */
@media (max-width: 560px) {
  :root { --pad: 20px; --fs-h2: 32px; --fs-h1: 40px; }
  body { background-attachment: scroll; }
  .page { box-shadow: none; }
  .legend, .guardian { min-height: 0; }
  .legend .section__inner { padding-bottom: 96vw; }
  .guardian .section__inner { padding-bottom: 92vw; }
  .place .section__inner { padding-bottom: 90vw; }
  .legend, .guardian, .place, .bring { min-height: 0; }
  .banners { min-height: 0; }
  .banners .section__inner { min-height: 178vw; }
  .final { min-height: 0; }
  .final .section__inner { min-height: 160vw; }
}
@media (max-width: 360px) {
  :root { --fs-h2: 28px; --fs-h1: 36px; --fs-body: 17px; }
  .elements span { font-size: 24px; }
  .cards { grid-template-columns: 1fr; }
  .banners__legend { grid-template-columns: 1fr; }
}
@media (min-width: 561px) {
  .header, .page { border-radius: 0; }
}
