/* ==========================================================================
   SOL Y LUNA · CANCHA Y MOVIMIENTO
   Balón SVG, secuencia de saque, cancha interactiva, línea de tiempo,
   revelados al desplazar y microinteracciones deportivas.
   ========================================================================== */

:root {
  --curve-sport: cubic-bezier(0.18, 0.72, 0.21, 1);
  --court-blue: #1f4d93;
}

/* --------------------------------------------------------------------------
   1. Movimiento de portada
   -------------------------------------------------------------------------- */
.sl-hero h1 span {
  animation: titleIn 0.75s both;
  animation-timing-function: cubic-bezier(0.16, 0.78, 0.24, 1);
}

.sl-hero h1 span:nth-child(2) {
  animation-delay: 0.09s;
}

@keyframes titleIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.sl-hero__lead,
.sl-hero__eyebrow,
.sl-hero__micro,
.sl-hero .sl-actions {
  animation: titleIn 0.8s both;
}

.sl-hero__eyebrow {
  animation-delay: 0.05s;
}

.sl-hero__lead {
  animation-delay: 0.24s;
}

.sl-hero .sl-actions {
  animation-delay: 0.32s;
}

.sl-hero__micro {
  animation-delay: 0.4s;
}

/* --------------------------------------------------------------------------
   2. Secuencia de cuatro momentos · Inicio
   -------------------------------------------------------------------------- */
.sl-rally {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 14%, rgba(46, 91, 145, 0.48), transparent 38%),
    #0a203b;
  color: #fff;
}

.sl-rally::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.2;
  background-image: repeating-linear-gradient(126deg, transparent 0 92px, rgba(255, 255, 255, 0.055) 93px 94px);
  pointer-events: none;
}

.sl-rally__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(34px, 5.5vw, 72px);
}

.sl-rally h2 {
  margin: 14px 0 19px;
  font-size: clamp(3.1rem, 5.5vw, 5.7rem);
  line-height: 0.91;
}

.sl-rally__copy > p:not(.eyebrow) {
  max-width: 420px;
  margin-bottom: 24px;
  color: #d3e1ef;
  font-size: 0.9rem;
  line-height: 1.8;
}

.rally-court {
  position: relative;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: #0d2b4b;
  box-shadow: 13px 14px 0 rgba(233, 178, 60, 0.12);
}

.rally-court__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding: 9px 17px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(3, 14, 29, 0.48);
  color: #d3e0ef;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.11em;
}

.rally-court__top span:last-child {
  color: var(--gold);
  font-family: var(--font-head);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
}

.rally-court__stage {
  position: relative;
  height: 385px;
  overflow: hidden;
  background:
    linear-gradient(90deg, transparent 49.7%, rgba(255, 255, 255, 0.12) 50%, transparent 50.3%),
    linear-gradient(163deg, #176094 0%, #154d7a 48%, #0e3b62 100%);
}

.rally-court__stage::before {
  content: "";
  position: absolute;
  inset: 23px 20px;
  border: 2px solid rgba(255, 255, 255, 0.55);
  pointer-events: none;
}

.rally-court__stage::after {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  top: 50%;
  border-top: 2px solid rgba(255, 255, 255, 0.44);
  pointer-events: none;
}

.rally-court__net {
  position: absolute;
  left: 18px;
  right: 18px;
  top: calc(50% - 12px);
  z-index: 2;
  height: 25px;
  border-top: 4px solid rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.3) 0 1px, transparent 1px 18px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.28) 0 1px, transparent 1px 8px);
  opacity: 0.85;
  pointer-events: none;
}

.rally-court__zone {
  position: absolute;
  right: 28px;
  z-index: 1;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.rally-court__zone--top {
  top: 31px;
}

.rally-court__zone--bottom {
  bottom: 31px;
}

.rally-court__path {
  position: absolute;
  left: 17%;
  top: 26%;
  width: 65%;
  height: 51%;
  z-index: 1;
  border-top: 2px dashed rgba(255, 210, 112, 0.56);
  border-radius: 52% 48% 0 0;
  transform: rotate(-17deg);
  pointer-events: none;
}

.rally-player {
  position: absolute;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  transform: translate(-50%, -50%);
  text-align: center;
}

.rally-player span {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  background: #173f6b;
  color: #fff;
  font-family: var(--font-head);
  font-size: 1.55rem;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 0 0 7px rgba(255, 255, 255, 0.08);
}

.rally-player b {
  color: #fff;
  font-size: 0.56rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.075em;
  text-shadow: 0 1px 5px rgba(3, 15, 30, 0.8);
}

.rally-player--serve {
  left: 79%;
  top: 80%;
}

.rally-player--receive {
  left: 19%;
  top: 28%;
}

.rally-player--set {
  left: 48%;
  top: 36%;
}

.rally-player--attack {
  left: 81%;
  top: 27%;
}

.rally-player--set span {
  background: #996614;
}

.rally-player--attack span {
  background: #173f6b;
}

.rally-ball {
  position: absolute;
  left: 79%;
  top: 68%;
  z-index: 5;
  width: 38px;
  height: 38px;
  transform: translate(-50%, -50%);
  animation: rallyTravel 9s var(--curve-sport) infinite;
  pointer-events: none;
}

.rally-ball .ball-svg {
  filter: drop-shadow(0 5px 9px rgba(3, 14, 28, 0.35));
}

@keyframes rallyTravel {
  0%,
  8% {
    left: 79%;
    top: 68%;
    transform: translate(-50%, -50%) rotate(0);
  }
  24%,
  33% {
    left: 19%;
    top: 35%;
    transform: translate(-50%, -50%) rotate(360deg);
  }
  46%,
  53% {
    left: 48%;
    top: 43%;
    transform: translate(-50%, -50%) rotate(520deg);
  }
  65%,
  74% {
    left: 81%;
    top: 35%;
    transform: translate(-50%, -50%) rotate(680deg);
  }
  88% {
    left: 64%;
    top: 11%;
    transform: translate(-50%, -50%) rotate(760deg);
  }
  100% {
    left: 79%;
    top: 68%;
    transform: translate(-50%, -50%) rotate(840deg);
  }
}

.rally-court__caption {
  margin: 0;
  padding: 10px 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  color: #afc3d7;
  font-size: 0.62rem;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   3. Línea de tiempo · Nosotros
   -------------------------------------------------------------------------- */
.milestone-section {
  position: relative;
  overflow: hidden;
  background: #eaf0f6;
}

.milestone-heading h2 {
  margin: 12px 0 30px;
  font-size: clamp(3rem, 5.6vw, 5.7rem);
  line-height: 0.93;
}

.milestone-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding-bottom: 10px;
}

.milestone-track::before,
.milestone-track::after {
  content: "";
  position: absolute;
  top: 15px;
  left: 0;
  right: 0;
  height: 2px;
}

.milestone-track::before {
  background: #c1cfdd;
}

.milestone-track::after {
  background: linear-gradient(90deg, var(--gold), #376693);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.5s cubic-bezier(0.18, 0.72, 0.21, 1);
}

.milestone-track.is-drawn::after {
  transform: scaleX(1);
}

.milestone-track article {
  position: relative;
  min-width: 0;
  padding: 46px 25px 10px 0;
}

.milestone-track article::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 0;
  width: 20px;
  height: 20px;
  border: 4px solid var(--gold);
  border-radius: 50%;
  background: #16375c;
  box-shadow: 0 0 0 4px #eaf0f6;
  transition: background 0.25s ease, transform 0.25s ease;
}

.milestone-track article.is-visible::before,
.milestone-track article:hover::before {
  background: var(--gold);
  transform: scale(1.12);
}

.milestone-track__year {
  color: #1f4c89;
  font-family: var(--font-head);
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.02em;
}

.milestone-track h3 {
  margin: 8px 0;
  color: #102a49;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.15;
}

.milestone-track p {
  max-width: 250px;
  margin: 0;
  color: #455970;
  font-size: 0.8rem;
  line-height: 1.75;
}

/* --------------------------------------------------------------------------
   4. Galería de entrenamientos y microinteracciones
   -------------------------------------------------------------------------- */
.sl-training-photos figure {
  transition: transform 0.35s var(--curve-sport), box-shadow 0.35s ease;
}

.sl-training-photos figure:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(4, 18, 38, 0.15);
}

.sl-photo-story__item,
.sl-venue,
.gallery-item {
  transition: transform 0.3s var(--curve-sport), box-shadow 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(4, 18, 38, 0.14);
}

.gallery-item img {
  transition: transform 0.65s var(--curve-sport), filter 0.45s ease;
}

.sl-gallery-hero__fine span:last-child {
  animation: arrowNudge 2.8s ease-in-out infinite;
}

@keyframes arrowNudge {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(4px, 4px);
  }
}

/* --------------------------------------------------------------------------
   5. Cancha interactiva · Entrenamientos
   -------------------------------------------------------------------------- */
.court-lab {
  position: relative;
  overflow: hidden;
  background: #edf2f7;
}

.court-lab__heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.65fr);
  align-items: end;
  gap: clamp(28px, 5vw, 56px);
  margin-bottom: 28px;
}

.court-lab__heading h2 {
  margin: 12px 0 0;
  font-size: clamp(2.9rem, 5.5vw, 5.5rem);
  line-height: 0.92;
}

.court-lab__heading > p {
  max-width: 440px;
  margin: 0 0 4px;
  color: #4b6077;
  font-size: 0.9rem;
  line-height: 1.8;
}

.court-lab__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(320px, 0.84fr);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 22px 55px rgba(7, 25, 52, 0.1);
}

.court-lab__visual {
  min-width: 0;
  background: #0b2848;
  color: #fff;
}

.court-lab__upper,
.court-lab__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding: 10px 18px;
  color: #c9d8e7;
  font-size: 0.59rem;
  font-weight: 800;
  letter-spacing: 0.09em;
}

.court-lab__upper {
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.court-lab__count {
  color: var(--gold);
  font-family: var(--font-head);
  font-size: 1.3rem;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.court-lab__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: #a7bdd3;
  font-size: 0.53rem;
}

.court-lab__bottom span {
  min-width: 0;
}

.court-lab__court {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  height: 370px;
  margin: 0 16px;
  border: 2px solid rgba(255, 255, 255, 0.62);
  background:
    linear-gradient(90deg, transparent 49.7%, rgba(255, 255, 255, 0.12) 50%, transparent 50.3%),
    linear-gradient(158deg, #17628f 0%, #174f7d 50%, #103a5e 100%);
  box-shadow: inset 0 0 80px rgba(4, 17, 34, 0.22);
}

.court-lab__court::before {
  content: "";
  position: absolute;
  inset: 19px 17px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  pointer-events: none;
}

.court-lab__court::after {
  content: "";
  position: absolute;
  left: 17px;
  right: 17px;
  top: 50%;
  border-top: 2px solid rgba(255, 255, 255, 0.3);
  pointer-events: none;
}

.court-lab__net {
  position: absolute;
  left: 15px;
  right: 15px;
  top: calc(50% - 11px);
  z-index: 2;
  height: 23px;
  border: 2px solid rgba(255, 255, 255, 0.65);
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.3) 0 1px, transparent 1px 17px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.28) 0 1px, transparent 1px 8px);
  pointer-events: none;
}

.court-lab__zone {
  position: absolute;
  z-index: 1;
  right: 22px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.5rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  pointer-events: none;
}

.court-lab__zone--top {
  top: 26px;
}

.court-lab__zone--bottom {
  left: 22px;
  right: auto;
  bottom: 25px;
}

.court-lab__trajectory {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.court-lab__trajectory path {
  fill: none;
  stroke: #ffd477;
  stroke-width: 2.2;
  stroke-dasharray: 6 9;
  opacity: 0.22;
  transition: opacity 0.3s ease;
}

.court-lab__visual[data-stage="0"] .court-lab__path--serve,
.court-lab__visual[data-stage="1"] .court-lab__path--receive,
.court-lab__visual[data-stage="2"] .court-lab__path--set,
.court-lab__visual[data-stage="3"] .court-lab__path--attack {
  opacity: 0.9;
  animation: pathFlow 2.4s linear infinite;
}

@keyframes pathFlow {
  to {
    stroke-dashoffset: -60;
  }
}

.court-lab__player {
  position: absolute;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  transform: translate(-50%, -50%);
  text-align: center;
}

.court-lab__player b {
  display: grid;
  place-items: center;
  width: 47px;
  height: 47px;
  border: 2px solid rgba(246, 216, 139, 0.75);
  border-radius: 50%;
  background: #0b203b;
  color: #fff;
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1;
  transition: transform 0.3s var(--curve-sport), background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.court-lab__player small {
  color: #fff;
  font-size: 0.53rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.25;
  text-shadow: 0 1px 4px #071c31;
}

.court-lab__player--serve {
  left: 79%;
  top: 82%;
}

.court-lab__player--receive {
  left: 20%;
  top: 30%;
}

.court-lab__player--set {
  left: 49%;
  top: 33%;
}

.court-lab__player--attack {
  left: 80%;
  top: 30%;
}

.court-lab__visual[data-stage="0"] .court-lab__player--serve b,
.court-lab__visual[data-stage="1"] .court-lab__player--receive b,
.court-lab__visual[data-stage="2"] .court-lab__player--set b,
.court-lab__visual[data-stage="3"] .court-lab__player--attack b {
  color: var(--night);
  background: var(--gold);
  transform: scale(1.1);
  box-shadow: 0 0 0 8px rgba(233, 178, 60, 0.16);
}

.court-lab__ball {
  position: absolute;
  left: 73%;
  top: 74%;
  z-index: 5;
  width: 35px;
  height: 35px;
  transform: translate(-50%, -50%);
  transition: left 0.7s var(--curve-sport), top 0.7s var(--curve-sport), transform 0.7s var(--curve-sport);
  pointer-events: none;
}

.court-lab__visual[data-stage="0"] .court-lab__ball {
  left: 73%;
  top: 74%;
  transform: translate(-50%, -50%) rotate(-20deg);
}

.court-lab__visual[data-stage="1"] .court-lab__ball {
  left: 22%;
  top: 39%;
  transform: translate(-50%, -50%) rotate(150deg);
}

.court-lab__visual[data-stage="2"] .court-lab__ball {
  left: 50%;
  top: 41%;
  transform: translate(-50%, -50%) rotate(280deg);
}

.court-lab__visual[data-stage="3"] .court-lab__ball {
  left: 81%;
  top: 39%;
  transform: translate(-50%, -50%) rotate(430deg);
}

.court-lab__panel {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(22px, 3vw, 34px);
  background: #fff;
}

.court-lab__panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  color: #4a6179;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.09em;
}

.court-lab__panel-top strong {
  color: var(--blue);
  font-size: 0.72rem;
}

.court-lab__progress {
  height: 4px;
  margin-top: 13px;
  overflow: hidden;
  border-radius: 10px;
  background: #e3e9ef;
}

.court-lab__progress span {
  display: block;
  width: 25%;
  height: 100%;
  border-radius: 10px;
  background: linear-gradient(90deg, var(--blue), var(--gold));
  transition: width 0.4s var(--curve-sport);
}

.court-lab__tabs {
  display: grid;
  gap: 6px;
  margin-top: 17px;
}

.court-lab__tab {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 13px;
  border: 1px solid #d6dfe7;
  background: #f8fafc;
  color: #1a3452;
  font-family: var(--font-head);
  text-align: left;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.court-lab__tab span {
  color: var(--blue);
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1;
}

.court-lab__tab strong {
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.1;
}

.court-lab__tab:hover {
  border-color: #90a8c0;
  transform: translateX(2px);
}

.court-lab__tab.is-active {
  border-color: #12385f;
  background: #12385f;
  color: #fff;
}

.court-lab__tab.is-active span {
  color: var(--gold);
}

.court-lab__description {
  min-height: 125px;
  margin-top: 17px;
}

.court-lab__active-num {
  color: var(--blue);
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.court-lab__active-title {
  margin: 6px 0;
  color: #0b2442;
  font-family: var(--font-head);
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1;
}

.court-lab__active-body {
  margin: 0;
  color: #52667c;
  font-size: 0.81rem;
  line-height: 1.7;
}

.court-lab__controls {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  gap: 7px;
  margin-top: 16px;
}

.court-lab__step {
  display: grid;
  place-items: center;
  min-height: 44px;
  padding: 0;
  border: 1px solid #c9d5e1;
  border-radius: 3px;
  background: #f7f9fb;
  color: var(--blue);
  font-size: 1.25rem;
  font-weight: 800;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.court-lab__step:hover {
  border-color: var(--blue);
  background: #eaf1f9;
}

.court-lab__replay {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 11px;
  border: 0;
  border-radius: 3px;
  background: var(--gold);
  color: var(--night);
  font-size: 0.67rem;
  font-weight: 900;
  line-height: 1.3;
  text-align: center;
  transition: background 0.2s ease, transform 0.2s ease;
}

.court-lab__replay:hover {
  background: var(--gold-soft);
  transform: translateY(-1px);
}

.court-lab__replay .icon {
  width: 15px;
  height: 15px;
}

.court-lab__foot {
  margin: 11px 0 0;
  color: #55687c;
  font-size: 0.68rem;
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   6. Programación: consulta directa por WhatsApp
   -------------------------------------------------------------------------- */
.sl-horarios {
  margin-top: 24px;
  padding: 24px;
  border-left: 5px solid var(--gold);
  background: #fff;
  color: #102744;
}

.sl-horarios__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid #dbe3ec;
}

.sl-horarios__intro {
  display: flex;
  align-items: center;
  gap: 14px;
}

.sl-horarios__icon {
  color: #9b6c17;
  font-size: 2rem;
  line-height: 1;
}

.sl-horarios h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-head);
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.sl-horarios .btn {
  flex: none;
}

.sl-schedule {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.sl-schedule__venue {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 20px;
  border: 1px solid #d8e1eb;
  border-top: 3px solid var(--gold);
  background: #f7f9fc;
}

.sl-schedule__label {
  margin: 0 0 6px;
  color: #8b5f12;
  font-size: 0.61rem;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.13em;
}

.sl-schedule h4 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.01em;
}

.sl-schedule__address {
  margin: 7px 0 0;
  color: #5a6d80;
  font-size: 0.72rem;
  line-height: 1.55;
}

.sl-schedule__start {
  margin: 14px 0 0;
  padding: 8px 10px;
  border-left: 3px solid var(--gold);
  background: #fff2cc;
  color: #644600;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.45;
}

.sl-schedule__rows {
  margin: 16px 0 0;
}

.sl-schedule__row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid #dde5ed;
}

.sl-schedule__row:first-child {
  padding-top: 0;
  border-top: 0;
}

.sl-schedule__row dt {
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.45;
}

.sl-schedule__row dd {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0;
  color: #5a6d80;
  font-size: 0.74rem;
  line-height: 1.5;
}

.sl-schedule__row dd strong {
  color: #17324f;
  font-size: 0.78rem;
}

.sl-schedule__map {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  padding-top: 15px;
  color: var(--blue);
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1.5;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sl-schedule__map .icon {
  width: 15px;
  height: 15px;
}

/* --------------------------------------------------------------------------
   7. Revelados y transiciones al desplazar
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  [data-reveal].will-reveal {
    opacity: 0;
    transform: translate3d(0, 22px, 0);
    transition: opacity 0.7s ease, transform 0.7s var(--curve-sport);
  }

  [data-reveal="slide-left"].will-reveal {
    transform: translate3d(-24px, 10px, 0);
  }

  [data-reveal="slide-right"].will-reveal {
    transform: translate3d(24px, 10px, 0);
  }

  [data-reveal].will-reveal.is-visible {
    opacity: 1;
    transform: none;
  }

  .sl-about-story__body.will-reveal,
  .sl-statement__body.will-reveal {
    transition-delay: 0.08s;
  }

  .sl-photo-story.will-reveal {
    transition-delay: 0.12s;
  }

  .sl-values__grid article:nth-child(2).will-reveal,
  .sl-fundamentals__grid article:nth-child(2).will-reveal {
    transition-delay: 0.08s;
  }

  .sl-values__grid article:nth-child(3).will-reveal,
  .sl-fundamentals__grid article:nth-child(3).will-reveal {
    transition-delay: 0.16s;
  }

  .sl-fundamentals__grid article:nth-child(4).will-reveal {
    transition-delay: 0.24s;
  }

  .sl-step:nth-child(2).will-reveal,
  .milestone-track article:nth-child(2).will-reveal,
  .sl-groups__grid > *:nth-child(2).will-reveal,
  .gallery-item:nth-child(2).will-reveal {
    transition-delay: 0.07s;
  }

  .sl-step:nth-child(3).will-reveal,
  .milestone-track article:nth-child(3).will-reveal,
  .sl-groups__grid > *:nth-child(3).will-reveal,
  .gallery-item:nth-child(3).will-reveal {
    transition-delay: 0.14s;
  }

  .milestone-track article:nth-child(4).will-reveal,
  .sl-groups__grid > *:nth-child(4).will-reveal {
    transition-delay: 0.21s;
  }
}

/* --------------------------------------------------------------------------
   8. Tabletas
   -------------------------------------------------------------------------- */
@media (max-width: 1120px) {
  .rally-court__stage {
    height: 350px;
  }

  .court-lab__layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  }

  .court-lab__court {
    height: 340px;
  }

  .court-lab__panel {
    padding: 23px;
  }
}

@media (max-width: 960px) {
  .sl-rally__grid {
    grid-template-columns: 1fr;
  }

  .sl-rally__copy > p:not(.eyebrow) {
    max-width: 600px;
  }

  .rally-court {
    max-width: 700px;
    width: 100%;
    margin-inline: auto;
  }

  .milestone-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px 20px;
    padding-top: 5px;
  }

  .milestone-track::before,
  .milestone-track::after {
    display: none;
  }

  .milestone-track article {
    padding: 23px 8px 8px 23px;
    border-top: 2px solid #c6d3e0;
  }

  .milestone-track article::before {
    top: -11px;
    left: 0;
  }

  .court-lab__layout {
    grid-template-columns: 1fr;
  }

  .court-lab__heading {
    grid-template-columns: 1fr;
    gap: 11px;
  }

  .court-lab__court {
    height: 350px;
  }

  .court-lab__panel {
    padding: 25px;
  }

  .court-lab__tabs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 5px;
  }

  .court-lab__tab {
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    padding: 10px 8px;
  }

  .court-lab__tab strong {
    font-size: 0.92rem;
  }

  .court-lab__tab span {
    font-size: 1.05rem;
  }

  .court-lab__description {
    min-height: 112px;
  }
}

/* --------------------------------------------------------------------------
   9. Móvil
   -------------------------------------------------------------------------- */
@media (max-width: 760px) {
  .sl-rally h2 {
    font-size: clamp(2.7rem, 10.5vw, 4rem);
  }

  .sl-rally__copy > p:not(.eyebrow) {
    margin-bottom: 19px;
    font-size: 0.85rem;
    line-height: 1.76;
  }

  .sl-rally .btn {
    width: 100%;
  }

  .rally-court {
    box-shadow: 7px 8px 0 rgba(233, 178, 60, 0.12);
  }

  .rally-court__stage {
    height: 308px;
  }

  .rally-court__stage::before {
    inset: 16px 13px;
  }

  .rally-court__stage::after {
    left: 13px;
    right: 13px;
  }

  .rally-player span {
    width: 40px;
    height: 40px;
    font-size: 1.28rem;
    box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.08);
  }

  .rally-player b {
    font-size: 0.49rem;
  }

  .rally-player--serve {
    left: 80%;
    top: 79%;
  }

  .rally-player--receive {
    left: 18%;
    top: 29%;
  }

  .rally-player--set {
    left: 48%;
    top: 37%;
  }

  .rally-player--attack {
    left: 80%;
    top: 28%;
  }

  .rally-ball {
    width: 31px;
    height: 31px;
  }

  .rally-court__zone {
    right: 20px;
    font-size: 0.45rem;
  }

  .rally-court__top {
    min-height: 43px;
    padding: 8px 11px;
    font-size: 0.53rem;
  }

  .rally-court__top span:last-child {
    font-size: 1.15rem;
  }

  .rally-court__caption {
    font-size: 0.58rem;
  }

  .milestone-heading h2 {
    font-size: clamp(2.6rem, 10vw, 4rem);
  }

  .milestone-track {
    grid-template-columns: 1fr;
    gap: 0;
    margin-left: 10px;
    border-left: 2px solid #bfcddd;
  }

  .milestone-track article {
    padding: 18px 0 22px 24px;
    border-top: 0;
  }

  .milestone-track article::before {
    top: 17px;
    left: -11px;
  }

  .milestone-track__year {
    font-size: 1.55rem;
  }

  .milestone-track h3 {
    font-size: 1.15rem;
  }

  .milestone-track p {
    font-size: 0.77rem;
  }

  .court-lab__heading h2 {
    font-size: clamp(2.6rem, 10vw, 4rem);
  }

  .court-lab__heading > p {
    font-size: 0.84rem;
    line-height: 1.75;
  }

  .court-lab__upper,
  .court-lab__bottom {
    padding: 8px 10px;
    font-size: 0.5rem;
  }

  .court-lab__upper span:first-child {
    max-width: 73%;
    line-height: 1.45;
  }

  .court-lab__court {
    height: 290px;
    margin-inline: 7px;
  }

  .court-lab__player b {
    width: 39px;
    height: 39px;
    font-size: 1.08rem;
  }

  .court-lab__player small {
    font-size: 0.46rem;
  }

  .court-lab__ball {
    width: 29px;
    height: 29px;
  }

  .court-lab__panel {
    padding: 19px 15px;
  }

  .court-lab__tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .court-lab__tab {
    flex-direction: row;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 9px;
  }

  .court-lab__tab strong {
    font-size: 0.9rem;
    line-height: 1.1;
  }

  .court-lab__description {
    min-height: 132px;
  }

  .court-lab__active-title {
    font-size: 1.75rem;
  }

  .court-lab__active-body {
    font-size: 0.78rem;
  }

  .court-lab__controls {
    grid-template-columns: 40px minmax(0, 1fr) 40px;
  }

  .court-lab__step {
    min-height: 44px;
  }

  .court-lab__replay {
    min-height: 44px;
    font-size: 0.62rem;
  }

  .sl-horarios {
    padding: 18px 16px;
  }

  .sl-horarios__head {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .sl-horarios h3 {
    font-size: 1.5rem;
  }

  .sl-horarios .btn {
    width: 100%;
  }

  .sl-schedule {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 16px;
  }

  .sl-schedule__venue {
    padding: 16px;
  }

  .court-lab__foot {
    font-size: 0.59rem;
  }
}

@media (max-width: 380px) {
  .sl-schedule__row {
    grid-template-columns: 1fr;
    gap: 2px;
    padding: 9px 0;
  }

  .sl-schedule__row dd {
    flex-direction: row;
    flex-wrap: wrap;
    column-gap: 10px;
  }

  .rally-court__stage {
    height: 280px;
  }

  .rally-player span {
    width: 35px;
    height: 35px;
    font-size: 1.1rem;
  }

  .rally-player b {
    font-size: 0.43rem;
  }

  .rally-ball {
    width: 26px;
    height: 26px;
  }

  .rally-court__zone {
    display: none;
  }

  .court-lab__court {
    height: 260px;
  }

  .court-lab__player b {
    width: 34px;
    height: 34px;
    font-size: 0.95rem;
  }

  .court-lab__player small {
    font-size: 0.4rem;
  }

  .court-lab__ball {
    width: 25px;
    height: 25px;
  }

  .court-lab__tab strong {
    font-size: 0.8rem;
  }

  .court-lab__active-body {
    font-size: 0.74rem;
  }
}

/* --------------------------------------------------------------------------
   10. Movimiento reducido
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .rally-ball,
  .sl-gallery-hero__fine span:last-child,
  .court-lab__trajectory path {
    animation: none !important;
  }

  .rally-ball {
    left: 22%;
    top: 39%;
    transform: translate(-50%, -50%) rotate(160deg);
  }

  [data-reveal],
  [data-reveal].will-reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  .milestone-track::after {
    transform: scaleX(1);
  }
}
