/* Karate Studio Satélite — estilos
   Medidas tomadas de la versión en Framer a 1440 px de ancho. */
:root {
  --black: #0d0d0d;
  --white: #f2f2f2;
  --pure: #ffffff;
  --grey: #9a9a9a;
  --line: rgba(242, 242, 242, 0.18);
  --wa: #25d366;
  --display: 'Fjalla One', 'Arial Narrow', Impact, sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --pad: max(20px, 2.8vw);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font: 400 16px/1.5 var(--display);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; font-weight: 400; }
:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ----------------------------------------------------------- Navegación */
.nav {
  position: absolute; inset: 0 0 auto; z-index: 50;
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px var(--pad);
  pointer-events: none;
}
.nav > * { pointer-events: auto; }
.nav__logo img { width: 86px; height: auto; }
.nav__links { display: flex; gap: 20px; }
.nav__links a {
  font: 22.5px/1.3 var(--display); letter-spacing: -0.02em; color: var(--white);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
  transition: opacity 0.2s;
}
.nav__links a:hover { opacity: 0.7; }
@media (max-width: 640px) {
  .nav__logo img { width: 64px; }
  .nav__links { gap: 14px; }
  .nav__links a { font-size: 17px; }
}

/* Aviso de privacidad */
.legal { max-width: 760px; margin: 0 auto; padding: 140px var(--pad) 10vh; font: 400 16px/1.65 var(--body); color: rgba(242, 242, 242, 0.85); }
.legal h1 { font-size: clamp(34px, 5vw, 56px); color: var(--white); margin-bottom: 6px; }
.legal h2 { font: 700 20px/1.3 'Montserrat', sans-serif; color: var(--white); margin: 40px 0 10px; scroll-margin-top: 110px; }
.legal p, .legal ul { margin: 0 0 14px; }
.legal ul { padding-left: 1.2em; list-style: disc; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--white); text-decoration: underline; text-underline-offset: 2px; }
.legal__date { color: var(--grey); font-size: 14px; }
.legal__btn { min-height: 44px; padding: 10px 18px; border-radius: 8px; border: 1px solid var(--white); background: transparent; color: var(--white); font: 700 14px/1 'Montserrat', sans-serif; cursor: pointer; }
.legal__btn:hover { background: rgba(242, 242, 242, 0.1); }

/* WhatsApp flotante */
.wa {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--wa); display: grid; place-items: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s;
}
.wa:hover { transform: scale(1.08); }

/* Botón blanco con letras que saltan */
.pill {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 100px; padding: 9px 16px; border-radius: 8px;
  background: var(--white); color: var(--black);
  font: 16px/1.2 var(--display);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s;
}
.pill:hover { transform: translateY(-1px); }
.pill__txt { display: inline-flex; }
.pill__txt span { display: inline-block; }
.pill:hover .pill__txt span { animation: hop 0.45s ease calc(var(--i) * 25ms); }
@keyframes hop { 40% { transform: translateY(-4px); } }

/* ----------------------------------------------------------------- Hero */
/* El hero mide una pantalla; los logos de las asociaciones quedan montados
   sobre su borde inferior, igual que en la versión de Framer. */
.hero { position: relative; height: 100vh; min-height: 620px; z-index: 1; }
.hero__clip { position: absolute; inset: 0; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__kicker {
  position: absolute; left: 50%; top: 93px; transform: translateX(-50%);
  text-align: center; font-size: 15px; line-height: 24px; letter-spacing: -0.02em; white-space: nowrap;
}
.hero__title {
  position: absolute; left: 0; bottom: 50px; margin: 0;
  display: flex; flex-direction: column; width: min(790px, calc(100% - 16px));
}
.hero__arte { font-size: min(60px, 7vw); line-height: 1; letter-spacing: -0.04em; padding-left: 20px; }
.hero__marcial { font-size: min(225px, 26.5vw); line-height: 0.9; letter-spacing: -0.04em; }
.hero__todos { text-align: right; font-size: min(45px, 5.4vw); line-height: 1.4; letter-spacing: -0.04em; }
.hero__assoc {
  --logo: min(198px, 30vw);
  /* dentro de la foto, en la esquina inferior derecha (en celular: debajo del título) */
  position: absolute; right: 24px; bottom: 40px; width: min(400px, 75vw); overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent);
  animation: rise 1s cubic-bezier(.16,1,.3,1) .35s both;
}
.hero__track { display: flex; gap: 10px; width: max-content; padding: 0 10px; animation: ticker 6.24s linear infinite; /* 3 logos × 208 px a 100 px/s */ }
.hero__logo { flex: none; }
.hero__assoc img { display: block; width: var(--logo); height: auto; }
@keyframes ticker { to { transform: translateX(calc(-3 * (var(--logo) + 10px))); } }
/* entrada del hero con CSS: aparece aunque el JavaScript tarde */
.hero__title > span, .hero__kicker { animation: rise 1s cubic-bezier(.16,1,.3,1) both; }
.hero__kicker { animation-name: rise-center; }
.hero__marcial { animation-delay: .1s; }
.hero__todos { animation-delay: .2s; }
@keyframes rise { from { opacity: 0; transform: translateY(40px); } }
@keyframes rise-center { from { opacity: 0; transform: translate(-50%, 20px); } }
/* pantallas medianas y celular: los logos van debajo del título, dentro de la foto */
@media (max-width: 1199px) {
  .hero { --logo-m: min(150px, 30vw); }
  .hero__title { bottom: calc(var(--logo-m) + 40px); }
  .hero__assoc { --logo: var(--logo-m); left: 0; right: 0; margin: 0 auto; bottom: 20px; width: min(100%, 420px); }
  /* título centrado, como en Framer en tablet y celular */
  .hero__title { left: 0; right: 0; margin: 0 auto; width: max-content; max-width: calc(100% - 16px); align-items: center; text-align: center; }
  .hero__arte { padding-left: 0; }
  .hero__todos { text-align: center; }
}
@media (max-width: 700px) {
  .hero__kicker { top: 84px; font-size: 13px; line-height: 20px; }
  /* en celular se ve el chico de la izquierda en vez del centro de la foto */
  .hero__bg { object-position: 22% center; }
}

/* ----------------------------------------------------------- Manifiesto */
.manifesto { padding: calc(30vh + 150px) var(--pad) 12vh; text-align: center; }
.manifesto__quote { font-size: clamp(28px, 3.125vw, 45px); line-height: 1.4; letter-spacing: -0.04em; }
.stats { display: flex; justify-content: center; gap: 0; margin-top: 10vh; }
.stat { width: min(320px, 44vw); display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-end; }
.stat__n, .stat__plus { font-size: clamp(56px, 7vw, 100px); line-height: 1.1; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.stat__label { flex-basis: 100%; font-size: clamp(15px, 1.56vw, 22.5px); line-height: 36px; text-align: center; letter-spacing: -0.02em; }

/* ---------------------------------------------------------- Disciplinas */
/* Disciplinas: espiral 3D (copiada de Framer). --k escala todo en pantallas chicas (lo pone main.js) */
.disc { --k: 1; }
.disc__stage { position: relative; height: 100vh; min-height: 640px; overflow: hidden; }
.disc__title { position: relative; z-index: 2; text-align: center; padding-top: 6vh; font-size: clamp(40px, 4.17vw, 60px); letter-spacing: -0.04em; }
.disc__helix {
  position: absolute; left: 50%; top: 55%; width: 0; height: 0; transform-style: preserve-3d;
  transform: perspective(1200px) translateY(calc(360px * var(--k))) rotateY(90deg);
}
.disc__row { position: absolute; left: 0; top: calc((var(--i) - 2) * 160px * var(--k)); transform-style: preserve-3d; transform: rotateY(calc(var(--i) * 45deg)); }
.disc__card {
  position: absolute; display: block; overflow: hidden; border-radius: 4px;
  width: calc(300px * var(--k)); height: calc(500px * var(--k));
  left: calc(-432px * var(--k) - 150px * var(--k)); top: calc(-250px * var(--k));
  transform: rotateY(-90deg);
}
.disc__card img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.62); transition: filter 0.4s, transform 0.6s; }
.disc__card:hover img { filter: brightness(0.85); transform: scale(1.03); }
.disc__card span {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center;
  font-size: calc(39px * var(--k)); letter-spacing: -0.04em; color: var(--pure);
}
}

/* ------------------------------------------------------ Letra por letra */
.letters .word { display: inline-block; white-space: nowrap; }
.letters .ch { display: inline-block; }

/* -------------------------------------------------------------- Enfoques */
.focus { padding: 14vh var(--pad) 10vh; text-align: center; }
.focus__title { font-size: clamp(36px, 4.17vw, 60px); line-height: 1; letter-spacing: -0.04em; }
.focus__sub { font-size: clamp(17px, 1.56vw, 22.5px); line-height: 1.3; letter-spacing: -0.02em; margin: 3vh auto 0; max-width: 32em; }
.focus__stack { position: relative; height: 680px; max-width: 1000px; margin: 7vh auto 0; }
.fcard {
  position: absolute; left: 50%; top: 40px; width: 350px; height: 600px; margin-left: -175px;
  border-radius: 14px; overflow: hidden; text-align: left;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}
.fcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(0.75); }
.fcard::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,0.35), transparent 30%, transparent 55%, rgba(0,0,0,0.6)); }
.fcard h3, .fcard p { position: relative; z-index: 1; }
.fcard h3 { padding: 22px 22px 0; font-size: 22.5px; line-height: 1.4; letter-spacing: -0.02em; }
.fcard p { position: absolute; left: 22px; right: 22px; bottom: 26px; font-size: 22.5px; line-height: 1.3; letter-spacing: -0.02em; }
.fcard--left, .fcard--right { width: 306px; height: 470px; margin-left: -153px; top: 105px; }
.fcard--left p, .fcard--right p { font-size: 16.5px; line-height: 1.6; }
.fcard--left { z-index: 1; transform: translateX(-62%) rotate(-7deg); }
.fcard--right { z-index: 1; transform: translateX(62%) rotate(7deg); }
.fcard--center { z-index: 2; }
@media (max-width: 760px) {
  .focus__stack { height: auto; display: flex; flex-direction: column; gap: 18px; align-items: center; }
  .fcard, .fcard--left, .fcard--right { position: relative; left: auto; top: auto; margin: 0; width: min(350px, 88vw); height: 480px; transform: none !important; }
  .fcard--center { order: -1; }
}

/* ------------------------------------- Momento: fotos que vuelan hacia ti */
.moment { position: relative; }
.moment__stage { position: relative; height: 100vh; min-height: 600px; overflow: hidden; display: grid; place-items: center; }
.moment__glow {
  position: absolute; inset: -10%; pointer-events: none; filter: blur(70px); opacity: 0.8;
  background:
    radial-gradient(40% 35% at 25% 45%, rgba(200, 30, 40, 0.55), transparent 70%),
    radial-gradient(35% 30% at 75% 40%, rgba(150, 110, 170, 0.4), transparent 70%),
    radial-gradient(45% 35% at 50% 75%, rgba(120, 120, 120, 0.35), transparent 70%);
}
.moment__cards { position: absolute; inset: 0; z-index: 1; perspective: 1000px; }
.moment__card {
  --w: clamp(280px, 30vw, 540px);
  position: absolute; left: 50%; top: 50%;
  /* respeta el formato original: cabe en una caja de --w de ancho por 0.95·--w de alto */
  width: auto; height: auto; max-width: var(--w); max-height: calc(var(--w) * 0.95); border-radius: 12px; box-shadow: 0 24px 70px rgba(0,0,0,0.6);
  transform: translate3d(calc(var(--x) * 1vw), calc(var(--y) * 1vh), 0) translate(-50%, -50%); backface-visibility: hidden;
}
/* sombra oscura detrás del texto, como en la referencia */
.moment__center::before {
  content: ''; position: absolute; inset: -12% -8%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(10,10,10,0.92), rgba(10,10,10,0.6) 60%, transparent); filter: blur(20px);
}
.moment__center { position: relative; z-index: 2; display: grid; justify-items: center; gap: 2.4vh; text-align: center; padding: 0 var(--pad); max-width: 900px; }
.moment__title { font-size: clamp(32px, 3.9vw, 56px); line-height: 1.1; letter-spacing: -0.03em; color: var(--pure); text-shadow: 0 4px 30px rgba(0,0,0,0.7); }
.moment__sub { font-family: 'Fjalla One', sans-serif; font-size: clamp(24px, 2.6vw, 38px); letter-spacing: -0.02em; line-height: 1; color: var(--pure); text-shadow: 0 4px 30px rgba(0,0,0,0.7); }
.moment__text { font-size: clamp(15px, 1.25vw, 19px); line-height: 1.35; letter-spacing: -0.01em; max-width: 640px; text-shadow: 0 2px 20px rgba(0,0,0,0.9); }
@media (max-width: 700px) {
  .moment__card { --w: 62vw; }
}
/* sin animación (o si falla el JS): las fotos quedan alrededor, tenues */
.moment:not(.is-3d) .moment__card { opacity: 0.3; }

/* ------------------------------------------------------------------ Pie */
.footer {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px;
  max-width: 1440px; margin: 0 auto; padding: 8vh max(var(--pad), calc(50% - 380px)) 14vh;
}
.footer__brand { display: flex; align-items: center; gap: 10px; font-size: 15px; letter-spacing: -0.02em; white-space: nowrap; }
.footer__brand img { width: 135px; height: auto; }
.footer__social { display: flex; gap: 10px; }
.footer__link { order: 3; flex-basis: 100%; text-align: center; font-size: 18px; letter-spacing: 0.04em; color: var(--grey); transition: color 0.2s; }
.footer__link:hover { color: var(--white); }
.footer__social img { width: 48px; height: 48px; }
@media (max-width: 900px) { .footer { padding: 6vh var(--pad) 14vh; } .footer__brand { white-space: normal; max-width: 60%; } .footer__brand img { width: 96px; } }

/* --------------------------------------------------- Páginas disciplina */
.dhero { position: relative; height: 82vh; min-height: 480px; overflow: hidden; }
.dhero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dhero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(0,0,0,0.55), rgba(0,0,0,0) 60%), linear-gradient(0deg, rgba(0,0,0,0.45), rgba(0,0,0,0) 40%); }
.dhero__content { position: absolute; z-index: 2; left: 8%; right: 6%; top: 50%; transform: translateY(-50%); display: grid; justify-items: start; gap: 22px; }
.dhero__title {
  font-size: clamp(64px, 10vw, 150px); line-height: 1; letter-spacing: -0.03em; color: rgba(242, 242, 242, 0.92);
}
.dhero__days { font: 600 12px/1 'Montserrat', sans-serif; letter-spacing: 0.26em; color: rgba(255,255,255,0.85); text-shadow: 0 2px 14px rgba(0,0,0,0.5); }
.dhero__btns { display: flex; gap: 10px; flex-wrap: wrap; }
/* botones píldora (igual que en la página de inicio): la perilla gira y su color llena el botón */
.cpill { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; gap: 18px; border-radius: 999px; padding: 6px 6px 6px 24px;
  font: 600 15px/1 'Montserrat', sans-serif; letter-spacing: -0.01em; white-space: nowrap; color: #fff; transition: color 0.2s ease; }
.cpill:hover { transition: color 0.25s ease 0.12s; }
.cpill__knob { position: relative; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-size: 17px; flex: none; transition: transform 0.45s cubic-bezier(.16,1,.3,1); }
.cpill__knob::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; z-index: -1; transition: transform 0.55s cubic-bezier(.16,1,.3,1); }
.cpill:hover .cpill__knob { transform: rotate(-45deg); }
.cpill:hover .cpill__knob::before { transform: scale(14); }
.cpill--solid { background: #0b0807; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.14), 0 10px 30px rgba(0,0,0,0.35); }
.cpill--solid .cpill__knob { background: #e5231b; color: #fff; }
.cpill--glass { background: rgba(255,255,255,0.1); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.3); backdrop-filter: blur(10px); }
.cpill--glass .cpill__knob { background: #fff; color: #0b0807; }
.cpill--glass:hover { color: #0b0807; }
@media (max-width: 600px) { .dhero__content { left: 6%; top: auto; bottom: 8%; transform: none; } .dhero__btns { flex-direction: column; align-items: flex-start; } }
.dquote { padding: 18vh var(--pad); text-align: center; }
.dquote p { font-size: clamp(24px, 2.6vw, 37px); line-height: 1.3; letter-spacing: -0.03em; max-width: 24em; margin: 0 auto; }
.dquote i { font-style: italic; }
.dvideo { padding: 0 0 10vh; }
.dvideo__frame { position: relative; width: 100%; height: 100vh; overflow: hidden; background: #111; }
.dvideo__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dvideo__frame iframe { position: absolute; left: 50%; top: 50%; width: max(100%, 177.78vh); height: max(100%, 56.25vw); transform: translate(-50%, -50%); border: 0; pointer-events: none; }

.steps { max-width: 1200px; margin: 0 auto; padding: 0 var(--pad); }
.step {
  display: grid; grid-template-columns: 1fr 180px min(490px, 44vw); gap: 0 40px;
  border-top: 1px solid var(--line); padding: 6vh 0 8vh;
}
.step__n { position: relative; }
.step__n span { position: sticky; top: 90px; display: block; font-size: clamp(120px, 15vw, 220px); line-height: 0.8; letter-spacing: -0.04em; }
.step__label { font-size: 16px; text-align: right; padding-top: 10px; }
.step__text p { font-size: clamp(24px, 2.4vw, 34px); line-height: 1.25; letter-spacing: -0.02em; }
.step__text--small p { font-size: clamp(20px, 1.9vw, 27px); }
.step__img { width: min(330px, 70%); aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; margin: 4vh 0 3vh; filter: grayscale(1); }
.acc { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-family: var(--body); }
.acc summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  padding: 22px 4px; font-size: 16px; font-weight: 500;
}
.acc summary::-webkit-details-marker { display: none; }
.acc__icon { position: relative; width: 14px; height: 14px; }
.acc__icon::before, .acc__icon::after { content: ''; position: absolute; left: 0; top: 6px; width: 14px; height: 1.5px; background: currentColor; transition: transform 0.25s; }
.acc__icon::after { transform: rotate(90deg); }
.acc[open] .acc__icon::after { transform: rotate(0); }
.acc p { padding: 0 4px 22px; font-size: 15px; line-height: 1.6; color: #cfcfcf; max-width: 46em; }
@media (max-width: 760px) {
  .step { grid-template-columns: auto 1fr; }
  .step__n span { font-size: 110px; position: static; }
  .step__label { text-align: left; }
  .step__body { grid-column: 1 / -1; margin-top: 2vh; }
  .step__img { width: 100%; }
}

/* Cierre: ARTE MARCIAL PARA TODOS */
.cta-end { padding: 12vh var(--pad) 4vh; text-align: center; display: grid; justify-items: center; gap: 22px; }
.cta-end__title { font-size: clamp(40px, 4.17vw, 60px); line-height: 1; letter-spacing: -0.04em; }
.cta-end__btns { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }

/* -------------------------------------------------------------- Horario */
.hhero img { width: 100%; height: 72vh; min-height: 380px; object-fit: cover; }
.sch { background: var(--white); color: var(--black); padding: 8vh 0 10vh; }
.sch__title { text-align: center; font-size: clamp(36px, 3.4vw, 49px); letter-spacing: -0.02em; margin-bottom: 5vh; }
.sch__wrap { position: relative; }
.sch__scroller {
  display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 0 var(--pad) 24px; scrollbar-width: none;
}
.sch__scroller::-webkit-scrollbar { display: none; }
.sch__col {
  flex: none; width: 132px; scroll-snap-align: start;
  border: 1px solid rgba(13, 13, 13, 0.22); border-radius: 40px 40px 26px 26px;
  padding: 22px 6px 18px; text-align: center; background: var(--white);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}
.sch__col p { font-size: clamp(15px, 1.5vw, 21px); line-height: 2.2; letter-spacing: -0.01em; white-space: nowrap; }
.sch__col .sch__soon { opacity: 0.55; }
.sch__soon small { font-size: 0.55em; letter-spacing: 0.02em; vertical-align: 0.35em; }
.sch__col .sch__head { font-size: clamp(16px, 1.6vw, 22px); }
.sch__col--hours { position: sticky; left: 0; z-index: 2; }
.sch__arrow {
  position: absolute; top: 50%; width: 40px; height: 40px; margin-top: -32px; border-radius: 50%;
  border: 0; background: rgba(13, 13, 13, 0.08); cursor: pointer; display: grid; place-items: center;
}
.sch__arrow img { width: 22px; height: 22px; }
.sch__arrow--prev { left: 8px; }
.sch__arrow--next { right: 8px; }
@media (min-width: 1300px) { .sch__scroller { justify-content: center; } .sch__arrow { display: none; } }

.hlist { padding: 10vh var(--pad); max-width: 1200px; margin: 0 auto; }
.hlist__title { text-align: center; font-size: clamp(36px, 3.4vw, 49px); letter-spacing: -0.02em; margin-bottom: 5vh; }
.hlist__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 4vw; align-items: start; }
.hlist__names { list-style: none; margin: 0; padding: 0; }
.hlist__names a {
  display: block; border-bottom: 1px solid var(--white); padding-top: 4px;
  font-size: clamp(36px, 4.2vw, 60px); line-height: 1.1; letter-spacing: -0.03em; color: #3a3a3a;
  transition: color 0.25s;
}
.hlist__names a.is-on, .hlist__names a:hover { color: var(--white); }
.hlist__img img { width: 100%; aspect-ratio: 9 / 13; object-fit: cover; filter: grayscale(1); transition: opacity 0.25s; }
@media (max-width: 760px) { .hlist__grid { grid-template-columns: 1fr; } .hlist__img { display: none; } }

/* -------------------------------------------------------------- Nosotros */
.ahero { height: 100vh; display: grid; place-items: center; }
.ahero__title { font-size: clamp(60px, 7.8vw, 112px); letter-spacing: 0.08em; line-height: 1; }
.ahero__title .ch { display: inline-block; }
/* 5 columnas de fotos iguales; cada columna sube desde abajo a distinta distancia (main.js) */
.mosaic { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; max-width: 1240px; margin: 0 auto; padding: 0 var(--pad); overflow: hidden; }
.mosaic__col { display: grid; gap: 13px; align-content: start; }
.mosaic__img { width: 100%; aspect-ratio: 240 / 224; object-fit: cover; border-radius: 4px; }
@media (max-width: 700px) {
  .mosaic { grid-template-columns: repeat(2, 1fr); }
  .mosaic__col { display: contents; }
}
.about { max-width: 820px; margin: 0 auto; padding: 18vh var(--pad) 4vh; text-align: center; display: grid; gap: 20px; }
.about p { font-size: clamp(19px, 1.9vw, 27px); line-height: 1.35; letter-spacing: -0.02em; }

/* -------------------------------------------------------------- Contacto */
.chero { position: relative; min-height: 100vh; overflow: hidden; display: flex; align-items: center; padding: 110px var(--pad) 60px; }
.chero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.chero__box { position: relative; width: min(420px, 100%); }
.chero__title { font-size: clamp(30px, 3vw, 43px); line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 28px; display: grid; }
.chero__title > span { grid-area: 1 / 1; }
.type__sizer { visibility: hidden; }
.type::after { content: ''; display: inline-block; width: 0.5em; height: 0.9em; margin-left: 6px; vertical-align: -0.08em; background: var(--black); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.form { display: grid; gap: 16px; width: min(240px, 100%); font-size: 13px; }
.form label { display: grid; gap: 8px; }
.form input, .form select {
  width: 100%; height: 40px; border: 0; border-radius: 8px; padding: 0 12px;
  background: rgba(255, 255, 255, 0.15); color: var(--white); font: 14px var(--body);
}
.form select option { color: var(--black); }
.form button {
  height: 40px; border: 0; border-radius: 8px; background: var(--black); color: var(--white);
  font: 14px var(--display); letter-spacing: 0.04em; cursor: pointer;
}
.form button:hover { background: #222; }
.form__note { font: 12px/1.4 var(--body); color: rgba(242, 242, 242, 0.75); }
.cinfo { display: grid; grid-template-columns: 1fr 1.6fr; gap: 3vw; align-items: center; max-width: 1200px; margin: 0 auto; padding: 10vh var(--pad) 4vh; }
.cinfo__text { text-align: center; display: grid; gap: 4px; font-size: clamp(17px, 1.56vw, 22.5px); line-height: 1.5; }
.cinfo__text a { text-decoration: underline; text-underline-offset: 3px; }
.cinfo__map { aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; background: #222; }
.cinfo__map iframe { width: 100%; height: 100%; border: 0; }
@media (max-width: 760px) { .cinfo { grid-template-columns: 1fr; } }

/* 404 */
.nf { min-height: 80vh; display: grid; place-content: center; gap: 24px; text-align: center; padding: 0 var(--pad); }
.nf h1 { font-size: clamp(36px, 5vw, 64px); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ------------------------------------------------------- Timer de rounds */
.timer {
  --ph: var(--white);
  position: relative; min-height: 100svh;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  grid-template-areas: "intro intro" "main panel";
  gap: 28px 56px; align-items: center;
  padding: 110px var(--pad) 60px; max-width: 1240px; margin: 0 auto;
}
.timer::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 55% at 32% 55%, color-mix(in srgb, var(--ph) 22%, transparent), transparent 70%);
  opacity: 0; transition: opacity 0.6s, background 0.6s;
}
.timer:not([data-phase="idle"])::before { opacity: 1; }
.timer[data-phase="prep"] { --ph: #f5b301; }
.timer[data-phase="work"] { --ph: #e1251b; }
.timer[data-phase="rest"] { --ph: #27c26c; }
.timer[data-phase="done"] { --ph: var(--white); }
.timer__intro { grid-area: intro; text-align: center; }
.timer__title { font-size: clamp(44px, 6vw, 84px); line-height: 0.95; letter-spacing: -0.03em; }
.timer__sub { font: 400 17px/1.45 var(--body); color: var(--grey); margin-top: 10px; }
.timer__main { grid-area: main; display: grid; justify-items: center; gap: 26px; }
.timer__face { position: relative; width: min(100%, 560px, 62svh); aspect-ratio: 1; }
.timer__ring { width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.timer__track { fill: none; stroke: var(--line); stroke-width: 6; }
.timer__prog {
  fill: none; stroke: var(--ph); stroke-width: 8; stroke-linecap: round;
  stroke-dasharray: 1000; stroke-dashoffset: 0;
  transition: stroke 0.4s;
  filter: drop-shadow(0 0 10px color-mix(in srgb, var(--ph) 60%, transparent));
}
.timer__center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.timer__phase { font-size: clamp(22px, 3vw, 34px); letter-spacing: 0.06em; color: var(--ph); transition: color 0.4s; }
.timer__time {
  font-size: clamp(84px, 15vw, 190px); line-height: 1; letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums; margin: 2px 0 6px;
}
.timer__round { font-size: clamp(18px, 2.2vw, 26px); color: var(--grey); letter-spacing: 0.04em; }
.timer.is-warn .timer__time { animation: twarn 0.5s steps(2) infinite; }
@keyframes twarn { 50% { color: var(--ph); } }
.timer.is-paused .timer__time { opacity: 0.45; }

.timer__btns { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.tbtn {
  font: 22px/1 var(--display); letter-spacing: 0.02em; color: var(--white);
  background: transparent; border: 1.5px solid var(--line); border-radius: 999px;
  padding: 16px 26px; cursor: pointer; transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.tbtn:hover { border-color: var(--white); }
.tbtn--main { background: var(--white); color: var(--black); border-color: var(--white); min-width: 170px; }
.tbtn--main:hover { background: transparent; color: var(--white); }
.tbtn--icon { width: 56px; height: 56px; padding: 0; display: grid; place-items: center; }
.tbtn--icon svg { width: 24px; height: 24px; fill: currentColor; }
.tbtn[aria-pressed="true"] .tbtn__waves { display: none; }
.tbtn[aria-pressed="true"] { color: var(--grey); }

.timer__panel { grid-area: panel; display: grid; gap: 22px; }
.timer__presets { display: flex; flex-wrap: wrap; gap: 8px; }
.tchip {
  font: 16px/1 var(--display); letter-spacing: 0.03em; color: var(--white);
  background: rgba(242, 242, 242, 0.06); border: 1px solid var(--line); border-radius: 999px;
  padding: 10px 16px; cursor: pointer; transition: background 0.2s, color 0.2s;
}
.tchip:hover, .tchip.is-on { background: var(--white); color: var(--black); }
.timer__settings { border-top: 1px solid var(--line); }
.tset { display: grid; grid-template-columns: 1fr 44px 92px 44px; align-items: center; gap: 6px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.tset__label { font-size: 19px; letter-spacing: 0.02em; }
.tset__val {
  width: 100%; min-width: 0; text-align: center; font: inherit; font-size: 26px; font-variant-numeric: tabular-nums;
  color: var(--white); background: transparent; border: 1px solid transparent; border-radius: 10px; padding: 6px 0;
  cursor: text; transition: border-color 0.2s, background 0.2s;
}
.tset__val:hover { border-color: var(--line); }
.tset__val:focus { outline: none; border-color: var(--white); background: rgba(242, 242, 242, 0.08); }
.tset__btn {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: transparent;
  color: var(--white); font: 24px/1 var(--body); cursor: pointer; transition: background 0.2s;
}
.tset__btn:hover { background: rgba(242, 242, 242, 0.12); }
.timer__total { font: 400 16px/1.4 var(--body); color: var(--grey); }
.timer__total span { color: var(--white); font-variant-numeric: tabular-nums; }
.timer__total-how { display: block; font-size: 14px; }
.timer__hint { font: 400 14px/1.45 var(--body); color: var(--grey); margin-top: -12px; }
/* total del ejercicio, siempre a la vista bajo el reloj */
.timer__sum { display: grid; justify-items: center; gap: 4px; text-align: center; }
.timer__sum-main { display: flex; align-items: baseline; gap: 12px; }
.timer__sum-label { font-size: 17px; letter-spacing: 0.06em; color: var(--grey); }
.timer__sum-total { font-size: clamp(30px, 3.4vw, 40px); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.timer__sum-left { font: 400 16px/1.3 var(--body); color: var(--grey); }
.timer__sum-left b { color: var(--white); font-weight: 600; font-variant-numeric: tabular-nums; }
.timer:fullscreen .timer__sum-total { font-size: clamp(30px, 4vh, 48px); }
/* mientras corre, los ajustes se atenúan para no tocarlos por error */
.timer.is-running .timer__panel { opacity: 0.35; pointer-events: none; transition: opacity 0.3s; }

/* "ver de lejos": el reloj llena la ventana (para tenerlo en media pantalla de la compu) */
html.timer-big :is(.top, .foot, .tinfo, .wa) { display: none !important; }
.timer.is-big {
  max-width: none; min-height: 100svh; grid-template-columns: minmax(0, 1fr); grid-template-areas: "main";
  place-content: center; padding: 2svh 2vw; gap: 0;
}
.timer.is-big .timer__intro, .timer.is-big .timer__panel { display: none; }
.timer.is-big .timer__main { gap: 2svh; }
.timer.is-big .timer__face { width: min(96vw, calc(100svh - 230px)); }
.timer.is-big::before { background: radial-gradient(70% 60% at 50% 45%, color-mix(in srgb, var(--ph) 24%, transparent), transparent 70%); }
.timer.is-big .timer__sum-total { font-size: clamp(32px, 6vmin, 72px); }
.timer.is-big .timer__sum-label { font-size: clamp(16px, 2.6vmin, 30px); }
.timer.is-big .timer__sum-left { font-size: clamp(18px, 3.4vmin, 40px); }
.timer.is-big .timer__sum-main { display: none; }
.timer.is-big:not(.is-running):not(.is-paused) .timer__sum-main { display: flex; }
.tbtn[data-act="big"][aria-pressed="true"] { background: var(--white); color: var(--black); border-color: var(--white); }
/* los números crecen con el reloj, no con la ventana (en grande y en pantalla completa, fase y round también) */
.timer__face { container-type: inline-size; }
.timer .timer__time { font-size: 28cqi; } /* "00:00" mide ~2.75 veces la letra: así ocupa ~77 % del aro y no se sale */
:is(.timer.is-big, .timer:fullscreen) .timer__phase { font-size: 6.5cqi; }
:is(.timer.is-big, .timer:fullscreen) .timer__round { font-size: 9cqi; color: var(--white); font-weight: 600; } /* más grande que la fase y en blanco para leerlo de lejos */

/* pantalla completa: solo el reloj */
.timer:fullscreen { background: var(--black); max-width: none; grid-template-columns: 1fr; grid-template-areas: "main"; place-content: center; padding: 4vh 4vw; }
.timer:fullscreen .timer__intro, .timer:fullscreen .timer__panel { display: none; }
.timer:fullscreen .timer__face { width: min(88vw, 78vh); }
.timer:fullscreen::before { position: absolute; }

.tinfo {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px;
  max-width: 1240px; margin: 0 auto; padding: 10vh var(--pad) 12vh;
}
.tinfo h2 { font-size: clamp(26px, 2.4vw, 34px); line-height: 1.05; letter-spacing: -0.02em; margin-bottom: 14px; }
.tinfo p { font: 400 16px/1.6 var(--body); color: #cfcfcf; margin-bottom: 12px; }
.tinfo b { color: var(--white); font-weight: 600; }
.tinfo__btns { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }

@media (max-width: 900px) {
  .timer { grid-template-columns: 1fr; grid-template-areas: "intro" "main" "panel"; padding-top: 96px; gap: 22px; }
  .timer::before { background: radial-gradient(80% 45% at 50% 38%, color-mix(in srgb, var(--ph) 24%, transparent), transparent 70%); }
  .timer__panel { width: 100%; max-width: 520px; margin: 0 auto; }
  .tinfo { grid-template-columns: 1fr; gap: 28px; }
  .tbtn { padding: 15px 22px; font-size: 20px; }
}
@media (max-width: 420px) {
  .tset { grid-template-columns: 1fr 40px 80px 40px; }
  .tset__btn { width: 40px; height: 40px; }
  .tset__label { font-size: 17px; }
}

/* Mis rutinas (timer) */
.timer__mine { display: grid; gap: 8px; }
.timer__mine-title { font-size: 17px; letter-spacing: 0.04em; }
.timer__mine-title span { font: 400 13px/1 var(--body); color: var(--grey); letter-spacing: 0; margin-left: 8px; }
.tmine { display: flex; align-items: stretch; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: border-color 0.2s, background 0.2s; }
.tmine.is-on { border-color: var(--white); background: rgba(242, 242, 242, 0.06); }
.tmine__load {
  flex: 1; min-width: 0; display: grid; gap: 3px; text-align: left; padding: 10px 14px;
  background: transparent; border: 0; color: var(--white); cursor: pointer;
}
.tmine__load b { font: 400 19px/1.1 var(--display); letter-spacing: 0.02em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tmine__load small { font: 400 13px/1.2 var(--body); color: var(--grey); }
.tmine__load:disabled { cursor: default; }
.tmine__load:disabled b { color: var(--grey); }
.tmine__load:not(:disabled):hover { background: rgba(242, 242, 242, 0.06); }
.tmine__save {
  flex: none; padding: 0 16px; background: transparent; border: 0; border-left: 1px solid var(--line);
  color: var(--white); font: 15px/1 var(--display); letter-spacing: 0.04em; cursor: pointer; transition: background 0.2s, color 0.2s;
}
.tmine__save:hover { background: var(--white); color: var(--black); }

/* ================================================================ FUENTE NUEVA (Montserrat) en todas las páginas menos la de inicio
   Provisional, mientras se rediseñan con el estilo del mockup. */
html:not(:has(main.home)) { --display: 'Montserrat', 'Arial', sans-serif; }
html:not(:has(main.home)) body { font-weight: 500; letter-spacing: -0.01em; }
html:not(:has(main.home)) :is(.legal h1, .dhero__title, .cta-end__title, .sch__title, .hlist__title, .ahero__title, .chero__title, .timer__title, .nf h1, .tinfo h2, .step__n span, .hlist a, .timer__clock) { font-weight: 800; letter-spacing: -0.05em; }
html:not(:has(main.home)) :is(.nav__links a, .btn, .pill, .footer__link, .step__label, .sch__head, .tset__label, .timer__phase, .timer__mine-title) { font-weight: 600; }
html:not(:has(main.home)) .dhero__title { font-size: clamp(44px, 9vw, 140px); line-height: 0.9; }
html:not(:has(main.home)) .ahero__title { font-size: clamp(48px, 7vw, 104px); }
html:not(:has(main.home)) .step__text p, html:not(:has(main.home)) .dquote p, html:not(:has(main.home)) .about p { font-weight: 500; letter-spacing: -0.03em; }

@media (max-width: 600px) { html:not(:has(main.home)) .nav__links { gap: 12px; } html:not(:has(main.home)) .nav__links a { font-size: 13px; letter-spacing: 0; } }

/* ================================================================ ENCABEZADO (igual al de la página de inicio) */
.top { position: fixed; inset: 0 0 auto; z-index: 50; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 20px clamp(18px, 4vw, 64px); transition: background 0.3s, padding 0.3s; font-family: 'Montserrat', sans-serif; }
.top.is-scrolled { background: rgba(8, 5, 5, 0.78); backdrop-filter: blur(12px); padding-block: 12px; }
.brand { display: flex; align-items: center; gap: 12px; justify-self: start; }
.brand__mark { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; overflow: hidden; background: #000; box-shadow: 0 0 0 1px rgba(255,255,255,0.18); }
.brand__mark img { width: 82%; height: auto; }
.brand__name { font: 300 13px/1 'Montserrat', sans-serif; letter-spacing: 0.14em; color: rgba(255,255,255,0.8); }
.brand__name b { font-weight: 800; color: #fff; }
.top__nav { display: flex; gap: 34px; }
.top__nav a { font: 500 12px/1 'Montserrat', sans-serif; letter-spacing: 0.16em; color: rgba(255,255,255,0.78); transition: color 0.2s; }
.top__nav a:hover { color: #fff; }
.top__cta { justify-self: end; }
.cpill--sm { padding: 4px 4px 4px 18px; font-size: 13px; gap: 14px; }
.cpill--sm .cpill__knob { width: 36px; height: 36px; font-size: 15px; }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; background: rgba(255,255,255,0.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.22); backdrop-filter: blur(10px); place-content: center; gap: 6px; position: relative; z-index: 60; }
.burger span { display: block; width: 18px; height: 2px; border-radius: 2px; background: #fff; transition: transform 0.35s cubic-bezier(.16,1,.3,1); }
.is-menu .burger span:first-child { transform: translateY(4px) rotate(45deg); }
.is-menu .burger span:last-child { transform: translateY(-4px) rotate(-45deg); }
.menu { position: fixed; inset: 0; z-index: 45; background: #000; display: grid; grid-template-rows: 1fr auto; padding: 110px 22px 34px; font-family: 'Montserrat', sans-serif;
  clip-path: circle(0% at calc(100% - 45px) 43px); transition: clip-path 0.6s cubic-bezier(.76,0,.24,1); visibility: hidden; }
.is-menu .menu { clip-path: circle(150% at calc(100% - 45px) 43px); visibility: visible; }
.menu__nav { display: grid; align-content: center; gap: 4px; }
.menu__nav a { font: 800 clamp(38px, 11vw, 64px)/1.05 'Montserrat', sans-serif; letter-spacing: -0.05em; color: #fff; opacity: 0; transform: translateY(30px); transition: opacity 0.4s, transform 0.5s cubic-bezier(.16,1,.3,1); }
.is-menu .menu__nav a { opacity: 1; transform: none; }
.is-menu .menu__nav a:nth-child(2) { transition-delay: 0.05s; } .is-menu .menu__nav a:nth-child(3) { transition-delay: 0.1s; } .is-menu .menu__nav a:nth-child(4) { transition-delay: 0.15s; } .is-menu .menu__nav a:nth-child(5) { transition-delay: 0.2s; } .is-menu .menu__nav a:nth-child(6) { transition-delay: 0.25s; }
.menu__foot { display: grid; gap: 18px; justify-items: start; }
.menu__social { display: flex; gap: 20px; font: 600 13px/1 'Montserrat', sans-serif; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.7); }
.is-menu { overflow: hidden; }
.is-menu .top { background: transparent; backdrop-filter: none; }
.is-menu .wa { opacity: 0; pointer-events: none; }
@media (max-width: 1000px) { .top__nav { display: none; } .top { grid-template-columns: 1fr auto auto; gap: 12px; } .burger { display: grid; } }
@media (max-width: 800px) { .top__cta { display: none; } .top { grid-template-columns: 1fr auto; padding: 14px 18px; } }
@media (max-width: 560px) { .brand__name { display: none; } }
.cpill > span:first-child { position: relative; z-index: 1; }

/* ================================================================ HORARIO EXPLORABLE (pestañas por día + filtro) */
.sch2 { background: #0b0b0b; color: #fff; padding: 9vh var(--pad) 12vh; font-family: 'Montserrat', sans-serif; }
.sch2__top { max-width: 1100px; margin: 0 auto 4vh; display: grid; gap: 12px; }
.sch2__title { font: 800 clamp(48px, 7vw, 110px)/0.9 'Montserrat', sans-serif; letter-spacing: -0.055em; }
.sch2__sub { font: 500 14px/1.5 'Montserrat', sans-serif; color: rgba(255,255,255,0.6); }
.sch2__ui { position: sticky; top: 0; z-index: 5; background: linear-gradient(#0b0b0b 85%, rgba(11,11,11,0)); padding: 14px 0 18px; max-width: 1100px; margin: 0 auto; }
.sch2__days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.sch2__day { all: unset; cursor: pointer; display: grid; gap: 6px; padding: 14px 12px; border-radius: 16px; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.14); transition: background 0.25s, box-shadow 0.25s, color 0.25s, opacity 0.25s; }
.sch2__day b { font: 800 22px/1 'Montserrat', sans-serif; letter-spacing: -0.03em; display: none; }
.sch2__day span { font: 800 15px/1 'Montserrat', sans-serif; letter-spacing: 0.02em; }
.sch2__day i { font: 500 12px/1 'Montserrat', sans-serif; font-style: normal; color: rgba(255,255,255,0.55); }
.sch2__day:hover { box-shadow: inset 0 0 0 1px rgba(255,255,255,0.4); }
.sch2__day[aria-selected="true"] { background: #fff; color: #0b0b0b; box-shadow: none; }
.sch2__day[aria-selected="true"] i { color: rgba(0,0,0,0.55); }
.sch2__day.is-empty { opacity: 0.35; }
.sch2__day:focus-visible, .sch2__chip:focus-visible { outline: 2px solid #e5231b; outline-offset: 2px; }
.sch2__chips { display: flex; gap: 8px; margin-top: 14px; overflow-x: auto; scrollbar-width: none; }
.sch2__chips::-webkit-scrollbar { display: none; }
.sch2__chip { all: unset; cursor: pointer; flex: none; font: 600 12px/1 'Montserrat', sans-serif; letter-spacing: 0.12em; padding: 10px 14px; border-radius: 999px; color: rgba(255,255,255,0.75); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.18); transition: background 0.2s, color 0.2s; }
.sch2__chip:hover { color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.45); }
.sch2__chip.is-on { background: #e5231b; color: #fff; box-shadow: none; }
.sch2__panels { max-width: 1100px; margin: 0 auto; }
.sch2__panel-title { font: 800 13px/1 'Montserrat', sans-serif; letter-spacing: 0.24em; color: rgba(255,255,255,0.45); margin: 26px 0 8px; }
.js-sch .sch2__panel { display: none; }
.js-sch .sch2__panel.is-on { display: block; animation: schIn 0.45s cubic-bezier(.16,1,.3,1); }
@keyframes schIn { from { opacity: 0; transform: translateY(14px); } }
.sch2__row { display: grid; grid-template-columns: 170px 1fr auto auto; align-items: center; gap: 20px; padding: 18px 0; border-top: 1px solid rgba(255,255,255,0.1); }
.sch2__row:last-of-type { border-bottom: 1px solid rgba(255,255,255,0.1); }
.sch2__time { font: 600 16px/1 'Montserrat', sans-serif; color: rgba(255,255,255,0.7); font-variant-numeric: tabular-nums; }
.sch2__name { font: 800 clamp(22px, 2.6vw, 36px)/1 'Montserrat', sans-serif; letter-spacing: -0.04em; }
.sch2__name a { transition: color 0.2s; }
.sch2__name a:hover { color: #e5231b; }
.sch2__tag { font: 600 11px/1 'Montserrat', sans-serif; letter-spacing: 0.2em; color: rgba(255,255,255,0.55); }
.sch2__row.is-soon .sch2__name { opacity: 0.45; }
.sch2__row.is-hidden { display: none; }
.sch2__book { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; gap: 14px; padding: 4px 4px 4px 18px; border-radius: 999px; background: rgba(255,255,255,0.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.2); font: 600 13px/1 'Montserrat', sans-serif; color: #fff; }
.sch2__book > span:first-child { position: relative; z-index: 1; }
.sch2__knob { position: relative; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #e5231b; transition: transform 0.45s cubic-bezier(.16,1,.3,1); }
.sch2__knob::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; z-index: -1; transition: transform 0.55s cubic-bezier(.16,1,.3,1); }
.sch2__book:hover .sch2__knob { transform: rotate(-45deg); }
.sch2__book:hover .sch2__knob::before { transform: scale(10); }
.sch2__empty { display: none; padding: 30px 0; color: rgba(255,255,255,0.55); font: 500 15px/1.5 'Montserrat', sans-serif; }
.sch2__panel.is-empty .sch2__empty { display: block; }
@media (max-width: 800px) {
  .sch2__days { display: flex; overflow-x: auto; scrollbar-width: none; gap: 6px; }
  .sch2__days::-webkit-scrollbar { display: none; }
  .sch2__day { flex: none; min-width: 64px; justify-items: center; padding: 12px 10px; }
  .sch2__day b { display: block; }
  .sch2__day span { display: none; }
  .sch2__row { grid-template-columns: 1fr auto; gap: 6px 14px; }
  .sch2__time { grid-column: 1; font-size: 13px; }
  .sch2__name { grid-column: 1; grid-row: 2; font-size: 24px; }
  .sch2__tag { grid-column: 1; grid-row: 3; }
  .sch2__tag:empty { display: none; }
  .sch2__book { grid-column: 2; grid-row: 1 / span 3; padding: 4px; }
  .sch2__book > span:first-child { display: none; }
}
@media (max-width: 800px) { .sch2__ui { top: 70px; } }

/* ================================================================ LISTA DE DISCIPLINAS (horario): la foto cambia al bajar */
.hlist { max-width: 1300px; }
.hlist__grid { grid-template-columns: 1.25fr 1fr; align-items: start; }
.hlist__names li { min-height: 22vh; display: flex; align-items: center; border-bottom: 1px solid rgba(255,255,255,0.12); }
.hlist__names a { border: 0; padding: 0; font: 800 clamp(40px, 5.4vw, 84px)/1 'Montserrat', sans-serif; letter-spacing: -0.055em; color: #333; transition: color 0.35s; }
.hlist__img { position: sticky; top: 18vh; aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; background: #111; }
.hlist__img img { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; filter: none; transition: none; }
/* la foto queda chiquita y vertical flotando sobre la lista; los nombres (enormes) se invierten al pasar encima */
.hlist { max-width: none; }
.hlist__grid { grid-template-columns: 1fr; gap: 0; }
.hlist__names, .hlist__img { grid-area: 1 / 1; }
.hlist__img { display: block; position: sticky; top: 24vh; justify-self: end; margin-right: 8vw; width: min(24vw, 360px); aspect-ratio: 3 / 4; z-index: 1; border-radius: 16px; box-shadow: 0 30px 70px rgba(0,0,0,0.55); pointer-events: none; }
.hlist__names { position: relative; z-index: 2; mix-blend-mode: difference; }
.hlist__names li { min-height: 26vh; border-color: rgba(255,255,255,0.15); }
.hlist__names a { font-size: clamp(56px, 10.5vw, 220px); line-height: 0.9; letter-spacing: -0.06em; color: #4a4a4a; white-space: nowrap; }
.hlist__names a.is-on, .hlist__names a:hover { color: #fff; }
@media (max-width: 760px) {
  .hlist__img { top: 34vh; width: 44vw; margin-right: 0; border-radius: 14px; }
  .hlist__names li { min-height: 18vh; }
  .hlist__names a { font-size: 12.5vw; white-space: normal; }
}

/* ================================================================ PIE DE PÁGINA (igual al de la página de inicio) */
.foot { position: relative; background: #000; color: #fff; }

/* ------------------------------------------------------------ FOOTER */
.foot { padding: 12vh clamp(18px, 4vw, 64px) 26px; font-family: 'Montserrat', sans-serif; overflow: hidden; border-top: 1px solid rgba(255,255,255,0.08); }
.foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.1fr; gap: 40px; }
.foot__brand { display: grid; gap: 16px; justify-items: start; align-content: start; }
.foot__name { margin: 0; font: 300 14px/1 'Montserrat', sans-serif; letter-spacing: 0.14em; color: rgba(255,255,255,0.8); }
.foot__name b { font-weight: 800; color: #fff; }
.foot__tag { margin: 0; max-width: 300px; font: 400 14px/1.6 'Montserrat', sans-serif; color: rgba(255,255,255,0.6); }
.foot__col { display: grid; gap: 12px; align-content: start; justify-items: start; }
.foot__h { margin: 0 0 6px; font: 600 11px/1 'Montserrat', sans-serif; letter-spacing: 0.24em; color: rgba(255,255,255,0.45); }
.foot__col a, .foot__muted { font: 400 15px/1.5 'Montserrat', sans-serif; color: rgba(255,255,255,0.85); margin: 0; }
.foot__col a:not(.pill):not(.cpill) { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 0.35s, color 0.2s; }
.foot__col a:not(.pill):not(.cpill):hover { color: #fff; background-size: 100% 1px; }
.foot__muted { color: rgba(255,255,255,0.5); font-size: 14px; }
.foot__cta { margin-top: 8px; }
.foot__word { margin: 9vh 0 0; font: 800 clamp(80px, 21vw, 360px)/0.78 'Montserrat', sans-serif; letter-spacing: -0.065em; text-align: center; color: #fff; white-space: nowrap; }
.foot__bottom { display: flex; justify-content: space-between; gap: 16px; margin-top: 3vh; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.08); font: 400 12px/1.4 'Montserrat', sans-serif; color: rgba(255,255,255,0.45); }
.foot__bottom a:hover { color: #fff; }
.foot__legal { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.social { display: flex; gap: 10px; }
.social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.25); transition: background 0.25s, color 0.25s, box-shadow 0.25s; }
.social a:hover { background: #fff; color: #0b0807; box-shadow: inset 0 0 0 1px #fff; }
.social svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.social svg .fill { fill: currentColor; stroke: none; }
.social--lg a { width: 46px; height: 46px; }
@media (max-width: 900px) { .foot__grid { grid-template-columns: 1fr 1fr; } .foot__brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .foot__grid { grid-template-columns: 1fr; gap: 34px; } .foot__bottom { flex-direction: column; } }

html:not(:has(main.home)) .timer__time { font-weight: 700; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }

/* NOSOTROS: FAMILIA KSS */
.fam { position: relative; height: 260vh; overflow: clip; background: #000; font-family: 'Montserrat', sans-serif; }
.fam__sticky { position: sticky; top: 0; height: 100vh; display: grid; place-content: center; justify-items: center; text-align: center; gap: 22px; padding: 90px clamp(18px, 4vw, 64px) 40px;
  z-index: 3; mix-blend-mode: difference; pointer-events: none; }
.fam__title { margin: 0; font: 800 clamp(64px, 13vw, 230px)/0.85 'Montserrat', sans-serif; letter-spacing: -0.06em; color: #fff; white-space: nowrap; }
.fam__text { margin: 0; max-width: 46ch; font: 500 clamp(16px, 1.35vw, 21px)/1.55 'Montserrat', sans-serif; color: #fff; text-wrap: pretty; }
.fam__count { margin: 4px 0 0; font: 500 clamp(12px, 0.95vw, 14px)/1.6 'Montserrat', sans-serif; letter-spacing: 0.2em; color: rgba(255,255,255,0.75); }
.fam__count b { color: #fff; font-weight: 800; }
.fam__count i { font-style: normal; margin: 0 0.9em; }
.fam__count span { white-space: nowrap; }
.fam__photos { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.fam__ph { position: absolute; left: var(--l); top: var(--t); width: var(--w); margin: 0; }
.fam__ph img { width: 100%; display: block; border-radius: 14px; box-shadow: 0 30px 60px rgba(0,0,0,0.55); }
.fam__ph figcaption { margin-top: 10px; font: 600 12px/1 'Montserrat', sans-serif; letter-spacing: 0.2em; color: rgba(255,255,255,0.75); }
@media (max-width: 800px) {
  .fam { height: 360vh; }
  .fam__title { font-size: 15vw; }
  .fam__count { display: grid; gap: 6px; }
  .fam__count i { display: none; }
  .fam__ph { left: var(--lm); top: var(--tm); width: var(--wm); }
}
