:root {
  color-scheme: light;
  --brand-100: #eadffd;
  --brand-200: #d9c8ec;
  --brand-400: #a881cd;
  --brand-500: #9062c1;
  --brand-600: #7443a8;
  --brand-700: #6632a3;
  --brand-800: #4f267e;
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-raised: #ffffff;
  --surface-muted: #fafafa;
  --surface-tint: #eadffd;
  --text: #1e293b;
  --text-muted: #596579;
  --heading: #1e293b;
  --action: #6632a3;
  --action-hover: #552486;
  --on-action: #ffffff;
  --border: rgba(82, 43, 125, 0.16);
  --border-strong: rgba(82, 43, 125, 0.3);
  --nav-bg: rgba(234, 223, 253, 0.96);
  --scrim: rgba(24, 13, 35, 0.68);
  --focus: #7a44b0;
  --shadow-sm: 0 8px 24px rgba(45, 27, 61, 0.08);
  --shadow-md: 0 20px 55px rgba(45, 27, 61, 0.13);
  --accent-start: #9062c1;
  --accent-end: #7443a8;
  --team-start: #9062c1;
  --team-end: #7a56ac;
  --plan-reformer: #684096;
  --plan-total: #51277f;
  --plan-barre: #8158a2;
  --nav-height: 76px;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --max-width: 1240px;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #120f17;
  --surface: #1b1622;
  --surface-raised: #241d2c;
  --surface-muted: #201a28;
  --surface-tint: #30263d;
  --text: #f7f3f9;
  --text-muted: #c8bece;
  --heading: #fffaff;
  --action: #c3a0e4;
  --action-hover: #d6b7ef;
  --on-action: #21152b;
  --border: rgba(222, 204, 237, 0.16);
  --border-strong: rgba(222, 204, 237, 0.3);
  --nav-bg: rgba(24, 19, 31, 0.94);
  --scrim: rgba(8, 5, 11, 0.74);
  --focus: #d5b2f1;
  --shadow-sm: 0 8px 28px rgba(0, 0, 0, 0.22);
  --shadow-md: 0 22px 58px rgba(0, 0, 0, 0.34);
  --accent-start: #3e2458;
  --accent-end: #6d4396;
  --team-start: #24172f;
  --team-end: #51336b;
  --plan-reformer: #c8a4e8;
  --plan-total: #d8b7f1;
  --plan-barre: #d9bce9;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 16px);
}

body {
  min-width: 280px;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background: var(--bg);
  font-family: "Work Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

address {
  font-style: normal;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

::selection {
  color: #ffffff;
  background: var(--brand-700);
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 2000;
  padding: 0.75rem 1rem;
  color: var(--on-action);
  background: var(--action);
  border-radius: var(--radius-sm);
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.section {
  position: relative;
}

.section__container {
  width: min(100%, var(--max-width));
  margin-inline: auto;
  padding: clamp(4.25rem, 8vw, 7rem) clamp(1.1rem, 3vw, 2rem);
}

.section__intro {
  max-width: 720px;
  margin: 0 auto clamp(2rem, 5vw, 3.5rem);
  text-align: center;
}

.section__intro > :last-child,
.split-layout__content > :last-child,
.partners__intro > :last-child,
.location__content > :last-child {
  margin-bottom: 0;
}

.section__header {
  margin-bottom: 1rem;
  color: var(--heading);
  font-size: clamp(2rem, 5vw, 3.65rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.section__intro > p:not(.eyebrow),
.split-layout__content > p:not(.eyebrow),
.partners__intro > p:not(.eyebrow),
.location__content > p:not(.eyebrow) {
  color: var(--text-muted);
  font-size: clamp(1rem, 2vw, 1.12rem);
}

.eyebrow {
  margin-bottom: 0.75rem;
  color: var(--action);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.82rem 1.35rem;
  color: var(--on-action);
  background: var(--action);
  border: 1px solid transparent;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(63, 32, 91, 0.16);
  font-weight: 650;
  line-height: 1.25;
  text-align: center;
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease,
    transform 180ms ease, box-shadow 180ms ease;
}

.btn i {
  font-size: 1.15em;
}

.btn--small {
  min-height: 42px;
  padding: 0.62rem 1.05rem;
  font-size: 0.9rem;
}

.btn--secondary {
  color: var(--action);
  background: transparent;
  border-color: var(--border-strong);
  box-shadow: none;
}

.btn--light {
  color: #452465;
  background: #ffffff;
  border-color: rgba(255, 255, 255, 0.55);
}

.btn--block {
  width: 100%;
  margin-top: 1rem;
}

.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 0.4rem;
  color: var(--action);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 0.28em;
  transition: color 180ms ease, text-decoration-color 180ms ease;
}

.text-link--light {
  color: #ffffff;
}

@media (hover: hover) {
  .btn:hover {
    background: var(--action-hover);
    box-shadow: 0 12px 24px rgba(63, 32, 91, 0.22);
    transform: translateY(-2px);
  }

  .btn--secondary:hover {
    color: var(--on-action);
    background: var(--action);
  }

  .btn--light:hover {
    color: #321849;
    background: #f4eafb;
  }

  .text-link:hover {
    color: var(--action-hover);
    text-decoration-color: currentColor;
  }

  .text-link--light:hover {
    color: #ffffff;
  }
}

.btn:active,
.icon-button:active {
  transform: translateY(1px) scale(0.98);
}

/* Navigation */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  color: var(--text);
  background: var(--nav-bg);
  border-bottom: 1px solid var(--border);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.nav__inner {
  position: relative;
  display: flex;
  width: min(100%, 1420px);
  min-height: var(--nav-height);
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-inline: auto;
  padding: 0.65rem 1rem;
}

.nav__brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 0.65rem;
  border-radius: 8px;
}

.nav__brand img {
  width: 88px;
  height: auto;
  aspect-ratio: 2654 / 1155;
  object-fit: contain;
  transition: filter 220ms ease;
}

.nav__brand span {
  display: none;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
}

html[data-theme="dark"] .nav__brand img,
html[data-theme="dark"] .footer__brand img {
  filter: brightness(1.4) saturate(0.9);
}

.nav__links {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  display: grid;
  gap: 0.15rem;
  max-height: calc(100svh - var(--nav-height));
  padding: 0.8rem 1rem 1.1rem;
  margin: 0;
  overflow-y: auto;
  list-style: none;
  background: var(--surface-raised);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.js .nav__links {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.js .nav__links.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav__link {
  position: relative;
  display: flex;
  min-height: 46px;
  align-items: center;
  padding: 0.6rem 0.75rem;
  color: var(--text-muted);
  border-radius: 10px;
  font-size: 0.96rem;
  font-weight: 550;
  transition: color 180ms ease, background-color 180ms ease;
}

.nav__link[aria-current="location"] {
  color: var(--action);
  background: var(--surface-tint);
}

.nav__registration {
  padding-top: 0.4rem;
}

.nav__registration .btn {
  width: 100%;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.icon-button {
  display: inline-flex;
  min-width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0 0.75rem;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  cursor: pointer;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease,
    transform 180ms ease;
}

.icon-button i {
  font-size: 1.2rem;
}

.theme-toggle__text {
  display: none;
  font-size: 0.8rem;
  font-weight: 650;
}

.nav__hamburger {
  display: none;
  padding: 0;
}

.js .nav__hamburger {
  display: inline-flex;
}

@media (hover: hover) {
  .nav__link:hover,
  .icon-button:hover {
    color: var(--action);
    background: var(--surface-tint);
  }
}

/* Hero */
.site-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(to top, rgba(144, 98, 193, 0.2), transparent 58%),
    var(--bg);
}

html[data-theme="dark"] .site-hero {
  background:
    radial-gradient(circle at 12% 10%, rgba(144, 98, 193, 0.2), transparent 34%),
    linear-gradient(180deg, var(--surface-muted), var(--bg));
}

.site-hero::after {
  position: absolute;
  right: -12rem;
  bottom: -18rem;
  z-index: -1;
  width: 34rem;
  height: 34rem;
  content: "";
  background: rgba(144, 98, 193, 0.12);
  border-radius: 50%;
  filter: blur(2px);
}

.hero__layout {
  display: grid;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
  padding-top: clamp(2.5rem, 6vw, 5.5rem);
  padding-bottom: clamp(4rem, 8vw, 7rem);
}

.hero__content {
  position: relative;
  z-index: 2;
}

.hero__content h1 {
  max-width: 760px;
  margin-bottom: 1.25rem;
  color: var(--heading);
  font-size: clamp(2.45rem, 8vw, 5rem);
  font-weight: 350;
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.hero__lead {
  max-width: 640px;
  margin-bottom: 1.7rem;
  color: var(--text-muted);
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
}

.hero__actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.8rem;
}

.hero__route-note {
  max-width: 620px;
  margin: 0.9rem 0 0;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.hero__route-note a {
  color: var(--action);
  font-weight: 750;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.hero__highlights {
  display: grid;
  gap: 0.6rem;
  padding: 1.6rem 0 0;
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  list-style: none;
}

.hero__highlights li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.hero__highlights i {
  display: inline-grid;
  width: 1.35rem;
  height: 1.35rem;
  flex: 0 0 auto;
  place-items: center;
  color: var(--on-action);
  background: var(--action);
  border-radius: 50%;
  font-size: 0.85rem;
}

.hero__media {
  position: relative;
  width: min(100%, 540px);
  aspect-ratio: 4 / 5;
  margin: 0 auto;
}

.hero__media::before {
  position: absolute;
  inset: -14px 14px 14px -14px;
  z-index: -1;
  content: "";
  background: linear-gradient(145deg, var(--brand-200), var(--brand-500));
  border-radius: 48% 48% var(--radius-lg) var(--radius-lg);
  opacity: 0.56;
}

.hero__media img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 43%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 48% 48% var(--radius-lg) var(--radius-lg);
  box-shadow: var(--shadow-md);
}

html[data-theme="dark"] .hero__media img {
  filter: brightness(0.82) contrast(1.04);
}

.hero__media figcaption {
  position: absolute;
  right: 0.8rem;
  bottom: 0.8rem;
  left: 0.8rem;
  display: flex;
  justify-content: center;
}

.hero__media figcaption span {
  padding: 0.65rem 0.9rem;
  color: #2f1d40;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(18, 9, 27, 0.16);
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

/* Benefits and modalities */
.split-layout {
  display: grid;
  gap: clamp(2.5rem, 7vw, 5.5rem);
  align-items: center;
}

.split-layout__media {
  position: relative;
  aspect-ratio: 1 / 1;
}

.split-layout__media::after {
  position: absolute;
  right: -10px;
  bottom: -10px;
  z-index: -1;
  width: 56%;
  height: 56%;
  content: "";
  background: var(--brand-200);
  border-radius: var(--radius-lg);
  opacity: 0.5;
}

.split-layout__media img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

html[data-theme="dark"] .split-layout__media img {
  filter: brightness(0.86);
}

.split-layout__content .section__header,
.location__content .section__header,
.partners__intro .section__header {
  text-align: left;
}

.check-list {
  display: grid;
  gap: 0.85rem;
  padding: 0;
  margin: 1.75rem 0 0;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  color: var(--text);
  font-weight: 550;
}

.check-list i {
  margin-top: 0.18rem;
  color: var(--action);
  font-size: 1.2rem;
}

.benefit-strip {
  background: var(--surface-muted);
  border-block: 1px solid var(--border);
}

.benefit-strip .section__container {
  padding-top: clamp(2.75rem, 5vw, 4.25rem);
  padding-bottom: clamp(2.75rem, 5vw, 4.25rem);
}

.benefit-grid {
  display: grid;
  gap: 1rem;
}

.benefit-card {
  padding: 1.4rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.benefit-card__icon {
  display: inline-grid;
  width: 64px;
  height: 64px;
  margin-bottom: 1rem;
  place-items: center;
  background: var(--surface-tint);
  border-radius: 50%;
}

.benefit-card__icon img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

html[data-theme="dark"] .benefit-card__icon img {
  filter: brightness(1.25) saturate(0.85);
}

.benefit-card h3 {
  margin-bottom: 0.45rem;
  color: var(--heading);
  font-size: 1.15rem;
}

.benefit-card p {
  margin-bottom: 0;
  color: var(--text-muted);
  font-size: 0.94rem;
}

/* First visit */
.first-visit {
  overflow: hidden;
  background:
    radial-gradient(circle at 100% 0%, rgba(144, 98, 193, 0.12), transparent 32%),
    var(--bg);
}

.journey-grid {
  display: grid;
  gap: 1rem;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: journey;
}

.journey-card {
  position: relative;
  min-width: 0;
  padding: 1.5rem;
  overflow: hidden;
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.journey-card::after {
  position: absolute;
  right: -2rem;
  bottom: -2.5rem;
  width: 7rem;
  height: 7rem;
  content: "";
  background: var(--surface-tint);
  border-radius: 50%;
  opacity: 0.75;
}

.journey-card__number {
  position: absolute;
  top: 1rem;
  right: 1.15rem;
  color: var(--brand-400);
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.journey-card > i {
  display: inline-grid;
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  place-items: center;
  color: var(--action);
  background: var(--surface-tint);
  border-radius: 50%;
  font-size: 1.35rem;
}

.journey-card h3 {
  margin-bottom: 0.55rem;
  color: var(--heading);
  font-size: 1.2rem;
}

.journey-card p {
  margin-bottom: 0.75rem;
  color: var(--text-muted);
  font-size: 0.94rem;
}

.journey-card .text-link {
  position: relative;
  z-index: 1;
}

.first-visit__notes {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.first-visit__notes details {
  background: var(--surface-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.first-visit__notes summary {
  position: relative;
  min-height: 52px;
  padding: 0.85rem 2.8rem 0.85rem 1rem;
  color: var(--heading);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.first-visit__notes summary::-webkit-details-marker {
  display: none;
}

.first-visit__notes summary::after {
  position: absolute;
  top: 50%;
  right: 1rem;
  content: "+";
  color: var(--action);
  font-size: 1.35rem;
  line-height: 1;
  transform: translateY(-50%);
}

.first-visit__notes details[open] summary::after {
  content: "−";
}

.first-visit__notes p {
  padding: 0 1rem 1rem;
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.section--accent {
  color: #ffffff;
  background:
    radial-gradient(circle at 8% 12%, rgba(255, 255, 255, 0.15), transparent 25%),
    linear-gradient(135deg, var(--accent-start), var(--accent-end));
}

.section__intro--on-accent .eyebrow,
.section__intro--on-accent .section__header,
.section__intro--on-accent > p:not(.eyebrow) {
  color: #ffffff;
}

.section__intro--on-accent > p:not(.eyebrow) {
  opacity: 0.86;
}

.modality-grid {
  display: grid;
  gap: 1.25rem;
}

.modality-card {
  overflow: hidden;
  color: var(--text);
  background: var(--surface-raised);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
  box-shadow: 0 18px 45px rgba(26, 13, 40, 0.22);
}

.modality-card img {
  width: 100%;
  height: clamp(190px, 24vw, 230px);
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

html[data-theme="dark"] .modality-card img {
  filter: brightness(0.85);
}

.modality-card__content {
  padding: 1.35rem;
}

.modality-card h3 {
  margin-bottom: 0.6rem;
  color: var(--heading);
  font-size: 1.25rem;
}

.modality-card p {
  margin-bottom: 0;
  color: var(--text-muted);
}

.section__actions {
  display: flex;
  justify-content: center;
  margin-top: clamp(1.75rem, 4vw, 2.75rem);
  text-align: center;
}

/* Class slider */
.classes-showcase {
  background: var(--bg);
}

.class-slider {
  position: relative;
  overflow: hidden;
  background: #17101f;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.class-slider__viewport {
  overflow: hidden;
}

.class-slider__track {
  display: flex;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  transition: transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
}

.class-slide {
  position: relative;
  display: flex;
  min-width: 100%;
  min-height: clamp(500px, 72svh, 660px);
  align-items: flex-end;
  isolation: isolate;
  overflow: hidden;
}

.class-slide > img {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -2;
  width: 100%;
  height: 125%;
  object-fit: cover;
  object-position: center;
}

.class-slide__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, var(--scrim) 0%, rgba(20, 11, 28, 0.48) 58%, rgba(20, 11, 28, 0.18) 100%),
    linear-gradient(0deg, rgba(13, 8, 18, 0.74), transparent 55%);
}

.class-slide__content {
  width: min(100%, 620px);
  padding: clamp(1.5rem, 5vw, 4rem);
  color: #ffffff;
}

.class-slide__tag {
  margin-bottom: 0.6rem;
  color: #e8d7f6;
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.class-slide h3 {
  margin-bottom: 0.8rem;
  color: #ffffff;
  font-size: clamp(2rem, 6vw, 3.7rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.class-slide__content > p:not(.class-slide__tag) {
  max-width: 520px;
  margin-bottom: 1.4rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 2vw, 1.12rem);
}

.slider-arrow {
  position: absolute;
  top: calc((100% - 84px) / 2);
  z-index: 5;
  display: inline-grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: #ffffff;
  background: rgba(20, 11, 28, 0.54);
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 50%;
  cursor: pointer;
  transform: translateY(-50%);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: background-color 180ms ease, transform 180ms ease;
}

.slider-arrow i {
  font-size: 1.35rem;
}

.slider-arrow--prev {
  left: 0.8rem;
}

.slider-arrow--next {
  right: 0.8rem;
}

.class-slider__controls {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 84px;
  padding: 0.75rem;
  color: #ffffff;
  background: #1b1224;
}

.slider-tabs {
  display: flex;
  flex: 1;
  gap: 0.35rem;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
  scrollbar-color: #6e4e8f transparent;
}

.slider-tab,
.slider-autoplay {
  min-height: 44px;
  flex: 0 0 auto;
  color: rgba(255, 255, 255, 0.72);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
}

.slider-tab {
  padding: 0.6rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 650;
  white-space: nowrap;
}

.slider-tab[aria-selected="true"] {
  color: #ffffff;
  background: #684096;
  border-color: rgba(255, 255, 255, 0.18);
}

.slider-autoplay {
  display: inline-grid;
  width: 44px;
  padding: 0;
  place-items: center;
  border-color: rgba(255, 255, 255, 0.28);
}

@media (hover: hover) {
  .slider-arrow:hover,
  .slider-autoplay:hover {
    color: #ffffff;
    background: #684096;
  }

  .slider-arrow:hover {
    transform: translateY(-50%) scale(1.05);
  }

  .slider-tab:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
  }
}

/* Class match */
.class-match {
  background:
    radial-gradient(circle at 8% 8%, rgba(144, 98, 193, 0.14), transparent 28%),
    linear-gradient(180deg, var(--surface-tint), var(--surface-muted));
}

html[data-theme="dark"] .class-match {
  background:
    radial-gradient(circle at 8% 8%, rgba(168, 129, 205, 0.13), transparent 30%),
    linear-gradient(180deg, var(--surface-tint), var(--bg));
}

.match-shell {
  width: min(100%, 1040px);
  margin-inline: auto;
  padding: clamp(1.15rem, 4vw, 2.5rem);
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.match-progress {
  margin-bottom: 1.75rem;
}

.match-progress p {
  margin-bottom: 0.55rem;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.match-progress__track {
  height: 8px;
  overflow: hidden;
  background: var(--surface-tint);
  border-radius: 999px;
}

.match-progress__track span {
  display: block;
  width: 25%;
  height: 100%;
  background: linear-gradient(90deg, var(--brand-700), var(--brand-500));
  border-radius: inherit;
  transition: width 260ms ease;
}

.match-step {
  min-width: 0;
  padding: 0;
  margin: 0;
  border: 0;
}

.match-step legend,
.match-results h3 {
  width: 100%;
  margin-bottom: 0.5rem;
  color: var(--heading);
  font-size: clamp(1.55rem, 4vw, 2.25rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.match-step__hint,
.match-results > p:not(.eyebrow) {
  margin-bottom: 1.4rem;
  color: var(--text-muted);
}

.match-options {
  display: grid;
  gap: 0.8rem;
}

.match-option {
  min-width: 0;
  cursor: pointer;
}

.match-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.match-option > span {
  display: grid;
  min-height: 100%;
  grid-template-columns: 42px minmax(0, 1fr);
  align-content: start;
  column-gap: 0.8rem;
  padding: 1rem;
  background: var(--surface-muted);
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.match-option i {
  display: inline-grid;
  width: 42px;
  height: 42px;
  grid-row: 1 / span 2;
  place-items: center;
  color: var(--action);
  background: var(--surface-tint);
  border-radius: 50%;
  font-size: 1.15rem;
}

.match-option strong {
  align-self: end;
  color: var(--heading);
  line-height: 1.3;
}

.match-option small {
  margin-top: 0.3rem;
  color: var(--text-muted);
  font-size: 0.8rem;
  line-height: 1.45;
}

.match-option input:checked + span {
  background: color-mix(in srgb, var(--surface-tint) 58%, var(--surface-raised));
  border-color: var(--action);
}

.match-option input:focus-visible + span {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

@media (hover: hover) {
  .match-option:hover > span {
    border-color: var(--border-strong);
    transform: translateY(-2px);
  }
}

.match-error {
  padding: 0.65rem 0.8rem;
  margin: 1rem 0 0;
  color: #8b1e3f;
  background: #fff0f4;
  border: 1px solid #e7a9ba;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 650;
}

html[data-theme="dark"] .match-error {
  color: #ffd7e3;
  background: #411c2a;
  border-color: #8f5367;
}

.match-navigation,
.match-results__actions {
  display: flex;
  flex-direction: column-reverse;
  gap: 0.7rem;
  margin-top: 1.5rem;
}

.match-navigation .btn,
.match-results__actions .btn {
  width: 100%;
}

.match-results .eyebrow {
  margin-bottom: 0.55rem;
}

.match-results__list {
  display: grid;
  gap: 0.9rem;
  padding: 0;
  margin: 1.5rem 0 0;
  list-style: none;
}

.match-result-card {
  --result-accent: var(--brand-700);
  position: relative;
  min-width: 0;
  padding: 1.25rem;
  overflow: hidden;
  background: var(--surface-muted);
  border: 1px solid var(--border);
  border-top: 4px solid var(--result-accent);
  border-radius: var(--radius-md);
}

.match-result-card[data-class="barre"] {
  --result-accent: #8158a2;
}

.match-result-card[data-class="dancefit"] {
  --result-accent: #8e477c;
}

.match-result-card[data-class="cardiodance"] {
  --result-accent: #a33f70;
}

.match-result-card[data-class="kpop"] {
  --result-accent: #714aa8;
}

.match-result-card__rank {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0.25rem 0.65rem;
  margin-bottom: 0.8rem;
  color: #ffffff;
  background: var(--result-accent);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.match-result-card h4 {
  margin: 0 0 0.45rem;
  color: var(--heading);
  font-size: 1.22rem;
}

.match-result-card p {
  margin-bottom: 0.9rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.match-result-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.match-result-card__tags li {
  padding: 0.25rem 0.55rem;
  color: var(--action);
  background: var(--surface-tint);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
}

.match-result-card__link {
  margin-top: 0.7rem;
}

.match-disclaimer {
  max-width: 860px;
  margin: 1.25rem auto 0;
  color: var(--text-muted);
  font-size: 0.78rem;
  text-align: center;
}

/* Pricing */
.section--muted {
  background: var(--surface-muted);
}

.pricing-groups {
  display: grid;
  gap: 1.25rem;
}

.pricing-group {
  --plan-accent: var(--plan-reformer);
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 1.25rem;
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.pricing-group--total {
  --plan-accent: var(--plan-total);
}

.pricing-group--barre {
  --plan-accent: var(--plan-barre);
}

.pricing-group--featured {
  border: 2px solid var(--plan-accent);
  box-shadow: var(--shadow-md);
}

.pricing-group__badge {
  position: absolute;
  top: 0;
  right: 1rem;
  padding: 0.35rem 0.7rem;
  color: #ffffff;
  background: #51277f;
  border-radius: 0 0 10px 10px;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.pricing-group__header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-height: 78px;
  padding-right: 0.5rem;
  margin-bottom: 0.7rem;
}

.pricing-group__icon {
  display: inline-grid;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--plan-accent);
  background: var(--surface-tint);
  border-radius: 50%;
  font-size: 1.25rem;
}

.pricing-group__header h3 {
  margin-bottom: 0.15rem;
  color: var(--plan-accent);
  font-size: 1.3rem;
  line-height: 1.2;
}

.pricing-group__header p {
  margin-bottom: 0;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.pricing-group table {
  width: 100%;
  margin-bottom: auto;
  border-collapse: separate;
  border-spacing: 0 0.42rem;
  font-variant-numeric: tabular-nums;
}

.pricing-group th,
.pricing-group td {
  padding: 0.65rem 0.55rem;
  text-align: left;
}

.pricing-group th {
  color: var(--text-muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pricing-group th:nth-child(2),
.pricing-group td:nth-child(2) {
  text-align: center;
}

.pricing-group th:last-child,
.pricing-group td:last-child {
  text-align: right;
}

.pricing-group td {
  color: var(--text);
  background: var(--surface-muted);
  border-block: 1px solid var(--border);
  font-size: 0.86rem;
}

.pricing-group td:first-child {
  border-left: 1px solid var(--border);
  border-radius: 10px 0 0 10px;
  font-weight: 650;
}

.pricing-group td:last-child {
  color: var(--plan-accent);
  border-right: 1px solid var(--border);
  border-radius: 0 10px 10px 0;
  font-weight: 800;
}

.pricing-note {
  max-width: 720px;
  margin: 2rem auto 0;
  color: var(--text-muted);
  text-align: center;
}

/* Stories and partner logos */
.story-grid {
  display: grid;
  gap: 1.25rem;
}

.story-card {
  overflow: hidden;
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.story-card img {
  width: 100%;
  height: clamp(190px, 24vw, 230px);
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

html[data-theme="dark"] .story-card img {
  filter: brightness(0.82) saturate(0.88);
}

.story-card__content {
  padding: 1.35rem;
}

.story-card__label {
  margin-bottom: 0.4rem;
  color: var(--action);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.story-card h3 {
  margin-bottom: 0.55rem;
  color: var(--heading);
  font-size: 1.4rem;
}

.story-card__content > p:last-child {
  margin-bottom: 0;
  color: var(--text-muted);
}

.partners {
  background: var(--bg);
  border-block: 1px solid var(--border);
}

html[data-theme="dark"] .partners {
  background: var(--surface-tint);
}

.partners__layout {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.partners__intro {
  max-width: 600px;
}

.partners__logos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.partner-logo {
  display: grid;
  min-width: 0;
  aspect-ratio: 1;
  place-items: center;
  padding: clamp(0.65rem, 3vw, 1.35rem);
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(82, 43, 125, 0.13);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.partner-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Team */
.section--team {
  color: #ffffff;
  background:
    radial-gradient(circle at 90% 5%, rgba(255, 255, 255, 0.12), transparent 25%),
    linear-gradient(180deg, var(--team-start) 0%, var(--team-end) 65%, #d9c8ec 100%);
}

html[data-theme="dark"] .section--team {
  background:
    radial-gradient(circle at 90% 5%, rgba(255, 255, 255, 0.12), transparent 25%),
    linear-gradient(145deg, var(--team-start), var(--team-end));
}

.classes__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 205px), 1fr));
  gap: 1.25rem;
  align-items: start;
}

.flip-card {
  width: min(100%, 280px);
  height: 460px;
  justify-self: center;
  perspective: 1200px;
  border-radius: var(--radius-md);
  cursor: pointer;
}

.flip-card:focus-visible {
  outline-color: #ffffff;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 650ms cubic-bezier(0.22, 1, 0.36, 1);
}

.flip-card.is-flipped .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-md);
  box-shadow: 0 18px 45px rgba(16, 8, 23, 0.3);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.flip-card-front {
  background: #2f1c43;
}

.flip-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.instructor-card__meta {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 4.25rem 1.15rem 1.15rem;
  color: #ffffff;
  background: linear-gradient(transparent, rgba(20, 10, 29, 0.94));
}

.instructor-card__meta h3,
.flip-card-back h3 {
  margin-bottom: 0.15rem;
  color: #ffffff;
  font-size: 1.45rem;
  text-transform: none;
}

.instructor-card__meta p {
  margin-bottom: 0.4rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
}

.instructor-card__meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 650;
}

.flip-card-back {
  display: grid;
  min-height: 0;
  grid-template-rows: auto minmax(0, 1fr) auto;
  align-content: stretch;
  gap: 0.72rem;
  padding: 1.2rem;
  overflow: hidden;
  color: #ffffff;
  background:
    radial-gradient(circle at 80% 10%, rgba(255, 255, 255, 0.15), transparent 30%),
    linear-gradient(145deg, #4d2872, #8051ad);
  transform: rotateY(180deg);
}

.flip-card-back p {
  min-height: 0;
  padding-right: 0.35rem;
  margin: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: rgba(255, 255, 255, 0.42) transparent;
  scrollbar-width: thin;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.84rem;
  line-height: 1.5;
}

.flip-card-back p::-webkit-scrollbar {
  width: 5px;
}

.flip-card-back p::-webkit-scrollbar-track {
  background: transparent;
}

.flip-card-back p::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.4);
  border-radius: 999px;
}

.flip-card-back h3 {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0;
}

.flip-card-back h3::after {
  height: 1px;
  flex: 1;
  content: "";
  background: rgba(255, 255, 255, 0.28);
}

.instructor-card__specialties {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.instructor-card__specialties li {
  padding: 0.22rem 0.5rem;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
}

@media (hover: hover) and (pointer: fine) {
  .flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
  }
}

/* Final CTA, schedule and location */
.cta-band {
  color: #ffffff;
  background: linear-gradient(120deg, #6632a3, #9062c1);
}

html[data-theme="dark"] .cta-band {
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 255, 255, 0.16), transparent 28%),
    linear-gradient(120deg, #351c4b, #654087);
}

.cta-band .section__container {
  padding-top: clamp(3.25rem, 6vw, 5.5rem);
  padding-bottom: clamp(3.25rem, 6vw, 5.5rem);
}

.cta-band__layout {
  display: grid;
  gap: 1.75rem;
  align-items: center;
}

.cta-band .eyebrow,
.cta-band h2 {
  color: #ffffff;
}

.cta-band h2 {
  margin-bottom: 0.7rem;
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.cta-band p:not(.eyebrow) {
  max-width: 680px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.86);
}

.cta-band__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
}

.embed-card,
.map-card {
  overflow: hidden;
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.schedule__iframe,
.map-card iframe {
  display: block;
  width: 100%;
  border: 0;
  background: #ffffff;
}

.schedule__iframe {
  height: clamp(560px, 74vh, 760px);
}

html:not(.js) .schedule__iframe {
  display: none;
}

.schedule__fallback {
  margin: 0;
  padding: 2rem;
  text-align: center;
}

.location-layout {
  display: grid;
  gap: 2.25rem;
  align-items: center;
}

.location__content address {
  margin-bottom: 1.6rem;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.location__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
}

.map-card iframe {
  min-height: 340px;
  aspect-ratio: 4 / 3;
}

/* Footer */
.footer {
  color: rgba(255, 255, 255, 0.86);
  background: #6632a3;
}

html[data-theme="dark"] .footer {
  background: #0d0a11;
}

.footer__container {
  display: grid;
  gap: 2.25rem;
  padding-top: 3.75rem;
  padding-bottom: 2.75rem;
}

.footer__brand img {
  width: 130px;
  height: auto;
  margin-bottom: 1rem;
}

.footer__brand p {
  max-width: 330px;
  margin-bottom: 0;
}

.footer h2 {
  margin-bottom: 0.8rem;
  color: #ffffff;
  font-size: 1rem;
}

.footer address,
.footer__col li,
.footer__brand p {
  font-size: 0.9rem;
}

.footer__col ul {
  display: grid;
  gap: 0.4rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer__col a {
  border-radius: 4px;
  transition: color 180ms ease;
}

.footer__socials {
  display: flex;
  gap: 0.6rem;
}

.footer__socials a {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  font-size: 1.2rem;
}

@media (hover: hover) {
  .footer__col a:hover,
  .footer__bar a:hover {
    color: #e3c8f4;
  }

  .footer__socials a:hover {
    color: #2e1b40;
    background: #ffffff;
  }
}

.footer__bar {
  display: flex;
  width: min(100% - 2.2rem, var(--max-width));
  flex-direction: column;
  gap: 0.65rem;
  margin-inline: auto;
  padding: 1.25rem 0 max(1.25rem, env(safe-area-inset-bottom));
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.78rem;
}

.footer__bar p {
  margin-bottom: 0;
}

.footer__bar a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  align-self: flex-start;
  color: #ffffff;
  font-weight: 650;
}

.whatsapp-float {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 900;
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  color: #ffffff;
  background: #08765d;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  box-shadow: 0 12px 32px rgba(4, 48, 37, 0.32);
  font-weight: 700;
  transition: background-color 180ms ease, transform 180ms ease;
}

.whatsapp-float i {
  font-size: 1.45rem;
}

.mobile-quick-actions {
  display: none;
}

@media (hover: hover) {
  .whatsapp-float:hover {
    background: #075d49;
    transform: translateY(-3px);
  }
}

/* Scroll reveal, enabled only after JavaScript initializes */
.reveal-pending {
  opacity: 0;
  transform: translateY(22px);
}

.reveal-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 620ms ease, transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
}

/* Responsive layout */
@media (min-width: 520px) {
  .nav__brand span,
  .theme-toggle__text {
    display: inline;
  }

  .hero__actions,
  .location__actions {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
  }

  .hero__actions {
    align-items: stretch;
  }

  .hero__highlights {
    grid-template-columns: repeat(2, minmax(0, max-content));
    column-gap: 1.4rem;
  }

  .benefit-grid,
  .story-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer__container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer__bar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .footer__bar a {
    align-self: auto;
  }

  .match-navigation,
  .match-results__actions {
    flex-direction: row;
    justify-content: flex-end;
  }

  .match-navigation .btn,
  .match-results__actions .btn {
    width: auto;
  }
}

@media (min-width: 760px) {
  .nav__inner {
    padding-inline: 1.5rem;
  }

  .nav__brand img {
    width: 102px;
  }

  .check-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .modality-grid,
  .story-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .story-grid > :last-child:nth-child(odd) {
    grid-column: auto;
  }

  .class-slide__content {
    padding-left: clamp(4.5rem, 7vw, 6rem);
  }

  .slider-arrow--prev {
    left: 1rem;
  }

  .slider-arrow--next {
    right: 1rem;
  }
}

@media (min-width: 900px) {
  .hero__layout {
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.82fr);
  }

  .split-layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }

  .benefit-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .journey-grid,
  .first-visit__notes,
  .match-options--three,
  .match-results__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .match-options:not(.match-options--three) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .partners__layout,
  .location-layout,
  .cta-band__layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }

  .partners__logos {
    gap: 1rem;
  }

  .cta-band__layout {
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  }

  .cta-band__actions {
    align-items: center;
    justify-self: end;
  }

  .footer__container {
    grid-template-columns: 1.35fr 1fr 0.9fr 0.65fr;
  }
}

@media (min-width: 1020px) {
  .pricing-groups {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
  }

  .pricing-group--featured {
    transform: translateY(-10px);
  }
}

@media (min-width: 1120px) {
  body.menu-open {
    overflow: auto;
  }

  .nav__inner {
    gap: 1.15rem;
    padding-inline: 1.4rem;
  }

  .nav__brand span {
    display: none;
  }

  .nav__links,
  .js .nav__links {
    position: static;
    display: flex;
    visibility: visible;
    max-height: none;
    flex: 1;
    align-items: center;
    justify-content: flex-end;
    gap: 0.05rem;
    padding: 0;
    overflow: visible;
    opacity: 1;
    pointer-events: auto;
    background: transparent;
    border: 0;
    box-shadow: none;
    transform: none;
    transition: none;
  }

  .nav__link {
    min-height: 42px;
    padding: 0.5rem 0.56rem;
    font-size: 0.82rem;
  }

  .nav__link[aria-current="location"] {
    background: transparent;
  }

  .nav__link[aria-current="location"]::after {
    position: absolute;
    right: 0.55rem;
    bottom: 0.25rem;
    left: 0.55rem;
    height: 2px;
    content: "";
    background: var(--action);
    border-radius: 999px;
  }

  .nav__registration {
    padding: 0 0 0 0.35rem;
  }

  .nav__registration .btn {
    width: auto;
  }

  .js .nav__hamburger {
    display: none;
  }

  .theme-toggle__text {
    display: none;
  }
}

@media (min-width: 1280px) {
  .nav__brand span,
  .theme-toggle__text {
    display: inline;
  }

  .nav__link {
    padding-inline: 0.7rem;
    font-size: 0.88rem;
  }
}

@media (max-width: 519px) {
  body {
    padding-bottom: calc(70px + env(safe-area-inset-bottom));
  }

  .hero__actions .btn {
    width: 100%;
  }

  .class-slider {
    margin-inline: -0.25rem;
    border-radius: 22px;
  }

  .class-slide {
    min-height: 510px;
  }

  .class-slide__content {
    padding: 1.4rem 1.25rem 1.7rem;
  }

  .class-slide__content .btn {
    width: 100%;
  }

  .slider-arrow {
    top: 48%;
    width: 42px;
    height: 42px;
  }

  .slider-arrow--prev {
    left: 0.55rem;
  }

  .slider-arrow--next {
    right: 0.55rem;
  }

  .pricing-group {
    padding: 1rem;
  }

  .pricing-group th,
  .pricing-group td {
    padding-inline: 0.38rem;
  }

  .pricing-group td {
    font-size: 0.78rem;
  }

  .pricing-group__badge {
    right: 0.75rem;
    font-size: 0.63rem;
  }

  .whatsapp-float {
    display: none;
  }

  .mobile-quick-actions {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 950;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 0.4rem max(0.55rem, env(safe-area-inset-right)) max(0.4rem, env(safe-area-inset-bottom)) max(0.55rem, env(safe-area-inset-left));
    color: var(--text);
    background: var(--surface-raised);
    background: color-mix(in srgb, var(--surface-raised) 92%, transparent);
    border-top: 1px solid var(--border);
    box-shadow: 0 -10px 30px rgba(32, 18, 43, 0.12);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
  }

  .mobile-quick-actions a {
    display: grid;
    min-height: 56px;
    place-items: center;
    align-content: center;
    gap: 0.1rem;
    color: var(--text-muted);
    border-radius: 12px;
    font-size: 0.68rem;
    font-weight: 700;
  }

  .mobile-quick-actions i {
    color: var(--action);
    font-size: 1.28rem;
  }

  .mobile-quick-actions a:last-child {
    color: #08765d;
  }

  .mobile-quick-actions a:last-child i {
    color: #08765d;
  }

  .match-option > span {
    grid-template-columns: 38px minmax(0, 1fr);
    padding: 0.9rem;
  }

  .match-option i {
    width: 38px;
    height: 38px;
  }

  .match-step legend,
  .match-results h3 {
    font-size: 1.45rem;
  }
}

@media (max-width: 350px) {
  .nav__brand img {
    width: 76px;
  }

  .nav__inner {
    gap: 0.4rem;
    padding-inline: 0.7rem;
  }

  .icon-button {
    min-width: 42px;
    height: 42px;
    padding-inline: 0.55rem;
  }

  .pricing-group th,
  .pricing-group td {
    font-size: 0.7rem;
  }

  .pricing-group__header {
    padding-right: 0;
  }

  .schedule__iframe {
    height: 540px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal-pending,
  .reveal-visible {
    opacity: 1;
    transform: none;
  }
}

@media (forced-colors: active) {
  .btn,
  .icon-button,
  .slider-arrow,
  .slider-tab,
  .slider-autoplay,
  .whatsapp-float,
  .match-option > span,
  .mobile-quick-actions a {
    border: 1px solid ButtonText;
  }
}
