@font-face {
  font-family: Inter;
  src: url('/assets/inter-cyrillic-wght-normal.woff2') format('woff2');
  font-display: swap;
  font-weight: 100 900;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Inter;
  src: url('/assets/inter-latin-wght-normal.woff2') format('woff2');
  font-display: swap;
  font-weight: 100 900;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  --ink: #20211d;
  --paper: #f7f6f1;
  --lime: #d1f278;
  --white: #fff;
  --muted: #555950;
  --line: #d5d8cd;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.5 Inter, Arial, sans-serif;
  overflow-wrap: anywhere;
}
a { color: inherit; text-underline-offset: .24em; }
button, input, textarea, select { font: inherit; }
img { display: block; max-width: 100%; }
button:disabled { opacity: .64; cursor: wait; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { font-weight: 650; letter-spacing: -.065em; line-height: 1.05; text-wrap: balance; }
h1 { font-size: clamp(4.2rem, 7.5vw, 7.2rem); }
h2 { font-size: clamp(2.35rem, 5.05vw, 4.65rem); }
h3 { font-size: clamp(1.46rem, 2.3vw, 2rem); letter-spacing: -.045em; }
.shell { width: min(100% - 2 * clamp(1rem, 4vw, 3.6rem), 1320px); margin-inline: auto; }
.section { padding-block: clamp(3.6rem, 7vw, 7.3rem); }
.skip { position: fixed; top: 1rem; left: 1rem; transform: translateY(-180%); z-index: 2; background: white; padding: .7rem 1rem; }
.skip:focus { transform: none; }
.header { background: var(--ink); color: var(--paper); }
.header-inner { min-height: 76px; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; border-bottom: 1px solid #4c4f44; }
.brand { display: inline-flex; gap: .65rem; align-items: center; width: fit-content; font-size: 1.56rem; font-weight: 760; font-style: italic; letter-spacing: -.07em; text-decoration: none; white-space: nowrap; }
.brand i { width: 1.1em; height: .72em; border-inline: .37em solid var(--lime); transform: skewX(-23deg); }
.menu { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.7rem); }
.menu a, .header-phone { text-decoration: none; padding-block: .75rem; }
.menu a:hover, .header-phone:hover { text-decoration: underline; }
.menu a { font-size: .92rem; }
.header-phone { color: var(--lime); white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 630; }
.hero { background: var(--ink); color: var(--paper); padding-block: clamp(2.75rem, 5.5vw, 6rem); }
.hero-grid { display: grid; grid-template-columns: 1fr 1.25fr; align-items: center; gap: clamp(1.8rem, 4vw, 4.9rem); }
.hero-copy, .hero-photo { min-width: 0; }
.kicker { margin-bottom: 1.85rem; color: var(--lime); font-weight: 600; font-size: .84rem; letter-spacing: .045em; }
.hero h1 { color: var(--white); }
.hero-intro { color: #d7d9ce; margin-block: 1.4rem 2rem; max-width: 41ch; font-size: clamp(1rem, 1.35vw, 1.14rem); line-height: 1.55; }
.hero-photo { position: relative; border-radius: .8rem; overflow: hidden; background: #34372a; }
.hero-photo img { width: 100%; height: auto; aspect-ratio: 1.12; object-fit: cover; }
.hero-photo figcaption { position: absolute; right: .7rem; bottom: .7rem; color: white; background: #171914; padding: .32rem .55rem; border-radius: 4px; font-size: .67rem; }
.button {
  display: inline-flex; align-items: center; justify-content: space-between;
  gap: clamp(.7rem, 3vw, 2rem); min-height: 52px; width: fit-content;
  padding: .7rem 1.1rem; border-radius: .4rem; border: 1px solid transparent;
  font-weight: 670; text-decoration: none; cursor: pointer; text-align: left;
}
.button span { font-size: 1.15em; }
.button-lime { background: var(--lime); color: var(--ink); }
.button-lime:focus-visible { outline-color: var(--paper); }
.button-lime:hover { background: #e3ffa4; }
.button-dark { background: var(--ink); color: var(--white); }
.button-dark:focus-visible { outline-color: var(--ink); }
.button-dark:hover:not(:disabled) { background: #3c4434; }
.section-heading { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 1rem; margin-bottom: 2rem; }
.text-link { display: inline-flex; gap: 1rem; align-items: center; min-height: 44px; color: inherit; font-weight: 650; }
.text-link:hover { text-decoration-thickness: 2px; }
.muted { color: var(--muted); }
#program-status:empty, #form-status:empty { display: none; }
#program-list:empty { display: none; }
.programs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .95rem; }
.card { background: var(--white); padding: clamp(1.35rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: .7rem; display: flex; flex-direction: column; min-width: 0; }
.card:first-child { background: #eaefd8; }
.card-label { align-self: start; color: #414831; font-size: .83rem; font-weight: 620; margin-bottom: .85rem; }
.card-description { margin-block: .85rem 1.15rem; color: var(--muted); }
.card-facts { display: grid; gap: .3rem; margin: auto 0 .9rem; color: var(--muted); font-size: .87rem; }
.card-facts div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .15rem .7rem; }
.card-facts dd { color: var(--ink); font-weight: 620; white-space: pre-line; }
.card-action { justify-content: space-between; border-top: 1px solid var(--line); padding-top: .4rem; }
.process { background: #ebeee4; }
.process h2 { margin-bottom: 2rem; }
.steps { padding: 0; margin: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.65rem; counter-reset: step; }
.steps li { min-width: 0; border-top: 1px solid #9da396; counter-increment: step; padding-top: 1.2rem; }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; color: #414b33; font-weight: 650; font-variant-numeric: tabular-nums; margin-bottom: 1.3rem; }
.steps p { margin-top: .7rem; color: var(--muted); max-width: 36ch; }
.booking { background: #e0e9ca; }
.booking-grid, .faq { display: grid; grid-template-columns: .88fr 1.12fr; gap: clamp(2rem, 7vw, 7rem); }
.booking-copy p { max-width: 38ch; margin-block: 1rem 1.5rem; color: #414831; }
.booking-copy a { display: block; width: fit-content; }
.booking-phone { font-size: clamp(1.18rem, 3vw, 1.55rem); font-weight: 650; }
#booking-form { padding: clamp(1.25rem, 3vw, 2.2rem); display: grid; gap: .95rem; background: #f8faf2; border: 1px solid #afbaa0; border-radius: .8rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: .95rem; }
.field { display: grid; gap: .4rem; min-width: 0; }
.field label { font-weight: 640; }
.field small { font-size: .78rem; font-weight: 450; color: var(--muted); }
.field :is(input, textarea, select) { border: 1px solid #7f8975; border-radius: .35rem; background: var(--white); color: var(--ink); min-height: 46px; width: 100%; padding: .55rem .65rem; }
.field textarea { resize: vertical; }
.field ::placeholder { color: #61675d; opacity: 1; }
.consent { display: flex; align-items: flex-start; gap: .55rem; color: #414831; font-size: .87rem; }
.consent input { width: 19px; height: 19px; flex: 0 0 19px; margin: .15rem 0 0; accent-color: #35432a; }
.trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.form-status { color: #263c1e; min-height: 1.5rem; font-weight: 580; }
.form-status[data-error] { color: #8d2118; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding-block: 1rem; cursor: pointer; list-style: none; font-weight: 630; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.3rem; font-weight: 450; }
.faq details[open] summary::after { content: '−'; }
.faq p { color: var(--muted); max-width: 58ch; padding-bottom: 1rem; }
.footer { background: var(--ink); color: var(--paper); padding-block: 2.3rem; }
.footer-grid { display: grid; grid-template-columns: 1fr 1.3fr; align-items: start; gap: 1.25rem; }
.footer-grid p { color: #d0d1c4; margin-top: .45rem; font-size: .87rem; }
.footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .1rem 1.6rem; }
.footer nav a { padding-block: .6rem; font-size: .87rem; color: #e1e4d7; }
@media (max-width: 1050px) {
  .programs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  h1 { font-size: clamp(3.35rem, 7.3vw, 5.7rem); }
}
@media (max-width: 760px) {
  .header-inner { min-height: 64px; }
  .menu { display: none; }
  .hero-grid, .booking-grid, .faq, .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .hero h1 { max-width: 13ch; font-size: clamp(3.1rem, 10.8vw, 5.5rem); }
  .hero-photo img { aspect-ratio: 1.56; }
  .hero-intro { margin-block: 1.1rem 1.35rem; }
  .kicker { margin-bottom: .95rem; }
  .footer nav { justify-content: flex-start; }
}
@media (max-width: 520px) {
  .programs, .steps, .field-row { grid-template-columns: minmax(0, 1fr); }
  .header-inner { gap: .6rem; }
  .header-phone { font-size: .79rem; }
  .brand { font-size: 1.38rem; }
  .section-heading { gap: .4rem; margin-bottom: 1.25rem; }
  .steps { gap: 1.15rem; }
  .steps li::before { margin-bottom: .55rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
