/* ========================= */
/* RESET */
/* ========================= */

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html{
  scroll-behavior: smooth;
}

body{

  font-family: Arial, Helvetica, sans-serif;

  background: linear-gradient(
    to bottom,
    #045f6b,
    #5c0038,
    #045f6b,
    #000
  );

  color: white;

  overflow-x: hidden;

}

.logo{

  display: flex;
  align-items: center;
   max-height: 70px; /* limita el espacio vertical */

}

.logo img{

  width: 100px;

  height: auto;

  object-fit: contain;

}


.logo img:hover{
    transform: scale(1.04);
}

img{
  width: 100%;
  display: block;
}

a{
  text-decoration: none;
  color: white;
}


/* ========================= */
/* HEADER */
/* ========================= */

header{

  width: 100%;

  position: fixed;
  top: 0;
  left: 0;

  z-index: 1000;

  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 18px 5%;

  /* background: rgba(0,0,0,0.35); */

  backdrop-filter: blur(10px);

}

.logo{

  font-size: 24px;
  font-weight: bold;
  letter-spacing: 2px;

  white-space: nowrap;

}

nav{

  display: flex;
  align-items: center;
  justify-content: center;

  gap: 25px;

  flex-wrap: wrap;

}

nav a{

  font-size: 15px;
  font-weight: 600;

  white-space: nowrap;

  transition: 0.3s;

}

nav a:hover{
  color: #00d9ff;
}


.radio-header{

    display:flex;
    align-items:center;
    justify-content:center;

    padding:12px 20px;

    border-radius:50px;

    background:#d62828;

    color:white;

    font-weight:600;

    transition:.3s ease;

    box-shadow:0 5px 15px rgba(214,40,40,.35);

}

.radio-header:hover{

    background:#ef233c;

    transform:translateY(-2px);

}
.radio-header{

    animation:radioPulse 2s infinite;

}

@keyframes radioPulse{

0%{
    box-shadow:0 0 0 0 rgba(214,40,40,.6);
}

70%{
    box-shadow:0 0 0 12px rgba(214,40,40,0);
}

100%{
    box-shadow:0 0 0 0 rgba(214,40,40,0);
}

}

/* WHATSAPP MENU */
/* ========================= */

.wa-menu{

    position: relative;

    display: inline-block;

}

.wa-btn{

    background: #25D366;
    color: white;

    border: none;

    padding: 12px 22px;

    border-radius: 50px;

    font-size: 15px;
    font-weight: 600;

    cursor: pointer;

    transition: .3s ease;

}

.wa-btn:hover{
    transform: translateY(-2px);
}


/* DROPDOWN */

.wa-dropdown{

    position: absolute;

    top: calc(100% + 8px);

    right: 0;

    min-width: 190px;

    background: rgba(0,0,0,0.92);

    backdrop-filter: blur(14px);

    border-radius: 18px;

    overflow: hidden;

    box-shadow: 0 10px 30px rgba(0,0,0,0.25);

    opacity: 0;

    visibility: hidden;

    transform: translateY(10px);

    transition: .25s ease;

    z-index: 9999;

}


/* LINKS */

.wa-dropdown a{

    display: block;

    padding: 14px 18px;

    color: white;

    font-size: 14px;

    font-weight: 500;

    transition: .3s;

}

.wa-dropdown a:hover{

    background: rgba(255,255,255,0.08);

}


/* SHOW MENU */

.wa-menu:hover .wa-dropdown{

    opacity: 1;

    visibility: visible;

    transform: translateY(0);

}





/* ========================= */
/* HERO */
/* ========================= */

.hero{

  position: relative;

  width: 100vw;
  height: 100vh;

  overflow: hidden;

  display: flex;
  justify-content: center;
  align-items: center;

  text-align: center;

  padding: 0 8%;

}


/* VIDEO FULL SCREEN REAL */

.hero-video{

  position: absolute;

  top: 0;
  left: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;

  z-index: 0;

}


/* OVERLAY */

.hero-overlay{

  position: absolute;
  inset: 0;

  background: linear-gradient(
    rgba(0,0,0,0.55),
    rgba(0,0,0,0.75)
  );

  z-index: 1;

}


/* CONTENIDO ENCIMA */

.hero-content{

  position: relative;

  z-index: 2;

  max-width: 900px;

}


/* TITULO */

.hero h1{

  font-size: 80px;

  margin-bottom: 20px;

  letter-spacing: 3px;

}


/* TEXTO */

.hero p{

  font-size: 17px;

  line-height: 1.8;

}



/* ========================= */
/* SECCIONES GENERALES */
/* ========================= */

section{

  padding: 100px 8%;

}

section h2{

  font-size: 60px;

  margin-bottom: 50px;

}

/* ========================= */
/* ESTUDIO */
/* ========================= */


.estudio-video{

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    z-index: 0;

}

.estudio-overlay{

    position: absolute;

    inset: 0;

    background: rgba(0,0,0,0.60);

    z-index: 1;

}

.estudio-contenido{

    position: relative;

    z-index: 2;

}
.estudio-panel{

    position: relative;

    min-height: 450px;

    overflow: hidden;

}

.estudio-info{

    display: none;

    height: 100%;

    padding: 50px;

    justify-content: center;

    flex-direction: column;

}

.estudio-info.activo{

    animation: subirInfo .6s ease forwards;

}

.estudio{

  position: relative;

  padding: 120px 8%;


  background-size: cover;
  background-position: center;
  overflow: hidden;

}

.estudio-container{

  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 60px;

  align-items: center;

}

.estudio-texto h3{

  font-size: 28px;

  margin-bottom: 30px;

}



.marketing-info h3,
.estudio-info h3{

    font-size: 42px;

    margin-bottom: 20px;

}

.marketing-info p,
.estudio-info p{

    max-width: 600px;

    line-height: 1.8;

    font-size: 18px;

}

.estudio-texto ul{

  list-style: none;

}

.estudio-texto li{

  margin-bottom: 18px;

  font-size: 20px;

  line-height: 1.6;

  transition: .3s;

}

.estudio-texto li:hover{

  color: #00d9ff;

  transform: translateX(8px);

}

.estudio-galeria{

  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 20px;

}

.estudio-galeria img{

  width: 100%;

  height: 220px;

  object-fit: cover;

  border-radius: 18px;

  transition: .3s;

}

.estudio-galeria img:hover{

  transform: scale(1.05);

}





/* ========================= */
/* EVENTOS */
/* ========================= */


.eventos-video{
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* VIDEO DE FONDO */
.video-bg{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* OSCURECER VIDEO */
.video-overlay{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 2;
}

/* TEXTO ENCIMA */
.video-content{
  position: absolute;
  bottom: 60px;
  left: 60px;
  z-index: 3;
  color: white;
  max-width: 600px;
  text-align: left;
}

.video-content h2{
  font-size: 70px;
  margin-bottom: 10px;
}

.video-content p{
  font-size: 18px;
  line-height: 1.7;
  color: #f1f1f1;
  transition: opacity 0.5s ease-in-out;
}
.video-controls{
  position: absolute;
  bottom: 30px;
  right: 30px;

  display: flex;
  gap: 10px;

  z-index: 10;
}


.video-thumbnails {
  position: absolute;
  bottom: 20px;
  right: 20px;
  display: flex;
  gap: 15px; /* un poco más de espacio entre miniaturas */
  z-index: 5;
}

.video-bg {
  transition: opacity 0.7s ease-in-out; /* para fade */
  opacity: 1;
}

.thumb {
  width: 140px;   /* aumentamos el ancho */
  height: 90px;   /* aumentamos la altura */
  overflow: hidden;
  border-radius: 14px;
  cursor: pointer;
  border: 2px solid rgba(255,255,255,0.2);
  transition: transform 0.3s, border 0.3s;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}

.thumb:hover {
  transform: scale(1.08); /* efecto hover un poco más sutil con las cartas más grandes */
  border-color: #00d9ff;
}

.thumb:hover img {
  transform: scale(1.08);
  
}


/* ========================= */
/* MARKETING */
/* ========================= */
.marketing{

  position: relative;

  padding: 120px 8%;

  background:
  linear-gradient(rgba(0,0,0,.75), rgba(0,0,0,.75)),
  url("img/fondo-marketing.jpg");

  background-size: cover;

  background-position: center;

  background-attachment: fixed;

  overflow: hidden;

}

.marketing-texto ul li{

  cursor: pointer;

  transition: 0.3s;

}

.marketing-texto ul li:hover{

  color: #00d9ff;

  transform: translateX(8px);

}


/* PANEL DERECHO */

.marketing-panel{

  position: relative;

  min-height: 450px;

  border-radius: 20px;

  overflow: hidden;

}


/* INFO OCULTA */

.marketing-info{

  display: none;

  height: 100%;

  padding: 50px;

  justify-content: center;
  flex-direction: column;

}

/* Animación */

.marketing-info.activo{

  animation: subirInfo .6s ease forwards;

}

@keyframes subirInfo{

  from{

    opacity: 0;

    transform: translateY(40px);

  }

  to{

    opacity: 1;

    transform: translateY(0);

  }

}

.titulo-servicios{

  cursor: pointer;

  transition: 0.3s;

}

.titulo-servicios:hover{

  color: #00d9ff;

}

.marketing-info h3{

  font-size: 42px;

  margin-bottom: 20px;

}


.marketing-info p{

  max-width: 600px;

  line-height: 1.8;

  font-size: 18px;

}

.marketing-container{

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 60px;

    align-items: start;

}


/* TEXTO */

.marketing-texto h3{

    font-size: 28px;

    margin-bottom: 30px;

}

.marketing-texto ul{

    list-style: none;

}

.marketing-texto ul li{

    margin-bottom: 18px;

    font-size: 20px;

    line-height: 1.6;

}


/* GALERIA */

.marketing-galeria{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}


/* IMAGENES */

.marketing-galeria img{
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 18px;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.marketing-galeria img:hover{
  transform: scale(1.05);
  filter: brightness(1.1);
}


/* ========================= */
/* ACADEMIA */
/* ========================= */

.academia-texto{

  max-width: 1000px;

  line-height: 1.9;

  font-size: 17px;

  margin-bottom: 60px;

}

.cursos{

   display: grid;

  grid-template-columns: repeat(7, 1fr);

  gap: 18px;
}



  .curso{

  position: relative;

  overflow: hidden;

  border-radius: 20px;

  background: #111;

  z-index: 2;

  backdrop-filter: blur(5px);

  border: 1px solid rgba(255,255,255,0.08);

  box-shadow: 0 10px 25px rgba(0,0,0,0.35);

  transition: 0.3s; 
}



.curso img{

   height: 240px;

  object-fit: cover;

  filter: brightness(0.55);

  transition: 0.4s;

  filter: brightness(0.8);

}

.curso:hover{
  transform: scale(1.05);
  cursor: pointer;
}

.curso:hover img{

  transform: scale(1.05);

}


.tooltip{
   position: absolute;
  left: 50%;
  bottom: 20px;

  transform: translateX(-50%) translateY(10px);

  padding: 10px 14px;
  border-radius: 12px;

  font-size: 13px;
  color: white;
  text-align: center;

  max-width: 180px;
  white-space: normal;

  /* 🔥 MÁS TRANSPARENTE (IMPORTANTE) */
  background: rgba(20, 20, 20, 0.25);

  /* 🔥 VIDRIO REAL */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  /* 🔥 BORDE PARA DAR EFECTO */
  border: 1px solid rgba(255, 255, 255, 0.2);

  /* 🔥 SOMBRA SUAVE */
  box-shadow: 0 8px 25px rgba(0,0,0,0.25);

  opacity: 0;
  visibility: hidden;

  transition: 0.3s ease;

}

.curso:hover .tooltip{
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}


.curso h3{

  position: absolute;

  bottom: 20px;
  left: 20px;

  z-index: 2;

  font-size: 28px;

  font-weight: bold;

  letter-spacing: 1px;

}

/* ========================= */
/* EQUIPO */
/* ========================= */

.equipo-grid{
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;

    max-width: 1200px;
    margin: auto;
}

.miembro{
    text-align: center;
}

.miembro img{
    width: 100%;
    max-width: 140px; /* tamaño más pequeño */
    aspect-ratio: 1/1;

    object-fit: cover;

    border-radius: 15px;

    margin: auto;

    transition: .3s;
}

.miembro img:hover{
    transform: scale(1.05);
}

.miembro h3{
    margin-top: 10px;
    font-size: 15px;
}


/* VIDEO EVENTOS */


 .video-content{
    bottom: 30px;
    left: 20px;
    right: 20px;
  }

  .video-content h2{
    font-size: 80px;
  }

  .video-content p{
    font-size: 30px;
  }

/* ========================= */
/* VIDEO FONDO ACADEMIA */
/* ========================= */

.academia{

    position: relative;

    overflow: hidden;

}


/* VIDEO */

.academia-video{

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    z-index: 0;

}


/* OSCURECER VIDEO */

.academia-overlay{

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background: rgba(0,0,0,0.55);

    z-index: 1;

}


/* CONTENIDO ENCIMA */

.academia h2,
.academia-texto,
.cursos{

    position: relative;

    z-index: 2;

}



/* ========================= */
/* FOOTER */
/* ========================= */

footer{

  width: 100%;

  padding: 30px 8%;

  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;

  background: rgba(255,255,255,0.05);

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  border-top: 1px solid rgba(255,255,255,0.08);

  position: relative;

  z-index: 5;

}

footer p,
footer a{

  color: rgba(255,255,255,0.75);

  font-size: 14px;

  transition: 0.3s ease;

}

footer a:hover{
  color: #00d9ff;
}

/* ========================= */
/* MENU HAMBURGUESA */
/* ========================= */

.menu-toggle{
    display: none;
    font-size: 35px;
    cursor: pointer;
    color: white;
}

/* ========================= */
/* TABLET */
/* ========================= */

@media(max-width: 992px){

  header{

    padding: 15px 4%;

  }

  nav{

    gap: 18px;

  }

  nav a{

    font-size: 14px;

  }

  .hero h1{

    font-size: 55px;

  }

  .hero h2{

    font-size: 34px;

  }

  section h2{

    font-size: 48px;

  }

  .eventos-container{

    grid-template-columns: 1fr;

  }

  .marketing-container{

    grid-template-columns: 1fr;

  }

  

    .marketing-galeria{
    grid-template-columns: repeat(2, 1fr);
  }

  .cursos{
    grid-template-columns: repeat(3, 1fr);
  }
  .curso img{

    object-fit: contain;

    background: #111;

  }


  
  }




/* ========================= */
/* MOBILE */
/* ========================= */



/* ========================= */
/* MOBILE */
/* ========================= */



  @media (max-width: 768px){

header{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  flex-wrap: nowrap; /* 🔥 CLAVE */
}

/* LOGO */
.logo{
  flex: 0 0 auto;
}

.logo img{
  width: 80px;
}

/* WHATSAPP */
.wa-btn{
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.wa-btn a{
  display: inline-flex;
  white-space: nowrap;

  background: #25D366;
  color: white;
  padding: 8px 14px;
  font-size: 13px;
  border-radius: 20px;
  text-decoration: none;
}

/* HAMBURGUESA */
.menu-toggle{
  flex: 0 0 auto;
  display: flex;
  justify-content: flex-end;
  font-size: 35px;
  cursor: pointer;
  color: white;
}

/* NAV */
nav{
    position: absolute;
    top: 85px;
    right: 15px;
    left: auto;

    width: 260px;

    background: rgba(15,15,15,.95);
    backdrop-filter: blur(15px);

    border-radius: 18px;

    display: flex;
    flex-direction: column;
    align-items: stretch;

    padding: 15px;

    gap: 8px;

    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px);

    transition: .3s;
}

nav.activo{
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}



nav a{
    width: 100%;
    padding: 12px 15px;
    text-align: left;
    font-size: 15px;
    border-radius: 10px;
}

nav a:hover{
    background: rgba(255,255,255,.08);
}


/* ================= HERO ================= */
.hero{
  padding: 140px 6% 0;
}

.hero h1{
  font-size: 38px;
}

.hero p{
  font-size: 15px;
}

/* ================= GENERAL ================= */
section{
  padding: 80px 6%;
}

section h2{
  font-size: 38px;
}

/* ================= EVENTOS ================= */
.video-content{
  top: 50%;
  left: 20px;
  right: 20px;
  transform: translateY(-50%);
  text-align: center;
}

.video-content h2{
  font-size: 32px;
  margin-bottom: 15px;
}

.video-content p{
  font-size: 16px;
}

.video-thumbnails{
  bottom: 15px;
  right: 10px;
  left: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.thumb{
  width: 90px;
  height: 60px;
}

/* ================= ESTUDIO ================= */
.estudio-container{
  grid-template-columns: 1fr;
}

.estudio-info{
  padding: 20px;
}

.estudio-info h3{
  font-size: 30px;
}

.estudio-info p{
  font-size: 15px;
}

.estudio-texto li{
  font-size: 17px;
}

.estudio-galeria{
  grid-template-columns: repeat(2,1fr);
  gap: 12px;
}

.estudio-galeria img{
  height: 160px;
}

/* ================= MARKETING ================= */
.marketing-container{
  grid-template-columns: 1fr;
}

.marketing-info{
  padding: 20px;
}

.marketing-info h3{
  font-size: 30px;
}

.marketing-info p{
  font-size: 15px;
}

.marketing-texto li{
  font-size: 17px;
}

.marketing-galeria{
  grid-template-columns: repeat(2,1fr);
  gap: 12px;
}

.marketing-galeria img{
  height: 160px;
}

/* ================= ACADEMIA ================= */
.cursos{
  grid-template-columns: repeat(2,1fr);
}

.curso img{
  height: 210px;
}

.curso:hover{
  transform: none;
}

.curso h3{
  font-size: 22px;
}

/* ================= EQUIPO ================= */
.equipo-grid{
  grid-template-columns: repeat(3,1fr);
  gap: 10px;
}

.miembro img{
  max-width: 90px;
}

.miembro h3{
  font-size: 12px;
}

footer{
    display: flex;
    flex-direction: column;  /* 🔥 uno debajo del otro */
    align-items: center;     /* centrado */
    text-align: center;
    gap: 12px;               /* espacio entre elementos */
  }

}
