/* Mambises BJJ · web pública. Blanco y negro, como la app. */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('/assets/fonts/inter-latin-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('/assets/fonts/inter-latin-ext-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --black: #000;
  --ink: #0b0b0b;
  --white: #fff;
  --paper: #fafafa;
  --grey: #6b6b6b;
  --grey-dark: #9a9a9a;
  --line: #e6e6e6;
  --line-dark: #262626;
  --gutter: clamp(16px, 5vw, 48px);
  --max: 1160px;
  --radius: 14px;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 68px;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img,
video {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
}
h1,
h2,
h3,
p,
figure,
blockquote,
ul,
ol {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--white);
  color: var(--black);
  border-radius: 8px;
}
.skip:focus {
  top: 16px;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.muted {
  color: var(--grey);
}
.small {
  font-size: 14px;
}
.eyebrow {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--grey);
}
.title {
  margin-top: 14px;
  font-size: clamp(34px, 5.4vw, 60px);
  font-weight: 200;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.lead {
  font-size: clamp(19px, 2.2vw, 23px);
  font-weight: 300;
  line-height: 1.45;
}
strong {
  font-weight: 600;
}

/* Botones */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 12px;
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.2s ease, color 0.2s ease;
}
.btn:active {
  transform: scale(0.97);
}
.btn--light {
  background: var(--white);
  color: var(--black);
}
.btn--light:hover {
  background: #e9e9e9;
}
.btn--ghost {
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}
.btn--dark {
  background: var(--black);
  color: var(--white);
}
.btn--dark:hover {
  background: #262626;
}
.btn--dark .muted {
  color: #9a9a9a;
}

/* Cabecera */
.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 24px;
  height: 68px;
  padding: env(safe-area-inset-top) var(--gutter) 0;
  color: var(--white);
  transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
}
.topbar.is-solid {
  background: rgba(0, 0, 0, 0.82);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  backdrop-filter: saturate(140%) blur(12px);
}
.topbar__logo img {
  width: 52px;
  height: auto;
}
.topbar__nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
  font-size: 14px;
}
.topbar__nav a,
.topbar__students {
  text-decoration: none;
  opacity: 0.85;
}
.topbar__nav a:hover,
.topbar__students:hover {
  opacity: 1;
}
.topbar__trial {
  display: none;
  margin-left: auto;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--white);
  color: var(--black);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}
.topbar__students {
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  font-size: 13px;
}

/* Portada */
.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  place-items: center;
  overflow: hidden;
  background: var(--black);
  color: var(--white);
  text-align: center;
}
.hero__video,
.hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero__video {
  object-fit: cover;
  filter: grayscale(1) contrast(1.08);
}
.hero__shade {
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.82)),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.5), transparent 30%, transparent 70%, rgba(0, 0, 0, 0.7));
}
.hero__content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 110px var(--gutter) 90px;
  animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.hero__logo {
  width: clamp(150px, 22vw, 230px);
  height: auto;
  margin-bottom: 28px;
}
.hero .eyebrow {
  color: rgba(255, 255, 255, 0.7);
}
.hero__title {
  margin-top: 14px;
  font-size: clamp(42px, 8vw, 96px);
  font-weight: 200;
  line-height: 1;
  letter-spacing: -0.03em;
}
.hero__lead {
  max-width: 34ch;
  margin-top: 20px;
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.85);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
}
.hero__scroll {
  position: absolute;
  bottom: max(24px, env(safe-area-inset-bottom));
  left: 50%;
  translate: -50% 0;
  color: rgba(255, 255, 255, 0.7);
  animation: bob 2.4s ease-in-out infinite;
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
}
@keyframes bob {
  50% {
    transform: translateY(6px);
  }
}

/* Secciones */
.section {
  padding: clamp(56px, 8vw, 104px) 0;
}
.section--compact {
  padding: clamp(32px, 5vw, 56px) 0;
}
.anchor {
  display: block;
  position: relative;
  top: -68px;
}
.section--dark {
  background: var(--black);
  color: var(--white);
}
.section--dark .eyebrow,
.section--dark .muted {
  color: var(--grey-dark);
}
.intro {
  margin-top: 14px;
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}
.split--center {
  align-items: center;
}
.split--even {
  grid-template-columns: 1fr 1fr;
}

/* Desplegables "Seguir leyendo" */
.more summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}
.more summary::-webkit-details-marker {
  display: none;
}
.more summary::after {
  content: '';
  width: 7px;
  height: 7px;
  margin-top: -3px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}
.more[open] summary::after {
  margin-top: 3px;
  transform: rotate(-135deg);
}
.more__body > * + * {
  margin-top: 16px;
}
.more__body {
  margin-top: 16px;
}
.split__text > * + * {
  margin-top: 20px;
}
.split__text .title + * {
  margin-top: 28px;
}
.split__media img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  filter: grayscale(1);
}
.split__media--logo {
  display: grid;
  place-items: center;
}
.split__media--logo img {
  width: min(240px, 60%);
  border-radius: 50%;
}

.quote {
  margin-top: 32px !important;
  padding-left: 20px;
  border-left: 2px solid var(--black);
}
.quote p {
  font-size: 20px;
  font-weight: 300;
  line-height: 1.45;
}
.quote cite {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  font-style: normal;
  letter-spacing: 0.08em;
  color: var(--grey);
}
.split__text .btn {
  margin-top: 32px;
}

/* Valores */
.values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  overflow: hidden;
}
.values li {
  padding: 24px 24px 26px;
  background: var(--black);
}
.values__n {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--grey-dark);
}
.values h3 {
  font-size: 20px;
  font-weight: 300;
}
.values p {
  margin-top: 10px;
  font-size: 15px;
  color: #bdbdbd;
}

/* Horarios */
.schedule {
  border-top: 1px solid var(--line);
}
.schedule li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.schedule__day {
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey);
}
.schedule__slots {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  font-size: 19px;
  font-weight: 300;
}
.schedule__slots b {
  margin-right: 8px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
#horarios .small {
  margin-top: 20px;
}

/* Galería: tira horizontal */
.gallery {
  position: relative;
  background: var(--black);
}
.gallery__track {
  display: flex;
  gap: 6px;
  height: clamp(280px, 42vw, 520px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  outline: 0;
}
.gallery__track::-webkit-scrollbar {
  display: none;
}
.gallery__track figure {
  flex: 0 0 auto;
  height: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  scroll-snap-align: start;
}
.gallery__track .gallery__wide {
  aspect-ratio: 4 / 3;
}
.gallery__track img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  transition: filter 0.6s ease;
}
.gallery__track figure:hover img {
  filter: grayscale(0);
}
.gallery__nav {
  position: absolute;
  right: var(--gutter);
  bottom: 16px;
  display: flex;
  gap: 8px;
}
.gallery__nav button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: var(--white);
  cursor: pointer;
  backdrop-filter: blur(6px);
}
.gallery__nav button:hover {
  background: var(--black);
}

/* Precios (dentro de la reserva) */
.prices {
  margin-top: 28px;
  border-top: 1px solid var(--line);
}
.prices li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.prices span {
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey);
}
.prices b {
  font-size: 30px;
  font-weight: 200;
}
.prices small {
  font-size: 15px;
  color: var(--grey);
}

/* Preguntas frecuentes */
.faq {
  max-width: calc(760px + 2 * var(--gutter));
  margin-top: clamp(48px, 6vw, 72px);
}
.faq__title {
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey);
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq details:first-of-type {
  border-top: 1px solid var(--line);
}
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  font-size: 17px;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  font-size: 22px;
  font-weight: 200;
  line-height: 1;
  transition: transform 0.2s ease;
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq details p {
  padding: 0 0 18px;
  color: var(--grey);
  line-height: 1.6;
}

/* Precios */
.pricing {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 16px;
  margin-top: 44px;
}
.price {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 32px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.price h3 {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey);
}
.price__amount {
  font-size: 48px;
  font-weight: 200;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.price__amount span {
  font-size: 17px;
  color: var(--grey);
}
.price p:last-of-type {
  font-size: 15px;
}
.price--feature {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}
.price--feature h3 {
  color: var(--grey-dark);
}
.price--feature .btn {
  margin-top: auto;
  align-self: flex-start;
}

.price__extra {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--grey);
}

/* Contacto */
.actions {
  margin-top: 28px !important;
}
.contact {
  border-top: 1px solid var(--line-dark);
}
.contact li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-dark);
}
.contact__label {
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey-dark);
}
.contact a {
  text-decoration: none;
  overflow-wrap: anywhere;
  text-align: right;
}
.contact a:hover {
  text-decoration: underline;
}

/* Pie */
.footer {
  padding: 72px 0 calc(48px + env(safe-area-inset-bottom));
  background: var(--black);
  color: var(--white);
  border-top: 1px solid var(--line-dark);
  text-align: center;
}
.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.footer__inner img {
  width: 84px;
  height: auto;
  opacity: 0.9;
}
.footer__claim {
  margin-top: 6px;
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.footer__affiliation,
.footer__copy {
  font-size: 13px;
  color: var(--grey-dark);
}
.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  margin-top: 10px;
  font-size: 14px;
}
.footer a {
  text-decoration: none;
}
.footer a:hover {
  text-decoration: underline;
}

/* Reproductor */
.player {
  width: min(1100px, 100vw - 32px);
  max-height: calc(100vh - 32px);
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: var(--black);
  overflow: visible;
}
.player::backdrop {
  background: rgba(0, 0, 0, 0.88);
}
.player video {
  width: 100%;
  max-height: calc(100vh - 32px);
  border-radius: var(--radius);
}
.player__close {
  position: absolute;
  top: -48px;
  right: 0;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--white);
  cursor: pointer;
}

/* Revelado suave al hacer scroll */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* Marcas de contenido pendiente (se quitan antes de publicar) */
.pendiente {
  outline: 2px dashed #e0a100;
  outline-offset: 4px;
}
.note.pendiente {
  margin-top: 20px;
  padding: 10px 14px;
  border-radius: 8px;
  background: #fff6d6;
  color: #6b4e00;
  font-size: 14px;
  outline: 0;
}

/* Móvil */
@media (max-width: 900px) {
  .topbar__nav {
    display: none;
  }
  .topbar {
    gap: 8px;
  }
  .topbar__trial {
    display: inline-block;
  }
  .topbar__students {
    white-space: nowrap;
  }
  .split {
    grid-template-columns: 1fr;
  }
  .split__media {
    order: -1;
  }
  .split--center .split__media {
    order: 0;
  }
  .values {
    grid-template-columns: 1fr 1fr;
  }
  .pricing {
    grid-template-columns: 1fr;
  }
  .gallery {
    grid-template-columns: 1fr 1fr;
  }
  .gallery__third {
    grid-column: 1 / -1;
    aspect-ratio: 4 / 3 !important;
  }
}
@media (max-width: 560px) {
  body {
    font-size: 16px;
  }
  .values {
    grid-template-columns: 1fr;
  }
  .values li {
    padding: 26px 22px 28px;
  }
  .values h3 {
    margin-top: 14px;
  }
  .schedule li {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .hero__actions {
    flex-direction: column;
    width: 100%;
    max-width: 340px;
  }
  .gallery__wide {
    aspect-ratio: 4 / 3 !important;
  }
}

/* Fundador */
.section--soft {
  background: var(--paper);
}
.coach {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}
.coach__photo img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  filter: grayscale(1) contrast(1.05);
}
.coach__text > * + * {
  margin-top: 20px;
}
.coach__text .title + * {
  margin-top: 28px;
}

.stats {
  display: flex;
  gap: 1px;
  margin-top: 28px !important;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.stats li {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 4px;
  padding: 18px 22px;
  background: var(--white);
}
.stats__value {
  font-size: 32px;
  font-weight: 200;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.stats__label {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey);
}

.footer .footer__affiliation {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.footer .footer__affiliation img {
  width: 40px;
  height: 40px;
  opacity: 0.85;
  filter: grayscale(1);
  transition: filter 0.3s ease, opacity 0.3s ease;
}
.footer .footer__affiliation:hover img {
  opacity: 1;
  filter: none;
}

/* Prensa */
.section--tight {
  padding: clamp(56px, 8vw, 96px) 0;
  border-top: 1px solid var(--line);
}
.press {
  display: grid;
  gap: 14px;
  margin-top: 24px;
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  transition: border-color 0.2s ease;
}
.press:hover {
  border-color: var(--ink);
}
.press__source {
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey);
}
.press__title {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.25;
}
.press__more {
  font-size: 14px;
  font-weight: 500;
}

@media (max-width: 900px) {
  .coach {
    grid-template-columns: 1fr;
  }
  .coach__photo {
    max-width: 420px;
  }
}

/* Reserva de clase de prueba */
.btn--outline {
  border-color: var(--line);
  color: var(--ink);
  background: var(--white);
}
.btn--outline:hover {
  border-color: var(--ink);
}
.btn--full {
  width: 100%;
}
.btn[disabled] {
  opacity: 0.6;
  cursor: progress;
}
.booking {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}
.booking__intro > * + * {
  margin-top: 20px;
}
.booking__intro .title + * {
  margin-top: 28px;
}
.booking__form,
.booking__done {
  padding: clamp(22px, 4vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.booking__form fieldset {
  margin: 0 0 22px;
  padding: 0;
  border: 0;
}
.booking__form legend,
.field > span {
  display: block;
  margin-bottom: 10px;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey);
}
.slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 8px;
}
.slot {
  position: relative;
}
.slot input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.slot span {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-height: 64px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}
.slot b {
  font-weight: 500;
}
.slot small {
  font-size: 13px;
  color: var(--grey);
}
.slot input:checked + span {
  border-color: var(--black);
  background: var(--black);
  color: var(--white);
}
.slot input:checked + span small {
  color: #bdbdbd;
}
.slot input:focus-visible + span {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
.field {
  display: block;
  margin-bottom: 18px;
}
.field input {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  font: inherit;
  font-size: 16px;
  color: var(--ink);
}
.field input:focus {
  border-color: var(--ink);
  outline: none;
  background: var(--white);
}
.check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 4px 0 18px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--grey);
  cursor: pointer;
}
.check input {
  width: 20px;
  height: 20px;
  margin-top: 1px;
  flex-shrink: 0;
  accent-color: var(--black);
}
.trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-error {
  min-height: 22px;
  margin-bottom: 10px;
  font-size: 14px;
  color: #b42318;
}
.booking__done > * + * {
  margin-top: 18px;
}
.booking__when {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 200;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.booking__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.linklike {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  text-decoration: underline;
  cursor: pointer;
}
@media (max-width: 900px) {
  .booking {
    grid-template-columns: 1fr;
  }
}
.firstday {
  margin-top: clamp(48px, 7vw, 88px);
}
.firstday__title {
  margin: 0 0 24px;
  font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 200;
  letter-spacing: -0.02em;
}
.firstday__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.firstday__card {
  padding: clamp(22px, 4vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.firstday__card ul {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}
.firstday__card li {
  padding: 12px 0;
  border-top: 1px solid var(--line);
  line-height: 1.5;
}
.firstday__card li:first-child {
  border-top: 0;
}
.firstday__card strong {
  font-weight: 600;
}
@media (max-width: 700px) {
  .firstday__grid {
    grid-template-columns: 1fr;
  }
}

/* Prensa dentro de Contacto */
.section--dark .press {
  gap: 10px;
  margin-top: 32px;
  padding: 22px 24px;
  border-color: var(--line-dark);
}
.section--dark .press:hover {
  border-color: var(--grey);
}
.section--dark .press__source {
  color: var(--grey-dark);
}
.section--dark .press__title {
  font-size: 19px;
}

/* Versión compacta en móvil */
@media (max-width: 900px) {
  .split--even {
    grid-template-columns: 1fr;
  }
  .split__media img,
  .coach__photo img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center 30%;
  }
  .coach__photo {
    max-width: none;
  }
  .gallery__nav {
    display: none;
  }
}
@media (max-width: 560px) {
  .title {
    font-size: 32px;
  }
  .values {
    grid-template-columns: 1fr 1fr;
  }
  .values li {
    padding: 18px 16px 20px;
  }
  .values h3 {
    margin-top: 0;
    font-size: 17px;
  }
  .values p {
    font-size: 14px;
  }
  .schedule li {
    grid-template-columns: 1fr auto;
  }
  .gallery__track {
    height: 320px;
  }
  .gallery__track figure {
    max-width: 82vw;
  }
}

/* Confirmación de la clase de prueba */
.confirm {
  width: min(520px, 100vw - 32px);
  max-height: calc(100dvh - 32px);
  padding: clamp(24px, 5vw, 36px);
  border: 0;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  overflow-y: auto;
}
.confirm::backdrop {
  background: rgba(0, 0, 0, 0.6);
}
.confirm > * + * {
  margin-top: 14px;
}
.confirm__title {
  font-size: clamp(26px, 5vw, 34px);
  font-weight: 200;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.confirm__when {
  font-size: 20px;
  font-weight: 500;
}
.confirm__info {
  margin-top: 20px;
  padding: 18px 20px;
  border-radius: 12px;
  background: var(--paper);
  font-size: 15px;
  line-height: 1.55;
}
.confirm__info p + .confirm__label {
  margin-top: 14px;
}
.confirm__label {
  margin-bottom: 4px;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey);
}
.confirm__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.confirm__ok {
  display: block;
  margin: 18px auto 0;
  padding: 10px 16px;
  font-weight: 500;
}

/* Botón de idioma */
.topbar__lang {
  flex: 0 0 auto;
  min-width: 40px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  cursor: pointer;
}
.topbar__lang:hover {
  border-color: var(--white);
}
.footer__links .linklike {
  color: inherit;
  text-decoration: none;
  opacity: 0.85;
}

/* Tipo de reserva y aviso de pago */
.slots--kinds {
  grid-template-columns: 1fr 1fr;
}
.booking__pay {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  font-size: 15px;
  font-weight: 500;
}
.booking__pay[hidden] {
  display: none;
}
@media (max-width: 420px) {
  .topbar__trial,
  .topbar__students {
    padding: 7px 11px;
    font-size: 13px;
  }
}

/* Botón de volver arriba */
.to-top {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 40;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.82);
  color: var(--white);
  cursor: pointer;
  backdrop-filter: blur(8px);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.to-top.is-visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.to-top:hover {
  background: var(--black);
}
