@font-face { font-family: "Visuelt Pro"; src: url("/fonts/VisueltPro-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Visuelt Pro"; src: url("/fonts/VisueltPro-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Visuelt Pro"; src: url("/fonts/VisueltPro-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --paper: #F9F7F3;
  --sand: #F3ECE4;
  --card: #FFFFFF;
  --line: #E7E1D8;
  --ink: #080F2A;
  --muted: #5F6B63;
  --green: #086048;
  --green-dark: #064C39;
  --green-tint: #E8F0EC;
  --sage: #8DB4A9;
  --peach: #FAD6A5;
  --danger: #B3261E;
  --radius: 16px;
  --font: "Visuelt Pro", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.55 var(--font); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); }
h1, h2, h3 { margin: 0; font-weight: 500; letter-spacing: -0.01em; }
p { margin: 0; }
.muted { color: var(--muted); }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

/* Кнопки */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 28px; border: 0; border-radius: 999px;
  background: var(--green); color: #fff; font: 500 17px/1.2 var(--font);
  text-decoration: none; cursor: pointer; transition: background .15s;
}
.btn:hover { background: var(--green-dark); }
.btn:focus-visible, .linkbtn:focus-visible, summary:focus-visible { outline: 3px solid var(--sage); outline-offset: 3px; }
.btn:disabled { opacity: .6; cursor: progress; }
.btn--small { min-height: 40px; padding: 0 18px; font-size: 15px; }
.btn--light { background: var(--peach); color: var(--ink); }
.btn--light:hover { background: #F7C985; }
.btn--wide { width: 100%; }
.linkbtn { margin-top: 24px; padding: 0; border: 0; background: none; color: var(--green); font: 500 16px var(--font); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }

/* Шапка */
.topbar { position: sticky; top: 0; z-index: 10; background: rgba(249, 247, 243, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.topbar__in { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; }
.brand img { width: auto; height: 36px; }
@media (min-width: 720px) { .brand img { height: 42px; } }

/* Первый экран */
.hero { padding: 40px 0 24px; }
.hero__grid { display: grid; gap: 24px; }
.eyebrow { color: var(--green); font-weight: 500; font-size: 20px; }
.hero h1 { margin-top: 8px; font-size: clamp(44px, 9vw, 96px); line-height: .98; letter-spacing: -0.03em; }
.dates { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: 24px; padding: 8px 20px; border: 1.5px solid var(--green); border-radius: 999px; color: var(--green); font-weight: 500; font-size: 18px; }
.dates__arrow { font-size: 16px; }
.dates__len { margin-left: 6px; padding-left: 12px; border-left: 1px solid var(--sage); color: var(--muted); font-weight: 400; }

.stats { display: grid; grid-template-columns: auto auto 1fr; gap: 16px; margin: 32px 0 0; }
.stats div { padding-right: 16px; border-right: 1px solid var(--line); }
.stats div:last-child { border-right: 0; padding-right: 0; }
.stats dt { color: var(--green); font-size: clamp(44px, 8vw, 64px); font-weight: 500; line-height: 1; }
.stats dd { margin: 6px 0 0; color: var(--muted); font-size: 16px; line-height: 1.35; }

.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 36px; }
.hero__price { color: var(--muted); }
.hero__price b { color: var(--ink); font-weight: 500; font-size: 20px; }
.hero__price s { margin-left: 4px; }

.hero__art { justify-self: center; width: min(78%, 360px); }

@media (min-width: 960px) {
  .hero { padding: 64px 0 40px; }
  .hero__grid { grid-template-columns: 1.35fr .65fr; align-items: center; gap: 48px; }
  .hero__art { width: 100%; max-width: 400px; justify-self: end; }
}

/* Секции */
.section { padding: 56px 0; }
.section h2 { font-size: clamp(30px, 5vw, 44px); line-height: 1.1; margin-bottom: 28px; }
@media (min-width: 960px) { .section { padding: 80px 0; } }

.cards { display: grid; gap: 12px; }
@media (min-width: 640px) { .cards { grid-template-columns: 1fr 1fr; gap: 16px; } }
@media (min-width: 1040px) { .cards { grid-template-columns: repeat(4, 1fr); } }
.card { padding: 24px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.card__icon { width: 32px; height: 32px; fill: none; stroke: var(--green); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { margin-top: 16px; font-size: 21px; }
.card p { margin-top: 8px; color: var(--muted); font-size: 16px; }
.note { margin-top: 20px; padding: 14px 18px; background: var(--green-tint); border-radius: 12px; }

/* Программа */
.section--program { background: var(--sand); }
.part + .part { margin-top: 48px; }
.part__head { margin-bottom: 16px; }
.part__num { color: var(--green); font-weight: 500; font-size: 16px; text-transform: uppercase; letter-spacing: .06em; }
.part__head h3 { margin-top: 4px; font-size: clamp(24px, 4vw, 32px); line-height: 1.15; }

.day { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.day + .day { margin-top: 8px; }
.day summary { display: flex; gap: 16px; align-items: flex-start; padding: 18px 56px 18px 20px; position: relative; cursor: pointer; list-style: none; }
.day summary::-webkit-details-marker { display: none; }
.day summary::after { content: ""; position: absolute; right: 22px; top: 26px; width: 10px; height: 10px; border-right: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(45deg); transition: transform .2s; }
.day[open] summary::after { transform: rotate(225deg); top: 31px; }
.day__n { flex: none; min-width: 72px; padding-top: 2px; color: var(--green); font-weight: 500; font-size: 15px; }
.day__t { font-weight: 500; font-size: 18px; line-height: 1.35; }
.day__t small { display: block; margin-top: 4px; color: var(--muted); font-weight: 400; font-size: 15px; }
.day > :not(summary) { margin: 0 20px 0 108px; }
.day > :last-child { margin-bottom: 20px; }
.day > p + ul, .day > ul + p, .day > p + p { margin-top: 10px; }
.day ul { padding-left: 20px; }
.day li + li { margin-top: 6px; }
.day li::marker { color: var(--sage); }
@media (max-width: 560px) {
  .day summary { flex-direction: column; gap: 2px; }
  .day > :not(summary) { margin-left: 20px; }
}

.checkpoint { margin-top: 12px; padding: 18px 20px; border: 1.5px dashed var(--sage); border-radius: var(--radius); background: var(--green-tint); }
.checkpoint__t { font-weight: 500; color: var(--green); margin-bottom: 4px; }
.pause { margin-top: 12px; padding: 4px 0 0 20px; border-left: 3px solid var(--peach); color: var(--muted); }
.pause p + p { margin-top: 4px; }
.pause b { color: var(--ink); font-weight: 500; }

/* Цена */
.price { background: var(--green); color: #fff; padding: 48px 0; }
.price__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.price__label { color: #CFE3DA; font-size: 18px; }
.price__value { margin-top: 4px; font-size: clamp(52px, 10vw, 88px); font-weight: 500; line-height: 1; letter-spacing: -0.02em; }
.price__value span { display: inline-block; margin-left: 12px; font-size: 20px; font-weight: 400; letter-spacing: 0; color: #CFE3DA; vertical-align: middle; }
.price__sub { margin-top: 10px; color: #CFE3DA; font-size: 15px; }

/* Форма */
.reg { display: grid; gap: 28px; }
@media (min-width: 960px) { .reg { grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; } }
.reg__intro h2 { margin-bottom: 16px; }
.reg__intro p + p { margin-top: 8px; }
.form, .done { padding: 28px 24px; background: var(--card); border: 1px solid var(--line); border-radius: 20px; }
@media (min-width: 720px) { .form, .done { padding: 36px; } }
.field { display: block; margin-bottom: 18px; }
.field span { display: block; margin-bottom: 6px; font-weight: 500; font-size: 15px; }
.field i { font-style: normal; font-weight: 400; color: var(--muted); margin-left: 4px; }
.field input { width: 100%; height: 52px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--paper); color: var(--ink); font: 400 17px var(--font); }
.field input::placeholder { color: #9AA39D; }
.field input:focus { outline: none; border-color: var(--green); background: #fff; box-shadow: 0 0 0 4px var(--green-tint); }
.check { display: flex; gap: 12px; align-items: flex-start; margin: 14px 0; font-size: 15px; line-height: 1.45; cursor: pointer; }
.check input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--green); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__error { margin: 16px 0 0; padding: 12px 16px; background: #FCEBEA; color: var(--danger); border-radius: 12px; font-size: 15px; }
.form .btn { margin-top: 20px; }
.done { text-align: center; outline: none; }
.done svg { width: 56px; height: 56px; margin: 0 auto; fill: none; stroke: var(--green); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.done h3 { margin-top: 16px; font-size: 26px; }
.done p { margin-top: 8px; color: var(--muted); }

/* Подвал */
.footer { padding: 32px 0 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.footer__in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.footer b { color: var(--ink); font-weight: 500; }
.footer p + p { margin-top: 4px; }
.footer a { color: var(--muted); }

.badge { display: inline-block; margin-top: 12px; padding: 6px 14px; border-radius: 999px; background: var(--peach); color: var(--ink); font-weight: 500; font-size: 15px; }
