/* ==========================================================
   MDP INDEX — HOME
   Diseño inspirado en la V1, reconstruido sobre una sola capa.
   Este archivo controla únicamente las secciones del Inicio.
   ========================================================== */

.home-page {
  --home-ink: #21182f;
  --home-orange: #f5bd70;
  --home-orange-strong: #ea961e;
  --home-paper: #fffdf9;
  --home-soft: #f6f1e8;
  --home-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ----------------------------------------------------------
   Animaciones de entrada: se reproducen de nuevo al volver.
   ---------------------------------------------------------- */
.home-page.home-motion [data-home-reveal] {
  transition:
    opacity 620ms ease var(--reveal-delay, 0ms),
    transform 820ms var(--home-ease) var(--reveal-delay, 0ms),
    clip-path 1050ms var(--home-ease) var(--reveal-delay, 0ms);
}

.home-page.home-motion [data-home-reveal="up"] {
  opacity: 0;
  transform: translateY(28px);
}

.home-page.home-motion [data-home-reveal="left"] {
  opacity: 0;
  transform: translateX(-34px);
}

.home-page.home-motion [data-home-reveal="right"] {
  opacity: 0;
  transform: translateX(34px);
}

.home-page.home-motion [data-home-reveal="diagonal"] {
  /* El contenedor permanece en el layout para que lazy-loading e
     IntersectionObserver siempre puedan detectar la fotografía. */
  opacity: 1;
  transform: none;
  clip-path: none;
}

.home-page.home-motion [data-home-reveal="diagonal"] > img {
  opacity: 1;
  clip-path: inset(0 100% 100% 0);
  transform: none;
  transition:
    clip-path 1100ms var(--home-ease) var(--reveal-delay, 0ms),
    transform 760ms var(--home-ease),
    filter 350ms ease;
  will-change: clip-path;
}

.home-page.home-motion [data-home-reveal="diagonal"] figcaption {
  opacity: 0;
  transform: none;
  transition: opacity 320ms ease calc(var(--reveal-delay, 0ms) + 720ms);
}

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

.home-page.home-motion [data-home-reveal="diagonal"].is-home-visible > img {
  clip-path: inset(0 0 0 0);
}

.home-page.home-motion
  [data-home-reveal="diagonal"].is-home-visible
  figcaption {
  opacity: 1;
}

/* ----------------------------------------------------------
   EXPERIENCIA MDP — panel fotográfico original, código limpio.
   ---------------------------------------------------------- */
.home-page #experiencia {
  background: var(--home-paper);
  color: var(--home-ink);
}

.home-page .matchday-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  align-items: end;
  gap: clamp(28px, 6vw, 80px);
  margin-bottom: 34px;
}

.home-page .matchday-copy h2 {
  max-width: 23ch;
  margin: 0;
  font-size: clamp(1.95rem, 3vw, 2.9rem);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.home-page .matchday-copy h2 span {
  color: var(--color-brand-dark);
}

.home-page .matchday-overview p {
  max-width: 44ch;
  margin: 0;
  color: var(--color-muted);
  line-height: 1.8;
}

.home-page .matchday-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.home-page .matchday-tabs button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--color-line);
  border-radius: 999px;
  background: transparent;
  color: var(--color-muted);
  font: inherit;
  cursor: pointer;
  transition:
    background-color 220ms ease,
    border-color 220ms ease,
    color 220ms ease,
    transform 260ms var(--home-ease);
}

.home-page .matchday-tabs button span {
  display: none;
}

.home-page .matchday-tabs button strong {
  font-size: 0.8rem;
  font-weight: 800;
}

.home-page .matchday-tabs button[aria-selected="true"] {
  border-color: var(--home-ink);
  background: var(--home-ink);
  color: #fff;
}

.home-page .matchday-tabs button:focus-visible {
  outline: 3px solid var(--home-orange-strong);
  outline-offset: 3px;
}

.home-page .matchday-frame {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 56px;
  gap: 16px;
  align-items: center;
}

.home-page .matchday-stages {
  position: relative;
  display: grid;
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  overflow: hidden;
  border-radius: 22px;
  background: var(--home-ink);
  box-shadow: 0 20px 48px rgba(33, 24, 47, 0.12);
}

.home-page .matchday-stage {
  position: relative;
  isolation: isolate;
  grid-area: 1 / 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: auto repeat(3, minmax(94px, auto));
  gap: 12px 62px;
  min-height: 520px;
  padding: 36px;
  border: 0;
  color: #fff;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(18px);
  transition:
    opacity 260ms ease,
    transform 480ms var(--home-ease),
    visibility 0s linear 480ms;
}

.home-page .matchday-stage.is-selected {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
  transition-delay: 0s;
}

.home-page .matchday-stage::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 50% 0 0;
  background: linear-gradient(
    0deg,
    rgba(20, 14, 30, 0.96),
    rgba(20, 14, 30, 0.12)
  );
}

.home-page .matchday-scene {
  position: absolute;
  z-index: -2;
  inset: 0 auto 0 0;
  width: 50%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.03);
  transition:
    transform 800ms var(--home-ease),
    filter 400ms ease;
}

.home-page .matchday-stage.is-selected .matchday-scene {
  transform: scale(1);
}

.home-page .matchday-heading {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
}

.home-page .matchday-heading h3 {
  margin: 0;
  color: var(--home-orange);
  font-size: 0.83rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-page .matchday-panel-intro {
  grid-column: 1;
  grid-row: 1 / 5;
  align-self: end;
  padding: 80px 4px 4px;
}

.home-page .matchday-panel-number {
  display: block;
  margin-bottom: 14px;
  color: var(--home-orange);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.home-page .matchday-panel-number::before {
  content: "MDP / ";
}

.home-page .matchday-panel-headline {
  max-width: 16ch;
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(1.8rem, 2.8vw, 2.65rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.045em;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.24);
}

.home-page .matchday-panel-description {
  max-width: 38ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.88rem;
  line-height: 1.8;
}

.home-page .matchday-service {
  grid-column: 2;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.home-page .matchday-service:nth-of-type(1) {
  grid-row: 2;
}
.home-page .matchday-service:nth-of-type(2) {
  grid-row: 3;
}
.home-page .matchday-service:nth-of-type(3) {
  grid-row: 4;
}

.home-page .matchday-service > i {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(234, 150, 30, 0.11);
  color: var(--home-orange);
  font-size: 1.16rem;
  transition:
    transform 240ms var(--home-ease),
    background-color 240ms ease;
}

.home-page .matchday-service h4 {
  margin: 0 0 5px;
  color: #fff;
  font-size: 0.94rem;
}

.home-page .matchday-service p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.82rem;
  line-height: 1.65;
}

.home-page .matchday-arrow {
  grid-row: 1;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  padding: 0;
  border: 1px solid var(--color-line);
  border-radius: 50%;
  background: var(--home-paper);
  color: var(--home-ink);
  box-shadow: 0 4px 14px rgba(33, 24, 47, 0.05);
  cursor: pointer;
  transition:
    background-color 200ms ease,
    border-color 200ms ease,
    transform 240ms var(--home-ease);
}

.home-page .matchday-arrow--prev {
  grid-column: 1;
}
.home-page .matchday-arrow--next {
  grid-column: 3;
}

.home-page .matchday-arrow:focus-visible {
  outline: 3px solid var(--home-orange-strong);
  outline-offset: 3px;
}

/* ----------------------------------------------------------
   DESCUBRE MDP — composición editorial oscura de la V1.
   ---------------------------------------------------------- */
.home-page #descubre {
  padding-block: clamp(70px, 7vw, 112px);
  color: #fff;
  background:
    radial-gradient(
      ellipse at 12% 0%,
      rgba(86, 54, 75, 0.95) 0%,
      rgba(86, 54, 75, 0) 54%
    ),
    #181321;
}

.home-page #descubre > .container {
  width: min(calc(100% - clamp(40px, 10vw, 144px)), 1776px);
  max-width: none;
}

.home-page .discover-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.65fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: end;
  margin-bottom: clamp(42px, 5vw, 74px);
}

.home-page #descubre .eyebrow {
  margin-bottom: 18px;
  color: var(--home-orange);
}

.home-page .discover-heading h2 {
  max-width: 20ch;
  margin: 0;
  color: #fff;
  font-size: clamp(2.15rem, 3.6vw, 3.7rem);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.home-page .discover-heading h2 span {
  color: var(--home-orange);
}

.home-page .discover-heading > p {
  max-width: 43ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.92rem;
  line-height: 1.8;
}

.home-page .discover-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.31fr) minmax(0, 0.69fr);
  gap: clamp(28px, 3.4vw, 56px);
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.home-page .discover-media {
  position: relative;
  min-width: 0;
  min-height: 860px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: #100d16;
  box-shadow: 0 24px 60px rgba(7, 5, 10, 0.28);
  isolation: isolate;
}

.home-page .discover-media::before {
  content: "";
  position: absolute;
  z-index: 3;
  top: 18px;
  left: 18px;
  width: 54px;
  height: 54px;
  border-top: 2px solid var(--home-orange-strong);
  border-left: 2px solid var(--home-orange-strong);
  opacity: 0.88;
  pointer-events: none;
  transform: scale(0.72);
  transform-origin: 0 0;
  transition:
    transform 560ms var(--home-ease),
    opacity 300ms ease;
}

.home-page .discover-media::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(24, 19, 33, 0.01) 34%,
      rgba(24, 19, 33, 0.84) 100%
    ),
    linear-gradient(135deg, rgba(245, 189, 112, 0.08), transparent 36%);
  pointer-events: none;
}

.home-page .discover-media img {
  position: relative;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition:
    transform 760ms var(--home-ease),
    filter 350ms ease;
}

.home-page .discover-media.is-home-visible::before {
  opacity: 1;
  transform: scale(1);
}

.home-page .discover-media figcaption {
  position: absolute;
  z-index: 2;
  right: 18px;
  bottom: 22px;
  left: 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.62rem;
  font-weight: 800;
  line-height: 1.6;
  letter-spacing: 0.13em;
}

.home-page .discover-links {
  display: grid;
  grid-template-rows: repeat(4, minmax(190px, auto));
}

.home-page .discover-link {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 48px;
  gap: 28px;
  align-items: center;
  min-height: 190px;
  padding: 28px 18px 28px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  color: #fff;
  text-decoration: none;
  transition:
    background-color 260ms ease,
    box-shadow 260ms ease,
    transform 320ms var(--home-ease);
}

.home-page .discover-link::before {
  content: "";
  position: absolute;
  top: 28px;
  bottom: 28px;
  left: 2px;
  width: 3px;
  border-radius: 999px;
  background: var(--home-orange-strong);
  opacity: 0;
  transform: scaleY(0.35);
  transform-origin: center;
  transition:
    opacity 220ms ease,
    transform 300ms var(--home-ease);
}

.home-page .discover-link > div {
  min-width: 0;
  transition: transform 300ms var(--home-ease);
}

.home-page .discover-link small {
  display: block;
  margin-bottom: 9px;
  color: var(--home-orange);
  font-size: 0.65rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.home-page .discover-link strong {
  display: block;
  font-size: clamp(1.5rem, 2.2vw, 2.3rem);
  line-height: 1.12;
  letter-spacing: -0.04em;
  transition: color 220ms ease;
}

.home-page .discover-link p {
  max-width: 38ch;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.85rem;
  line-height: 1.7;
}

.home-page .discover-link > i {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--home-ink);
  font-size: 1rem;
  box-shadow: 0 8px 22px rgba(5, 3, 8, 0.14);
  transition:
    background-color 220ms ease,
    border-color 220ms ease,
    color 220ms ease,
    box-shadow 260ms ease,
    transform 320ms var(--home-ease);
}

.home-page .discover-link:focus-visible {
  outline: 2px solid var(--home-orange);
  outline-offset: 4px;
}

/* ----------------------------------------------------------
   FUTSTATS — tríptico blanco + fotografía revelada en hover.
   ---------------------------------------------------------- */
.home-page #futstats {
  background: var(--home-ink);
  color: #fff;
}

.home-page .futstats-layout {
  width: min(calc(100% - clamp(40px, 10vw, 144px)), 1776px);
  max-width: none;
}

.home-page .futstats-copy {
  max-width: 520px;
  margin-bottom: clamp(40px, 5vw, 70px);
}

.home-page #futstats .eyebrow {
  color: var(--home-orange);
}

.home-page .futstats-copy h2 {
  margin: 0 0 20px;
  color: #fff;
  font-size: clamp(2.5rem, 4.2vw, 4rem);
  letter-spacing: -0.055em;
}

.home-page .futstats-copy > p:not(.eyebrow) {
  max-width: 40ch;
  margin: 0 0 26px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.8;
}

.home-page .futstats-explore-link {
  min-height: 48px;
  padding: 8px 10px 8px 20px;
  gap: 22px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
}

.home-page .futstats-explore-link i {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--home-orange-strong);
  color: var(--home-ink);
  transition: transform 260ms var(--home-ease);
}

.home-page .futstats-reveal {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-height: clamp(440px, 40vw, 650px);
  overflow: hidden;
  border-radius: 6px;
  background: var(--home-ink);
}

.home-page .futstats-reveal__image {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.88) contrast(1.04);
  transform: scale(1.015);
  transition:
    transform 800ms var(--home-ease),
    filter 450ms ease;
  pointer-events: none;
}

.home-page .futstats-reveal__card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 64px;
  min-width: 0;
  padding: clamp(28px, 2.8vw, 48px);
  border: 0;
  border-right: 1px solid rgba(33, 24, 47, 0.22);
  background: #f8f7f4;
  color: var(--home-ink);
  text-align: left;
  cursor: pointer;
  transition:
    background-color 460ms var(--home-ease),
    color 320ms ease,
    padding 360ms var(--home-ease);
}

.home-page .futstats-reveal__card:last-child {
  border-right: 0;
}

.home-page .futstats-reveal__title {
  max-width: 12ch;
  font-size: clamp(1.7rem, 2.8vw, 3.1rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.045em;
}

.home-page .futstats-reveal__description {
  max-width: 35ch;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(0.84rem, 1vw, 0.98rem);
  line-height: 1.75;
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px);
  transition:
    opacity 280ms ease,
    transform 440ms var(--home-ease),
    visibility 0s linear 440ms;
}

.home-page .futstats-reveal__card[aria-expanded="true"] {
  background: rgba(16, 12, 22, 0.58);
  color: #fff;
}

.home-page
  .futstats-reveal__card[aria-expanded="true"]
  .futstats-reveal__description {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 70ms, 70ms, 0s;
}

.home-page
  .futstats-reveal:has(.futstats-reveal__card[aria-expanded="true"])
  .futstats-reveal__image {
  transform: scale(1.035);
  filter: saturate(1) contrast(1.03);
}

.home-page .futstats-reveal__card:focus-visible {
  z-index: 2;
  outline: 3px solid var(--home-orange-strong);
  outline-offset: -5px;
}

/* ----------------------------------------------------------
   COMUNIDAD — introducción editorial + carrusel de la V1.
   ---------------------------------------------------------- */
.home-page #comunidad {
  padding-block: clamp(72px, 8vw, 120px);
  background: var(--home-paper);
  color: var(--home-ink);
}

.home-page #comunidad .club-layout {
  display: block;
}

.home-page #comunidad .club-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 0.9fr);
  gap: clamp(64px, 7vw, 100px);
  align-items: start;
  margin-bottom: 48px;
}

.home-page #comunidad .club-feature__label {
  display: block;
  margin: 0 0 16px;
  color: var(--color-brand-dark);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.home-page #comunidad .club-feature h2 {
  margin: 0;
  color: var(--home-ink);
  font-size: clamp(2.6rem, 4.4vw, 3.9rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.home-page #comunidad .club-feature__body > p {
  max-width: 500px;
  margin: 0;
  color: var(--color-muted);
  font-size: clamp(1rem, 1.25vw, 1.08rem);
  line-height: 1.68;
}

.home-page .club-benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 500px;
  margin: 24px 0 0;
}

.home-page .club-benefits dt {
  margin-bottom: 7px;
  color: var(--home-ink);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-page .club-benefits dd {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.86rem;
  line-height: 1.6;
}

.home-page .club-carousel {
  position: relative;
  min-width: 0;
  padding-bottom: 88px;
}

.home-page .club-slides {
  position: relative;
  height: clamp(340px, 43vw, 610px);
  overflow: hidden;
  border-radius: 16px;
  background: #120e18;
  box-shadow: 0 16px 38px rgba(33, 24, 47, 0.12);
  touch-action: pan-y;
}

.home-page .club-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: scale(1.018);
  transition:
    opacity 520ms ease,
    transform 760ms var(--home-ease);
}

.home-page .club-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.home-page .club-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.home-page .club-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.12);
  pointer-events: none;
}

.home-page .club-slide img[src$="comunidad8.png"] {
  object-position: center 25%;
}
.home-page .club-slide img[src$="comunidad5.png"] {
  object-position: center bottom;
}
.home-page .club-slide img[src$="comunidad10.png"] {
  object-position: center 20%;
}

.home-page .club-control {
  position: absolute;
  top: calc((100% - 88px) / 2);
  z-index: 4;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 50%;
  background: rgba(26, 19, 36, 0.7);
  color: #fff;
  box-shadow:
    0 12px 30px rgba(8, 5, 11, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transform: translateY(-50%);
  cursor: pointer;
  transition:
    background-color 220ms ease,
    border-color 220ms ease,
    color 220ms ease,
    box-shadow 260ms ease,
    opacity 220ms ease,
    transform 300ms var(--home-ease);
}

.home-page .club-control--prev {
  left: 22px;
}
.home-page .club-control--next {
  right: 22px;
}

.home-page .club-control svg {
  width: 22px;
  height: 22px;
  transition: transform 260ms var(--home-ease);
}

.home-page .club-control:focus-visible {
  outline: 3px solid var(--home-orange);
  outline-offset: 4px;
}

.home-page .club-dots {
  position: absolute;
  right: auto;
  bottom: 20px;
  left: 50%;
  display: flex;
  width: min(380px, calc(100% - 120px));
  height: 46px;
  border: 1px solid rgba(33, 24, 47, 0.08);
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.82);
  box-shadow: 0 10px 26px rgba(33, 24, 47, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transform: translateX(-50%);
}

.home-page .club-dot {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.home-page .club-dot::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #aaa3ae;
  transform: translate(-50%, -50%);
  transition:
    background-color 180ms ease,
    transform 180ms ease;
}

.home-page .club-dot.is-active::after {
  background: transparent;
}

.home-page .club-ball {
  position: absolute;
  z-index: 2;
  top: 50%;
  font-size: 23px;
  line-height: 1;
  pointer-events: none;
  transition:
    left 480ms var(--home-ease),
    transform 480ms ease;
}

/* ----------------------------------------------------------
   TIENDA — vuelta al tratamiento claro y editorial de V1.
   ---------------------------------------------------------- */
.home-page #tienda {
  background: var(--home-soft);
  color: var(--home-ink);
}

.home-page #tienda .shop-preview {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(34px, 5vw, 72px);
  align-items: center;
}

.home-page #tienda .shop-preview__copy h2 {
  max-width: none;
  margin-bottom: 22px;
  font-size: clamp(2.2rem, 3.5vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.home-page #tienda .shop-preview__copy > p:not(.eyebrow) {
  max-width: 38ch;
  margin-bottom: 0;
  color: var(--color-muted);
  font-size: 1rem;
  line-height: 1.75;
}

.home-page .shop-photo {
  min-width: 0;
  margin: 0;
}

.home-page .shop-photo__link {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 6px;
}

.home-page .shop-photo img {
  display: block;
  width: 100%;
  height: auto;
  transition:
    transform 720ms var(--home-ease),
    filter 360ms ease;
}

.home-page .shop-photo__overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(23, 16, 30, 0.34);
  opacity: 0;
  transition: opacity 240ms ease;
}

.home-page .shop-photo__overlay > span {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 12px 20px;
  border-radius: 4px;
  background: var(--home-paper);
  color: var(--home-ink);
  font-size: 0.9rem;
  font-weight: 800;
  transform: translateY(10px);
  transition: transform 300ms var(--home-ease);
}

.home-page .shop-photo figcaption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
  color: var(--color-muted);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ----------------------------------------------------------
   CTA — proporciones originales con interacción suave.
   ---------------------------------------------------------- */
.home-page #postula {
  position: relative;
  overflow: hidden;
}

.home-page #postula::after {
  content: "";
  position: absolute;
  top: -160px;
  right: -100px;
  width: 380px;
  height: 380px;
  border: 1px solid rgba(33, 24, 47, 0.12);
  border-radius: 50%;
  pointer-events: none;
}

.home-page #postula .cta-section__inner {
  position: relative;
}

.home-page #postula h2 {
  font-size: clamp(2.55rem, 4.7vw, 4.9rem);
  line-height: 0.97;
  letter-spacing: -0.055em;
}

/* ----------------------------------------------------------
   Hover / interacción de escritorio.
   ---------------------------------------------------------- */
@media (hover: hover) and (pointer: fine) {
  .home-page .matchday-tabs button:not([aria-selected="true"]):hover {
    border-color: rgba(33, 24, 47, 0.28);
    color: var(--home-ink);
    transform: translateY(-2px);
  }

  .home-page .matchday-service:hover > i {
    background: rgba(234, 150, 30, 0.18);
    transform: translateY(-2px) rotate(-3deg);
  }

  .home-page .matchday-arrow:hover {
    border-color: var(--home-orange-strong);
    background: var(--home-orange);
    transform: translateY(-2px);
  }

  .home-page .discover-media:hover img {
    transform: scale(1.028);
    filter: saturate(1.03) contrast(1.02);
  }

  .home-page .discover-link:hover,
  .home-page .discover-link:focus-visible {
    background: linear-gradient(
      90deg,
      rgba(245, 189, 112, 0.09),
      rgba(255, 255, 255, 0.025) 58%,
      transparent
    );
    box-shadow: inset 0 0 0 1px rgba(245, 189, 112, 0.06);
    transform: translateX(4px);
  }

  .home-page .discover-link:hover::before,
  .home-page .discover-link:focus-visible::before {
    opacity: 1;
    transform: scaleY(1);
  }

  .home-page .discover-link:hover > div,
  .home-page .discover-link:focus-visible > div {
    transform: translateX(14px);
  }

  .home-page .discover-link:hover strong,
  .home-page .discover-link:focus-visible strong {
    color: var(--home-orange);
  }

  .home-page .discover-link:hover > i,
  .home-page .discover-link:focus-visible > i {
    border-color: rgba(245, 189, 112, 0.55);
    background: var(--home-orange);
    color: var(--home-ink);
    box-shadow: 0 12px 28px rgba(234, 150, 30, 0.2);
    transform: translate(2px, -2px) rotate(-32deg);
  }

  .home-page .futstats-explore-link:hover {
    border-color: var(--home-orange-strong);
    background: rgba(255, 255, 255, 0.04);
    transform: none;
  }

  .home-page .futstats-explore-link:hover i {
    transform: translateX(3px);
  }

  .home-page .club-carousel .club-control {
    opacity: 0.84;
  }

  .home-page .club-carousel:hover .club-control,
  .home-page .club-carousel:focus-within .club-control {
    opacity: 1;
  }

  .home-page .club-control:hover {
    border-color: rgba(245, 189, 112, 0.82);
    background: var(--home-orange);
    color: var(--home-ink);
    box-shadow: 0 15px 34px rgba(15, 10, 20, 0.28);
    transform: translateY(-50%) scale(1.07);
  }

  .home-page .club-control:active {
    transform: translateY(-50%) scale(0.96);
  }

  .home-page .club-control--prev:hover svg {
    transform: translateX(-3px);
  }
  .home-page .club-control--next:hover svg {
    transform: translateX(3px);
  }

  .home-page .club-dot:hover::after {
    background: var(--color-brand-dark);
    transform: translate(-50%, -50%) scale(1.35);
  }

  .home-page .shop-photo__link:hover img,
  .home-page .shop-photo__link:focus-visible img {
    transform: scale(1.025);
    filter: saturate(1.03);
  }

  .home-page .shop-photo__link:hover .shop-photo__overlay,
  .home-page .shop-photo__link:focus-visible .shop-photo__overlay {
    opacity: 1;
  }

  .home-page .shop-photo__link:hover .shop-photo__overlay > span,
  .home-page .shop-photo__link:focus-visible .shop-photo__overlay > span {
    transform: translateY(0);
  }
}

/* ----------------------------------------------------------
   Responsive.
   ---------------------------------------------------------- */
@media (max-width: 1000px) {
  .home-page .discover-heading {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .home-page .discover-layout {
    grid-template-columns: minmax(240px, 0.36fr) minmax(0, 0.64fr);
  }

  .home-page #comunidad .club-feature {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .home-page #comunidad .club-feature__body > p,
  .home-page .club-benefits {
    max-width: 620px;
  }
}

@media (max-width: 820px) {
  .home-page .matchday-intro {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .home-page .matchday-frame {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .home-page .matchday-stages {
    grid-column: 1 / -1;
  }

  .home-page .matchday-arrow {
    grid-row: 2;
  }

  .home-page .matchday-arrow--prev {
    grid-column: 1;
    justify-self: end;
  }

  .home-page .matchday-arrow--next {
    grid-column: 2;
    justify-self: start;
  }

  .home-page .matchday-stage {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: 330px auto repeat(3, auto);
    min-height: 0;
    padding: 0 22px 24px;
    gap: 14px;
  }

  .home-page .matchday-stage::before {
    inset: 0 0 auto;
    height: 330px;
  }

  .home-page .matchday-scene {
    width: 100%;
    height: 330px;
  }

  .home-page .matchday-panel-intro {
    grid-column: 1;
    grid-row: 1;
    align-self: end;
    padding: 36px 0 22px;
  }

  .home-page .matchday-heading {
    grid-column: 1;
    grid-row: 2;
    padding-top: 12px;
  }

  .home-page .matchday-service {
    grid-column: 1;
  }

  .home-page .matchday-service:nth-of-type(1) {
    grid-row: 3;
  }
  .home-page .matchday-service:nth-of-type(2) {
    grid-row: 4;
  }
  .home-page .matchday-service:nth-of-type(3) {
    grid-row: 5;
  }

  .home-page #tienda .shop-preview {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .home-page #tienda .shop-preview__copy > p:not(.eyebrow) {
    max-width: 54ch;
  }
}

@media (max-width: 680px) {
  .home-page.home-motion [data-home-reveal="left"],
  .home-page.home-motion [data-home-reveal="right"] {
    transform: translateY(28px);
  }

  .home-page .matchday-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .home-page .matchday-tabs button {
    padding: 10px 6px;
  }

  .home-page .matchday-tabs button strong {
    font-size: 0.68rem;
    line-height: 1.25;
  }

  .home-page #descubre > .container,
  .home-page .futstats-layout {
    width: calc(100% - 40px);
  }

  .home-page .discover-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .home-page .discover-media {
    min-height: 0;
    aspect-ratio: 3 / 4;
    max-height: 560px;
  }

  .home-page .discover-links {
    grid-template-rows: repeat(4, minmax(145px, auto));
  }

  .home-page .discover-link {
    min-height: 145px;
    padding: 24px 14px 24px 16px;
    gap: 18px;
  }

  .home-page .futstats-reveal {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }

  .home-page .futstats-reveal__card {
    min-height: 250px;
    padding: 28px;
    border-right: 0;
    border-bottom: 1px solid rgba(33, 24, 47, 0.22);
    gap: 42px;
  }

  .home-page .futstats-reveal__card:last-child {
    border-bottom: 0;
  }

  .home-page .futstats-reveal__title {
    max-width: none;
  }

  .home-page #comunidad .club-feature h2 {
    font-size: clamp(2.25rem, 9vw, 3.1rem);
  }

  .home-page .club-benefits {
    gap: 16px;
  }

  .home-page .club-slides {
    height: 360px;
    border-radius: 10px;
  }

  .home-page .club-control {
    top: calc((100% - 88px) / 2);
    width: 48px;
    height: 48px;
  }

  .home-page .club-control--prev {
    left: 10px;
  }
  .home-page .club-control--next {
    right: 10px;
  }

  .home-page .club-dots {
    left: 0;
    width: calc(100% - 62px);
    transform: none;
  }

  .home-page .shop-photo__overlay {
    place-items: end start;
    padding: 16px;
    background: linear-gradient(transparent 52%, rgba(23, 16, 30, 0.5));
    opacity: 1;
  }

  .home-page .shop-photo__overlay > span {
    transform: none;
  }

  .home-page .shop-photo figcaption {
    font-size: 0.58rem;
  }

  .home-page #postula .cta-section__inner {
    gap: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-page [data-home-reveal],
  .home-page .matchday-stage,
  .home-page .matchday-scene,
  .home-page .matchday-tabs button,
  .home-page .matchday-arrow,
  .home-page .discover-media img,
  .home-page [data-home-reveal="diagonal"] figcaption,
  .home-page .discover-link,
  .home-page .discover-link::before,
  .home-page .discover-link > div,
  .home-page .discover-link > i,
  .home-page .futstats-reveal__image,
  .home-page .futstats-reveal__card,
  .home-page .futstats-reveal__description,
  .home-page .club-slide,
  .home-page .club-control,
  .home-page .club-ball,
  .home-page .shop-photo img,
  .home-page .shop-photo__overlay,
  .home-page .shop-photo__overlay > span {
    transition: none !important;
  }

  .home-page [data-home-reveal="diagonal"] > img {
    opacity: 1 !important;
    clip-path: none !important;
    transform: none !important;
  }

  .home-page [data-home-reveal="diagonal"] figcaption {
    opacity: 1 !important;
    transform: none !important;
  }
}
