
/* ==========================================
   RECINTO HERO · FOTO REAL
   ========================================== */

.recinto-hero{
  position: relative;
  min-height: 90svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: white;
}

/* Imagen */

.recinto-hero__media{
  position: absolute;
  inset: 0;
  z-index: 0;
}

.recinto-hero__media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Overlay oscuro + azul MA */

.recinto-hero__overlay{
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      to bottom,
      rgba(8,12,24,0.35) 0%,
      rgba(8,12,24,0.55) 40%,
      rgba(8,12,24,0.85) 100%
    ),
    radial-gradient(
      1200px 600px at 70% 20%,
      rgba(var(--ma-blue-rgb), .35),
      transparent 60%
    );
}

/* Contenido */

.recinto-hero__content{
  position: relative;
  z-index: 2;
  padding-bottom: 60px;
  max-width: 780px;
}

/* Kicker */

.recinto-hero__kicker{
  font-size: var(--fs-element-nav);
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .8;
  margin-bottom: 14px;
}

/* Título */

.recinto-hero__title{
  font-size: var(--fs-hero-title);
  line-height: var(--lh-hero-title);
  font-weight:  var(--fw-hero-title);
  margin: 0 0 16px;
  letter-spacing: -0.02em;
  
}

/* Lead */

.recinto-hero__lead{
  font-size: var(--fs-hero-lead);
  line-height: var(--lh-hero-lead);
  max-width: 60ch;
  margin-bottom: 24px;
  opacity: .92;
}

/* Botones */

.recinto-hero__cta{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Responsive */

@media (max-width: 768px){
  .recinto-hero{
    min-height: 75svh;
  }

  .recinto-hero__content{
    padding-bottom: 40px;
  }
}
/* ==========================================
   Recinto · Historia (Hero texto)
   ========================================== */

.recinto-history{
  padding: 42px 0 10px;
}

.recinto-history__hero{
  margin-bottom: 16px;
  max-width: 100%;
}

.recinto-history__kicker{
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(234,240,255,.72);
}

.recinto-history__h{
  margin: 0 0 12px;
  font-size: clamp(28px, 4.2vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.recinto-history__sub{
  display: block;
  margin-top: 8px;
  font-size: clamp(14px, 1.8vw, 18px);
  font-weight: 700;
  color: rgba(234,240,255,.78);
}

.recinto-history__lead{
  margin: 0;
  /*max-width: 78ch;*/
}

/* ==============================
   MA Stats (Apple-like counters)
   ============================== */

.ma-stats{
  padding: clamp(26px, 4vw, 52px) 0;
}

.ma-stats__head{
 margin-bottom: 16px;
    max-width: 100%;
}

.ma-stats__kicker{
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(234,240,255,.72);
}

.ma-stats__title{
  margin: 0 0 10px;
  font-size: clamp(22px, 3.4vw, 34px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: rgba(234,240,255,.96);
}

.ma-stats__lead{
  margin: 0;
  /*max-width: 60ch;*/
  
}

.ma-stats__grid{
  display: grid;
  gap: 14px;
  margin-top: 50px;
  grid-template-columns: 1fr;
}

@media (min-width: 740px){
  .ma-stats__grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1060px){
  .ma-stats__grid{ grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.ma-stat{
  border-radius: var(--r-md);
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.06);
  box-shadow: 0 18px 70px rgba(0,0,0,.24);
  backdrop-filter: blur(12px) saturate(1.05);
  padding: 16px 16px 14px;
  min-height: 140px;
}

.ma-stat__num{
  display: flex;
  flex-direction: column;
  align-items: baseline;
  gap: 10px;
}

.ma-stat__value{
  font-size: clamp(34px, 4.2vw, 54px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: rgba(234,240,255,.98);
}

.ma-stat__unit{
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(234,240,255,.70);
}

.ma-stat__label{
  margin: 10px 0 6px;
  font-weight: 650;
  color: rgba(234,240,255,.92);
  line-height: 1.25;
}

.ma-stat__note{
  margin: 0;
  color: rgba(234,240,255,.70);
  line-height: 1.35;
  font-size: 13px;
}

.ma-stats__foot{
  margin-top: 12px;
}

.ma-stats__disclaimer{
  margin: 0;
  color: rgba(234,240,255,.55);
  font-size: 12px;
  line-height: 1.35;
}

/* animación sutil al entrar (clase aplicada por JS) */
.ma-stat{
  transform: translateY(6px);
  opacity: 0.01;
  transition: transform .55s ease, opacity .55s ease;
}
.ma-stats.is-inview .ma-stat{
  transform: translateY(0);
  opacity: 1;
}

@media (prefers-reduced-motion: reduce){
  .ma-stat{ transition: none; transform:none; opacity:1; }
}

/* ============================================================
   VIP STORY — CSS (consolidado)
   - Fondo fixed con gate (.is-bg-on)
   - Badge fixed (opacidad/transform controlado por JS)
   - Stage sticky centrado bajo header
   - Grid: mobile 1 col / desktop 3 cols (izq / hueco / dcha)
   - Gate visual (.is-armed) para evitar flashes antes de armar
   ============================================================ */

.vip-story{
  position: relative;
  width: 100%;
  min-height: 340vh; /* ajusta duración global */
  overflow: visible;
  isolation: isolate;
  z-index: 1;
}

/* =========================
   CAPA 0 — Fondo (opacity via JS)
========================= */
.vip-story__bg{
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;

  z-index: 0;
  pointer-events: none;

  opacity: 0;
  visibility: hidden;

  transition: opacity .28s ease, visibility 0s linear .28s;
  will-change: opacity, transform;

  background:
    radial-gradient(1200px 700px at 70% 35%, rgba(80,140,255,.55), transparent 62%),
    radial-gradient(1000px 600px at 45% 65%, rgba(160,210,255,.45), transparent 60%),
    linear-gradient(135deg, rgba(6,10,22,1), rgba(12,25,70,1) 45%, rgba(25,85,255,.75));
}

.vip-story.is-bg-on .vip-story__bg{
  visibility: visible;
  transition: opacity .28s ease, visibility 0s linear 0s;
}

/* =========================
   CAPA 1 — Badge (fixed)
========================= */
.vip-story__badge{
  position: fixed;
  top: calc(var(--header-h) - 5vh);
  left: 50%;
  transform: translateX(-50%);

  width: 100%;
  height: calc(100vh - var(--header-h));

  z-index: 1;
  pointer-events: none;

  display: flex;
  justify-content: center;
  align-items: flex-start;

  perspective: 500px;
  transform-style: preserve-3d;
}

.vip-story__badge img{
  height: min(80vh, 680px);
  max-height: 80vh;

  transform-origin: top center;
  will-change: transform, opacity;
  backface-visibility: hidden;

  pointer-events: auto;
  cursor: grab;
}

.vip-story__badge img:active{ cursor: grabbing; }

/* =========================
   CAPA 2 — Stage (sticky)
========================= */
.vip-story__stage{
  position: sticky;
  top: var(--header-h);
  height: 100vh;

  z-index: 2;
  pointer-events: none;

  display: flex;
  align-items: flex-start;

  padding-top: 6vh;
  margin-bottom: 6vh;

  transform: none;
}

.vip-story__grid{
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;

  display: grid;
  gap: 18px;
  align-items: start;

  grid-template-columns: 1fr; /* mobile */
}

@media (min-width: 980px){
  .vip-story__grid{
    grid-template-columns: 320px minmax(220px, 360px) 1fr;
    gap: 22px;
  }
}

/* Interactivos */
.vip-story__left,
.vip-story__right{
  pointer-events: auto;
}

.vip-story__left{
  will-change: transform, opacity;
}

.vip-story__right{
  overflow: visible;
}

.vip-right__inner{
  will-change: transform, opacity;
}

@media (min-width: 980px){
  .vip-story__left{ grid-column: 1; }
  .vip-story__right{ grid-column: 3; }
}

/* =========================
   UI — KPI / Cards / Chips
========================= */
.vip-kpi{
  padding: 14px;
  margin-bottom: 10px;

  border-radius: var(--r-md);
  background: rgba(8,12,24,.38);
  border: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(10px) saturate(1.1);

  transition:
    transform .45s cubic-bezier(.22,.61,.36,1),
    opacity .35s ease;
}

.vip-kpi__num{
  font-size: clamp(34px, 6vw, 56px);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: rgba(234,240,255,.96);
}

.vip-kpi__label{
  margin-top: 6px;
  font-size: var(--fs-section-title);
}

.vip-kpi--muted{ opacity: .92; }

.vip-card{
  padding: 16px;
  margin-bottom: 12px;

  border-radius: var(--r-md);
  background: rgba(8,12,24,.30);
  border: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(10px) saturate(1.05);
}

.vip-card h3{
  margin: 0 0 6px;
  font-size: var(--fs-section-title);
  line-height: var(--lh-section-title);
}


/* Fuerza el subtítulo a nueva línea */
.vip-card h3 span{
  display: block;
  margin-top: 6px;

  font-size: var(--fs-section-subtitle);
  line-height: var(--lh-section-subtitle);
  
}

/* Genera el punto */
.vip-card h3 span::before{
  content: "●";
	margin-right: 10px;
	color : var(--ma-green-100);	
}

.vip-card h4{
  margin: 0 0 6px;
  font-size: var(--fs-element-title);
  font-weight: var(--fw-element-title);
  line-height: var(-webkit-line-height: ;
  -moz-line-height: ;
  -ms-line-height: ;
  -o-line-height: ;
  line-height: ;-element-title);
}




/* Media */
.vip-card__media{
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 16 / 9;

  background: rgba(255,255,255,.04);
  margin: 16px 0;
}

.vip-card__media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;

  transition: transform .6s ease;
}

.vip-card:hover .vip-card__media img{
  transform: scale(1.04);
}

/* Meta + chips */
.vip-card__meta{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

/*
.vip-chip{
  display: inline-flex;
  align-items: center;
  gap: 6px;

  padding: 6px 10px;
  border-radius: 999px;

  font-size: 13px;
  line-height: 1;

  color: rgba(234,240,255,.88);
  background: rgba(8,12,24,.32);
  border: 1px solid rgba(255,255,255,.12);
}
*/
.vip-chip__ic{
  width: 14px;
  height: 14px;
  opacity: .95;
}

/* Estado base: nada “asoma” antes del JS */
.vip-kpi[data-step],
.vip-card[data-step]{
  opacity: 1;
  transform: none;
}

/* KPI meta */
.vip-kpi__meta{
  margin-top: 10px;
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  max-width: 100%;
}

.vip-kpi__meta .vip-chip__ic{
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  margin-top: -2px;
  opacity: .95;
}

/* Card head/lead */
.vip-card__head{ margin-bottom: 10px; }

.vip-card__lead{
  margin: 0;
  
}

/* Bullets derecha */
.vip-card__list{
  margin-top: 14px;
  display: grid;
  gap: 12px;
}

.vip-li{
  display: flex;
  gap: 10px;
  align-items: flex-start;

  
}

.vip-li__ic{
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  margin-top: 2px;
  opacity: .95;
}

/* CTA row */
.vip-card__ctaRow{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.vip-card__ctaRow .btn{ min-width: 180px; }

@media (max-width: 980px){
  .vip-kpi__meta{ max-width: 100%; }
  .vip-card__ctaRow .btn{ width: 100%; }
}

/* =========================================================
   VIP STORY — Gate visual (solo CSS)
   Evita flashes del churro y permite “nacer desde abajo”
   ========================================================= */
.vip-story:not(.is-armed) .vip-right__inner{
  opacity: 0 !important;
  transform: translateY(12vh) !important;
}

.vip-story:not(.is-armed) .vip-story__left{
  opacity: 0 !important;
  transform: translateY(calc(100vh - var(--header-h) - 6vh)) !important;
}

.vip-story.is-armed .vip-right__inner{
  opacity: 1 !important;
  transition: opacity .28s ease;
}

.vip-story.is-armed .vip-story__left{
  opacity: 1 !important;
  transform: translateY(0) !important;
  transition:
    transform .55s cubic-bezier(.22,.61,.36,1),
    opacity .35s ease;
}



/* =========================
   Reduce motion
========================= */
@media (prefers-reduced-motion: reduce){
  .vip-story{ min-height: auto; }
  .vip-story__bg{ opacity: 1; }
  .vip-story__badge{
    position: relative;
    top: auto;
    transform: none;
    height: auto;
    padding: 28px 0;
  }
  .vip-story__badge img{ opacity: 1; transform: none; }
  .vip-story__stage{
    position: relative;
    top: auto;
    transform: none;
    height: auto;
    padding: 18px 0 42px;
  }
  .vip-story__left,
  .vip-right__inner{
    transform: none !important;
    opacity: 1 !important;
  }
}

/* =========================================================
   TOP5 — Badge + glow + 2 líneas reales (fix definitivo)
   ========================================================= */

.top5{
  margin: clamp(40px, 6vw, 90px) auto 0;

  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;

  width: clamp(160px, 20vw, 320px);

  --top5-p: 0;

  user-select: none;
  -webkit-user-select: none;
}

/* =========================
   Glow inferior
   ========================= */

.top5::before{
  content:"";
  position:absolute;
  width: 60%;
  height: 60%;
  bottom:-10%;
  left: 50%;
  transform: translateX(-50%);

  background: radial-gradient(
    circle,
    rgba(var(--ma-blue-rgb), .35),
    transparent 70%
  );

  filter: blur(80px);
  opacity: .9;

  z-index: 0;
  pointer-events: none;
}

/* =========================
   Línea derecha
   ========================= */

.top5::after{
  content:"";
  position:absolute;
  top:50%;
  left:100%;
  margin-left: 28px;

  height:1px;
  width: calc(50vw * var(--top5-p));
  transform: translateY(-50%);

  background: linear-gradient(
    90deg,
    rgba(255,255,255,.25),
    rgba(var(--ma-blue-rgb), 1)
  );

  pointer-events:none;
  z-index:1;
}

/* =========================
   Línea izquierda (elemento real)
   ========================= */

.top5-line-left{
  position:absolute;
  top:50%;
  right:100%;
  margin-right:28px;

  height:1px;
  width: calc(50vw * var(--top5-p));
  transform: translateY(-50%);

  background: linear-gradient(
    90deg,
    rgba(var(--ma-blue-rgb), 1),
    rgba(255,255,255,.25)
  );

  pointer-events:none;
  z-index:1;
}

/* Badge imagen */
.top5 img{
  position: relative;
  z-index: 2;
  width:100%;
  height:auto;
  display:block;
  -webkit-user-drag: none;
}

/* Desktop */
@media (min-width: 980px){
  .top5::after,
  .top5-line-left{
    height:2px;
  }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce){
  .top5{ --top5-p: 1; }
}

/***********************************/
/* video mask*/
/***********************************/
.ma-vmask{
  min-height: 250vh; /* recorrido; ajusta si quieres más/menos */
  position: relative;

  --shadeAlpha: 1; /*.92;*/
  --lockupOpacity: 0;
  --lockupY: 0px;
  --lockupWidth: 320px;        /* ancho base */
  --lockupOffsetY: 89px;        /* ajuste vertical fino */
  --lockupOpacityEnd: 0.6;
}

.ma-vmask__stage{
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100vw;
  overflow: clip;
  isolation: isolate;
}

.ma-vmask__video{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ma-vmask__overlay{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  /* IMPORTANT: sin preserveAspectRatio="none" => NO se deforma */
}

.ma-vmask__shade{
  fill: rgba(var(--ma-dark-blue-rgb), var(--shadeAlpha));
}

.ma-vmask__lockup{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) translateY(var(--lockupY));
  opacity: var(--lockupOpacity);
  pointer-events: none;
  z-index: 5;
  filter: drop-shadow(0 18px 50px rgba(0,0,0,.45));
}

/* opcional: tamaño lockup */
.ma-vmask__lockup svg{
  width: min(360px, 78vw);
  height: auto;
  display: block;
}

.ma-vmask__overlay{
  shape-rendering: geometricPrecision;
}

.ma-vmask__lockup svg .cls-1,
.ma-vmask__lockup svg .cls-2{
  stroke: none !important;
  stroke-width: 0 !important;
}

.ma-vmask__lockup{ filter: drop-shadow(0 18px 50px rgba(0,0,0,.45)); }

.ma-vmask__lockup{
  position: absolute;
  left: 50%;
  top: 50%;

  transform:
    translate(-50%, -50%)
    translateY(calc(var(--lockupY) + var(--lockupOffsetY)));

  pointer-events: none;
  z-index: 5;

  filter: drop-shadow(0 18px 50px rgba(0,0,0,.45));
}

.ma-vmask__lockup svg{
  width: min(var(--lockupWidth), 80vw);
  height: auto;
  display: block;
}

@media (prefers-reduced-motion: reduce){
  .ma-vmask{ --lockupOpacity: 1; --lockupY: 0; }
}


/* =========================
   Salas --- Explore Cards 
   ========================= */
.ma-explore{
  padding: clamp(24px, 4vw, 56px) 0;
}

.ma-explore__wrap{
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  gap: 18px;
}

.ma-card{
  border-radius: var(--r-md);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 18px 55px rgba(0,0,0,.22);
  overflow: hidden;
}

/* --- Hero card --- */
.ma-card--hero{
  position: relative;
  min-height: clamp(340px, 46vw, 420px);
  display: grid;
  align-items: end;
}

.ma-card__bg{
  position: absolute;
  inset: 0;
  z-index: 0;
}

.ma-card__bg img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
}

.ma-card--hero::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  background:
    linear-gradient(to top, rgba(8,12,24,.78) 0%, rgba(8,12,24,.35) 55%, rgba(8,12,24,.10) 100%);
}

.ma-card__heroContent{
  position: relative;
  z-index: 2;
  padding: clamp(18px, 3vw, 28px);
  max-width: 56ch;
}

.ma-card__kicker{
  margin: 0 0 8px;
  font-size: var(--fs-section-title);
  font-weight: bold;
  line-height: var(--lh-section-title);
 
}

.ma-card__title{
  margin: 0 0 10px;
  font-size: var(--fs-section-subtitle);
  font-weight: bold;
  line-height: var(--fs-section-subtitle);
}

.ma-card__subtitle{
  margin: 0 0 10px;
  font-size: clamp(24px, 3.2vw, 40px);
  line-height: 1.05;
	
}

.ma-card__text{
  margin: 0 0 14px;
  opacity: .9;
}

.ma-card__link{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  font-weight: 600;
}

.ma-card__link:focus-visible{
  outline: 2px solid currentColor;
  outline-offset: 3px;
  border-radius: var(--r-md);
}

/* --- Split cards --- */
.ma-card--split{
  display: grid;
  grid-template-columns: 1fr;
}

.ma-card__media{
  aspect-ratio: 16 / 9;
}

.ma-card__media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ma-card__body{
  padding: 18px;
	align-content: flex-end;
}

.ma-card__body img{
  margin-bottom: 18px;

}

@media (min-width: 860px){
  .ma-card--split{
    grid-template-columns: 1.05fr .95fr;
    min-height: 280px;
  }
  .ma-card__media{
    aspect-ratio: 1/1;
    height: 100%;
  }
  .ma-card--reverse{
    grid-template-columns: .95fr 1.05fr;
  }
  .ma-card--reverse .ma-card__media{
    order: 2;
  }
  .ma-card--reverse .ma-card__body{
    order: 1;
  }
}

/* --- Subhead --- */
.ma-explore__subhead{
  text-align: center;
  padding: 10px 0 4px;
}

.ma-explore__subhead h2{
  margin: 10px 0 6px;
  font-size: clamp(20px, 2.6vw, 30px);
  line-height: 1.15;
}

.ma-explore__subhead p{
  margin: 0;
  opacity: .85;
}

/* --- 2-card grid --- */
.ma-explore__grid2{
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 860px){
  .ma-explore__grid2{
    grid-template-columns: 1fr 1fr;
  }
}

.ma-card--mini{
  padding: 18px;
  text-align: center;
}

.ma-card__logos{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:28px;
  margin-bottom:24px;
}

.ma-card__logos .ma-card__miniIcon{
  width: 200px;
  height: 200px;
  margin: 6px 0px 14px;
  border-radius: var(--r-md);
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.10);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.ma-card__miniIcon{
  width: 200px;
  height: 200px;
  margin: 6px auto 14px;
  border-radius: var(--r-md);
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.10);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.ma-card__miniIcon img{

  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
 padding: 20px;
}

/* --- Wide card --- */
.ma-card--wide{
  padding: clamp(18px, 3vw, 26px);
}

.ma-card__wideBody{
  max-width: 70ch;
  margin: 0 auto;
  text-align: center;
}

.ma-card__btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: var(--r-md);
  text-decoration: none;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.08);
}

.ma-card__btn:focus-visible{
  outline: 2px solid currentColor;
  outline-offset: 3px;
}
