@font-face {
  font-family: "Onest";
  src: url("assets/fonts/Onest-Variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #171817;
  --paper: #f6f5f1;
  --paper-2: #efeee8;
  --white: #fff;
  --yellow: #fedf3a;
  --muted: #686965;
  --line: #d8d6cf;
  --max: 1180px;
  --radius: 10px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 118px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Onest", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: -.012em;
}
body.no-scroll, body.menu-open { overflow: hidden; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
.wrap { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; }
[id] { scroll-margin-top: 118px; }
:where(a, button, input, select, textarea):focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  padding: 12px 0;
  background: linear-gradient(to bottom, rgba(246,245,241,.98), rgba(246,245,241,.76) 76%, transparent);
}
.nav-shell {
  min-height: 68px;
  padding: 0 15px;
  display: flex;
  align-items: center;
  gap: 24px;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(23,24,23,.12);
  border-radius: 13px;
  box-shadow: 0 12px 34px rgba(23,24,23,.055);
  backdrop-filter: blur(18px);
}
.brand { width: auto; min-width: 154px; height: 52px; display: flex; align-items: center; gap: 9px; text-decoration: none; white-space: nowrap; }
.brand-logo { display: block; object-fit: contain; }
.brand-logo-mark { display: block; width: 43px; height: 43px; border-radius: 8px; }
.brand-wordmark { font-size: 19px; font-weight: 760; letter-spacing: -.045em; }
.desktop-nav { display: flex; gap: 22px; margin-left: auto; }
.desktop-nav a { position: relative; text-decoration: none; font-size: 13px; }
.desktop-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -9px; height: 2px; background: var(--yellow); transition: right .22s ease; }
.desktop-nav a:hover::after, .desktop-nav a.active::after { right: 0; }
.nav-action { padding: 11px 14px; background: var(--yellow); border-radius: 5px; text-decoration: none; font-size: 12px; font-weight: 650; white-space: nowrap; }
.nav-action-short { display: none; }
.menu-toggle { display: none; margin-left: auto; width: 47px; height: 42px; padding: 9px 10px; border: 1px solid var(--ink); background: transparent; border-radius: 5px; cursor: pointer; }
.menu-toggle span { display: block; height: 1px; background: var(--ink); margin: 4px 0; }
.menu-toggle b { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.mobile-nav { position: fixed; inset: 94px 24px auto; padding: 8px 20px 22px; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 24px 60px rgba(0,0,0,.16); }
.mobile-nav a { display: block; padding: 14px 4px; text-decoration: none; border-bottom: 1px solid var(--line); }
.mobile-nav a:last-child { margin-top: 10px; padding: 14px; background: var(--yellow); border: 0; text-align: center; border-radius: 4px; }

.hero { padding: 80px 0 72px; }
.hero-grid, .page-hero-grid { display: grid; grid-template-columns: 1.06fr .94fr; gap: 72px; align-items: center; }
.hero h1, .page-hero h1 { margin: 18px 0 25px; font-weight: 520; line-height: .98; letter-spacing: -.06em; }
.hero h1 { font-size: clamp(54px, 7vw, 88px); max-width: 820px; }
.page-hero { padding: 75px 0 62px; border-bottom: 1px solid var(--line); }
.page-hero.simple { padding-bottom: 72px; }
.page-hero h1 { font-size: clamp(50px, 7vw, 78px); }
.page-hero.simple h1 { max-width: 920px; }
.page-hero p { max-width: 720px; font-size: 19px; line-height: 1.65; color: #4d4e4a; }
.lead { max-width: 700px; font-size: 19px; line-height: 1.7; color: #484945; }
.lead-small { font-size: 18px; line-height: 1.7; color: var(--muted); }
.eyebrow { display: flex; align-items: center; gap: 10px; color: #565753; font-size: 11px; font-weight: 650; text-transform: uppercase; letter-spacing: .14em; }
.eyebrow::before { content: ""; width: 27px; height: 3px; background: var(--yellow); }
.eyebrow.light { color: #d2d2cb; }
.actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 48px; padding: 12px 18px; background: transparent; border: 1px solid var(--ink); border-radius: 5px; color: var(--ink); text-decoration: none; font-weight: 600; cursor: pointer; transition: transform .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); }
.button:disabled { opacity: .58; cursor: wait; transform: none; }
.button span { transition: transform .18s ease; }
.button:hover span { transform: translateX(3px); }
.button.dark { background: var(--ink); color: #fff; }
.button.yellow { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.button.ghost { background: transparent; }
.button.ghost-light { color: white; border-color: rgba(255,255,255,.55); }

.media-placeholder {
  position: relative;
  min-height: 330px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background:
    linear-gradient(135deg, transparent 49.5%, rgba(23,24,23,.12) 50%, transparent 50.5%),
    linear-gradient(45deg, transparent 49.5%, rgba(23,24,23,.08) 50%, transparent 50.5%),
    #e5e3dc;
  border-radius: var(--radius);
}
.media-placeholder::before { content: ""; position: absolute; inset: 18px; border: 1px solid rgba(23,24,23,.13); border-radius: 7px; }
.media-placeholder::after { content: ""; position: absolute; right: 0; top: 17%; width: 5px; height: 34%; background: var(--yellow); }
.media-placeholder > * { position: relative; z-index: 1; max-width: 82%; }
.media-placeholder span { width: max-content; margin-bottom: auto; padding: 7px 9px; background: rgba(246,245,241,.9); border-radius: 3px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .13em; }
.media-placeholder strong { font-size: 17px; font-weight: 600; line-height: 1.35; }
.media-placeholder small { margin-top: 6px; color: var(--muted); }
.site-photo {
  position: relative;
  min-height: 330px;
  margin: 0;
  overflow: hidden;
  background: #dedcd4;
  border-radius: var(--radius);
}
.site-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(23,24,23,.1);
  border-radius: inherit;
}
.site-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: var(--photo-position, 50% 50%);
  transition: transform .55s cubic-bezier(.2,.7,.2,1);
}
.direction-card:hover .site-photo img,
.event-gallery .site-photo:hover img { transform: scale(1.025); }
.hero-media { min-height: 0; aspect-ratio: 4 / 5; }
.page-media { min-height: 0; aspect-ratio: 4 / 3; }
.wide-media { min-height: 0; aspect-ratio: 16 / 9; }
.gallery-media { min-height: 380px; margin-top: 48px; }
.portrait-media { min-height: 0; aspect-ratio: 4 / 5; }

.facts { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 55px; border-block: 1px solid var(--line); }
.facts div { padding: 24px 26px; border-right: 1px solid var(--line); }
.facts div:last-child { border: 0; }
.facts b { display: block; font-size: 28px; font-weight: 550; }
.facts span { color: var(--muted); font-size: 12px; }

.section { padding: 92px 0; }
.section.compact { padding: 72px 0; }
.section.soft { background: var(--paper-2); }
.section-head { display: grid; grid-template-columns: 1.35fr .65fr; gap: 60px; align-items: end; margin-bottom: 42px; }
.section-head h2, .split-feature h2, .cta h2, .request-grid h2, .certificate-grid h2 { margin: 14px 0 0; font-size: clamp(38px, 5vw, 60px); line-height: 1.05; font-weight: 520; letter-spacing: -.05em; }
.section-head p { margin: 0; color: var(--muted); line-height: 1.7; }

.direction-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.direction-card { display: grid; grid-template-columns: .9fr 1.1fr; min-height: 380px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.55); text-decoration: none; transition: transform .22s ease; }
.direction-card:hover { transform: translateY(-4px); }
.direction-card .media-placeholder, .direction-card .site-photo { min-height: 100%; border-radius: 0; }
.direction-card > div:last-child { padding: 35px; display: flex; flex-direction: column; }
.direction-card span, .program-grid article > span, .price-card > span, .rules-preview span, .rules-document article > span, .trainer-card > div > span, .location-list article > div > span { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .12em; }
.direction-card h3 { margin: auto 0 10px; font-size: 34px; font-weight: 520; letter-spacing: -.04em; }
.direction-card p { color: var(--muted); }
.direction-card b { margin-top: 22px; font-size: 13px; }

.method-layout, .split-feature, .certificate-grid, .request-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.method-list article { display: grid; grid-template-columns: 50px 1fr; gap: 20px; padding: 26px 0; border-top: 1px solid var(--line); }
.method-list article:last-child { border-bottom: 1px solid var(--line); }
.method-list span { font-size: 11px; color: var(--muted); }
.method-list h3 { margin: 0 0 7px; font-size: 23px; font-weight: 550; }
.method-list p { margin: 0; color: var(--muted); }

.selector { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.selector fieldset { min-width: 0; margin: 0; padding: 21px; border: 1px solid var(--line); border-radius: 7px; }
.selector legend { padding: 0 5px; font-size: 12px; color: var(--muted); }
.selector label { display: block; margin-top: 10px; cursor: pointer; }
.selector input { position: absolute; opacity: 0; }
.selector label span { display: block; padding: 10px 11px; background: rgba(255,255,255,.68); border: 1px solid transparent; border-radius: 4px; transition: border-color .18s ease, background .18s ease; }
.selector label:hover span { border-color: rgba(23,24,23,.22); }
.selector input:checked + span { background: var(--yellow); border-color: var(--ink); }
.selector input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 2px; }
.selector select {
  width: 100%;
  min-height: 44px;
  margin-top: 10px;
  padding: 10px 36px 10px 11px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(255,255,255,.72);
  color: var(--ink);
}
.selector > button { grid-column: 1 / -1; justify-self: start; margin-top: 12px; }
.selector-result { display: grid; grid-template-columns: 1fr auto; gap: 50px; align-items: center; margin-top: 32px; padding: 36px; background: var(--yellow); border-radius: 8px; }
.selector-result h3 { margin: 8px 0; font-size: 32px; font-weight: 550; }
.selector-result p { margin: 0; max-width: 700px; }
.selector-result > div:last-child { display: grid; gap: 14px; }
.selector-result > div:last-child > b { font-size: 20px; }
.result-details { margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.result-details li { min-width: 190px; padding: 10px 12px; background: rgba(255,255,255,.46); border: 1px solid rgba(23,24,23,.15); border-radius: 5px; }
.result-details span, .result-details b { display: block; }
.result-details span { font-size: 10px; color: #55564f; text-transform: uppercase; letter-spacing: .1em; }
.result-details b { margin-top: 2px; font-size: 13px; }

.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.price-card { min-height: 300px; padding: 28px; display: flex; flex-direction: column; background: rgba(255,255,255,.6); border: 1px solid var(--line); border-radius: 8px; }
.price-card.featured { border-top: 4px solid var(--yellow); background: #f2eddc; }
.price-card h3 { margin: 32px 0 3px; font-size: 25px; font-weight: 530; }
.price-value { margin: 14px 0; font-size: 34px; font-weight: 550; letter-spacing: -.04em; }
.price-value small { font-size: 12px; font-weight: 550; letter-spacing: 0; color: var(--muted); }
.price-card p { color: var(--muted); }
.price-card a { margin-top: auto; font-size: 13px; text-underline-offset: 4px; }
.center-action { display: flex; justify-content: center; margin-top: 36px; }

.dark-section { background: #20211f; color: #fff; }
.dark-section .section-head p, .dark-section p { color: #bbbdb7; }
.evidence-grid, .event-facts { display: grid; grid-template-columns: repeat(4, 1fr); margin-bottom: 40px; border-block: 1px solid rgba(255,255,255,.2); }
.evidence-grid article, .event-facts article { padding: 30px; border-right: 1px solid rgba(255,255,255,.2); }
.evidence-grid article:last-child, .event-facts article:last-child { border: 0; }
.evidence-grid b, .event-facts b { display: block; font-size: 32px; font-weight: 520; color: var(--yellow); }
.evidence-grid p, .event-facts p { margin-bottom: 0; }
.dark-section .media-placeholder { color: var(--ink); }
.dark-section .site-photo::after { box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }

.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.review-grid article { min-height: 260px; padding: 29px; display: flex; flex-direction: column; background: rgba(255,255,255,.58); border: 1px solid var(--line); border-radius: 8px; }
.review-grid span, .review-grid small { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.review-grid p { margin: 30px 0; font-size: 18px; line-height: 1.6; }
.review-grid small { margin-top: auto; }
.faq { border-top: 1px solid var(--line); }
.faq article { border-bottom: 1px solid var(--line); }
.faq button { width: 100%; padding: 22px 0; display: flex; align-items: center; justify-content: space-between; border: 0; background: transparent; color: inherit; text-align: left; font-size: 18px; cursor: pointer; }
.faq button b { font-size: 24px; font-weight: 300; }
.faq article > div { max-width: 800px; padding: 0 0 22px; color: var(--muted); }
.faq article > div p { margin: 0; }

.cta { padding: 85px 0; position: relative; overflow: hidden; background: #20211f; color: white; }
.cta::after { content: ""; position: absolute; width: 360px; height: 360px; right: -120px; top: -140px; border: 1px solid rgba(254,223,58,.4); border-radius: 50%; }
.cta-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr auto; gap: 60px; align-items: center; }
.cta p { max-width: 680px; color: #bbbdb7; }
.cta-action { min-width: 240px; display: grid; gap: 14px; justify-items: start; }
.cta-action > span { color: #969792; font-size: 12px; }

.program-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.program-grid article { min-height: 310px; padding: 30px; display: flex; flex-direction: column; background: rgba(255,255,255,.55); border: 1px solid var(--line); border-radius: 8px; }
.program-grid article.dark { background: #20211f; color: white; }
.program-grid article.yellow { background: var(--yellow); }
.program-grid h3 { margin: 46px 0 12px; font-size: 28px; font-weight: 530; }
.program-grid p { color: var(--muted); }
.program-grid article.dark p { color: #bbbdb7; }
.program-grid b { margin-top: auto; font-size: 12px; }
.events-grid { grid-template-columns: repeat(4, 1fr); }
.program-grid:not(.events-grid) {
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}
.program-grid:not(.events-grid) article {
  min-height: 0;
  padding: 28px 22px;
  display: grid;
  grid-template-columns: 44px minmax(190px, .65fr) minmax(260px, 1fr) minmax(145px, auto);
  gap: 24px;
  align-items: center;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
}
.program-grid:not(.events-grid) article.dark,
.program-grid:not(.events-grid) article.yellow {
  margin-top: 10px;
  border: 0;
  border-radius: 8px;
}
.program-grid:not(.events-grid) h3,
.program-grid:not(.events-grid) p,
.program-grid:not(.events-grid) b { margin: 0; }
.program-grid:not(.events-grid) h3 { font-size: 25px; }
.program-grid:not(.events-grid) b { text-align: right; }

.event-gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 150px;
  gap: 13px;
  margin-top: 48px;
}
.event-gallery > * { min-height: 0; border-radius: 8px; }
.event-gallery > *:nth-child(1) { grid-column: span 7; grid-row: span 3; }
.event-gallery > *:nth-child(2) { grid-column: span 5; grid-row: span 2; }
.event-gallery > *:nth-child(3) { grid-column: span 5; grid-row: span 2; }
.event-gallery > *:nth-child(4) { grid-column: span 4; grid-row: span 2; }
.event-gallery > *:nth-child(5) { grid-column: span 3; grid-row: span 2; }
.case-list { border-top: 1px solid var(--line); }
.case-list article {
  padding: 24px 18px;
  display: grid;
  grid-template-columns: 52px minmax(220px, .65fr) 1fr;
  gap: 28px;
  align-items: baseline;
  border-bottom: 1px solid var(--line);
}
.case-list span { color: var(--muted); font-size: 11px; }
.case-list h3 { margin: 0; font-size: 24px; font-weight: 540; }
.case-list p { margin: 0; max-width: 660px; color: var(--muted); }
.split-feature > div:not(.media-placeholder):not(.site-photo) > p { color: var(--muted); }
.steps { margin: 34px 0 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { position: relative; padding: 18px 0 18px 50px; border-top: 1px solid var(--line); counter-increment: step; }
.steps li::before { content: "0" counter(step); position: absolute; left: 0; color: var(--muted); font-size: 11px; }
.steps b, .steps span { display: block; }
.steps span { margin-top: 3px; color: var(--muted); }
.clean-list { margin: 30px 0; padding: 0; list-style: none; }
.clean-list li { padding: 13px 0; border-top: 1px solid currentColor; border-color: rgba(128,128,128,.35); }

.tariff-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.tariff { padding: 30px; background: rgba(255,255,255,.58); border: 1px solid var(--line); border-radius: 8px; }
.tariff.featured { background: #f1ecd9; border-top: 4px solid var(--yellow); }
.tariff span { color: var(--muted); font-size: 11px; }
.tariff h3 { margin: 30px 0 8px; font-size: 26px; font-weight: 530; }
.tariff p, .tariff small { color: var(--muted); }
.tariff dl { margin: 28px 0; }
.tariff dl div { padding: 12px 0; display: flex; justify-content: space-between; gap: 15px; border-top: 1px solid var(--line); }
.tariff dt { color: var(--muted); }
.tariff dd { margin: 0; font-weight: 650; }
.mini-price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.mini-price-grid article { padding: 28px; background: rgba(255,255,255,.55); border: 1px solid var(--line); border-radius: 8px; }
.mini-price-grid h3 { margin: 0; font-size: 22px; font-weight: 530; }
.mini-price-grid b { display: block; margin: 28px 0 10px; font-size: 28px; }
.mini-price-grid p { margin-bottom: 0; color: var(--muted); }
.schedule-list { border-top: 1px solid var(--line); }
.schedule-list article { padding: 24px 18px; display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; border-bottom: 1px solid var(--line); transition: background .18s ease; }
.schedule-list article:hover { background: #f0ebdb; }
.schedule-list span, .schedule-list p { color: var(--muted); font-size: 12px; }
.schedule-list h3 { margin: 3px 0; font-size: 25px; font-weight: 530; }
.schedule-list article > div:last-child { min-width: 150px; text-align: right; }
.schedule-list b, .schedule-list strong { display: block; }
.schedule-list strong { font-size: 27px; font-weight: 530; }
.schedule-list a { display: inline-block; margin-top: 7px; font-size: 12px; font-weight: 650; text-underline-offset: 4px; }
.notice { margin-top: 25px; padding: 20px 24px 20px 30px; position: relative; background: #ebe6d7; border-radius: 5px; }
.notice::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 5px; background: var(--yellow); border-radius: 5px 0 0 5px; }
.certificate-grid { align-items: stretch; }
.certificate-preview {
  position: relative;
  display: block;
  align-self: center;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 8px;
  background: #101110;
  color: white;
  text-decoration: none;
  box-shadow: 0 24px 60px rgba(0,0,0,.25);
}
.certificate-preview img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .45s cubic-bezier(.2,.7,.2,1), opacity .25s ease;
}
.certificate-preview span {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 9px 11px;
  background: rgba(16,17,16,.88);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .05em;
  backdrop-filter: blur(8px);
}
.certificate-preview:hover img { transform: scale(1.015); opacity: .92; }
.rules-preview { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line); }
.rules-preview > * { padding: 28px; border-right: 1px solid var(--line); text-decoration: none; }
.rules-preview > *:last-child { border: 0; }
.rules-preview h3 { margin: 34px 0 8px; font-size: 23px; font-weight: 530; }
.rules-preview p { color: var(--muted); }

.event-facts { grid-template-columns: repeat(4, 1fr); color: var(--ink); border-color: var(--line); }
.event-facts article { border-color: var(--line); }
.event-facts b { color: var(--ink); }
.event-facts b::after { content: ""; display: block; width: 25px; height: 3px; margin-top: 10px; background: var(--yellow); }
.event-facts p { color: var(--muted); }
.request-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.request-form label, .booking-sheet label { display: grid; gap: 7px; color: #c2c3bd; font-size: 12px; }
.request-form input, .request-form select, .booking-sheet input, .booking-sheet select, .booking-sheet textarea { width: 100%; padding: 13px; border: 1px solid rgba(255,255,255,.3); border-radius: 4px; background: rgba(255,255,255,.07); color: inherit; }
.request-form select option { color: var(--ink); }
.form-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.request-form .consent-row, .booking-sheet .consent-row { grid-column: 1 / -1; display: flex; align-items: flex-start; gap: 10px; line-height: 1.5; }
.request-form .consent-row input, .booking-sheet .consent-row input { flex: 0 0 auto; width: 18px; height: 18px; margin: 1px 0 0; padding: 0; accent-color: var(--yellow); }
.consent-row a { color: inherit; text-underline-offset: 3px; }
.form-privacy-note { grid-column: 1 / -1; color: #93958f; line-height: 1.5; }
.form-privacy-note a { color: inherit; text-underline-offset: 3px; }
.request-form button { grid-column: 1 / -1; justify-self: start; margin-top: 8px; }
.form-note { grid-column: 1 / -1; color: #93958f; line-height: 1.5; }
.form-result { grid-column: 2; }
.form-result pre, .booking-result pre { padding: 17px; white-space: pre-wrap; background: rgba(255,255,255,.08); border-radius: 5px; font: inherit; font-size: 13px; }

.trainer-list { display: grid; gap: 90px; }
.trainer-card { display: grid; grid-template-columns: .82fr 1.18fr; gap: 75px; align-items: center; }
.trainer-card.reverse { grid-template-columns: 1.18fr .82fr; }
.trainer-card.reverse .media-placeholder, .trainer-card.reverse .site-photo { order: 2; }
.trainer-card h2, .location-list h2 { margin: 12px 0; font-size: clamp(42px, 6vw, 68px); font-weight: 520; letter-spacing: -.05em; }
.trainer-card p { max-width: 650px; color: var(--muted); font-size: 18px; line-height: 1.7; }
.document-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.document-card {
  display: grid;
  grid-template-rows: 220px 1fr;
  overflow: hidden;
  color: var(--ink);
  background: rgba(255,255,255,.68);
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.document-card:hover { transform: translateY(-3px); border-color: rgba(23,24,23,.28); box-shadow: 0 18px 45px rgba(23,24,23,.09); }
.document-card-image { min-width: 0; padding: 14px; display: grid; place-items: center; overflow: hidden; background: #e8e4da; border-bottom: 1px solid var(--line); }
.document-card-image img { width: 100%; height: 100%; display: block; object-fit: contain; transition: transform .35s ease; }
.document-card-image img[src$="award-saveliy-collection.webp"],
.document-lightbox-dialog img[src$="award-saveliy-collection.webp"] { filter: brightness(1.08) contrast(1.03); }
.document-card:hover .document-card-image img { transform: scale(1.018); }
.document-card-copy { padding: 20px; display: flex; flex-direction: column; align-items: flex-start; }
.document-card-copy small { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }
.document-card-copy strong { margin: 10px 0 24px; font-size: 18px; font-weight: 570; line-height: 1.3; }
.document-card-copy > span { margin-top: auto; color: var(--muted); font-size: 11px; }
.document-lightbox { position: fixed; z-index: 120; inset: 0; padding: 26px; display: grid; place-items: center; }
.document-lightbox-backdrop { position: absolute; inset: 0; width: 100%; border: 0; background: rgba(12,13,12,.8); backdrop-filter: blur(6px); cursor: zoom-out; }
.document-lightbox-dialog { position: relative; width: min(980px, 92vw); height: min(88vh, 900px); padding: 54px 24px 20px; display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 14px; background: #181917; border: 1px solid rgba(255,255,255,.17); border-radius: 10px; box-shadow: 0 30px 90px rgba(0,0,0,.45); }
.document-lightbox-dialog img { width: 100%; height: 100%; min-height: 0; display: block; object-fit: contain; }
.document-lightbox-dialog p { margin: 0; color: #d4d5cf; text-align: center; font-size: 13px; }
.document-lightbox-close { position: absolute; right: 13px; top: 9px; width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; background: rgba(255,255,255,.06); color: white; font-size: 25px; line-height: 1; cursor: pointer; }
.document-lightbox-close:hover { background: rgba(255,255,255,.13); }
.team-photo-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 48px;
}
.team-photo-strip .site-photo {
  min-height: 0;
  aspect-ratio: 4 / 5;
  border-radius: 8px;
}
.team-photo-strip .site-photo:nth-child(2) { margin-top: 34px; }
.team-photo-strip .site-photo:nth-child(3) { margin-top: 12px; }
.team-photo-strip .site-photo:nth-child(4) { margin-top: 46px; }

.location-list { display: grid; gap: 18px; }
.location-list article { display: grid; grid-template-columns: 1fr 1fr; min-height: 390px; background: rgba(255,255,255,.55); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.location-list article > div:first-child { padding: 42px; display: flex; flex-direction: column; }
.location-list article .media-placeholder,
.location-list article .site-photo { border-radius: 0; min-height: 100%; }
.location-list article:nth-child(even) .media-placeholder,
.location-list article:nth-child(even) .site-photo { order: -1; }
.location-list article p { max-width: 520px; color: var(--muted); }
.location-list article b { margin-top: auto; font-size: 12px; }
.location-list article.indoor { background: #20211f; color: white; }
.location-list article.indoor p { color: #bbbdb7; }

.rules-nav { position: sticky; top: 98px; z-index: 5; padding: 12px; display: flex; flex-wrap: wrap; gap: 8px; background: rgba(246,245,241,.95); border: 1px solid var(--line); border-radius: 7px; backdrop-filter: blur(12px); }
.rules-nav a { padding: 8px 10px; text-decoration: none; font-size: 12px; }
.rules-document > article { display: grid; grid-template-columns: 70px 1fr; gap: 26px; padding: 38px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 170px; }
.rules-document h2, .legal-page h2 { margin: 0 0 12px; font-size: 30px; font-weight: 530; letter-spacing: -.03em; }
.rules-document p { max-width: 800px; color: var(--muted); }
.legal-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.legal-actions > div:last-child { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.legal-page { max-width: 900px; }
.legal-warning { margin-bottom: 48px; padding: 25px 28px; background: #fff5bf; border-left: 5px solid var(--yellow); }
.legal-warning b { font-size: 18px; }
.legal-warning p { margin-bottom: 0; }
.legal-page > p, .legal-page li { color: var(--muted); line-height: 1.75; }
.legal-page h2 { margin-top: 42px; }
.legal-index { display: grid; grid-template-columns: 1fr 1fr; margin: 25px 0; border-top: 1px solid var(--line); }
.legal-index span { padding: 15px 0; border-bottom: 1px solid var(--line); }

.booking-layer { position: fixed; z-index: 100; inset: 0; }
.booking-backdrop { position: absolute; inset: 0; width: 100%; border: 0; background: rgba(16,17,16,.65); backdrop-filter: blur(4px); cursor: default; }
.booking-sheet { position: absolute; inset: 0 0 0 auto; width: min(570px, 100%); padding: 55px 48px; overflow: auto; background: var(--paper); }
.sheet-close { position: absolute; right: 18px; top: 15px; border: 0; background: transparent; font-size: 34px; font-weight: 300; cursor: pointer; }
.booking-sheet h2 { margin: 16px 0 7px; font-size: 38px; line-height: 1.1; font-weight: 530; letter-spacing: -.04em; }
.booking-sheet > p { color: var(--muted); }
.booking-sheet form { margin-top: 28px; display: grid; gap: 14px; }
.booking-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.booking-sheet label { color: var(--ink); }
.booking-sheet input, .booking-sheet select, .booking-sheet textarea { background: white; border-color: var(--line); }
.booking-result { margin-top: 28px; }
.booking-result pre { background: #ebe9e1; border: 1px solid var(--line); }

.footer { padding: 65px 0 26px; background: #1e1f1d; color: white; }
.footer-main { display: grid; grid-template-columns: 1.5fr .8fr .8fr 1fr; gap: 45px; }
.footer-brand .footer-logo { width: 92px; height: 92px; padding: 7px; background: #fff; border-radius: 16px; object-fit: contain; box-shadow: 0 16px 38px rgba(0,0,0,.22); }
.footer h2 { margin: 17px 0 8px; font-size: 25px; font-weight: 650; letter-spacing: -.025em; }
.footer h3 { margin: 0 0 18px; color: #a5a69f; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; }
.footer p, .footer span { color: #aeb0a9; }
.footer-main > div:not(:first-child) { display: flex; flex-direction: column; gap: 9px; }
.footer a { width: max-content; max-width: 100%; color: white; text-decoration: none; }
.footer a:hover { color: var(--yellow); }
.footer-phone { font-size: 18px; }
.social-bar { margin-top: 45px; padding: 25px 0; display: flex; justify-content: space-between; gap: 35px; border-block: 1px solid rgba(255,255,255,.15); }
.social-bar b, .social-bar span { display: block; }
.social-bar span { margin-top: 3px; font-size: 12px; }
.social-bar nav { display: flex; gap: 8px; flex-wrap: wrap; }
.social-bar nav a { padding: 9px 11px; border: 1px solid rgba(255,255,255,.25); border-radius: 4px; font-size: 12px; }
.social-bar nav a[aria-disabled="true"] { color: #8a8c85; border-color: rgba(255,255,255,.12); cursor: not-allowed; }
.social-disclaimer { padding-top: 14px; color: #8f918b; font-size: 10px; line-height: 1.5; }
.copyright { padding-top: 22px; color: #777973; font-size: 11px; }

.statistics-notice { position: fixed; z-index: 120; right: 22px; bottom: 22px; width: min(470px, calc(100% - 44px)); padding: 18px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 20px 55px rgba(0,0,0,.18); }
.statistics-notice[hidden] { display: none; }
.statistics-notice p { margin: 0; color: #4f504c; font-size: 12px; line-height: 1.55; }
.statistics-notice a { text-underline-offset: 3px; }
.statistics-notice .button { min-height: 40px; padding: 10px 16px; white-space: nowrap; }
.not-found-page { min-height: 62vh; display: grid; align-items: center; }
.not-found-copy { max-width: 900px; }

.reveal-ready {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .58s ease var(--reveal-delay, 0ms), transform .58s cubic-bezier(.2,.7,.2,1) var(--reveal-delay, 0ms);
}
.reveal-ready.is-visible { opacity: 1; transform: none; }

@media (max-width: 1050px) {
  .desktop-nav { display: none; }
  .nav-action { margin-left: auto; }
  .menu-toggle { display: block; margin-left: 0; }
  .events-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 850px) {
  .wrap { width: min(var(--max), calc(100% - 32px)); }
  .hero-grid, .page-hero-grid, .method-layout, .split-feature, .certificate-grid, .request-grid, .trainer-card, .trainer-card.reverse, .legal-actions { grid-template-columns: 1fr; gap: 38px; }
  .trainer-card.reverse .media-placeholder, .trainer-card.reverse .site-photo { order: 0; }
  .hero { padding-top: 48px; }
  .hero-media, .page-media { min-height: 0; }
  .section { padding: 72px 0; }
  .section-head { grid-template-columns: 1fr; gap: 18px; }
  .facts, .selector { grid-template-columns: 1fr 1fr; }
  .direction-card { grid-template-columns: 1fr; }
  .direction-card .media-placeholder, .direction-card .site-photo { min-height: 280px; }
  .direction-card h3 { margin-top: 35px; }
  .team-photo-strip { gap: 9px; }
  .price-grid, .tariff-grid, .program-grid, .document-grid, .review-grid { grid-template-columns: 1fr 1fr; }
  .price-grid > :last-child:nth-child(odd),
  .tariff-grid > :last-child:nth-child(odd),
  .document-grid > :last-child:nth-child(odd),
  .review-grid > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .program-grid:not(.events-grid) { grid-template-columns: 1fr; }
  .program-grid:not(.events-grid) article {
    grid-template-columns: 38px 1fr;
    gap: 8px 18px;
  }
  .program-grid:not(.events-grid) article > span { grid-row: 1 / 4; }
  .program-grid:not(.events-grid) article > :not(span) { grid-column: 2; }
  .program-grid:not(.events-grid) b { margin-top: 8px; text-align: left; }
  .evidence-grid, .event-facts { grid-template-columns: 1fr 1fr; }
  .evidence-grid article:nth-child(2), .event-facts article:nth-child(2) { border-right: 0; }
  .location-list article { grid-template-columns: 1fr; }
  .location-list article .media-placeholder,
  .location-list article .site-photo { min-height: 0; aspect-ratio: 16 / 10; order: -1; }
  .event-gallery { grid-auto-rows: 125px; }
  .form-result { grid-column: auto; }
  .footer-main { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-main > div:last-child { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .site-header { padding: 7px 0; }
  .nav-shell { min-height: 59px; padding: 0 9px; gap: 10px; }
  .brand { width: 39px; min-width: 39px; height: 39px; }
  .brand-logo-mark { width: 39px; height: 39px; }
  .brand-wordmark { display: none; }
  .nav-action { margin-left: auto; padding: 9px 11px; }
  .nav-action-full { display: none; }
  .nav-action-short { display: inline; }
  .menu-toggle { margin-left: 0; }
  .mobile-nav { inset: 73px 16px auto; max-height: calc(100vh - 90px); overflow: auto; }
  .hero { padding: 42px 0 56px; }
  .page-hero { padding: 48px 0 50px; }
  .hero h1 { font-size: clamp(40px, 13vw, 48px); overflow-wrap: break-word; hyphens: auto; }
  .page-hero h1 { font-size: clamp(37px, 12vw, 46px); overflow-wrap: break-word; hyphens: auto; }
  .hero-media, .page-media, .wide-media, .portrait-media { min-height: 0; }
  .section { padding: 60px 0; }
  .section.compact { padding: 58px 0; }
  .facts, .direction-grid, .price-grid, .tariff-grid, .program-grid, .events-grid, .document-grid, .review-grid, .selector, .mini-price-grid, .footer-main, .legal-index { grid-template-columns: 1fr; }
  .price-grid > :last-child:nth-child(odd),
  .tariff-grid > :last-child:nth-child(odd),
  .document-grid > :last-child:nth-child(odd),
  .review-grid > :last-child:nth-child(odd) { grid-column: auto; }
  .facts div { border-right: 0; border-bottom: 1px solid var(--line); }
  .facts div:last-child { border-bottom: 0; }
  .selector-result { grid-template-columns: 1fr; gap: 24px; }
  .evidence-grid, .event-facts { grid-template-columns: 1fr; }
  .evidence-grid article, .event-facts article { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.2); }
  .event-facts article { border-color: var(--line); }
  .cta-grid { grid-template-columns: 1fr; gap: 30px; }
  .cta-action { min-width: 0; }
  .request-form { grid-template-columns: 1fr; }
  .request-form button { grid-column: auto; }
  .form-note { grid-column: auto; }
  .form-result { grid-column: auto; }
  .schedule-list article { grid-template-columns: 1fr; gap: 10px; }
  .schedule-list article > div:last-child { text-align: left; }
  .rules-preview { grid-template-columns: 1fr; }
  .rules-preview > * { border-right: 0; border-bottom: 1px solid var(--line); }
  .rules-document > article { grid-template-columns: 42px 1fr; gap: 12px; }
  .rules-nav { overflow-x: auto; flex-wrap: nowrap; }
  .rules-nav a { white-space: nowrap; }
  .legal-actions > div:last-child { justify-content: flex-start; }
  .booking-sheet { padding: 50px 21px; }
  .document-lightbox { padding: 10px; }
  .document-lightbox-dialog { width: 96vw; height: 90vh; padding: 50px 10px 14px; }
  .booking-form-grid { grid-template-columns: 1fr; }
  .trainer-list { gap: 48px; }
  .trainer-card p { font-size: 16px; }
  .event-gallery { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .event-gallery > *,
  .event-gallery > *:nth-child(n) { grid-column: auto; grid-row: auto; min-height: 250px; }
  .team-photo-strip { grid-template-columns: 1fr; }
  .team-photo-strip .site-photo,
  .team-photo-strip .site-photo:nth-child(n) { margin-top: 0; aspect-ratio: 4 / 3; }
  .case-list article { grid-template-columns: 36px 1fr; gap: 8px 14px; }
  .case-list article span { grid-row: 1 / 3; }
  .case-list article h3, .case-list article p { grid-column: 2; }
  .footer-main > div:last-child { grid-column: auto; }
  .social-bar { display: block; }
  .social-bar nav { margin-top: 20px; }
  .statistics-notice { right: 16px; bottom: 16px; width: calc(100% - 32px); grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .reveal-ready { opacity: 1; transform: none; }
}
