:root{
  --blue-900:#0f2741;   /* fondo principal */
  --blue-800:#143255;   /* borde exterior */
  --blue-700:#1c4068;   /* acentos */
  --lime:#ccf134;       /* icono/acentos claros */
  --orange:#ff7f00;     /* CTA / contorno */
  --white:#ffffff;
  --shadow:0 20px 60px rgba(12,25,45,.45);
  --radius:22px;
}

*{box-sizing:border-box}
html,body{
  margin:0;
  padding:0;
  font-family:Poppins,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--white);
  background:var(--blue-900)
}

/* NAV */
.nav{
  position:fixed;
  inset:0 auto auto 0;
  height: 80px;
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 70px;
  z-index:50;
  background:linear-gradient(180deg,rgba(15,39,65,.95),rgba(15,39,65,.75) 60%,transparent);
  backdrop-filter:saturate(140%) blur(6px)
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  color:var(--white)
}
.brand img{
  width:80px;
  height:80px;
  border-radius:50%;
  object-fit:contain;  /* en vez de cover */
  background:#0f2741;  /* color de fondo detrás, opcional */
}

.brand span{
  font-weight:800;
  letter-spacing:.5px
}
.nav a.link{
  color:var(--white);
  text-decoration:none;
  margin:0 10px;
  font-weight:600;
  opacity:.85
}
.nav a.link:hover{opacity:1}
.nav .cta{
  background:var(--orange);
  color:#111;
  padding:10px 16px;
  border-radius:999px;
  font-weight:800;
  margin-left:10px;
  box-shadow:0 8px 24px rgba(255,127,0,.35)
}

.burger{
  display:none;
  cursor:pointer;
  padding:8px 10px;
  border:2px solid rgba(255,255,255,.15);
  border-radius:10px
}
.burger span{
  display:block;
  width:22px;
  height:2px;
  background:var(--white);
  margin:5px 0
}

/* HERO */
header.hero{
  min-height:100vh;
  display:grid;
  grid-template-rows:80px 1fr;
  position: relative;
  background:
    linear-gradient(rgba(15,39,65,.55),rgba(15,39,65,.7)),
    url('Imagen_filtro.png') center/cover no-repeat;
  filter:saturate(110%) contrast(105%);
  background-attachment: scroll;        /* base parallax */  /* Cambiar Fixed si falla */ 
  background-position: center 0;
}


.hero-inner{

  position:relative;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:32px;
  padding:80px 18px 48px;
}



.hero-bg{
  display:none;
}


.hero-overlay{
  position:absolute;
  inset:0;
  background:radial-gradient(1200px 500px at 55% 35%,rgba(204,241,52,.22),transparent 60%);
  z-index:-1
}

.hero-content{
  max-width:1100px;
  width:100%;
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:24px;
  align-items:center
}

.hero-bottom{
  width:100%;
  max-width:1100px;
  display:grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  gap:24px;
  align-items:stretch;
}

/* En móviles: todo en columna */
@media (max-width: 768px){
  .hero-bottom{
    grid-template-columns: 1fr;
  }
}


.badge{
  display:flex;
  align-items:center;
  gap:12px;
  width:max-content;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.15)
}
.badge i{
  width:10px;
  height:10px;
  border-radius:50%;
  background:var(--lime);
  box-shadow:0 0 0 3px rgba(204,241,52,.25)
}

.h1{
  font-size:clamp(42px,8vw,86px);
  line-height:0.95;
  margin:12px 0 10px;
  font-weight:900;
  letter-spacing:1px
}
.h1 strong{
  display:block;
  font-weight:900;
  color:var(--lime);
  text-shadow:0 6px 24px rgba(204,241,52,.25)
}
.lead{
  font-size:clamp(16px,2.4vw,22px);
  opacity:.92
}
.actions{
  margin-top:28px;
  display:flex;
  gap:12px;
  flex-wrap:wrap
}
.btn{
  appearance:none;
  border:0;
  cursor:pointer;
  border-radius:999px;
  padding:14px 22px;
  font-weight:800
}
.btn-primary{
  background:var(--orange);
  color:#111;
  box-shadow:0 12px 32px rgba(255,127,0,.38)
}
.btn-secondary{
  background:transparent;
  border:2px solid rgba(255,255,255,.35);
  color:var(--white)
}

/* hero card */
.card{
  background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.03));
  border:1px solid rgba(255,255,255,.12);
  border-radius:var(--radius);
  padding:22px;
  box-shadow:var(--shadow)
}
.card h3{margin:0 0 6px}
.stats{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
  margin-top:12px
}
.stat{
  background:rgba(0,0,0,.25);
  border:1px solid rgba(255,255,255,.08);
  border-radius:16px;
  padding:16px;
  text-align:center
}
.stat b{font-size:28px}
.stat span{
  display:block;
  opacity:.75
}

/* TARJETA ZONAS DE JUEGO EN EL HERO */
.zones-card{
  margin-top: 0;          /* el espacio ya lo da el gap del grid */
  width: 100%;
  max-width: 100%;        /* que use el ancho de su columna */
  align-self: flex-start; /* 👈 CLAVE: no se estira a la altura de la otra columna */
  padding: 20px 28px;     /* si la quieres un pelín más compacta */
}

/* cabecera de la tarjeta */
.zones-header h3{
  margin: 0 0 4px;
}

.zones-header p{
  margin: 0;
  opacity: .85;
  font-size: 14px;
}

/* contenedor de las zonas */
.zones-list{
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* “píldoras” de cada zona de juego */
.zone-pill{
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 8px 20px rgba(0,0,0,.35);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .02em;
  cursor: default;

  transition:
    transform .2s ease,
    box-shadow .2s ease,
    background .2s ease,
    border-color .2s ease;
}

.zones-header{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:16px;
}

.suggestion-toggle{
  align-self:center;
  padding:6px 14px;
  border-radius:999px;
  border:0;
  font-size:12px;
  font-weight:700;
  letter-spacing:.03em;
  text-transform:uppercase;
  cursor:pointer;
  background:rgba(255,255,255,.08);
  color:var(--white);
  box-shadow:0 8px 18px rgba(0,0,0,.45);
  transition:background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.suggestion-toggle:hover{
  background:rgba(255,255,255,.16);
  transform:translateY(-2px);
  box-shadow:0 14px 26px rgba(0,0,0,.6);
}

.hero-bottom{
  width:100%;
  max-width:1100px;
  display:grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  gap:24px;
  align-items:stretch;
}

@media (max-width: 768px){
  .hero-bottom{
    grid-template-columns:1fr;
  }
}

.suggestions-card{
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  min-height:230px;

  /* oculto visualmente al inicio */
  opacity:0;
  pointer-events:none;
  transform:translateX(24px);
  transition:opacity .3s ease, transform .3s ease;
}

/* cuando se activa la clase en el contenedor, aparece */
.hero-bottom.show-suggestions .suggestions-card{
  opacity:1;
  pointer-events:auto;
  transform:translateX(0);
}


/* efecto de elevar al pasar el ratón */
.zone-pill:hover{
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(0,0,0,.55);
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.45);
}


.suggestions-card h3{
  margin:0 0 6px;
}
.suggestions-card p{
  margin:0 0 10px;
  font-size:14px;
  opacity:.9;
}

.suggestion-form{
  margin-top:4px;
  display:flex;
  flex-direction:column;
  gap:10px;
}

.suggestion-form input,
.suggestion-form textarea{
  background:rgba(0,0,0,.35);
  border:1px solid rgba(255,255,255,.18);
  border-radius:12px;
  padding:10px 12px;
  color:var(--white);
  font:inherit;
  outline:none;
}

.suggestion-form textarea{
  resize:vertical;
  min-height:80px;
}

.suggestion-form input::placeholder,
.suggestion-form textarea::placeholder{
  color:rgba(255,255,255,.6);
}

.suggestion-form button{
  align-self:flex-end;
  padding:10px 18px;
  border-radius:999px;
  border:0;
  font-weight:800;
  background:var(--lime);
  color:#0b1631;
  cursor:pointer;
  box-shadow:0 10px 25px rgba(0,0,0,.5);
  transition:transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.suggestion-form button:hover{
  transform:translateY(-2px);
  box-shadow:0 16px 32px rgba(0,0,0,.7);
  background:#e5ff63;
}

.suggestion-note{
  margin-top:6px;
  font-size:11px;
  opacity:.7;
}



/* SECCIONES */
section{
  padding:80px 20px
}
.section-dark{
  background:#0e2239;
  }


.container{
  max-width:1100px;
  margin:0 auto
}
.section-title{
  font-size:clamp(28px,4vw,44px);
  margin:0 0 20px
}
.grid-3{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px
}
.feature{
  background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.03));
  border:1px solid rgba(255,255,255,.12);
  border-radius:var(--radius);
  padding:20px;
  box-shadow:var(--shadow)
}

/* SOBRE LA LIGA + RESEÑAS */
.section-about {
  padding: 90px 20px;
  background: #0f2741; /* mismo tono general de la web */
}

.section-about .container{
  max-width: 1200px;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: center;
}

.about-kicker {
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 12px;
  opacity: .7;
}

.about-title {
  font-size: clamp(28px, 3vw, 38px);
  margin: 10px 0 16px;
}

.about-text p{
  margin: 0 0 10px;
  max-width: 540px;
  opacity: .92;
}

.about-actions{
  margin-top: 18px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* TARJETA RESEÑAS */
.review-slider{
  position: relative;
  max-width: 520px;
  margin-left: auto;
}

.review-card{
  background: #ffffff;
  color: #0f172a;
  border-radius: 26px;
  padding: 22px 26px 24px;
  box-shadow: 0 22px 45px rgba(0,0,0,.35);
  display: none;
}

.review-card.active{
  display: block;
}

.review-header{
  display:flex;
  align-items:center;
  gap:14px;
  margin-bottom:8px;
}

.review-avatar{
  width:46px;
  height:46px;
  border-radius:50%;
  overflow:hidden;
  flex-shrink:0;
}

.review-avatar img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.review-name{
  font-weight:700;
}

.review-role{
  font-size:13px;
  opacity:.75;
}

.review-stars{
  margin:4px 0 10px;
  color:#facc15; /* amarillo estrellas */
  font-size:16px;
}

.review-text{
  margin:0;
  font-size:14px;
  line-height:1.5;
}

/* Flechas del slider */
.review-arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:32px;
  height:32px;
  border-radius:50%;
  border:none;
  background:rgba(15,23,42,.8);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  box-shadow:0 10px 25px rgba(0,0,0,.4);
  font-size:20px;
}

.review-prev{ left:-18px; }
.review-next{ right:-18px; }

.review-arrow:hover{
  transform:translateY(-50%) scale(1.05);
}

.review-card {
  background: #ffffff;
  color: #0f172a;
  border-radius: 26px;
  padding: 22px 26px 24px;
  box-shadow: 0 22px 45px rgba(0,0,0,.35);
  display: none;
  opacity: 0;
  transform: translateX(30px);
  transition: transform .45s ease, opacity .45s ease;
}

/* Tarjeta visible */
.review-card.active {
  display: block;
  opacity: 1;
  transform: translateX(0);
}

/* Entrando desde la izquierda */
.review-card.slide-from-left {
  transform: translateX(-30px);
}


/* Responsive */
@media (max-width: 900px){
  .about-layout{
    grid-template-columns: 1fr;
  }
  .review-slider{
    margin: 10px auto 0;
  }
  .review-prev{
    left:4px;
  }
  .review-next{
    right:4px;
  }
}


/* Tarjetas clicables "Sobre la liga" */
.feature-click {
  cursor: pointer;
  position: relative;
  padding-bottom: 34px; /* espacio para el "Ver más" */
}

.feature-link {
  position: absolute;
  left: 20px;
  bottom: 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--lime);
}

/* ICONOS SOBRE LAS TARJETAS */
.feature-icon {
  width: 70px;
  height: auto;
  display: block;
  margin: 0 auto 16px;
  opacity: 0.95;

  /* Sombra elegante */
  filter: drop-shadow(0 6px 16px rgba(0,0,0,.45));

  transition: transform .25s ease, filter .25s ease;
}

/* Animación al pasar el ratón */
.feature:hover .feature-icon {
  transform: scale(1.15);
  filter: drop-shadow(0 10px 26px rgba(0,0,0,.55));
}

/* ESTILO PREMIUM PARA TARJETAS "SOBRE LA LIGA" */
#sobre-liga .feature {
  padding: 25px 25px;
  text-align: center;
  border-radius: 32px;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* ICONO MÁS GRANDE */
#sobre-liga .feature-icon {
  width: 90px;          /* ← icono más grande */
  height: auto;
  margin-bottom: 20px;
  opacity: 0.95;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,.45));
  transition: transform .25s ease, filter .25s ease;
}

/* ANIMACIÓN ICONO */
#sobre-liga .feature:hover .feature-icon {
  transform: scale(1.18);
  filter: drop-shadow(0 14px 32px rgba(0,0,0,.55));
}

/* TÍTULO MÁS CENTRADO, MÁS GRANDE */
#sobre-liga .feature h4 {
  margin: 10px 0 6px;
  font-size: 22px;       /* similar al ejemplo */
  font-weight: 700;
  text-align: center;
}

/* PÁRRAFO CENTRADO, ANCHO MÁS CÓMODO */
#sobre-liga .feature p {
  text-align: center;
  font-size: 15px;
  line-height: 1.45;
  max-width: 260px;
  opacity: .95;
  margin: 0 auto 18px;
}

/* ENLACE "VER MÁS" MÁS LIMPIO */
#sobre-liga .feature-link {
  position: static;
  margin-top: auto;
  font-size: 15px;
  font-weight: 700;
  color: var(--lime);
}

/* TARJETA MÁS GRANDE EN GENERAL */
#sobre-liga .grid-3 {
  gap: 28px;            /* más separación entre tarjetas */
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 900px) {
  #sobre-liga .feature {
    min-height: 220px;
    padding: 40px 24px;
  }
  #sobre-liga .feature-icon {
    width: 80px;
  }
}


/* MODAL SOBRE LA LIGA */
.feature-modal {
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.feature-modal.open {
  display: flex;
}

.feature-modal-inner {
  position: relative;
  max-width: 980px;
  width: 92%;
  max-height: 90vh;
  background: #020617;
  border-radius: 28px;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0,1.1fr) minmax(0,1.3fr);
  box-shadow: 0 30px 80px rgba(0,0,0,.6);
}

/* Botón cerrar */
.feature-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.85);
  background: rgba(15,23,42,0.7);
  color: #fff;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
}

/* Imagen izquierda */
.feature-modal-img {
  background-size: cover;
  background-position: center;
  min-height: 260px;
}

/* Texto derecha */
.feature-modal-body {
  padding: 26px 26px 24px;
  color: #e5e7eb;
  overflow-y: auto;
}

.feature-modal-body h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 24px;
}

.feature-modal-body p {
  margin: 0 0 10px;
}

.feature-modal-body ol {
  margin: 0 0 0 20px;
  padding: 0;
}

.feature-modal-body li {
  margin-bottom: 6px;
}

/* Responsive modal */
@media (max-width: 900px){
  .how-wrapper {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .how-image {
    margin-left: 0;
    margin-top: 0;
    min-height: 260px;
  }

  .section-how .section-title {
    text-align: center;
  }
}

  .feature-modal-inner {
    grid-template-columns: 1fr;
  }

  .feature-modal-body {
    max-height: 60vh;
  }

/* ESTADO NORMAL: fondo oscuro elegante + texto blanco */
.feature {
  background: rgba(15,23,42,0.8); /* ← nuevo color que quieres */
  border-radius: 26px;
  padding: 26px 24px;
  box-shadow: 0 12px 25px rgba(0,0,0,.15);
  transition: 
    transform .25s ease,
    box-shadow .25s ease,
    background-color .25s ease,
    color .25s ease;
  cursor: pointer;
  color: #ffffff;
}

.feature h4,
.feature p {
  color: #ffffff;  /* texto blanco mientras NO hay hover */
}

/* ESTADO HOVER: fondo gris elegante + texto negro */
.feature:hover {
  background: #CBD5E1; /* gris elegante */
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,.30);
  color: #0f172a; /* texto negro */
}

.feature:hover h4,
.feature:hover p {
  color: #0f172a;
}



/* CÓMO FUNCIONA */
.section-how {
  padding: 90px 20px;
  background: #CBD5E1;           /* gris elegante */
}

.section-how .container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-how .section-title {
  margin-bottom: 28px;
  text-align: right;             /* título más alineado a la derecha */
  color: #0f172a;
}

.how-wrapper {
  display: grid;
  grid-template-columns: 1.05fr 1.35fr;  /* más ancho el lado derecho */
  gap: 40px;
  align-items: flex-start;
}


/* Bloque de IMAGEN a la izquierda */

  .how-image {
    position: relative;
    border-radius: 50px;
    overflow: hidden;
    background:
      linear-gradient(rgba(15,39,65,.35), rgba(15,39,65,.6)),
      url('Imagen_filtro_2.png') center/cover no-repeat;
    min-height: 500px;
    box-shadow: 0 24px 55px rgba(0,0,0,.35);

    /* la movemos un pelín hacia arriba y a la izquierda */
    margin-left: -100px;
    margin-right: 100px;
    margin-top: -220px;
  }


.how-video{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:inherit;
  opacity:0;
  pointer-events:none;
  transition:opacity .4s ease;
}

.how-close{
  position:absolute;
  top:14px;
  right:16px;
  width:34px;
  height:34px;
  border-radius:50%;
  border:2px solid rgba(255,255,255,.9);
  background:rgba(0,0,0,.45);
  color:#fff;
  font-size:18px;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  opacity:0;
  pointer-events:none;
  transition:opacity .25s ease, transform .25s ease;
}

/* Cuando se reproduce */
.how-image.playing .how-video{
  opacity:1;
  pointer-events:auto;
}

.how-image.playing .how-play{
  opacity:0;
  pointer-events:none;
}

.how-image.playing .how-close{
  opacity:1;
  pointer-events:auto;
}

.how-close:hover{
  transform:scale(1.1);
}


/* Cuando se reproduce */
.how-image.playing .how-video{
  opacity:1;
  pointer-events:auto;
}

/* Ocultamos el botón al reproducir */
.how-image.playing .how-play{
  opacity:0;
  pointer-events:none;
}



/* Botón de play centrado */
.how-play {
  position: absolute;
  inset: 50%;
  transform: translate(-50%, -50%);
  width: 74px;
  height: 74px;
  border-radius: 999px;
  border: 2px solid rgba(255,255,255,.9);
  background: rgba(0,0,0,.35);
  color: #fff;
  font-size: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0,0,0,.45);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.how-play:hover {
  transform: translate(-50%, -50%) scale(1.05);
  background: rgba(0,0,0,.55);
  box-shadow: 0 14px 32px rgba(0,0,0,.55);
}


/* TARJETA a la derecha */
.how-text {
  background: transparent;
  padding: 0;
  color: #0f172a;
}

.how-text h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 24px;
}

.how-text p {
  margin: 0 0 12px;
  opacity: 0.9;
}


/* ACORDEÓN */
.accordion {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;                     /* más separación entre tarjetas */
}

.acc-block {
  border-radius: 999px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.acc-item {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;            /* MÁS GRANDE */
  border-radius: 999px;
  border: 1.5px solid rgba(0,0,0,0.15);
  background: #ffffff;
  color: #0f172a;
  font: inherit;
  font-size: 16px;               /* puedes subir a 17 si quieres */
  cursor: pointer;
  text-align: left;
}

.acc-item span:first-child {
  font-weight: 600;
}

.acc-icon {
  font-size: 20px;
  line-height: 1;
}

/* Panel de contenido */
.acc-panel {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease;
  padding: 0 4px;
}

.acc-block.is-open .acc-panel {
  margin-top: 10px;
}

.acc-panel p {
  margin: 0 0 8px;
  color: #334155;
  opacity: .95;
}

/* HOVER premium adaptado a claro */
.acc-block:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,.18);
}

.acc-block:hover .acc-item {
  border-color: rgba(0,0,0,.3);
  background: #f8fafc;
}

.acc-block.is-open .acc-item {
  border-color: rgba(0,0,0,.35);
}


/* Botón tipo pastilla */
.acc-item {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  border-radius: 999px;
  border: 1.5px solid rgba(0,0,0,0.15);
  background: white;
  color: #0f172a;
  font: inherit;
  cursor: pointer;
  text-align: left;
}

.acc-item span:first-child {
  font-weight: 600;
}

.acc-icon {
  font-size: 20px;
  line-height: 1;
}

/* Panel de contenido */
.acc-panel {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease;
  padding: 0 4px;
}

/* Bloque abierto */
.acc-block.is-open .acc-panel {
  margin-top: 10px;
}

.acc-block.is-open .acc-item {
  background: rgba(15,23,42,0.85);
}

/* Texto dentro del panel */
.acc-panel p {
  margin: 0 0 6px;
  opacity: 0.9;
  color: #334155; /* gris azulado muy elegante */
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .how-wrapper {
    grid-template-columns: 1fr;
  }

  .how-image {
    min-height: 240px;
  }

  .acc-item {
    padding: 12px 16px;
  }
}

/* Botón tipo pastilla */
.acc-item {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,0.45);
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  text-align: left;
}

.acc-item span:first-child {
  font-weight: 600;
}

.acc-icon {
  font-size: 20px;
  line-height: 1;
}

/* Panel de contenido */
.acc-panel {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease;
  padding: 0 4px;
}

/* Cuando el bloque está abierto */
.acc-block.is-open .acc-panel {
  margin-top: 10px;
}

/* Acordeón abierto: fondo oscuro + texto blanco */
.acc-block.is-open .acc-item {
  background: rgba(15,23,42,0.95);
  color: #ffffff;
  border-color: rgba(15,23,42,1);
}

.acc-block.is-open .acc-item span,
.acc-block.is-open .acc-icon {
  color: #ffffff;
}


/* Texto dentro del panel */
.acc-panel p {
  margin: 0 0 6px;
  opacity: 0.9;
}

/* En móvil queda igual pero ocupando todo el ancho */
@media (max-width: 900px) {
  .acc-item {
    padding: 12px 16px;
  }
}


.how-text h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 24px;
}

.how-text h4 {
  margin-top: 18px;
  margin-bottom: 6px;
  font-size: 18px;
}

.how-text p {
  margin: 0 0 10px;
  opacity: 0.9;
}

.how-text ul {
  margin: 0 0 6px 18px;
  padding: 0;
}

.how-text li {
  margin-bottom: 4px;
  opacity: 0.9;
}

/* RESPONSIVE: en móvil se apila */
@media (max-width: 900px) {
  .how-wrapper {
    grid-template-columns: 1fr;
  }

  .how-image {
    min-height: 240px;
  }
}

.feature h4{
  margin:8px 0 6px
}
.feature p{
  opacity:.9;
  margin:0
}

/* PRICING */
.pricing{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px
}
.plan{
  background:#102a48;
  border:1px solid rgba(255,255,255,.14);
  border-radius:20px;
  padding:22px;
  position:relative;
  overflow:hidden
}
.plan.best{
  outline:3px solid var(--lime)
}
.plan h3{margin:0}
.price{
  font-size:34px;
  font-weight:900;
  margin:8px 0 14px
}
.plan ul{
  padding-left:18px;
  margin:0 0 18px
}
.plan li{
  margin:6px 0
}

/* FORM INSCRIPCIÓN */
.form-inscripcion{
  grid-template-columns:1fr 1fr auto;
  gap:12px;
}
.input-text{
  padding:14px 16px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.2);
  background:rgba(255,255,255,.05);
  color:var(--white);
  outline:none;
}

footer{
  border-top:1px solid rgba(255,255,255,.12);
  background:#102a48;        /* negro elegante */
  color:#e5e7eb;
  padding:40px 20px 40px;
  min-height: 220px;         /* si quieres que sea un poco alto */
}




.footer-top{
  display:grid;
  grid-template-columns:1fr auto;
  gap:16px;
  align-items:center
}
.social a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:38px;
  height:38px;
  border-radius:50%;
  border:1px solid rgba(255,255,255,.2);
  margin-left:8px;
  color:var(--white);
  text-decoration:none
}
.foot{
  opacity:.8;
  margin-top:14px
}

/* MOBILE */
@media (max-width: 980px){
  .hero-content{grid-template-columns:1fr}
  .stats{grid-template-columns:repeat(3,1fr)}
  .grid-3{grid-template-columns:1fr}
  .pricing{grid-template-columns:1fr;}
  .footer-top{grid-template-columns:1fr}
}

@media (max-width: 860px){
  .links{display:none}
  .burger{display:block}
  .mobile{
    position:fixed;
    top:80px;
    left:0;
    right:0;
    background:#0e2239;
    border-top:1px solid rgba(255,255,255,.12);
    display:none;
    flex-direction:column;
    padding:12px 16px;
    z-index:49
  }
  .mobile a{
    padding:12px 8px;
    text-decoration:none;
    color:var(--white);
    font-weight:600;
    border-radius:12px
  }
  .mobile a:hover{
    background:rgba(255,255,255,.06)
  }
  .mobile .cta{
    background:var(--orange);
    color:#111;
    margin-top:6px;
    text-align:center
  }
}

/* Simple fade-up on load */
[data-animate]{
  opacity:0;
  transform:translateY(24px);
  animation:fadeUp 1.5s ease forwards
}
[data-animate].d1{animation-delay:.3s}
[data-animate].d2{animation-delay:.6s}
[data-animate].d3{animation-delay:.9s}
@keyframes fadeUp{
  to{
    opacity:1;
    transform:translateY(0)
  }
}

/* MODAL DEL LOGO */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 50px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background: rgba(0, 0, 0, 0.8);
}

/* EFECTO FADE PARA EL MODAL */
.fade-in {
  animation: fadeIn 0.50s ease forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.85);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* EFECTO FADE OUT AL CERRAR */
.fade-out {
  animation: fadeOut 0.5s ease forwards;
}

@keyframes fadeOut {
  from {
    opacity: 1;
    transform: scale(1);
  }
  to {
    opacity: 0;
    transform: scale(0.85);
  }
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 80%;
  max-height: 80%;
  animation: zoom 0.3s ease;
  border-radius: 12px;
}

@keyframes zoom {
  from { transform: scale(0.4); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.2s;
}

.close:hover {
  color: #ccc;
}

/* BOTÓN FLOTANTE WHATSAPP */
.whatsapp-float{
  position: fixed;
  bottom: 24px;
  right: 20px;
  display: block;
  background: transparent;
  box-shadow: none;
  width: auto;
  height: auto;
  z-index: 80;
  transition: transform .2s ease, filter .2s ease;
}

.whatsapp-float img{
  width: 56px;   /* ajusta el tamaño a tu gusto */
  height: auto;
  display: block;
}

.whatsapp-float:hover{
  transform: translateY(-4px) scale(1.05);
  filter: brightness(1.1);
}


/* BOTÓN FLOTANTE IR ARRIBA */
.scroll-top{
  position: fixed;
  bottom: 24px;
  left: 20px;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: none;
  background: #ffffff;
  color: #0f172a;
  font-size: 22px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0,0,0,.35);
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease;
}

/* Cuando está visible */
.scroll-top.visible{
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.scroll-top:hover{
  transform: translateY(-2px);
}

/* Contenedor de iconos del footer */
.social {
  display: flex;
  gap: 14px;
}

/* Círculos */
.social-circle{
  width: 44px;
  height: 44px;
  background: #0f172a;  /* azul oscuro elegante */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: background .25s ease, transform .25s ease, box-shadow .25s ease;
}

/* Tamaño del icono */
.social-circle svg{
  width: 22px;
  height: 22px;
}

/* Hover tipo Liga Focus */
.social-circle:hover{
  background: #CBD5E1;      /* gris elegante */
  color: #0f172a;           /* icono negro */
  transform: translateY(-4px);
  box-shadow: 0 8px 18px rgba(0,0,0,.25);
}


/* Efecto premium en botones principales del hero */
.btn{
  transition:
    transform .2s ease,
    box-shadow .2s ease,
    background .2s ease,
    color .2s ease,
    border-color .2s ease;
}

.btn:hover{
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(0,0,0,.45);
}

/* Afinamos cada tipo */
.btn-primary:hover{
  background: #ff9a1f; /* un pelín más claro que el orange */
}

.btn-secondary:hover{
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.55);
}