:root {
  --night: #201814;
  --cocoa: #36261e;
  --wax: #f2e8df;
  --paper: #fbf7f3;
  --oil: #c4904f;
  --oil-hi: #d4a265;
  --oil-deep: #8e5f2e;
  --ink: #2a201b;
  --muted: #6e5e54;
  --line: #e2d5ca;
  --cream: #f4ebe2;
  --cream-muted: #c9b8aa;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
  --gut: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--paper); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; }
h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 4.2vw, 52px); line-height: 1.08; letter-spacing: -.01em; max-width: 20ch; }
h3 { font-size: 17px; font-weight: 600; line-height: 1.35; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--oil); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--oil); color: var(--night); padding: 8px 14px; z-index: 100; border-radius: 99px; }
.skip:focus { left: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 12px 24px; border-radius: 999px; font: 600 15px/1.2 var(--sans); text-decoration: none; letter-spacing: .01em; border: 1.5px solid transparent; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; text-align: center; }
.btn--oil { background: var(--oil); color: var(--night); }
.btn--oil:hover { background: var(--oil-hi); }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--ghost-light { border-color: rgba(244,235,226,.55); color: var(--cream); background: transparent; }
.btn--ghost-light:hover { border-color: var(--cream); background: rgba(244,235,226,.08); }
.btn--big { min-height: 56px; padding: 16px 32px; font-size: 16px; }

.age { display: inline-flex; align-items: center; justify-content: center; font: 600 12px/1 var(--sans); border: 1.5px solid currentColor; border-radius: 99px; padding: 5px 8px; opacity: .85; }

/* Header */
.top { position: absolute; inset: 0 0 auto; z-index: 10; color: var(--cream); }
.top__in { display: flex; align-items: center; gap: 28px; padding-top: 18px; padding-bottom: 18px; }
.logo { text-decoration: none; display: flex; flex-direction: column; line-height: 1.1; margin-right: auto; }
.logo__name { font-family: var(--serif); font-size: 26px; font-weight: 500; }
.logo__sub { font-size: 12.5px; color: var(--cream-muted); margin-top: 3px; }
.nav { display: flex; gap: 22px; font-size: 14.5px; }
.nav a { text-decoration: none; opacity: .85; }
.nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 5px; }
.top .btn--ghost { border-color: rgba(244,235,226,.55); color: var(--cream); min-height: 40px; padding: 8px 18px; font-size: 14px; }
.top .btn--ghost:hover { background: rgba(244,235,226,.1); color: var(--cream); }

/* Hero */
.hero { position: relative; min-height: 100vh; min-height: 100dvh; display: flex; align-items: center; color: var(--cream); background: var(--night); isolation: isolate; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(26,18,14,.92) 0%, rgba(26,18,14,.78) 38%, rgba(26,18,14,.25) 72%, rgba(26,18,14,.1) 100%), linear-gradient(0deg, rgba(26,18,14,.55), rgba(26,18,14,0) 35%); }
.hero__in { width: 100%; padding-top: 104px; padding-bottom: 56px; }
.hero__in > * { max-width: 620px; }
.hero__in > .hero__title { max-width: 900px; }
.hero__title { font-family: var(--serif); font-weight: 300; font-size: clamp(32px, 3.9vw, 56px); line-height: 1.08; letter-spacing: -.015em; margin-bottom: 22px; }
.hero__offer { font-family: var(--serif); font-size: clamp(22px, 2.3vw, 28px); line-height: 1.3; color: #f7e3cb; margin-bottom: 16px; }
.hero__lead { color: var(--cream-muted); font-size: 17px; margin-bottom: 28px; max-width: 540px; }
.hero__adv { list-style: none; margin: 0 0 32px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; }
.hero__adv li { padding-left: 18px; position: relative; font-size: 14.5px; color: var(--cream-muted); line-height: 1.45; }
.hero__adv li::before { content: ""; position: absolute; left: 0; top: .45em; width: 7px; height: 7px; border-radius: 50%; background: var(--oil); }
.hero__adv b { display: block; color: var(--cream); font-weight: 600; font-size: 15.5px; }
.hero__cta-note { margin-top: 16px; font-size: 14px; color: var(--cream-muted); max-width: 440px; }

@media (prefers-reduced-motion: no-preference) {
  .hero__in > * { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
  .hero__in > *:nth-child(2) { animation-delay: .08s; }
  .hero__in > *:nth-child(3) { animation-delay: .16s; }
  .hero__in > *:nth-child(4) { animation-delay: .24s; }
  .hero__in > *:nth-child(n+5) { animation-delay: .32s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Sections */
.sec { padding: 104px 0; }
.sec--paper { background: var(--paper); }
.sec--wax { background: var(--wax); }
.sec--night { background: var(--night); color: var(--cream); }
.sec__lead { max-width: 640px; color: var(--muted); margin-top: 18px; }
.fear { font-family: var(--serif); font-style: italic; font-size: clamp(21px, 2vw, 25px); color: var(--oil-deep); margin-bottom: 12px; line-height: 1.3; }
.fear--light { color: var(--oil-hi); }

/* Rules */
.rules { display: grid; grid-template-columns: 1fr 1.35fr; gap: 64px; margin-top: 44px; }
.rules__lead { font-family: var(--serif); font-size: 24px; line-height: 1.4; color: var(--ink); }
.rules__list { list-style: none; counter-reset: r; margin: 0; padding: 0; }
.rules__list li { padding: 20px 0; border-top: 1px solid var(--line); }
.rules__list li:last-child { border-bottom: 1px solid var(--line); }
.rules__list h3 { margin-bottom: 6px; }
.rules__list p { margin: 0; color: var(--muted); }

/* Quiz */
.quiz-wrap { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: start; }
.quiz-intro p:not(.fear) { color: var(--cream-muted); margin-top: 18px; max-width: 420px; }
.quiz { background: var(--cocoa); border-radius: 22px; padding: 32px; border: 1px solid rgba(244,235,226,.08); }
.quiz__bar { height: 3px; background: rgba(244,235,226,.12); border-radius: 3px; overflow: hidden; }
.quiz__fill { display: block; height: 100%; width: 25%; background: var(--oil); transition: width .35s; }
.quiz__count { font-size: 13.5px; color: var(--cream-muted); margin: 12px 0 18px; }
.quiz fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.quiz legend { font-family: var(--serif); font-size: 28px; line-height: 1.2; margin-bottom: 18px; padding: 0; }
.opt { display: block; position: relative; margin-bottom: 10px; cursor: pointer; }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt span { display: flex; align-items: center; min-height: 54px; padding: 12px 18px 12px 48px; border: 1.5px solid rgba(244,235,226,.18); border-radius: 14px; transition: border-color .15s, background-color .15s; position: relative; }
.opt span::before { content: ""; position: absolute; left: 18px; top: 50%; width: 16px; height: 16px; margin-top: -8px; border: 1.5px solid var(--cream-muted); border-radius: 50%; }
.opt:hover span { border-color: rgba(244,235,226,.45); }
.opt input:checked + span { border-color: var(--oil); background: rgba(196,144,79,.12); }
.opt input:checked + span::before { border-color: var(--oil); background: radial-gradient(var(--oil) 45%, transparent 50%); }
.opt input:focus-visible + span { outline: 2px solid var(--oil); outline-offset: 2px; }
.quiz__nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 14px; min-height: 30px; }
.quiz__back, .quiz__restart { background: none; border: 0; color: var(--cream-muted); font: 500 14.5px var(--sans); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; padding: 6px 0; }
.quiz__back:hover, .quiz__restart:hover { color: var(--cream); }
.quiz__hint { margin: 0 0 0 auto; font-size: 13.5px; color: var(--cream-muted); }
.quiz__label { font-size: 13.5px; color: var(--oil-hi); margin-bottom: 4px; }
.quiz__result h3 { font-family: var(--serif); font-weight: 400; font-size: 36px; margin-bottom: 10px; }
.quiz__result > p { color: var(--cream-muted); }
.quiz__result:focus { outline: none; }
.quiz__sum { margin: 20px 0; border-top: 1px solid rgba(244,235,226,.12); }
.quiz__sum div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid rgba(244,235,226,.12); }
.quiz__sum dt { color: var(--cream-muted); }
.quiz__sum dd { margin: 0; text-align: right; }
.quiz__total dd { font-family: var(--serif); font-size: 28px; line-height: 1.1; color: var(--cream); }
.quiz__total dd s { font-size: 18px; color: var(--cream-muted); margin-right: 8px; }
.quiz__note { font-size: 14px; }
.quiz__actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 6px; }
.quiz__copied { font-size: 13.5px; color: var(--oil-hi); margin: 8px 0 0; }

/* Programs */
.progs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 48px 0 36px; border-top: 1px solid var(--line); }
.prog { padding: 28px 20px; display: flex; flex-direction: column; border-bottom: 1px solid var(--line); }
.prog + .prog { border-left: 1px solid var(--line); }
.prog h3 { font-family: var(--serif); font-size: 28px; font-weight: 500; line-height: 1.1; }
.prog__meta { font-size: 14px; color: var(--muted); margin: 6px 0 14px; }
.prog > p:not(.prog__price) { color: var(--muted); font-size: 15.5px; flex: 1; }
.prog__price { font-family: var(--serif); font-size: 30px; margin: 10px 0 0; color: var(--ink); }
.prog--main h3 { color: var(--oil-deep); }
.extras { max-width: 760px; margin-bottom: 32px; }
.extras p { margin-bottom: .6em; color: var(--muted); }
.extras b { color: var(--ink); font-weight: 600; }

/* About */
.about { display: grid; grid-template-columns: .85fr 1.15fr; gap: 72px; align-items: center; }
.about__photo { margin: 0; }
.about__photo img { border-radius: 18px; aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.about__photo figcaption { font-size: 14px; color: var(--muted); margin-top: 12px; }
.about__text h2 { margin-bottom: 24px; }
.about__text p:not(.fear) { color: var(--muted); max-width: 560px; }
.about__text .btn { margin-top: 10px; }

/* Steps */
.steps-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; margin-top: 48px; align-items: start; }
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 30px 36px; }
.steps li { counter-increment: s; position: relative; padding-top: 46px; }
.steps li::before { content: counter(s); position: absolute; top: 0; left: 0; font-family: var(--serif); font-size: 34px; line-height: 1; color: var(--oil); }
.steps h3 { margin-bottom: 6px; color: var(--cream); }
.steps p { margin: 0; color: var(--cream-muted); font-size: 15.5px; }
.steps__img { margin: 0; position: sticky; top: 30px; }
.steps__img img { border-radius: 18px; aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.steps__body { font-family: var(--serif); font-size: clamp(22px, 2.2vw, 28px); line-height: 1.35; max-width: 760px; margin: 56px 0 0; color: var(--cream); }

/* Anon + clean */
.duo-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.col__img { border-radius: 18px; aspect-ratio: 3 / 2; object-fit: cover; width: 100%; margin-bottom: 32px; }
.col h2 { font-size: clamp(28px, 3.2vw, 40px); margin-bottom: 22px; }
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { position: relative; padding: 12px 0 12px 30px; border-top: 1px solid var(--line); color: var(--muted); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 20px; width: 12px; height: 7px; border-left: 2px solid var(--oil-deep); border-bottom: 2px solid var(--oil-deep); transform: rotate(-45deg); }

/* Hotel */
.hotel { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: center; }
.hotel__img { margin: 0; }
.hotel__img img { border-radius: 18px; aspect-ratio: 4 / 5; object-fit: cover; object-position: 35% 50%; width: 100%; }
.hotel__text h2 { margin-bottom: 22px; }
.hotel__text > p:not(.fear) { color: var(--muted); max-width: 560px; }
.hotel__more { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin: 28px 0 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.hotel__more h3 { font-family: var(--serif); font-size: 24px; font-weight: 500; margin-bottom: 8px; }
.hotel__more p { color: var(--muted); font-size: 15.5px; margin: 0; }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 27px; width: 10px; height: 10px; border-right: 2px solid var(--oil-deep); border-bottom: 2px solid var(--oil-deep); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); top: 31px; }
.faq details p { color: var(--muted); padding-right: 40px; margin: -4px 0 20px; }

/* Final */
.final { position: relative; padding: 140px 0; color: var(--cream); background: var(--night); isolation: isolate; overflow: hidden; }
.final__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.final::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(26,18,14,.94), rgba(26,18,14,.72) 60%, rgba(26,18,14,.5)); }
.final h2 { max-width: 24ch; margin-bottom: 20px; }
.prog__price, .quiz__total dd, .steps li::before, .hero__title { font-variant-numeric: lining-nums; }
.final__in > p:not(.fear) { color: var(--cream-muted); max-width: 520px; }
.final__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* Footer */
.foot { background: var(--night); color: var(--cream-muted); font-size: 14.5px; padding: 56px 0 96px; border-top: 1px solid rgba(244,235,226,.08); }
.foot__in { display: grid; grid-template-columns: 1.1fr 1fr 1.3fr; gap: 40px; }
.foot p { margin: 0 0 8px; }
.foot__name { font-family: var(--serif); font-size: 24px; color: var(--cream); }
.foot a { color: var(--cream); text-underline-offset: 4px; }
.foot__legal .age { margin-right: 6px; color: var(--cream); }

/* Mobile dock */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(32,24,20,.94); border-top: 1px solid rgba(244,235,226,.1); display: none; transform: translateY(110%); transition: transform .3s; }
.dock .btn { width: 100%; }
.dock.is-on { transform: none; }

/* Responsive */
@media (max-width: 1080px) {
  .nav { display: none; }
  .progs { grid-template-columns: 1fr 1fr; }
  .prog:nth-child(3) { border-left: 0; }
  .steps-grid { grid-template-columns: 1fr; }
  .steps__img { display: none; }
}
@media (max-width: 860px) {
  .rules, .quiz-wrap, .about, .duo-cols, .hotel, .faq-wrap { grid-template-columns: 1fr; gap: 36px; }
  .about__photo { max-width: 420px; }
  .hotel__img img { aspect-ratio: 16 / 10; }
  .foot__in { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .sec { padding: 72px 0; }
  .top__in { gap: 12px; padding-top: 14px; }
  .logo__name { font-size: 22px; }
  .top__tg { display: none; }
  .hero { align-items: flex-end; }
  .hero::before { background: linear-gradient(0deg, rgba(26,18,14,.95) 0%, rgba(26,18,14,.82) 50%, rgba(26,18,14,.6) 80%, rgba(26,18,14,.72) 100%); }
  .hero__bg img { object-position: 50% 30%; }
  .hero__in { padding-top: 92px; padding-bottom: 28px; }
  .hero__title { font-size: 29px; line-height: 1.12; margin-bottom: 14px; }
  .hero__offer { font-size: 20px; margin-bottom: 10px; }
  .hero__lead { font-size: 14.5px; line-height: 1.5; margin-bottom: 18px; }
  .hero__adv { grid-template-columns: 1fr 1fr; gap: 10px 14px; margin-bottom: 20px; }
  .hero__cta-note { font-size: 13px; margin-top: 10px; }
  .hero__adv li { font-size: 13px; }
  .hero__adv b { font-size: 14px; }
  .btn--big { width: 100%; }
  .quiz { padding: 22px 18px; border-radius: 18px; }
  .quiz legend { font-size: 24px; }
  .progs { grid-template-columns: 1fr; }
  .prog, .prog + .prog { padding: 24px 0; border-left: 0; }
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .hotel__more { grid-template-columns: 1fr; }
  .final { padding: 96px 0; }
  .final__btns .btn { width: 100%; }
  .dock { display: block; }
}
@media (max-width: 380px) {
  .hero__adv { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Program photos */
.prog__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; margin-bottom: 20px; }

/* Copy e-mail */
.mail-line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.copy-mail { font: 500 12.5px/1 var(--sans); color: var(--cream); background: transparent; border: 1px solid rgba(244,235,226,.4); border-radius: 99px; padding: 6px 11px; cursor: pointer; min-height: 28px; }
.copy-mail:hover { border-color: var(--cream); background: rgba(244,235,226,.08); }
.copy-mail.is-done { border-color: var(--oil); color: var(--oil-hi); }

.hero__promo { color: var(--oil-hi); font-weight: 400; white-space: nowrap; }

/* Language tab (RU ⇄ EN) */
.lang-tab { position: fixed; right: 0; top: 42%; z-index: 30; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 7px 9px; background: var(--night); color: var(--cream); border: 2px solid var(--oil); border-right: 0; border-radius: 12px 0 0 12px; font: 700 13px/1 var(--sans); letter-spacing: .06em; text-decoration: none; box-shadow: 0 6px 18px rgba(0,0,0,.28); transition: padding .2s; }
.lang-tab:hover { padding-right: 11px; }
.lang-tab small { font-size: 9px; font-weight: 500; letter-spacing: 0; opacity: .75; }
@media print { .lang-tab { display: none; } }
@media (max-width: 760px) {
  .lang-tab { position: absolute; top: 19px; right: 74px; flex-direction: row; padding: 6px 10px; border: 1.5px solid var(--oil); border-radius: 99px; background: rgba(32,24,20,.55); box-shadow: none; font-size: 12px; }
  .lang-tab small { display: none; }
  .lang-tab:hover { padding-right: 10px; }
}
