:root {
  --ink: #f7f7f4;
  --ink-2: #d9dde2;
  --muted: rgba(247, 247, 244, 0.8);
  --paper: #0d0f13;
  --surface: rgba(31, 35, 40, 0.88);
  --surface-2: rgba(255, 255, 255, 0.07);
  --dark: #0d0f13;
  --dark-2: #1f2328;
  --red: #e32234;
  --red-dark: #a91622;
  --orange: #ff7b29;
  --gold: #d7a12b;
  --blue: #1f55b6;
  --line: rgba(255, 255, 255, 0.14);
  --line-light: rgba(255, 255, 255, 0.18);
  --shadow: 0 18px 54px rgba(0, 0, 0, 0.34);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

[id] {
  scroll-margin-top: 104px;
}

body {
  margin: 0;
  font-family:
    Inter, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(rgba(13, 15, 19, 0.88), rgba(13, 15, 19, 0.92)),
    url("./assets/real/training-hall.webp") center/cover;
  transform: translateZ(0);
}

body.modal-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

img[data-lightbox-image] {
  cursor: zoom-in;
}

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
}

.page-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
}

.site-header {
  position: fixed;
  top: 14px;
  left: 50%;
  z-index: 30;
  width: min(calc(100% - 28px), 1240px);
  height: 68px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  background: rgba(31, 35, 40, 0.9);
  color: #fff;
  box-shadow: 0 14px 44px rgba(5, 7, 10, 0.28);
  backdrop-filter: blur(18px);
  transition:
    background 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.site-header.scrolled {
  background: rgba(31, 35, 40, 0.94);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.24);
}

.brand {
  order: 2;
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.brand span {
  min-width: 0;
}

.brand-logo {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #fff;
  object-fit: cover;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.86);
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.1;
}

.brand strong {
  font-size: 15px;
  white-space: normal;
}

.brand small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  white-space: nowrap;
}

.site-header.scrolled .brand small {
  color: rgba(255, 255, 255, 0.64);
}

.main-nav {
  order: 1;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 6px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.site-header.scrolled .main-nav {
  background: rgba(255, 255, 255, 0.08);
}

.main-nav a {
  padding: 11px 13px;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  transition:
    background 180ms ease,
    color 180ms ease;
}

.main-nav a:hover {
  background: rgba(255, 123, 41, 0.18);
  color: #fff;
}

.site-header.scrolled .main-nav a {
  color: rgba(255, 255, 255, 0.78);
}

.header-phone {
  order: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  white-space: nowrap;
}

.header-phone svg,
.button svg,
.icon-button svg,
.hall-list svg {
  width: 19px;
  height: 19px;
  stroke-width: 2.4;
}

.button,
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  border: 0;
  border-radius: var(--radius);
  font-weight: 850;
  line-height: 1.1;
  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.button:hover,
.icon-button:hover {
  transform: translateY(-1px);
}

.button-small {
  min-height: 44px;
  padding: 0 14px;
  font-size: 14px;
}

.button-large {
  min-height: 56px;
  padding: 0 22px;
  font-size: 16px;
}

.button-red {
  color: #fff;
  background: var(--red);
  box-shadow: 0 14px 34px rgba(217, 34, 49, 0.25);
}

.button-red:hover {
  background: var(--red-dark);
}

.button-accent {
  color: #fff;
  background: var(--orange);
  border: 1px solid var(--orange);
}

.button-dark {
  color: #fff;
  background: #111318;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.button-vk {
  order: 4;
  color: #fff;
  background: var(--blue);
}

.button-outline {
  color: #fff;
  border: 1px solid var(--orange);
  background: rgba(17, 19, 24, 0.38);
}

.button-outline:hover {
  background: rgba(255, 255, 255, 0.16);
}

.icon-button {
  width: 46px;
  min-height: 46px;
  padding: 0;
  color: inherit;
  background: rgba(255, 255, 255, 0.1);
}

.site-header > .button-accent {
  order: 5;
}

.mobile-menu {
  display: none;
}

.mobile-panel {
  position: fixed;
  top: 88px;
  left: 14px;
  right: 14px;
  z-index: 29;
  display: none;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(17, 19, 24, 0.96);
  color: #fff;
  box-shadow: var(--shadow);
}

.mobile-panel.open {
  display: flex;
}

.mobile-panel a {
  padding: 13px 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
}

.hero {
  position: relative;
  min-height: 100vh;
  isolation: isolate;
  overflow: hidden;
  background: #080a0d;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.12);
}

.hero-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 8, 11, 0.92) 0%, rgba(7, 8, 11, 0.78) 42%, rgba(7, 8, 11, 0.34) 74%, rgba(7, 8, 11, 0.44) 100%),
    linear-gradient(0deg, rgba(7, 8, 11, 0.88) 0%, rgba(7, 8, 11, 0.05) 48%);
}

.hero-content {
  width: min(calc(100% - 56px), var(--max));
  min-height: calc(100vh - 74px);
  margin: 0 auto;
  padding: 148px 0 96px;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, 0.52fr);
  align-items: center;
  gap: 54px;
  color: #fff;
}

.hero-copy {
  max-width: 780px;
  min-width: 0;
}

.eyebrow {
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  min-height: 32px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 123, 41, 0.16);
  color: #ffd2b5;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow.dark {
  background: rgba(255, 123, 41, 0.13);
  color: #ffb37a;
}

.eyebrow.light {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  margin-top: 22px;
  font-size: 72px;
  line-height: 0.95;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

h1 span {
  display: block;
  color: var(--orange);
}

.mobile-title-break {
  display: none;
}

.hero-copy p {
  max-width: 680px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 20px;
  line-height: 1.55;
}

.hero-locations {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  max-width: 860px;
  margin-bottom: 30px;
}

.hero-locations span {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 56px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.hero-locations svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  color: var(--orange);
}

.hero-actions,
.final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 8px;
  max-width: 760px;
  margin-top: 34px;
}

.hero-proof span {
  min-height: 72px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
}

.hero-proof strong {
  display: block;
  margin-bottom: 4px;
  color: #fff;
  font-size: 25px;
}

.lead-card {
  padding: 24px;
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(245, 245, 245, 0.92);
  color: #17181b;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

.spots {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  color: var(--red-dark);
  font-size: 13px;
  font-weight: 850;
}

.pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 0 rgba(217, 34, 49, 0.55);
  animation: pulse 1.6s infinite;
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 12px rgba(217, 34, 49, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(217, 34, 49, 0);
  }
}

.lead-card h2 {
  margin-bottom: 18px;
  font-size: 28px;
  line-height: 1.05;
}

.mini-form,
.lead-form {
  display: grid;
  gap: 12px;
}

.mini-form label,
.lead-form label {
  display: grid;
  gap: 7px;
  color: #262930;
  font-size: 13px;
  font-weight: 800;
}

.mini-form input,
.mini-form select,
.lead-form input,
.lead-form select {
  width: 100%;
  height: 50px;
  border: 1px solid rgba(17, 19, 24, 0.13);
  border-radius: var(--radius);
  background: #fff;
  color: #17181b;
  padding: 0 12px;
  outline: none;
}

.mini-form input:focus,
.mini-form select:focus,
.lead-form input:focus,
.lead-form select:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 123, 41, 0.15);
}

.mini-form .consent-field,
.lead-form .consent-field {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 2px;
  color: #4f5661;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
}

.mini-form .consent-field input,
.lead-form .consent-field input {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin: 0;
  border-radius: 4px;
  accent-color: var(--red);
}

.consent-field a,
.legal-document a,
.cookie-banner a {
  color: var(--orange);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-note {
  margin: 14px 0 0;
  color: #717782;
  font-size: 13px;
  line-height: 1.45;
}

.hero-strip {
  display: flex;
  gap: 12px;
  width: min(calc(100% - 56px), var(--max));
  margin: -58px auto 0;
  padding-bottom: 24px;
  color: rgba(255, 255, 255, 0.82);
  overflow-x: auto;
}

.hero-strip span {
  flex: 0 0 auto;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.section,
.result-section,
.hall-section,
.first-section,
.schedule-section,
.faq-section {
  width: min(calc(100% - 56px), var(--max));
  margin: 0 auto;
  padding: 74px 0;
}

.ages-section,
.programs-section,
.coach-section,
.pricing-section,
.reviews-section {
  position: relative;
}

.programs-section {
  padding-top: 42px;
  padding-bottom: 34px;
}

.coach-section {
  padding-top: 58px;
}

.ages-section::before,
.programs-section::before,
.coach-section::before,
.pricing-section::before,
.reviews-section::before {
  content: "";
  position: absolute;
  inset: 22px -28px;
  z-index: -1;
  border-radius: var(--radius);
  background: rgba(13, 15, 19, 0.58);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 26px;
}

.section-heading h2,
.result-copy h2,
.hall-copy h2,
.first-copy h2,
.quiz-intro h2,
.schedule-copy h2,
.reviews-head h2,
.faq-copy h2,
.final-inner h2 {
  margin: 10px 0 10px;
  font-size: 46px;
  line-height: 1.02;
  letter-spacing: 0;
}

.section-heading p,
.result-copy p,
.hall-copy p,
.first-copy p,
.quiz-intro p,
.schedule-copy p,
.reviews-head p,
.final-inner p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
}

.age-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.age-card,
.program-card,
.price-card,
.review-card,
.rating-box {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(31, 35, 40, 0.9), rgba(17, 19, 24, 0.92));
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(10px);
}

.age-card {
  min-height: 320px;
  padding: 24px;
}

.age-card span,
.program-card span,
.price-card span,
.direction-card span,
.coach-card span {
  display: block;
  margin-bottom: 10px;
  color: var(--red);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.age-card h3,
.program-card h3,
.direction-card h3,
.coach-card h3 {
  margin-bottom: 10px;
  font-size: 26px;
  line-height: 1.05;
}

.age-card p,
.program-card p,
.direction-card p,
.coach-card p {
  color: var(--muted);
  line-height: 1.55;
}

.age-card ul {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.age-card li {
  position: relative;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.age-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
}

.swipe-note {
  display: none;
}

.direction-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  grid-auto-rows: 300px;
  gap: 14px;
}

.direction-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--dark);
  color: #fff;
  isolation: isolate;
}

.direction-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
}

.direction-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(0deg, rgba(7, 8, 11, 0.86), rgba(7, 8, 11, 0.12)),
    linear-gradient(90deg, rgba(7, 8, 11, 0.52), rgba(7, 8, 11, 0));
}

.direction-card:hover img {
  transform: scale(1.045);
}

.direction-card div {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
}

.direction-card h3 {
  font-size: 30px;
}

.direction-card p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.88);
}

.direction-card .button {
  margin-top: 18px;
}

.direction-large {
  grid-column: span 2;
  grid-row: span 2;
}

.direction-large h3 {
  font-size: 42px;
}

.direction-large p {
  max-width: 500px;
  margin-bottom: 18px;
}

.result-section,
.hall-section,
.first-section,
.schedule-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 34px;
}

.result-media,
.first-media {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--dark);
  box-shadow: var(--shadow);
}

.result-media img,
.first-media img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.result-badge {
  position: absolute;
  left: 22px;
  bottom: 22px;
  width: min(260px, calc(100% - 44px));
  padding: 18px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.result-badge strong {
  display: block;
  color: var(--red);
  font-size: 28px;
  line-height: 1;
  text-transform: lowercase;
}

.result-badge span {
  display: block;
  margin-top: 6px;
  color: #737a84;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 24px 0;
}

.metric-grid div {
  min-height: 112px;
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(31, 35, 40, 0.82);
  color: #fff;
}

.metric-grid strong {
  display: block;
  margin-bottom: 6px;
  color: var(--orange);
  font-size: 38px;
  line-height: 1;
}

.metric-grid span {
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  line-height: 1.35;
}

.program-tabs,
.day-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.tab,
.day-tab {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(31, 35, 40, 0.78);
  color: rgba(255, 255, 255, 0.78);
  font-weight: 850;
}

.tab.active,
.day-tab.active {
  color: #fff;
  border-color: var(--orange);
  background: var(--orange);
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.program-card {
  display: flex;
  flex-direction: column;
  min-height: 276px;
  padding: 22px;
}

.program-card.is-hidden {
  display: none;
}

.program-card button,
.day-panel button {
  min-height: 42px;
  margin-top: auto;
  border: 0;
  border-radius: var(--radius);
  background: var(--orange);
  color: #fff;
  font-weight: 850;
}

.hall-section {
  align-items: stretch;
}

.hall-copy {
  align-self: center;
  min-width: 0;
}

.hall-list {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.hall-addresses {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: visible;
}

.hall-addresses::-webkit-scrollbar {
  display: none;
}

.hall-address-card {
  box-sizing: border-box;
  flex: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-width: 0;
  min-height: 236px;
  padding: 14px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(31, 35, 40, 0.82);
  font-weight: 800;
  color: rgba(255, 255, 255, 0.94);
  scroll-snap-align: start;
  overflow: hidden;
}

.hall-address-card[role="button"] {
  cursor: pointer;
}

.hall-address-card[role="button"]:focus-visible {
  outline: 3px solid rgba(255, 119, 36, 0.78);
  outline-offset: 4px;
}

.hall-address-card:first-child {
  grid-column: 1 / -1;
}

.hall-address-card-photo {
  min-height: 236px;
}

.hall-address-card img {
  width: calc(100% + 28px);
  height: 172px;
  margin: -14px -14px 14px;
  object-fit: cover;
  object-position: center;
}

.hall-address-line {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: flex-start;
  gap: 10px;
}

.hall-address-line svg {
  color: var(--red);
  flex: 0 0 auto;
  margin-top: 2px;
}

.hall-address-text {
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.35;
}

.hall-list span {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 14px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(31, 35, 40, 0.82);
  font-weight: 800;
  color: rgba(255, 255, 255, 0.94);
}

.hall-list svg {
  color: var(--red);
}

.hall-gallery {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  min-height: 560px;
  min-width: 0;
}

.hall-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.26);
}

.hall-gallery .photo-main {
  grid-row: span 2;
}

.first-section {
  align-items: stretch;
}

.first-copy {
  align-self: center;
}

.step-list {
  display: grid;
  gap: 10px;
  margin: 22px 0;
}

.step-list article {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 14px;
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(31, 35, 40, 0.84);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.2);
}

.step-list article > span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 123, 41, 0.14);
  color: var(--red);
  font-weight: 950;
}

.step-list h3 {
  margin-bottom: 4px;
  font-size: 20px;
}

.step-list p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.45;
}

.quiz-section {
  width: 100%;
  max-width: none;
  padding: 86px 0;
  background:
    linear-gradient(rgba(17, 19, 24, 0.88), rgba(17, 19, 24, 0.88)),
    url("./assets/real/hero-training.webp") center/cover;
  color: #fff;
}

.quiz-intro,
.quiz {
  width: min(calc(100% - 56px), var(--max));
  margin: 0 auto;
}

.quiz-intro {
  margin-bottom: 28px;
}

.quiz-intro p {
  color: rgba(255, 255, 255, 0.84);
}

.quiz {
  position: relative;
  min-height: 320px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
}

.quiz-progress {
  height: 6px;
  margin-bottom: 26px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.quiz-progress span {
  display: block;
  width: 33%;
  height: 100%;
  border-radius: inherit;
  background: var(--orange);
  transition: width 240ms ease;
}

.quiz-step,
.quiz-result {
  display: none;
}

.quiz-step.active,
.quiz-result.active {
  display: grid;
  gap: 12px;
}

.quiz-step h3,
.quiz-result h3 {
  margin-bottom: 8px;
  font-size: 28px;
}

.quiz-step button {
  min-height: 56px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-weight: 850;
  text-align: left;
  padding: 0 18px;
}

.quiz-step button:hover {
  background: var(--orange);
}

.coach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.coach-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(31, 35, 40, 0.96), rgba(17, 19, 24, 0.98));
  color: #fff;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.coach-card img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.coach-card div {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
}

.coach-card h3 {
  margin-bottom: 0;
  color: #fff;
}

.coach-card p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.9);
}

.coach-achievements {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.coach-achievements li {
  position: relative;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.55;
}

.coach-achievements li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 5px rgba(255, 123, 41, 0.1);
}

.coach-card .button {
  width: 100%;
  margin-top: auto;
}

.schedule-section {
  align-items: start;
}

.schedule-board {
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(17, 19, 24, 0.88);
  box-shadow: var(--shadow);
}

.schedule-points {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.schedule-points span {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.88);
}

.schedule-points svg {
  color: var(--orange);
}

.schedule-meta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  padding: 2px 2px 12px;
}

.schedule-meta strong {
  font-size: 22px;
}

.schedule-meta span {
  max-width: 360px;
  color: rgba(255, 255, 255, 0.74);
  text-align: right;
}

.day-panel {
  display: none;
  gap: 10px;
}

.day-panel.active {
  display: grid;
}

.schedule-slot {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) minmax(130px, 160px) auto;
  align-items: center;
  gap: 14px;
  min-height: 82px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  text-align: left;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.schedule-slot:hover {
  border-color: rgba(255, 123, 41, 0.48);
  background: rgba(255, 123, 41, 0.1);
  transform: translateY(-1px);
}

.schedule-slot.active {
  border-color: rgba(255, 123, 41, 0.7);
  background: linear-gradient(180deg, rgba(255, 123, 41, 0.16), rgba(255, 123, 41, 0.08));
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.18);
}

.schedule-slot strong {
  font-size: 30px;
  line-height: 1;
}

.schedule-slot span {
  font-size: 20px;
  font-weight: 850;
  color: rgba(255, 255, 255, 0.96);
}

.schedule-slot small {
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
}

.schedule-slot b {
  justify-self: end;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font-size: 15px;
  line-height: 1;
}

.schedule-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 16px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.78);
}

.schedule-note svg {
  margin-top: 2px;
  color: var(--orange);
}

.schedule-selection {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  margin-top: 14px;
  padding: 16px;
  border: 1px solid rgba(255, 123, 41, 0.24);
  border-radius: calc(var(--radius) + 2px);
  background: linear-gradient(180deg, rgba(255, 123, 41, 0.12), rgba(17, 19, 24, 0.72));
}

.schedule-selection-label {
  display: block;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.schedule-selection strong {
  display: block;
  font-size: 24px;
}

.schedule-selection small {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.82);
}

.selected-slot-box {
  margin: 14px 0 18px;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: rgba(227, 34, 52, 0.08);
  border: 1px solid rgba(227, 34, 52, 0.16);
}

.selected-slot-box strong,
.selected-slot-box span {
  display: block;
}

.selected-slot-box strong {
  margin-bottom: 6px;
  color: #17181b;
  font-size: 14px;
}

.selected-slot-box span {
  color: #4d545f;
  font-weight: 800;
}

.pricing-section {
  padding-top: 18px;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.price-card {
  display: flex;
  flex-direction: column;
  min-height: 310px;
  padding: 24px;
}

.price-card strong {
  display: block;
  margin-bottom: 16px;
  font-size: 42px;
  line-height: 1;
}

.price-card p {
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.55;
}

.price-card .button {
  margin-top: auto;
}

.reviews-section {
  padding-top: 34px;
}

.reviews-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 20px;
}

.reviews-head > div {
  max-width: 780px;
}

.reviews-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 14px;
}

.rating-box {
  display: grid;
  align-content: center;
  min-height: 260px;
  padding: 22px;
  border-color: var(--orange);
  background: linear-gradient(180deg, rgba(31, 35, 40, 0.96), rgba(17, 19, 24, 0.96));
  color: #fff;
}

.rating-box span {
  color: rgba(255, 255, 255, 0.84);
  font-weight: 800;
}

.rating-box strong {
  margin: 8px 0;
  font-size: 68px;
  line-height: 1;
}

.stars {
  color: var(--gold);
  letter-spacing: 2px;
}

.rating-box p {
  color: rgba(255, 255, 255, 0.86);
}

.review-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.review-card {
  min-height: 260px;
  padding: 22px;
}

.review-card p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  line-height: 1.55;
}

.review-card strong {
  display: block;
  margin-top: 16px;
}

.faq-section {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  align-items: start;
  gap: 36px;
  padding-top: 44px;
}

.faq-list {
  display: grid;
  gap: 8px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(31, 35, 40, 0.88);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.2);
}

.faq-list summary {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  font-weight: 900;
  cursor: pointer;
}

.faq-list summary::after {
  content: "+";
  color: var(--red);
  font-size: 22px;
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list p {
  margin: 0;
  padding: 0 18px 16px;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.55;
}

.final-cta {
  width: 100%;
  max-width: none;
  padding: 72px 0;
  background: var(--dark);
  color: #fff;
}

.final-inner {
  width: min(calc(100% - 56px), var(--max));
  margin: 0 auto;
}

.final-inner h2 {
  max-width: 820px;
}

.final-inner p {
  color: rgba(255, 255, 255, 0.86);
}

.locations-section {
  padding-top: 58px;
}

.locations-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 28px;
  align-items: stretch;
}

.locations-map {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(17, 19, 24, 0.92);
  box-shadow: var(--shadow);
}

.locations-map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.locations-map::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 13, 18, 0.02), rgba(11, 13, 18, 0.28));
}

.locations-map-badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(11, 13, 18, 0.84);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
}

.locations-list {
  display: grid;
  gap: 16px;
}

.location-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(17, 19, 24, 0.92);
  box-shadow: var(--shadow);
}

.location-marker {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 13px;
  color: #fff;
}

.marker-red {
  background: linear-gradient(135deg, #ef233c, #b20819);
}

.marker-blue {
  background: linear-gradient(135deg, #3f8cff, #1558d6);
}

.marker-green {
  background: linear-gradient(135deg, #19b16f, #0a7f4c);
}

.location-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 20px;
}

.location-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
}

.location-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(239, 35, 60, 0.38);
  background: rgba(239, 35, 60, 0.1);
  color: #fff;
  font-weight: 800;
  text-align: center;
}

.site-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  width: min(calc(100% - 56px), var(--max));
  margin: 0 auto;
  padding: 36px 0 42px;
}

.site-footer strong,
.site-footer span {
  display: block;
}

.footer-brand {
  max-width: 560px;
}

.site-footer span {
  margin-top: 5px;
  color: var(--muted);
}

.footer-addresses {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.footer-addresses span {
  margin-top: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.footer-links a,
.footer-links button {
  padding: 10px 12px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(31, 35, 40, 0.8);
  color: inherit;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.cookie-banner {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  width: min(calc(100% - 40px), 560px);
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  background: #17191e;
  color: #fff;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner p {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  line-height: 1.5;
}

.cookie-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.legal-body {
  background: #17191e;
  color: #fff;
}

.legal-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 12px max(24px, calc((100% - var(--max)) / 2));
  background: #17191e;
  color: #fff;
}

.legal-header strong {
  max-width: 680px;
  font-size: 14px;
}

.legal-header a {
  color: #fff;
  font-weight: 800;
}

.legal-document {
  width: min(calc(100% - 40px), 900px);
  margin: 0 auto;
  padding: 56px 0 80px;
}

.legal-document h1 {
  max-width: 820px;
  margin: 0 0 16px;
  color: #fff;
  font-size: 44px;
  line-height: 1.04;
}

.legal-document h2 {
  margin: 36px 0 12px;
  color: #fff;
  font-size: 23px;
  line-height: 1.2;
}

.legal-document p,
.legal-document li {
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  line-height: 1.65;
}

.legal-document ul,
.legal-document ol {
  padding-left: 24px;
}

.legal-meta,
.legal-contact {
  padding: 18px 20px;
  border-left: 4px solid var(--red);
  background: rgba(255, 255, 255, 0.08);
}

.legal-footer {
  padding: 28px 20px;
  background: #17191e;
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
}

.sticky-cta {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 28;
  width: min(calc(100% - 28px), 760px);
  transform: translate(-50%, 130%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px 14px 20px;
  border-radius: var(--radius);
  background: rgba(17, 19, 24, 0.94);
  color: #fff;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
  transition: transform 220ms ease;
}

.sticky-cta.visible {
  transform: translate(-50%, 0);
}

.sticky-cta span {
  font-weight: 900;
}

.messenger-widget {
  position: fixed;
  right: 18px;
  bottom: 22px;
  z-index: 31;
  display: grid;
  justify-items: end;
  gap: 10px;
}

.messenger-list {
  display: grid;
  gap: 10px;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.messenger-widget.open .messenger-list {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.messenger-link,
.messenger-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 62px;
  height: 54px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: #fff;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(14px);
}

.messenger-link {
  font-weight: 900;
  letter-spacing: 0.02em;
}

.messenger-toggle {
  width: 58px;
  min-width: 58px;
  padding: 0;
  background: rgba(17, 19, 24, 0.94);
}

.messenger-toggle svg {
  width: 22px;
  height: 22px;
}

.messenger-max {
  background: linear-gradient(135deg, #6d3ef6, #4b22cb);
}

.messenger-tg {
  background: linear-gradient(135deg, #2aabee, #1d7fd8);
}

.messenger-wa {
  background: linear-gradient(135deg, #25d366, #128c4a);
}

.lead-modal {
  width: min(520px, calc(100% - 28px));
  border: 0;
  border-radius: var(--radius);
  padding: 0;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
}

.lead-modal::backdrop {
  background: rgba(5, 7, 10, 0.66);
  backdrop-filter: blur(5px);
}

.photo-lightbox {
  width: min(1100px, calc(100% - 28px));
  max-height: calc(100vh - 28px);
  border: 0;
  padding: 0;
  background: transparent;
  color: #fff;
}

.photo-lightbox::backdrop {
  background: rgba(5, 7, 10, 0.86);
  backdrop-filter: blur(6px);
}

.lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  transform: translateY(-50%);
  background: rgba(14, 16, 20, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
}

.lightbox-prev {
  left: 14px;
}

.lightbox-next {
  right: 14px;
}

.lightbox-nav[hidden] {
  display: none;
}

.lightbox-figure {
  margin: 0;
  display: grid;
  gap: 12px;
  justify-items: center;
}

.lightbox-figure img {
  width: auto;
  max-width: 100%;
  max-height: calc(100vh - 120px);
  border-radius: calc(var(--radius) + 2px);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
}

.lightbox-figure figcaption {
  max-width: min(780px, calc(100vw - 56px));
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.45;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  background: rgba(17, 19, 24, 0.07);
}

.modal-content {
  padding: 34px;
  color: #17181b;
}

.modal-content h2 {
  margin: 14px 0 10px;
  font-size: 34px;
  line-height: 1.05;
}

.modal-content p {
  color: #717782;
  line-height: 1.5;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 45;
  transform: translateY(130%);
  max-width: 360px;
  padding: 14px 18px;
  border-radius: var(--radius);
  background: var(--dark);
  color: #fff;
  box-shadow: var(--shadow);
  transition: transform 220ms ease;
}

.toast.visible {
  transform: translateY(0);
}

.reveal {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 520ms ease,
    transform 520ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero .reveal {
  opacity: 1;
  transform: none;
}

.delay-1 {
  transition-delay: 80ms;
}

.delay-2 {
  transition-delay: 150ms;
}

.delay-3 {
  transition-delay: 220ms;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

@media (min-width: 1121px) {
  .site-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 420px) auto auto auto;
    align-items: center;
    justify-content: initial;
    gap: 12px;
    height: auto;
    min-height: 76px;
  }

  .main-nav,
  .brand,
  .header-phone,
  .header-vk,
  .site-header > .button-accent {
    order: 0;
  }

  .main-nav {
    min-width: 0;
  }

  .main-nav a {
    padding: 10px 11px;
    font-size: 13px;
  }

  .brand {
    gap: 10px;
    max-width: 420px;
  }

  .brand-logo {
    width: 42px;
    height: 42px;
  }

  .brand strong {
    font-size: 13px;
    line-height: 1.08;
  }

  .brand small {
    margin-top: 3px;
    font-size: 11px;
  }

  .header-phone {
    margin-left: 0;
    font-size: 14px;
  }

  .header-phone svg {
    width: 17px;
    height: 17px;
  }

  .header-vk {
    min-width: 114px;
  }

  .site-header > .button-accent {
    white-space: nowrap;
  }
}

@media (max-width: 1120px) {
  .main-nav,
  .header-phone,
  .header-vk {
    display: none;
  }

  .mobile-menu {
    display: inline-flex;
  }

  .hero-content {
    grid-template-columns: 1fr;
    padding-top: 128px;
  }

  .lead-card {
    max-width: 520px;
  }

  .age-grid,
  .program-grid,
  .coach-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .direction-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .direction-large {
    grid-column: span 2;
  }

  .result-section,
  .hall-section,
  .first-section,
  .schedule-section,
  .faq-section {
    grid-template-columns: 1fr;
  }

  .reviews-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    top: 8px;
    width: calc(100% - 16px);
    height: 62px;
    justify-content: flex-start;
  }

  .brand-logo {
    width: 42px;
    height: 42px;
  }

  .brand strong {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .brand {
    flex: 1 1 auto;
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .site-header > .button-small {
    display: none;
  }

  .swipe-note {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px;
    color: rgba(255, 255, 255, 0.64);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  .swipe-note svg {
    width: 15px;
    height: 15px;
    color: var(--orange);
  }

  .mobile-panel {
    top: 76px;
    left: 8px;
    right: 8px;
  }

  .hero {
    min-height: auto;
  }

  .hero-shade {
    background:
      linear-gradient(0deg, rgba(7, 8, 11, 0.9), rgba(7, 8, 11, 0.52)),
      linear-gradient(90deg, rgba(7, 8, 11, 0.84), rgba(7, 8, 11, 0.42));
  }

  .hero-content {
    width: min(calc(100% - 28px), var(--max));
    min-height: auto;
    padding: 104px 0 86px;
    gap: 30px;
  }

  h1 {
    font-size: 43px;
    line-height: 1;
  }

  .mobile-title-break {
    display: block;
  }

  .hero-copy p {
    font-size: 17px;
  }

  .hero-locations {
    grid-template-columns: 1fr;
    max-width: 520px;
  }

  .hero-actions .button,
  .button-large {
    width: 100%;
  }

  .hero-proof {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-strip {
    width: min(calc(100% - 28px), var(--max));
    margin-top: -42px;
  }

  .section,
  .result-section,
  .hall-section,
  .first-section,
  .schedule-section,
  .faq-section {
    width: min(calc(100% - 28px), var(--max));
    padding: 56px 0;
  }

  .quiz-section,
  .final-cta {
    padding: 56px 0;
  }

  .quiz-intro,
  .quiz,
  .final-inner {
    width: min(calc(100% - 28px), var(--max));
  }

  .section-heading h2,
  .result-copy h2,
  .hall-copy h2,
  .first-copy h2,
  .quiz-intro h2,
  .schedule-copy h2,
  .reviews-head h2,
  .faq-copy h2,
  .final-inner h2 {
    font-size: 34px;
  }

  .section-heading p,
  .result-copy p,
  .hall-copy p,
  .first-copy p,
  .quiz-intro p,
  .schedule-copy p,
  .reviews-head p,
  .final-inner p {
    font-size: 16px;
  }

  .age-grid,
  .program-grid,
  .coach-grid,
  .price-grid,
  .review-row,
  .metric-grid {
    grid-template-columns: 1fr;
  }

  .mobile-carousel {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 2px 6px 8px;
    margin: 0 -6px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .mobile-carousel::-webkit-scrollbar {
    display: none;
  }

  .mobile-carousel > * {
    flex: 0 0 calc(100vw - 40px);
    max-width: 360px;
    scroll-snap-align: start;
  }

  .age-grid,
  .coach-grid {
    grid-template-columns: none;
  }

  .program-grid {
    grid-template-columns: none;
  }

  .program-grid.mobile-carousel {
    align-items: stretch;
  }

  .program-grid.mobile-carousel .program-card {
    flex-basis: calc(100vw - 40px);
    width: calc(100vw - 40px);
    max-width: 360px;
    min-height: 300px;
  }

  .direction-grid {
    grid-template-columns: none;
    grid-auto-rows: unset;
  }

  .direction-large {
    grid-column: span 1;
    grid-row: span 1;
  }

  .direction-grid.mobile-carousel {
    align-items: stretch;
  }

  .direction-grid.mobile-carousel .direction-card {
    flex-basis: calc(100vw - 40px);
    width: calc(100vw - 40px);
    max-width: 360px;
    min-height: 420px;
  }

  .direction-grid.mobile-carousel .direction-card div {
    left: 18px;
    right: 18px;
    bottom: 18px;
  }

  .price-grid.mobile-carousel {
    grid-template-columns: none;
    align-items: stretch;
  }

  .price-grid.mobile-carousel .price-card {
    box-sizing: border-box;
    flex: 0 0 calc(100vw - 40px);
    width: calc(100vw - 40px);
    max-width: 360px;
    min-height: 340px;
    scroll-snap-align: start;
  }

  .direction-large h3,
  .direction-card h3 {
    font-size: 30px;
  }

  .result-media,
  .first-media,
  .hall-gallery {
    min-height: 420px;
  }

  .first-section,
  .first-copy,
  .step-list {
    min-width: 0;
    max-width: 100%;
  }

  .first-copy {
    overflow-x: hidden;
  }

  .first-media {
    min-height: 0;
    height: clamp(360px, 72vh, 560px);
    aspect-ratio: auto;
    background: rgba(12, 14, 18, 0.96);
  }

  .first-media img {
    display: block;
    height: 100%;
    min-height: 0;
    object-fit: contain;
    object-position: center top;
    background: rgba(12, 14, 18, 0.96);
  }

  .hall-section,
  .hall-copy,
  .hall-addresses {
    min-width: 0;
  }

  .hall-copy {
    overflow-x: clip;
  }

  .hall-addresses {
    display: flex;
    gap: 12px;
    margin-top: 0;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 2px 8px 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
  }

  .hall-addresses .hall-address-card {
    flex: 0 0 min(320px, calc(100vw - 40px));
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 12px;
    width: min(320px, calc(100vw - 40px));
    max-width: min(320px, calc(100vw - 40px));
    min-height: 0;
    aspect-ratio: 1 / 1;
    padding: 14px;
    overflow: hidden;
    isolation: isolate;
    contain: layout paint;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
  }

  .hall-address-card:first-child {
    grid-column: auto;
  }

  .hall-address-card-photo {
    min-height: 0;
  }

  .hall-address-card img {
    display: block;
    grid-row: 1;
    width: 100%;
    height: 100%;
    max-width: 100%;
    min-height: 0;
    margin: 0;
    object-fit: cover;
    object-position: center;
    border-radius: calc(var(--radius) - 2px);
    overflow: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    backface-visibility: hidden;
  }

  .hall-list .hall-address-summary {
    display: none;
  }

  .hall-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: 260px 220px 220px;
    gap: 18px;
    padding: 4px 0;
    overflow: hidden;
    isolation: isolate;
  }

  .hall-gallery .photo-main {
    grid-row: span 1;
  }

  .hall-gallery img {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.3);
    background: rgba(12, 14, 18, 0.96);
    overflow: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    backface-visibility: hidden;
  }

  .step-list.mobile-carousel {
    display: flex;
    gap: 12px;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 2px 0 8px;
    margin: 22px 0 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
  }

  .step-list.mobile-carousel::-webkit-scrollbar {
    display: none;
  }

  .step-list.mobile-carousel article {
    box-sizing: border-box;
    flex: 0 0 calc(100% - 34px);
    width: calc(100% - 34px);
    max-width: calc(100% - 34px);
    min-height: 240px;
    grid-template-columns: 1fr;
    scroll-snap-align: start;
  }

  .day-panel div {
    grid-template-columns: 1fr;
  }

  .day-panel button {
    width: 100%;
  }

  .schedule-meta,
  .schedule-selection {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .schedule-meta span {
    max-width: none;
    text-align: left;
  }

  .schedule-slot {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .schedule-slot b {
    justify-self: start;
  }

  .reviews-head {
    align-items: stretch;
    flex-direction: column;
  }

  .reviews-head .button {
    width: 100%;
  }

  .site-footer {
    width: min(calc(100% - 28px), var(--max));
    flex-direction: column;
    align-items: stretch;
    padding-bottom: 140px;
  }

  .locations-layout {
    grid-template-columns: 1fr;
  }

  .locations-map {
    min-height: 300px;
  }

  .location-card {
    grid-template-columns: auto 1fr;
  }

  .location-card a {
    grid-column: 1 / -1;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .sticky-cta {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
    padding: 12px;
    transform: translateY(130%);
  }

  .sticky-cta.visible {
    transform: translateY(0);
  }

  .messenger-widget {
    right: 12px;
    bottom: 88px;
  }

  .sticky-cta span {
    font-size: 13px;
    line-height: 1.2;
  }

  .sticky-cta .button {
    min-height: 44px;
    padding: 0 13px;
    white-space: nowrap;
  }

  .photo-lightbox {
    width: calc(100% - 16px);
    max-height: calc(100vh - 16px);
  }

  .lightbox-close {
    top: 10px;
    right: 10px;
  }

  .lightbox-nav {
    top: auto;
    bottom: 14px;
    transform: none;
  }

  .lightbox-prev {
    left: 14px;
  }

  .lightbox-next {
    right: 14px;
  }

  .lightbox-figure img {
    max-height: calc(100vh - 112px);
  }

  .modal-content {
    padding: 28px 20px 22px;
  }
}

@media (max-width: 560px) {
  .hero-copy,
  .hero-proof,
  .lead-card {
    max-width: 380px;
  }

  .hero-locations {
    max-width: 380px;
  }

  .hero-copy p {
    max-width: 360px;
  }

  .lead-card h2 {
    max-width: 340px;
    font-size: 26px;
  }
}

@media (max-width: 440px) {
  h1 {
    font-size: 38px;
  }

  .hero-proof {
    grid-template-columns: 1fr;
  }

  .lead-card {
    padding: 18px;
  }

  .lead-card h2 {
    font-size: 24px;
  }

  .locations-map-badge {
    left: 14px;
    right: 14px;
    bottom: 14px;
    justify-content: center;
  }

  .section-heading h2,
  .result-copy h2,
  .hall-copy h2,
  .first-copy h2,
  .quiz-intro h2,
  .schedule-copy h2,
  .reviews-head h2,
  .faq-copy h2,
  .final-inner h2 {
    font-size: 31px;
  }

  .step-list article {
    grid-template-columns: 1fr;
  }

  .sticky-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .sticky-cta .button {
    width: 100%;
  }

  .cookie-banner {
    right: 12px;
    bottom: 12px;
    width: calc(100% - 24px);
  }

  .cookie-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .legal-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .legal-document h1 {
    font-size: 34px;
  }
}
