:root {
  --purple: #3e1b82;
  --purple-2: #29105c;
  --purple-3: #6a38bf;
  --yellow: #f5ce06;
  --yellow-soft: #fff2a8;
  --cream: #fffaf0;
  --paper: #fffdf8;
  --ink: #1d1430;
  --muted: #776b86;
  --line: rgba(62, 27, 130, .14);
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(41, 16, 92, .16);
  --soft-shadow: 0 14px 36px rgba(41, 16, 92, .10);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --header-height: 82px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }

.site-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 10% 8%, rgba(245, 206, 6, .34), transparent 28%),
    radial-gradient(circle at 88% 10%, rgba(62, 27, 130, .22), transparent 26%),
    radial-gradient(circle at 52% 92%, rgba(245, 206, 6, .16), transparent 30%),
    linear-gradient(180deg, #fff9db 0%, #fffdf8 38%, #f7f0ff 100%);
}
.site-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(62, 27, 130, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(62, 27, 130, .045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 74%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 clamp(16px, 4vw, 58px);
  border-bottom: 1px solid rgba(62, 27, 130, .12);
  background: rgba(255, 253, 248, .84);
  backdrop-filter: blur(18px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 250px;
}
.brand-logo {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgba(62, 27, 130, .18);
  box-shadow: var(--soft-shadow);
}
.brand strong {
  display: block;
  color: var(--purple-2);
  font-size: 15px;
  letter-spacing: .01em;
}
.brand small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.7vw, 22px);
  font-size: 14px;
  font-weight: 800;
}
.main-nav a {
  color: rgba(29, 20, 48, .78);
  transition: color .2s ease, background .2s ease, transform .2s ease;
}
.main-nav a:hover { color: var(--purple); transform: translateY(-1px); }
.main-nav .nav-highlight {
  color: var(--purple-2);
  background: linear-gradient(135deg, var(--yellow), #ffe66a);
  padding: 11px 16px;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(245, 206, 6, .22);
}
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: var(--white);
  border-radius: 14px;
  box-shadow: var(--soft-shadow);
  padding: 12px;
}
.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--purple-2);
  border-radius: 10px;
}

.section-pad { padding: clamp(72px, 10vw, 126px) clamp(18px, 5vw, 72px); }
.hero {
  min-height: calc(100vh - var(--header-height));
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(320px, .95fr);
  align-items: center;
  gap: clamp(36px, 6vw, 88px);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 16px;
  color: var(--purple);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--yellow);
  border-radius: 999px;
}
.eyebrow.compact { margin-bottom: 12px; }
h1, h2, h3 { margin: 0; line-height: 1.02; }
h1, h2 { font-family: "Playfair Display", Georgia, serif; letter-spacing: -.035em; }
h1 {
  max-width: 780px;
  color: var(--purple-2);
  font-size: clamp(46px, 8vw, 98px);
}
h2 {
  color: var(--purple-2);
  font-size: clamp(36px, 5vw, 68px);
}
h3 { color: var(--purple-2); font-size: 24px; }
.hero-text {
  max-width: 650px;
  margin: 25px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.7;
}
.hero-actions, .cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-weight: 900;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn.primary {
  color: var(--purple-2);
  border: 0;
  background: linear-gradient(135deg, var(--yellow), #ffe77a);
  box-shadow: 0 18px 36px rgba(245, 206, 6, .25);
}
.btn.ghost {
  color: var(--purple-2);
  background: rgba(255, 255, 255, .68);
  box-shadow: 0 10px 24px rgba(41, 16, 92, .08);
}
.quick-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 630px;
  margin-top: 40px;
}
.quick-facts article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, .66);
  box-shadow: var(--soft-shadow);
}
.quick-facts strong {
  display: block;
  color: var(--purple);
  font-size: 24px;
  line-height: 1;
}
.quick-facts span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.hero-media {
  position: relative;
  min-height: 610px;
}
.logo-orbit {
  position: absolute;
  top: 8px;
  right: 0;
  width: min(42vw, 318px);
  aspect-ratio: 1;
  border-radius: 50%;
  padding: 8px;
  background: rgba(255, 255, 255, .82);
  box-shadow: var(--shadow);
  transform: rotate(4deg);
}
.logo-orbit img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.hero-photo {
  position: absolute;
  overflow: hidden;
  border: 1px solid rgba(62, 27, 130, .14);
  background: rgba(255, 255, 255, .72);
  box-shadow: var(--shadow);
}
.main-photo {
  left: 0;
  bottom: 36px;
  width: min(76%, 470px);
  border-radius: 42px;
}
.small-photo {
  width: 180px;
  border-radius: 30px;
}
.small-photo.one { right: 18px; top: 320px; transform: rotate(7deg); }
.small-photo.two { left: 58px; top: 66px; transform: rotate(-8deg); }
.floating-card {
  position: absolute;
  right: 18px;
  bottom: 30px;
  width: 238px;
  padding: 18px;
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(135deg, var(--purple-2), var(--purple));
  box-shadow: var(--shadow);
}
.floating-card span {
  display: block;
  color: rgba(255,255,255,.72);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.floating-card strong {
  display: block;
  margin-top: 8px;
  font-size: 20px;
  line-height: 1.08;
}

.intro-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 0 clamp(18px, 5vw, 72px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--line);
  box-shadow: var(--soft-shadow);
}
.intro-strip div {
  display: flex;
  gap: 12px;
  align-items: center;
  min-height: 92px;
  padding: 22px;
  background: rgba(255,255,255,.72);
}
.intro-strip span { color: var(--yellow); font-size: 24px; text-shadow: 0 1px 0 var(--purple); }
.intro-strip p { margin: 0; color: var(--muted); font-weight: 700; line-height: 1.45; }

.section-heading { max-width: 820px; }
.section-heading.center {
  margin: 0 auto 48px;
  text-align: center;
}
.section-heading.center .eyebrow { justify-content: center; }
.section-heading.center p:not(.eyebrow) {
  max-width: 720px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.school-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(320px, .7fr);
  gap: 28px;
  margin-top: 38px;
  align-items: stretch;
}
.glass-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,.74);
  box-shadow: var(--soft-shadow);
}
.school-copy { padding: clamp(26px, 4vw, 44px); }
.school-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}
.school-copy p + p { margin-top: 18px; }
.mini-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.mini-tags span {
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--purple-2);
  background: rgba(245, 206, 6, .14);
  font-weight: 800;
  font-size: 13px;
}
.location-card {
  position: relative;
  display: grid;
  min-height: 380px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(62, 27, 130, .22);
  background: linear-gradient(145deg, var(--purple-2), var(--purple));
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}
.location-card:hover { transform: translateY(-4px); box-shadow: 0 30px 85px rgba(41,16,92,.24); }
.map-art {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 22%, rgba(245,206,6,.4), transparent 17%),
    linear-gradient(135deg, rgba(255,255,255,.08), transparent);
}
.route {
  position: absolute;
  height: 2px;
  background: rgba(255,255,255,.22);
  transform-origin: left center;
}
.route-a { width: 108%; top: 34%; left: -4%; transform: rotate(-16deg); }
.route-b { width: 92%; top: 62%; left: 6%; transform: rotate(14deg); }
.route-c { width: 82%; top: 50%; left: 14%; transform: rotate(76deg); }
.pin {
  position: absolute;
  left: 52%;
  top: 38%;
  width: 54px;
  height: 54px;
  border-radius: 50% 50% 50% 0;
  background: var(--yellow);
  transform: rotate(-45deg);
  box-shadow: 0 18px 35px rgba(0,0,0,.24);
}
.pin::after {
  content: "";
  position: absolute;
  inset: 15px;
  border-radius: 50%;
  background: var(--purple-2);
}
.location-content {
  position: relative;
  align-self: end;
  padding: 32px;
  color: #fff;
}
.location-content .eyebrow { color: var(--yellow); }
.location-content h3 { color: #fff; font-size: clamp(28px, 3vw, 42px); }
.location-content p { margin: 10px 0 18px; color: rgba(255,255,255,.78); font-size: 18px; }
.location-content strong { color: var(--yellow); font-size: 15px; }

.disciplines-section { padding-top: 50px; }
.discipline-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.discipline-card {
  min-height: 310px;
  display: flex;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.76);
  box-shadow: var(--soft-shadow);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.discipline-card:hover {
  transform: translateY(-6px);
  border-color: rgba(245, 206, 6, .75);
  box-shadow: var(--shadow);
}
.card-number {
  display: inline-flex;
  width: max-content;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--purple-2);
  background: linear-gradient(135deg, var(--yellow), var(--yellow-soft));
  font-size: 12px;
  font-weight: 900;
}
.discipline-card h3 { margin-top: 26px; }
.discipline-card p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.65;
}
.discipline-card a {
  margin-top: auto;
  color: var(--purple);
  font-weight: 900;
}

.detail-section { padding-top: 0; }
.discipline-detail {
  display: grid;
  grid-template-columns: minmax(280px, .82fr) minmax(0, 1fr);
  gap: clamp(26px, 5vw, 64px);
  align-items: center;
  padding: clamp(22px, 4vw, 42px);
  margin-bottom: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,.72);
  box-shadow: var(--soft-shadow);
  scroll-margin-top: calc(var(--header-height) + 22px);
}
.discipline-detail.reverse { grid-template-columns: minmax(0, 1fr) minmax(280px, .82fr); }
.discipline-detail.reverse .detail-image { order: 2; }
.detail-image {
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: #fff;
}
.detail-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}
.check-list {
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}
.check-list li {
  position: relative;
  padding-left: 28px;
  margin: 10px 0;
  color: var(--muted);
  line-height: 1.55;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .3em;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: inset 0 0 0 5px rgba(255,255,255,.62);
}
.text-link {
  display: inline-flex;
  margin-top: 24px;
  color: var(--purple);
  font-weight: 900;
}

.schedule-section {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(480px, 1.12fr);
  gap: clamp(30px, 5vw, 64px);
  align-items: center;
}
.schedule-copy p:not(.eyebrow) {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}
.schedule-preview {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,.78);
  box-shadow: var(--shadow);
  overflow-x: auto;
}
.schedule-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}
.schedule-topbar button {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  color: var(--purple-2);
  background: var(--yellow);
  font-size: 26px;
  font-weight: 900;
}
.schedule-topbar strong { color: var(--purple-2); }
.calendar-grid {
  display: grid;
  grid-template-columns: 70px repeat(5, minmax(92px, 1fr));
  gap: 8px;
  min-width: 650px;
}
.calendar-grid > div,
.calendar-grid > button {
  min-height: 58px;
  border-radius: 15px;
  border: 1px solid rgba(62, 27, 130, .10);
  background: rgba(62,27,130,.035);
}
.calendar-grid > div:not(.time-label) {
  display: grid;
  place-items: center;
  color: var(--purple-2);
  font-weight: 900;
  background: rgba(245,206,6,.22);
}
.time-label {
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}
.class-pill {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 4px;
  padding: 10px;
  text-align: left;
  font-size: 12px;
  font-weight: 900;
  border: 0 !important;
  color: #fff;
  transition: transform .2s ease, filter .2s ease;
}
.class-pill:hover { transform: translateY(-2px); filter: brightness(1.04); }
.class-pill span {
  color: rgba(255,255,255,.75);
  font-size: 11px;
  font-weight: 800;
}
.class-pill.pole { background: linear-gradient(135deg, var(--purple), #7b49d7); }
.class-pill.hoop { background: linear-gradient(135deg, #8c4de0, #5025a0); }
.class-pill.silks { background: linear-gradient(135deg, #2f176b, #5e2fb1); }
.class-pill.flex { color: var(--purple-2); background: linear-gradient(135deg, var(--yellow), #ffe56b); }
.class-pill.flex span { color: rgba(41,16,92,.65); }
.class-pill.open { color: var(--purple-2); background: rgba(245,206,6,.35); border: 1px dashed rgba(62,27,130,.18) !important; }
.class-pill.open span { color: rgba(41,16,92,.6); }

.bonus-section { padding-top: 0; }
.bonus-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.bonus-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.78);
  box-shadow: var(--soft-shadow);
}
.bonus-card.featured {
  color: #fff;
  background: linear-gradient(145deg, var(--purple-2), var(--purple));
  transform: translateY(-10px);
}
.bonus-card.featured h3 { color: #fff; }
.bonus-card.featured p,
.bonus-card.featured li { color: rgba(255,255,255,.75); }
.bonus-tag {
  display: inline-flex;
  margin-bottom: 22px;
  padding: 9px 12px;
  border-radius: 999px;
  color: var(--purple-2);
  background: var(--yellow);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.bonus-card p { color: var(--muted); line-height: 1.65; }
.bonus-card ul { padding-left: 18px; color: var(--muted); line-height: 1.7; }

.enrol-section { padding-top: 52px; }
.enrol-layout {
  display: grid;
  grid-template-columns: minmax(320px, .82fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.enrol-panel,
.enrol-form {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,.78);
  box-shadow: var(--soft-shadow);
}
.enrol-panel { padding: 28px; }
.enrol-panel > label,
.enrol-form label {
  display: grid;
  gap: 8px;
  color: var(--purple-2);
  font-weight: 900;
}
select, input, textarea {
  width: 100%;
  border: 1px solid rgba(62,27,130,.18);
  border-radius: 16px;
  color: var(--ink);
  background: rgba(255,255,255,.86);
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
select, input { min-height: 50px; padding: 0 14px; }
textarea { padding: 14px; resize: vertical; }
select:focus, input:focus, textarea:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 4px rgba(245,206,6,.2);
}
.modality-summary {
  margin-top: 24px;
  padding: 22px;
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(245,206,6,.28), rgba(255,255,255,.78));
  border: 1px solid rgba(245,206,6,.4);
}
.modality-summary h3 { margin-bottom: 8px; }
.modality-summary p { color: var(--muted); line-height: 1.6; margin: 0; }
.schedule-list { display: grid; gap: 10px; margin-top: 18px; }
.schedule-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 15px;
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(62,27,130,.08);
  color: var(--muted);
  font-size: 14px;
}
.schedule-row strong { color: var(--purple-2); }
.price-box {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.price-item {
  padding: 16px;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(145deg, var(--purple-2), var(--purple));
}
.price-item span { display: block; color: rgba(255,255,255,.72); font-size: 12px; font-weight: 800; }
.price-item strong { display: block; margin-top: 6px; font-size: 18px; }
.enrol-form { padding: 28px; }
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}
.enrol-form .btn { margin-top: 20px; }
.form-note { margin: 14px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }

.first-class-section { padding-top: 0; }
.first-class-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 28px;
  align-items: center;
  padding: clamp(28px, 5vw, 56px);
  border-radius: var(--radius-xl);
  color: #fff;
  background:
    radial-gradient(circle at 80% 18%, rgba(245,206,6,.34), transparent 22%),
    linear-gradient(145deg, var(--purple-2), var(--purple));
  box-shadow: var(--shadow);
}
.first-class-card h2 { color: #fff; }
.first-class-card .eyebrow { color: var(--yellow); }
.first-class-card p { color: rgba(255,255,255,.76); font-size: 18px; line-height: 1.75; }
.first-class-card .btn.ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.22); }
.contact-card {
  padding: 24px;
  border-radius: 26px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
}
.contact-card span {
  color: var(--yellow);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.contact-card strong {
  display: block;
  margin-top: 10px;
  font-size: 28px;
  line-height: 1.1;
}
.contact-card p { font-size: 14px; line-height: 1.55; }

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 34px clamp(18px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: rgba(255,255,255,.42);
}
.site-footer strong { color: var(--purple-2); }
.site-footer p { margin: 6px 0 0; }
.site-footer a { color: var(--purple); font-weight: 900; }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }
.delay-3 { transition-delay: .24s; }

@media (max-width: 1120px) {
  .main-nav { gap: 12px; font-size: 13px; }
  .hero { grid-template-columns: 1fr; }
  .hero-media { min-height: 520px; max-width: 720px; width: 100%; margin: 0 auto; }
  .discipline-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .schedule-section,
  .school-grid,
  .enrol-layout { grid-template-columns: 1fr; }
  .bonus-grid { grid-template-columns: 1fr; }
  .bonus-card.featured { transform: none; }
}

@media (max-width: 860px) {
  :root { --header-height: 76px; }
  .site-header { padding: 0 16px; }
  .brand { min-width: auto; }
  .brand small { display: none; }
  .menu-toggle { display: block; }
  .main-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% + 10px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(255,253,248,.96);
    box-shadow: var(--shadow);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 13px 14px; border-radius: 14px; }
  .main-nav a:hover { background: rgba(245,206,6,.16); transform: none; }
  .main-nav .nav-highlight { text-align: center; }
  .quick-facts { grid-template-columns: 1fr; }
  .intro-strip { grid-template-columns: 1fr; }
  .discipline-detail,
  .discipline-detail.reverse { grid-template-columns: 1fr; }
  .discipline-detail.reverse .detail-image { order: 0; }
  .first-class-card { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .section-pad { padding-left: 16px; padding-right: 16px; }
  h1 { font-size: clamp(42px, 13vw, 62px); }
  .hero-media { min-height: auto; display: grid; gap: 14px; }
  .logo-orbit,
  .hero-photo,
  .floating-card {
    position: static;
    width: 100%;
    transform: none !important;
  }
  .logo-orbit { width: 190px; margin: 0 auto; }
  .small-photo { display: none; }
  .floating-card { width: 100%; }
  .discipline-grid { grid-template-columns: 1fr; }
  .discipline-card { min-height: auto; }
  .form-grid { grid-template-columns: 1fr; }
  .price-box { grid-template-columns: 1fr; }
  .site-footer { flex-direction: column; align-items: flex-start; }
}

/* ==============================
   V7 · Vista real de inscripción
   ============================== */
#inscripcion {
  display: none;
  scroll-margin-top: calc(var(--header-height) + 10px);
}

.inscription-mode main > section:not(#inscripcion) {
  display: none !important;
}
.inscription-mode .site-footer {
  display: none !important;
}
.inscription-mode #inscripcion {
  display: block;
  min-height: calc(100vh - var(--header-height));
  padding-top: clamp(42px, 6vw, 76px);
}
.inscription-mode #inscripcion .reveal {
  opacity: 1;
  transform: none;
}
.back-to-site {
  margin-top: 22px;
  border: 1px solid rgba(62, 27, 130, .16);
  border-radius: 999px;
  min-height: 44px;
  padding: 0 18px;
  color: var(--purple-2);
  background: rgba(255, 255, 255, .72);
  font-weight: 900;
  box-shadow: var(--soft-shadow);
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease;
}
.back-to-site:hover {
  transform: translateY(-2px);
  border-color: rgba(245, 206, 6, .8);
}
.inscription-board {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid rgba(62, 27, 130, .13);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 92% 6%, rgba(245, 206, 6, .28), transparent 18%),
    rgba(255, 255, 255, .78);
  box-shadow: var(--shadow);
}
.inscription-toolbar,
.calendar-heading,
.form-section-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 22px;
}
.inscription-toolbar h3,
.calendar-heading h3,
.form-section-title h3 {
  margin: 4px 0 0;
  font-size: clamp(24px, 3vw, 34px);
}
.inscription-toolbar p,
.calendar-heading p,
.form-section-title p {
  max-width: 760px;
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.65;
}
.toolbar-kicker {
  color: var(--purple);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.level-legend {
  display: grid;
  gap: 8px;
  min-width: 205px;
  padding: 14px;
  border: 1px solid rgba(62, 27, 130, .1);
  border-radius: 20px;
  background: rgba(255,255,255,.66);
}
.level-legend span {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}
.level-dot {
  display: inline-flex;
  flex: 0 0 auto;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 2px solid rgba(62, 27, 130, .28);
  box-shadow: 0 1px 0 rgba(255,255,255,.45), 0 0 0 2px rgba(255,255,255,.45);
}
.level-dot.beginner { background: #fff; }
.level-dot.intermediate { background: var(--yellow); }
.level-dot.tech { background: #141019; border-color: rgba(20,16,25,.72); }

.age-selector-card {
  margin: 22px 0 18px;
  padding: clamp(16px, 2.4vw, 24px);
  border: 1px solid rgba(62, 27, 130, .11);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.82), rgba(245,206,6,.10)),
    rgba(255,255,255,.72);
  box-shadow: var(--soft-shadow);
}
.selector-title-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}
.selector-title-line strong {
  color: var(--purple-2);
  font-size: 18px;
}
.modality-title-line {
  margin: 22px 0 0;
  padding: 0 4px;
}
.age-filter-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.age-choice-btn {
  min-height: 112px;
  display: grid;
  justify-items: start;
  gap: 7px;
  padding: 18px;
  border: 1px solid rgba(62, 27, 130, .13);
  border-radius: 24px;
  color: var(--purple-2);
  background: rgba(255,255,255,.72);
  box-shadow: var(--soft-shadow);
  text-align: left;
  cursor: pointer;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease;
}
.age-choice-btn:hover {
  transform: translateY(-3px);
  border-color: rgba(245,206,6,.75);
  box-shadow: var(--shadow);
}
.age-choice-btn.selected {
  border-color: rgba(245,206,6,.95);
  background:
    radial-gradient(circle at 90% 12%, rgba(245,206,6,.48), transparent 32%),
    linear-gradient(145deg, rgba(255,255,255,.94), rgba(245,206,6,.20));
  box-shadow: 0 0 0 3px rgba(245,206,6,.17), var(--soft-shadow);
}
.age-tag {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--purple-2);
  background: rgba(245,206,6,.44);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.age-choice-btn strong {
  font-size: 21px;
  line-height: 1;
}
.age-choice-btn small {
  color: var(--muted);
  font-weight: 800;
  line-height: 1.35;
}
.selection-details {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}
.selection-detail-card {
  min-height: 106px;
  display: grid;
  gap: 5px;
  padding: 15px;
  border: 1px solid rgba(62,27,130,.11);
  border-radius: 20px;
  background: rgba(255,255,255,.72);
  box-shadow: 0 10px 22px rgba(41,16,92,.07);
}
.selection-detail-card span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.selection-detail-card strong {
  color: var(--purple-2);
  font-size: 17px;
  line-height: 1.05;
}
.selection-detail-card em {
  color: var(--muted);
  font-style: normal;
  font-weight: 850;
}
.selection-detail-card small {
  width: fit-content;
  padding: 5px 8px;
  border-radius: 999px;
  color: var(--purple-2);
  background: rgba(245,206,6,.30);
  font-weight: 950;
}
.selection-detail-card.pole { border-left: 5px solid #4b238f; }
.selection-detail-card.aro { border-left: 5px solid #2f77d0; }
.selection-detail-card.telas { border-left: 5px solid #c83349; }
.selection-detail-card.flex { border-left: 5px solid #2fa866; }
.selection-detail-card.muted-card {
  grid-column: 1 / -1;
  min-height: auto;
  border-left: 5px solid rgba(62,27,130,.22);
}
.modality-filter-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
  margin-top: 22px;
}
.modality-filter-card {
  position: relative;
  z-index: 1;
}
.modality-filter-card.menu-open { z-index: 20; }
.modality-filter-btn {
  width: 100%;
  min-height: 112px;
  display: grid;
  justify-items: start;
  gap: 7px;
  padding: 18px;
  border: 1px solid rgba(62, 27, 130, .13);
  border-radius: 24px;
  background: rgba(255,255,255,.78);
  color: var(--purple-2);
  box-shadow: var(--soft-shadow);
  cursor: pointer;
  text-align: left;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease;
}
.modality-filter-btn:hover {
  transform: translateY(-3px);
  border-color: rgba(245,206,6,.7);
  box-shadow: var(--shadow);
}
.modality-filter-card.selected .modality-filter-btn {
  border-color: rgba(245,206,6,.95);
  background: linear-gradient(145deg, rgba(255,255,255,.92), rgba(245,206,6,.18));
}
.modality-filter-card.missing-level .modality-filter-btn {
  box-shadow: 0 0 0 3px rgba(245,206,6,.18), var(--soft-shadow);
}
.modality-filter-btn strong {
  font-size: 18px;
  line-height: 1.1;
}
.modality-filter-btn small {
  color: var(--muted);
  font-weight: 800;
}
.modality-mark {
  width: 32px;
  height: 8px;
  border-radius: 999px;
}
.modality-mark.pole { background: #4b238f; }
.modality-mark.aro { background: #2f77d0; }
.modality-mark.telas { background: #c83349; }
.modality-mark.flex { background: #2fa866; }
.level-menu {
  position: absolute;
  left: 10px;
  right: 10px;
  top: calc(100% + 8px);
  display: none;
  gap: 7px;
  padding: 10px;
  border: 1px solid rgba(62, 27, 130, .12);
  border-radius: 20px;
  background: rgba(255,253,248,.98);
  box-shadow: var(--shadow);
}
.modality-filter-card.menu-open .level-menu { display: grid; }
.level-menu button {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 14px;
  color: var(--purple-2);
  background: rgba(62,27,130,.045);
  font-weight: 900;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.level-menu button:hover,
.level-menu button.selected {
  background: rgba(245,206,6,.22);
  border-color: rgba(245,206,6,.7);
  transform: translateX(2px);
}

.level-menu button:disabled {
  cursor: not-allowed;
  opacity: .38;
  filter: grayscale(.35);
  transform: none !important;
  background: rgba(62,27,130,.035);
  border-color: transparent;
}
.selected-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  margin-top: 18px;
  padding: 15px 16px;
  border-radius: 20px;
  color: var(--muted);
  background: rgba(62,27,130,.045);
  border: 1px solid rgba(62,27,130,.08);
}
.selected-strip strong { color: var(--purple-2); }
.inscription-calendar-card {
  margin-top: 24px;
  padding: clamp(16px, 2.5vw, 24px);
  border: 1px solid rgba(62, 27, 130, .12);
  border-radius: 28px;
  background: rgba(255,255,255,.78);
}
.clear-selection {
  flex: 0 0 auto;
  border: 1px solid rgba(62,27,130,.14);
  border-radius: 999px;
  min-height: 42px;
  padding: 0 16px;
  color: var(--purple-2);
  background: rgba(255,255,255,.8);
  font-weight: 900;
  cursor: pointer;
}
.calendar-scroll {
  overflow-x: auto;
  padding-bottom: 4px;
}
.enrol-calendar {
  display: grid;
  grid-template-columns: 76px repeat(5, minmax(150px, 1fr));
  gap: 8px;
  min-width: 900px;
}

.calendar-empty {
  grid-column: 1 / -1;
  min-height: 260px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  padding: 30px;
  border: 1px dashed rgba(62,27,130,.22);
  border-radius: 24px;
  color: var(--muted);
  background: rgba(255,255,255,.58);
  text-align: center;
}
.calendar-empty strong {
  color: var(--purple-2);
  font-size: 24px;
}
.calendar-empty span {
  max-width: 520px;
  line-height: 1.6;
  font-weight: 750;
}
.calendar-corner,
.calendar-day-head,
.calendar-hour,
.calendar-cell {
  border: 1px solid rgba(62, 27, 130, .09);
  border-radius: 16px;
}
.calendar-corner,
.calendar-day-head {
  min-height: 50px;
  display: grid;
  place-items: center;
  color: var(--purple-2);
  background: linear-gradient(145deg, rgba(245,206,6,.35), rgba(255,255,255,.78));
  font-weight: 950;
}
.calendar-hour {
  min-height: 86px;
  display: grid;
  place-items: center;
  color: var(--muted);
  background: rgba(255,255,255,.58);
  font-size: 12px;
  font-weight: 950;
}
.calendar-cell {
  min-height: 86px;
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 6px;
  background: rgba(62,27,130,.028);
}
.lesson-card {
  pointer-events: none;
  min-height: 74px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 10px;
  border-radius: 14px;
  color: #fff;
  box-shadow: 0 12px 24px rgba(41,16,92,.12);
}
.lesson-card.pole { background: linear-gradient(135deg, #4b238f, #6b35c7); }
.lesson-card.aro { background: linear-gradient(135deg, #2f77d0, #2758b5); }
.lesson-card.telas { background: linear-gradient(135deg, #c83349, #982137); }
.lesson-card.flex { background: linear-gradient(135deg, #2fa866, #167b4b); }
.lesson-topline {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: rgba(255,255,255,.82);
}
.lesson-card strong {
  display: block;
  font-size: 13px;
  line-height: 1.12;
}
.lesson-card small {
  color: rgba(255,255,255,.78);
  font-weight: 750;
  line-height: 1.22;
}
.enrol-form-wide {
  max-width: 1280px;
  margin: 24px auto 0;
}
.form-section-title {
  display: block;
  margin-bottom: 20px;
}
.form-selected-box {
  margin-bottom: 18px;
  padding: 18px;
  border: 1px solid rgba(245,206,6,.42);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(245,206,6,.24), rgba(255,255,255,.78));
}
.form-selected-box strong {
  color: var(--purple-2);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.form-selected-box p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.55;
  font-weight: 800;
}
.plan-toggle {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 20px;
  padding: 0;
  border: 0;
}
.plan-toggle legend {
  width: 100%;
  margin-bottom: 4px;
  color: var(--purple-2);
  font-weight: 950;
}
.plan-toggle label {
  display: block;
  cursor: pointer;
}
.plan-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.plan-toggle span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  min-width: 165px;
  padding: 0 18px;
  border: 1px solid rgba(62,27,130,.15);
  border-radius: 999px;
  color: var(--purple-2);
  background: rgba(255,255,255,.78);
  font-weight: 950;
  transition: background .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.plan-toggle input:checked + span {
  background: linear-gradient(135deg, var(--yellow), #ffe77a);
  border-color: rgba(245,206,6,.8);
  box-shadow: 0 14px 28px rgba(245,206,6,.22);
}
.form-bottom-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 20px;
}
.form-bottom-line .btn {
  margin-top: 0;
  flex: 0 0 auto;
}
.btn:disabled,
.btn[disabled] {
  cursor: not-allowed;
  opacity: .52;
  filter: grayscale(.35);
  transform: none !important;
  box-shadow: none;
}
.form-note.ok {
  color: #167b4b;
  font-weight: 850;
}
/* Unificamos colores de la maqueta general de horarios con los colores reales de modalidad. */
.class-pill.hoop { background: linear-gradient(135deg, #2f77d0, #2758b5); }
.class-pill.silks { background: linear-gradient(135deg, #c83349, #982137); }
.class-pill.flex { color: #fff; background: linear-gradient(135deg, #2fa866, #167b4b); }
.class-pill.flex span { color: rgba(255,255,255,.75); }

@media (max-width: 1120px) {
  .modality-filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .age-filter-grid { grid-template-columns: 1fr; }
  .selection-details { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .inscription-toolbar,
  .calendar-heading { flex-direction: column; }
  .level-legend { width: 100%; grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .modality-filter-grid { grid-template-columns: 1fr; }
  .selection-details { grid-template-columns: 1fr; }
  .selector-title-line { align-items: flex-start; flex-direction: column; }
  .level-legend { grid-template-columns: 1fr; }
  .inscription-board { padding: 14px; border-radius: 26px; }
  .calendar-heading { gap: 12px; }
  .clear-selection { width: 100%; }
  .form-bottom-line { align-items: stretch; flex-direction: column; }
  .form-bottom-line .btn { width: 100%; }
  .plan-toggle span { width: 100%; }
  .plan-toggle label { width: 100%; }
}

/* V6: se mantiene el bloque interno para que la lógica de inscripción funcione igual que en v4,
   pero se oculta el resumen repetido bajo “Selección actual”. */
#selectionDetails {
  display: none !important;
}

/* ==============================
   V9 · Ajustes responsive generales
   ============================== */
:root {
  --page-max: 1280px;
}

html,
body {
  width: 100%;
  min-width: 320px;
}

main {
  width: 100%;
  overflow-x: clip;
}

.hero,
.school-grid,
.discipline-grid,
.schedule-section,
.bonus-grid,
.first-class-card,
.detail-section,
.intro-strip {
  max-width: var(--page-max);
  margin-inline: auto;
}

.section-heading.center,
.section-heading {
  width: 100%;
}

.hero {
  grid-template-columns: minmax(0, 1.02fr) minmax(300px, .9fr);
}

.hero-media {
  min-height: clamp(440px, 45vw, 610px);
  width: 100%;
  max-width: 610px;
  justify-self: center;
}

.logo-orbit {
  width: clamp(170px, 25vw, 318px);
}

.main-photo {
  width: min(72%, 440px);
}

.small-photo {
  width: clamp(128px, 13vw, 180px);
}

.hero-photo img,
.detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-image img {
  aspect-ratio: 4 / 3;
}

.logo-orbit img,
.brand-logo {
  object-fit: contain;
  background: #fff;
}

.discipline-detail,
.location-card,
.first-class-card,
.inscription-board,
.enrol-form {
  width: 100%;
  max-width: 100%;
}

.calendar-scroll,
.schedule-preview {
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.calendar-scroll::after,
.schedule-preview::after {
  content: "Desliza horizontalmente para ver todo el horario";
  display: none;
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

@media (max-width: 1240px) {
  .site-header {
    gap: 16px;
  }

  .brand {
    min-width: 220px;
  }

  .main-nav {
    gap: 10px;
    font-size: 13px;
  }

  .main-nav .nav-highlight {
    padding-inline: 13px;
  }

  .discipline-card,
  .bonus-card {
    padding: 24px;
  }
}

@media (max-width: 980px) {
  .brand strong {
    font-size: 14px;
  }

  .hero {
    gap: 30px;
  }

  .hero-copy {
    max-width: 760px;
  }

  .section-heading.center {
    margin-bottom: 34px;
  }

  .location-card {
    min-height: 300px;
  }

  .discipline-detail,
  .discipline-detail.reverse {
    gap: 24px;
    padding: 24px;
  }

  .detail-copy p:not(.eyebrow),
  .school-copy p,
  .schedule-copy p:not(.eyebrow),
  .first-class-card p {
    font-size: 16px;
  }

  .contact-card strong {
    font-size: 24px;
  }
}

@media (max-width: 760px) {
  :root {
    --radius-xl: 26px;
    --radius-lg: 22px;
    --radius-md: 16px;
  }

  .section-pad {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .hero {
    min-height: auto;
    padding-top: 48px;
  }

  .hero-actions,
  .cta-actions {
    gap: 10px;
  }

  .btn {
    width: 100%;
    min-height: 50px;
    padding-inline: 18px;
  }

  .hero-media {
    position: static;
    min-height: 0;
    max-width: 540px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .logo-orbit,
  .hero-photo,
  .floating-card {
    position: static;
    transform: none !important;
  }

  .logo-orbit {
    grid-column: 1 / -1;
    width: min(170px, 48vw);
    justify-self: center;
  }

  .main-photo {
    grid-column: 1 / -1;
    width: 100%;
    border-radius: 28px;
  }

  .small-photo {
    display: block;
    width: 100%;
    border-radius: 22px;
  }

  .small-photo img {
    aspect-ratio: 1.12 / 1;
  }

  .floating-card {
    grid-column: 1 / -1;
    width: 100%;
    border-radius: 22px;
  }

  .intro-strip {
    margin-inline: 16px;
    border-radius: 22px;
  }

  .intro-strip div {
    min-height: auto;
    padding: 18px;
  }

  .school-copy,
  .location-content,
  .bonus-card,
  .contact-card {
    padding: 22px;
  }

  .location-card {
    min-height: 260px;
  }

  .discipline-detail,
  .discipline-detail.reverse {
    padding: 18px;
    border-radius: 24px;
  }

  .detail-image {
    border-radius: 20px;
  }

  .schedule-preview {
    border-radius: 24px;
    padding: 14px;
  }

  .calendar-grid {
    min-width: 620px;
  }

  .enrol-calendar {
    min-width: 820px;
  }

  .calendar-scroll::after,
  .schedule-preview::after {
    display: block;
  }

  .first-class-card {
    padding: 24px;
  }

  .form-grid {
    gap: 12px;
  }
}

@media (max-width: 520px) {
  :root {
    --header-height: 70px;
  }

  .site-header {
    padding-inline: 12px;
  }

  .brand {
    gap: 9px;
  }

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

  .brand span {
    max-width: 190px;
    min-width: 0;
  }

  .brand strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13px;
  }

  .menu-toggle {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
  }

  .main-nav {
    left: 12px;
    right: 12px;
  }

  .section-pad {
    padding-left: 14px;
    padding-right: 14px;
  }

  h1 {
    font-size: clamp(36px, 12vw, 52px);
    letter-spacing: -.045em;
  }

  h2 {
    font-size: clamp(30px, 10vw, 42px);
  }

  h3 {
    font-size: 21px;
  }

  .eyebrow {
    font-size: 11px;
    letter-spacing: .12em;
  }

  .hero-text,
  .section-heading.center p:not(.eyebrow) {
    font-size: 16px;
    line-height: 1.65;
  }

  .quick-facts article {
    padding: 15px;
    border-radius: 18px;
  }

  .mini-tags span {
    font-size: 12px;
  }

  .discipline-card {
    padding: 22px;
    border-radius: 22px;
  }

  .schedule-topbar {
    align-items: stretch;
    flex-wrap: wrap;
  }

  .schedule-topbar strong {
    order: -1;
    width: 100%;
    text-align: center;
  }

  .schedule-topbar button {
    flex: 1;
    border-radius: 16px;
  }

  .calendar-grid {
    min-width: 580px;
    grid-template-columns: 62px repeat(5, minmax(86px, 1fr));
    gap: 6px;
  }

  .calendar-grid > div,
  .calendar-grid > button {
    min-height: 54px;
    border-radius: 13px;
  }

  .class-pill {
    padding: 8px;
    font-size: 11px;
  }

  .inscription-mode #inscripcion {
    padding-top: 34px;
  }

  .inscription-toolbar h3,
  .calendar-heading h3,
  .form-section-title h3 {
    font-size: 24px;
  }

  .age-choice-btn,
  .modality-filter-btn {
    min-height: auto;
    padding: 16px;
    border-radius: 20px;
  }

  .selected-strip {
    align-items: flex-start;
    flex-direction: column;
  }

  .inscription-calendar-card {
    padding: 13px;
    border-radius: 22px;
  }

  .enrol-calendar {
    min-width: 760px;
    gap: 6px;
    grid-template-columns: 64px repeat(5, minmax(126px, 1fr));
  }

  .calendar-corner,
  .calendar-day-head {
    min-height: 44px;
    border-radius: 13px;
  }

  .calendar-hour,
  .calendar-cell {
    min-height: 78px;
    border-radius: 13px;
  }

  .lesson-card {
    min-height: 66px;
    padding: 8px;
    border-radius: 12px;
  }

  .lesson-card strong {
    font-size: 12px;
  }

  .lesson-card small {
    font-size: 10px;
  }

  .enrol-form {
    padding: 20px;
    border-radius: 24px;
  }

  .plan-toggle {
    gap: 8px;
  }

  .site-footer {
    padding: 26px 16px;
  }
}

@media (max-width: 380px) {
  .brand span {
    max-width: 150px;
  }

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

  .small-photo.two {
    display: none;
  }

  .school-copy,
  .location-content,
  .bonus-card,
  .contact-card,
  .first-class-card {
    padding: 18px;
  }

  .btn {
    font-size: 14px;
  }
}

/* ==============================
   V10 · Responsive corregido
   - Horario semanal sin scroll lateral
   - Cabecera de escuela alineada con el contenido
   - Layout grande conservado y ajustes solo en pantallas pequeñas
   ============================== */

/* Alinea los títulos de secciones no centrados con el ancho real del contenido. */
.section-pad > .section-heading:not(.center) {
  max-width: var(--page-max);
  margin-inline: auto;
}

.school-section > .section-heading:not(.center) h2 {
  max-width: 860px;
}

/* El horario demo debe entrar completo en el ancho disponible, sin barra lateral. */
.schedule-preview {
  overflow-x: visible;
  width: 100%;
}

.calendar-grid {
  width: 100%;
  min-width: 0;
  grid-template-columns: clamp(54px, 5vw, 70px) repeat(5, minmax(0, 1fr));
  gap: clamp(5px, .7vw, 8px);
}

.calendar-grid > div,
.calendar-grid > button {
  min-width: 0;
}

.class-pill {
  min-width: 0;
  overflow: hidden;
  word-break: normal;
  overflow-wrap: anywhere;
}

.schedule-preview::after {
  display: none !important;
  content: none !important;
}

/* En escritorio mantenemos la composición amplia original. */
@media (min-width: 1121px) {
  .schedule-section {
    grid-template-columns: minmax(0, .82fr) minmax(620px, 1.18fr);
  }

  .schedule-preview {
    padding: 18px;
  }

  .calendar-grid > div,
  .calendar-grid > button {
    min-height: 58px;
  }
}

/* En tablets el horario pasa debajo del texto, pero sigue viéndose entero. */
@media (max-width: 1120px) {
  .schedule-section {
    align-items: stretch;
  }

  .schedule-preview {
    max-width: 100%;
  }

  .calendar-grid {
    grid-template-columns: clamp(50px, 8vw, 66px) repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .schedule-preview {
    overflow-x: visible;
  }

  .calendar-grid {
    min-width: 0;
    grid-template-columns: clamp(42px, 12vw, 56px) repeat(5, minmax(0, 1fr));
    gap: 5px;
  }

  .calendar-grid > div,
  .calendar-grid > button {
    min-height: 58px;
  }

  .calendar-grid > div:not(.time-label) {
    font-size: 12px;
  }

  .time-label {
    font-size: 10px;
  }

  .class-pill {
    padding: 6px 5px;
    font-size: 10px;
    line-height: 1.12;
    border-radius: 11px;
    align-items: center;
    text-align: center;
  }

  .class-pill span {
    font-size: 9px;
  }
}

@media (max-width: 520px) {
  .schedule-preview {
    padding: 10px;
  }

  .calendar-grid {
    min-width: 0;
    grid-template-columns: 38px repeat(5, minmax(0, 1fr));
    gap: 4px;
  }

  .calendar-grid > div,
  .calendar-grid > button {
    min-height: 52px;
    border-radius: 10px;
  }

  .calendar-grid > div:not(.time-label) {
    font-size: 10px;
  }

  .time-label {
    font-size: 9px;
  }

  .class-pill {
    padding: 5px 3px;
    font-size: 9px;
    border-radius: 9px;
  }

  .class-pill span {
    font-size: 8px;
  }
}

@media (max-width: 380px) {
  .calendar-grid {
    grid-template-columns: 34px repeat(5, minmax(0, 1fr));
    gap: 3px;
  }

  .schedule-preview {
    padding: 8px;
  }

  .class-pill {
    font-size: 8px;
  }

  .class-pill span {
    font-size: 7px;
  }
}

/* ==============================
   V11 · Mejora móvil del inicio
   - Hero en una sola columna real en móvil
   - Texto centrado y separado de imágenes
   - Imágenes apiladas, sin izquierda/derecha ni solapes
   - Escritorio conserva el diseño amplio de v10
   ============================== */

@media (max-width: 760px) {
  .hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 38px;
    padding-top: 46px;
    text-align: center;
  }

  .hero-copy {
    width: 100%;
    max-width: 620px;
    margin-inline: auto;
  }

  .hero-copy .eyebrow {
    justify-content: center;
    margin-inline: auto;
  }

  .hero-copy h1,
  .hero-copy .hero-text {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-copy .hero-text {
    max-width: 560px;
    margin-top: 20px;
  }

  .hero-actions {
    justify-content: center;
    margin-top: 28px;
  }

  .quick-facts {
    max-width: 520px;
    margin: 30px auto 0;
    text-align: center;
  }

  .hero-media {
    width: min(100%, 560px);
    max-width: 560px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    margin: 0 auto;
  }

  .hero-media .logo-orbit,
  .hero-media .hero-photo,
  .hero-media .floating-card {
    position: static;
    transform: none !important;
  }

  .hero-media .logo-orbit {
    order: 1;
    width: min(156px, 44vw);
    align-self: center;
    margin: 0 auto 2px;
  }

  .hero-media .main-photo {
    order: 2;
    width: 100%;
    border-radius: 28px;
  }

  .hero-media .small-photo {
    display: block;
    width: 100%;
    border-radius: 24px;
  }

  .hero-media .small-photo.one {
    order: 3;
  }

  .hero-media .small-photo.two {
    order: 4;
  }

  .hero-media .floating-card {
    order: 5;
    width: 100%;
    text-align: center;
    border-radius: 22px;
  }

  .hero-media .hero-photo img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .hero-media .main-photo img {
    aspect-ratio: 4 / 3;
  }

  .hero-media .small-photo img {
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 520px) {
  .hero {
    gap: 32px;
    padding-top: 36px;
  }

  .hero-actions {
    margin-top: 24px;
  }

  .quick-facts {
    margin-top: 24px;
  }

  .hero-media {
    gap: 14px;
  }

  .hero-media .logo-orbit {
    width: 132px;
  }

  .hero-media .main-photo {
    border-radius: 24px;
  }

  .hero-media .small-photo {
    border-radius: 20px;
  }

  .hero-media .floating-card {
    padding: 16px;
  }
}

@media (max-width: 380px) {
  .hero-media {
    grid-template-columns: 1fr;
  }

  .hero-media .small-photo.two {
    display: block;
  }
}

/* ==============================
   V12 · Hero móvil con composición superpuesta
   - Las imágenes del inicio vuelven a tener composición tipo escritorio en móvil
   - El conjunto visual aparece justo después del texto y los dos botones
   - Quick facts queda debajo para no separar las imágenes del CTA
   ============================== */

@media (max-width: 760px) {
  .hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding-top: 42px;
    text-align: center;
  }

  /* Permite ordenar el bloque visual entre los botones y los datos rápidos sin tocar el HTML. */
  .hero-copy {
    display: contents;
  }

  .hero-copy .eyebrow {
    order: 1;
    justify-content: center;
    margin-inline: auto;
  }

  .hero-copy h1 {
    order: 2;
    width: 100%;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-copy .hero-text {
    order: 3;
    width: 100%;
    max-width: 560px;
    margin: 20px auto 0;
  }

  .hero-actions {
    order: 4;
    width: 100%;
    max-width: 520px;
    justify-content: center;
    margin: 28px auto 0;
  }

  .hero-media {
    order: 5;
    position: relative;
    display: block;
    width: min(96vw, 440px);
    height: clamp(390px, 92vw, 500px);
    max-width: 440px;
    min-height: 0;
    margin: 34px auto 0;
  }

  .hero-media .logo-orbit,
  .hero-media .hero-photo,
  .hero-media .floating-card {
    position: absolute;
    margin: 0;
  }

  .hero-media .logo-orbit {
    top: 0;
    right: 5%;
    width: clamp(122px, 38vw, 172px);
    align-self: auto;
    transform: rotate(4deg) !important;
    z-index: 4;
  }

  .hero-media .main-photo {
    left: 50%;
    bottom: 34px;
    width: min(84%, 350px);
    border-radius: 34px;
    transform: translateX(-50%) rotate(-1.5deg) !important;
    z-index: 2;
  }

  .hero-media .small-photo {
    display: block;
    width: clamp(112px, 32vw, 154px);
    border-radius: 24px;
  }

  .hero-media .small-photo.one {
    top: 51%;
    right: 0;
    transform: rotate(8deg) !important;
    z-index: 5;
  }

  .hero-media .small-photo.two {
    top: 15%;
    left: 1%;
    transform: rotate(-8deg) !important;
    z-index: 3;
  }

  .hero-media .floating-card {
    right: 4%;
    bottom: 0;
    width: min(220px, 56vw);
    padding: 16px;
    text-align: left;
    border-radius: 22px;
    transform: rotate(2deg) !important;
    z-index: 6;
  }

  .hero-media .hero-photo img,
  .hero-media .main-photo img,
  .hero-media .small-photo img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  .hero-media .main-photo img {
    aspect-ratio: 4 / 3;
  }

  .hero-media .small-photo img {
    aspect-ratio: 1 / 1;
  }

  .quick-facts {
    order: 6;
    width: 100%;
    max-width: 520px;
    margin: 34px auto 0;
    text-align: center;
  }
}

@media (max-width: 520px) {
  .hero {
    padding-top: 34px;
  }

  .hero-media {
    width: min(98vw, 390px);
    height: clamp(350px, 96vw, 430px);
    margin-top: 30px;
  }

  .hero-media .logo-orbit {
    width: clamp(104px, 36vw, 142px);
    right: 4%;
  }

  .hero-media .main-photo {
    width: min(86%, 310px);
    bottom: 32px;
    border-radius: 28px;
  }

  .hero-media .small-photo {
    width: clamp(96px, 31vw, 128px);
    border-radius: 20px;
  }

  .hero-media .small-photo.one {
    top: 50%;
  }

  .hero-media .small-photo.two {
    top: 16%;
  }

  .hero-media .floating-card {
    width: min(200px, 58vw);
    padding: 14px;
  }

  .hero-media .floating-card strong {
    font-size: 17px;
  }

  .hero-media .floating-card span {
    font-size: 10px;
  }
}

@media (max-width: 380px) {
  .hero-media {
    width: min(100%, 340px);
    height: 332px;
  }

  .hero-media .logo-orbit {
    width: 104px;
  }

  .hero-media .main-photo {
    width: 276px;
    bottom: 30px;
  }

  .hero-media .small-photo {
    width: 94px;
  }

  .hero-media .small-photo.two {
    display: block;
    left: 0;
  }

  .hero-media .small-photo.one {
    right: 0;
  }

  .hero-media .floating-card {
    width: 178px;
    right: 3%;
  }
}
