/* RESET */
*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  font-family:'Inter',sans-serif;
  background:linear-gradient(120deg,#f6f3ff,#efeaff);
  color:#333;
}

/* NAVBAR */
.navbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:20px 60px;

  position:sticky;
  top:10px;
  margin:10px 20px;

  background:rgba(255,255,255,0.6);
  backdrop-filter:blur(20px);

  border-radius:20px;
  box-shadow:0 10px 40px rgba(0,0,0,0.08);
  z-index:100;
}

/* LOGO */
.navbar__logo{
  display:flex;
  align-items:center;
  gap:10px;
}

.logo-img{
  width:40px;
  height:40px;
  object-fit:contain;
}

.logo-text{
  font-family:'Baloo 2',cursive;
  font-size:24px;
  color:#7B61FF;
}

/* MENU */
.navbar__menu{
  display:flex;
  gap:25px;
  padding:10px 25px;

  background:rgba(255,255,255,0.6);
  backdrop-filter:blur(20px);

  border-radius:40px;
}

.navbar__menu a{
  text-decoration:none;
  color:#555;
  font-weight:500;
  transition:.25s;
}

.navbar__menu a:hover{
  transform:scale(1.15);
  color:#7B61FF;
}

/* ACTIONS */
.navbar__actions{
  display:flex;
  align-items:center;
  gap:15px;
}

/* BOTÓN LOGIN */
.btn-login{
  background:linear-gradient(45deg,#7B61FF,#9c8cff);
  color:white;
  border:none;
  padding:12px 22px;
  border-radius:25px;
  cursor:pointer;
}

/* LANGUAGE */
.language-selector{
  position:relative;
}

.lang-btn{
  background:rgba(255,255,255,0.6);
  border:none;
  padding:10px 12px;
  border-radius:50%;
  cursor:pointer;
}

.lang-dropdown{
  position:absolute;
  top:50px;
  right:0;
  background:white;
  border-radius:12px;
  box-shadow:0 10px 30px rgba(0,0,0,0.1);
  padding:10px;
  display:none;
  flex-direction:column;
  gap:8px;
}

.lang-dropdown span{
  cursor:pointer;
  padding:6px 10px;
  border-radius:8px;
}

.lang-dropdown span:hover{
  background:#f2f2f2;
}

.lang-dropdown.active{
  display:flex;
}

/* MOBILE */
.menu-toggle{
  display:none;
  font-size:28px;
  cursor:pointer;
}

/* HERO */
.hero{
  padding:120px 80px;
  position:relative;
}

/* FONDO */
.hero::before{
  content:"";
  position:absolute;
  width:600px;
  height:600px;
  background:radial-gradient(circle,#7B61FF,#c5baff);
  filter:blur(120px);
  opacity:.4;
  top:-100px;
  left:-100px;
  z-index:-1;
}

/* CONTENEDOR */
.hero__container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:50px;
}

/* TEXTO */
.hero__text{
  max-width:550px;
}

.hero__text h1{
  font-size:56px;
  margin-bottom:20px;
}

.hero__text p{
  font-size:18px;
  color:#555;
  margin-bottom:30px;
}

/* BOTONES */
.hero__buttons{
  display:flex;
  gap:15px;
}

.btn-primary{
  background:linear-gradient(45deg,#7B61FF,#9c8cff);
  color:white;
  border:none;
  padding:14px 24px;
  border-radius:30px;
  cursor:pointer;
}

.btn-secondary{
  background:white;
  border:1px solid #ddd;
  padding:14px 24px;
  border-radius:30px;
  cursor:pointer;
}

/* IMAGEN */
.hero__image img{
  width:500px;
  border-radius:25px;
}

/* SECCIONES */
.section{
  padding:100px 80px;
}

/* FOOTER */
.footer{
  text-align:center;
  padding:40px;
  color:#888;
}

/* RESPONSIVE */
@media (max-width:768px){

  .navbar{
    padding:15px 20px;
  }

  .navbar__menu{
    position:absolute;
    top:80px;
    left:50%;
    transform:translateX(-50%);
    flex-direction:column;
    display:none;
    width:90%;
  }

  .navbar__menu.active{
    display:flex;
  }

  .btn-login{
    display:none;
  }

  .menu-toggle{
    display:block;
  }

  .hero{
    padding:80px 20px;
  }

  .hero__container{
    flex-direction:column;
    text-align:center;
  }

  .hero__text {
  max-width: 500px;
  }

  .hero__image img {
    width: 500px;
    border-radius: 20px;
  }

  .hero__text h1{
    font-size:38px;
  }
}

/* LEGAL PRO */
.legal__container{
  max-width:1100px;
  margin:auto;
}

.legal__header{
  text-align:center;
  margin-bottom:50px;
}

.legal__header h1{
  font-size:40px;
}

.legal__header p{
  color:#777;
}

/* GRID */
.legal__grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:20px;
}

/* CARDS */
.legal__card{
  background:white;
  padding:20px;
  border-radius:16px;
  box-shadow:0 10px 25px rgba(0,0,0,0.05);
  transition:.3s;
}

.legal__card:hover{
  transform:translateY(-5px);
}

.legal__card h3{
  margin-bottom:10px;
  color:#7B61FF;
}

.legal__card ul{
  list-style:none;
  padding:0;
}

.legal__card li{
  position:relative;
  padding-left:18px;
  margin-bottom:6px;
}

.legal__card li::before{
  content:"•";
  position:absolute;
  left:0;
  color:#7B61FF;
}

.legal + .legal{
  margin-top:140px;
  padding-top:60px;
  border-top:1px solid rgba(0,0,0,0.05);
}

/* ANIMACIÓN BASE */
.reveal{
  opacity:0;
  transform:translateY(40px);
  transition:all 0.8s ease;
}

.reveal.active{
  opacity:1;
  transform:translateY(0);
}

.language-selector {
  position: relative;
}

.lang-dropdown {
  position: absolute;
  top: 40px;
  right: 0;
  background: white;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  padding: 10px;
  display: none; /* 🔴 clave */
  flex-direction: column;
}

.lang-dropdown.active {
  display: flex; /* 🔴 clave */
}

/* Hero */
.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 100px;
  position: relative;
  background: linear-gradient(120deg, #f6f3ff, #efeaff);
  overflow: hidden;
  border-radius: 40px;
}

/* Contenedor de imagen con glow */
.image-wrapper {
  position: relative;
  width: 550px;
  height: 400px;
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 30px;
  box-shadow: 0 30px 60px rgba(123, 97, 255, 0.4);
  animation: float 6s ease-in-out infinite;
  z-index: 2;
  position: relative;
}

/* Glow detrás de la imagen */
.image-glow {
  position: absolute;
  top: -50px;
  left: -50px;
  width: 650px;
  height: 500px;
  background: radial-gradient(circle, rgba(123,97,255,0.5), rgba(156,140,255,0));
  filter: blur(80px);
  z-index: 1;
  animation: glowMove 8s infinite alternate;
}

/* Animaciones */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0px); }
}

@keyframes glowMove {
  0% { transform: translate(-30px, -20px); }
  100% { transform: translate(30px, 20px); }
}

/* Botones Hero */
.hero__buttons {
  margin-top: 30px;
}

.btn-primary {
  background: linear-gradient(45deg, #7B61FF, #9c8cff);
  color: #fff;
  border: none;
  padding: 15px 30px;
  border-radius: 30px;
  cursor: pointer;
  transition: all .3s;
  font-weight: 600;
}

.btn-primary:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 15px 40px rgba(123,97,255,0.5);
}

.btn-secondary {
  background: white;
  border: 2px solid #7B61FF;
  padding: 14px 28px;
  border-radius: 30px;
  cursor: pointer;
  margin-left: 15px;
  font-weight: 600;
  transition: all .3s;
}

.btn-secondary:hover {
  transform: translateY(-4px) scale(1.05);
  background: #7B61FF;
  color: white;
}

/* Sección Nosotros */
.nosotros {
  padding: 80px 50px;
  background: linear-gradient(135deg, #f9f6ff, #ece5ff);
  text-align: center;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 50px;
  color: #7B61FF;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #7B61FF, #C5BFFF);
  margin: 15px auto 0;
  border-radius: 2px;
}

.nosotros__cards {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.nosotros-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(15px);
  border-radius: 30px;
  padding: 40px;
  width: 400px;
  box-shadow: 0 20px 60px rgba(123, 97, 255, 0.2);
  transition: transform 0.4s, box-shadow 0.4s;
  position: relative;
  overflow: hidden;
}

.nosotros-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(123,97,255,0.1), transparent 70%);
  animation: rotateGlow 8s linear infinite;
  z-index: 0;
}

@keyframes rotateGlow {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.nosotros-card h3 {
  font-size: 24px;
  margin-bottom: 20px;
  color: #4B2FFF;
  z-index: 1;
  position: relative;
}

.nosotros-card p {
  font-size: 16px;
  color: #333;
  line-height: 1.6;
  z-index: 1;
  position: relative;
}

.nosotros-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 30px 80px rgba(123, 97, 255, 0.3);
}

/* Nosotros Ultra Pro */
.nosotros-ultra {
  padding: 100px 50px;
  background: linear-gradient(135deg, #f6f3ff, #ece5ff);
  position: relative;
  overflow: hidden;
  text-align: center;
}

/* Partículas flotantes */
.nosotros-ultra::before {
  content: "💡🎓🌍🛠️";
  position: absolute;
  top: -50px;
  left: -20%;
  font-size: 50px;
  opacity: 0.1;
  animation: floatParticles 15s linear infinite;
}

@keyframes floatParticles {
  0% { transform: translateX(0) translateY(0); }
  50% { transform: translateX(80%) translateY(20px); }
  100% { transform: translateX(0) translateY(0); }
}

.section-title {
  font-size: 40px;
  font-weight: 800;
  color: #7B61FF;
  margin-bottom: 60px;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 100px;
  height: 5px;
  background: linear-gradient(90deg, #7B61FF, #C5BFFF);
  margin: 15px auto 0;
  border-radius: 3px;
}

.nosotros__cards {
  display: flex;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
}

.nosotros-card {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(20px);
  border-radius: 30px;
  padding: 50px 30px;
  width: 400px;
  box-shadow: 0 25px 70px rgba(123,97,255,0.2);
  position: relative;
  overflow: hidden;
  transition: transform 0.5s, box-shadow 0.5s;
}

.nosotros-card::before {
  content: "";
  position: absolute;
  top: -60%;
  left: -60%;
  width: 220%;
  height: 220%;
  background: radial-gradient(circle, rgba(123,97,255,0.1), transparent 70%);
  animation: rotateGlow 10s linear infinite;
  z-index: 0;
}

@keyframes rotateGlow {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.nosotros-card:hover {
  transform: translateY(-15px) scale(1.05);
  box-shadow: 0 40px 100px rgba(123,97,255,0.3);
}

.nosotros-card .icon {
  font-size: 50px;
  margin-bottom: 20px;
  z-index: 1;
  position: relative;
}

.nosotros-card h3 {
  font-size: 24px;
  margin-bottom: 20px;
  color: #4B2FFF;
  z-index: 1;
  position: relative;
}

.nosotros-card p {
  font-size: 16px;
  color: #333;
  line-height: 1.7;
  z-index: 1;
  position: relative;
}

/* FUNCIONALIDADES ULTRA PRO */
.funcionalidades-ultra {
  padding: 100px 50px;
  background: linear-gradient(135deg, #f6f3ff, #ece5ff);
  position: relative;
}

.funcionalidades-ultra .section-title {
  font-size: 40px;
  font-weight: 800;
  color: #7B61FF;
  margin-bottom: 30px;
}

.funcionalidades-ultra .funcionalidades-intro {
  max-width: 900px;
  margin: 0 auto 60px;
  font-size: 18px;
  color: #555;
  line-height: 1.7;
  text-align: center;
}

/* Cada item en fila */
.funcionalidades-ultra__item {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-bottom: 100px;
}

.funcionalidades-ultra__item.reverse {
  flex-direction: row-reverse;
}

.funcionalidades-ultra__text {
  flex: 1;
}

.funcionalidades-ultra__text h3 {
  font-size: 28px;
  color: #4B2FFF;
  margin-bottom: 15px;
}

.funcionalidades-ultra__text p {
  font-size: 18px;
  color: #333;
  line-height: 1.7;
}

/* Imagen estilo Apple / mockup */
.funcionalidades-ultra__image {
  flex: 1;
  display: flex;
  justify-content: center;
  position: relative;
}

.funcionalidades-ultra__image img {
  width: 300px;
  border-radius: 40px;
  box-shadow: 0 30px 80px rgba(123,97,255,0.3);
  animation: float 6s ease-in-out infinite;
}

/* Animación de flotación */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

/* Outro */
.funcionalidades-ultra .funcionalidades-outro {
  max-width: 900px;
  margin: 0 auto;
  font-size: 18px;
  color: #555;
  line-height: 1.7;
  text-align: center;
}

/* Responsive */
@media (max-width:1024px){
  .funcionalidades-ultra__item {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  .funcionalidades-ultra__item.reverse {
    flex-direction: column;
  }

  .funcionalidades-ultra__image img {
    width: 80%;
  }
}

/* SECCIÓN SOLUCIONES */
.soluciones {
  padding: 100px 50px;
  background: linear-gradient(135deg, #f6f3ff, #ece5ff);
  text-align: center;
  position: relative;
}

.soluciones__title {
  font-size: 40px;
  font-weight: 800;
  color: #7B61FF;
  margin-bottom: 20px;
}

.soluciones__subtitle {
  max-width: 900px;
  margin: 0 auto 60px;
  font-size: 18px;
  color: #555;
  line-height: 1.7;
}

/* GRID DE CARDS */
.soluciones__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

/* CARD */
.solution-card {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(20px);
  border-radius: 30px;
  padding: 40px 30px;
  width: 300px;
  box-shadow: 0 25px 70px rgba(123,97,255,0.2);
  position: relative;
  overflow: hidden;
  transition: transform 0.5s, box-shadow 0.5s;
}

.solution-card::before {
  content: "";
  position: absolute;
  top: -60%;
  left: -60%;
  width: 220%;
  height: 220%;
  background: radial-gradient(circle, rgba(123,97,255,0.1), transparent 70%);
  animation: rotateGlow 10s linear infinite;
  z-index: 0;
}

@keyframes rotateGlow {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ICONOS */
.solution-icon {
  font-size: 50px;
  margin-bottom: 20px;
  z-index: 1;
  position: relative;
}

/* TITULO Y TEXTO */
.solution-card h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: #4B2FFF;
  z-index: 1;
  position: relative;
}

.solution-card p {
  font-size: 16px;
  color: #333;
  line-height: 1.7;
  z-index: 1;
  position: relative;
}

/* HOVER */
.solution-card:hover {
  transform: translateY(-15px) scale(1.05);
  box-shadow: 0 40px 100px rgba(123,97,255,0.3);
}

/* RESPONSIVE */
@media (max-width:1024px){
  .soluciones__grid {
    gap: 30px;
  }
}

@media (max-width:768px){
  .soluciones__grid {
    flex-direction: column;
    align-items: center;
  }

  .solution-card {
    width: 90%;
  }
}

/* SECCIÓN FUNCIONALIDADES ULTRA */
.funcionalidades-ultra {
  padding: 100px 50px;
  background: linear-gradient(135deg, #f6f3ff, #ece5ff);
  position: relative;
}

.funcionalidades-ultra .section-title {
  font-size: 40px;
  font-weight: 800;
  color: #7B61FF;
  margin-bottom: 20px;
}

.funcionalidades-ultra .funcionalidades-intro,
.funcionalidades-ultra .funcionalidades-outro {
  max-width: 900px;
  margin: 0 auto 60px;
  font-size: 18px;
  color: #555;
  line-height: 1.7;
  text-align: center;
}

/* ITEM HORIZONTAL */
.funcionalidades-ultra__item {
  display: flex;
  align-items: center;
  gap: 60px;
  padding: 30px;
  margin-bottom: 80px;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(20px);
  border-radius: 40px;
  box-shadow: 0 35px 90px rgba(123,97,255,0.2);
  position: relative;
  overflow: hidden;
  transition: transform 0.5s, box-shadow 0.5s;
}

/* Alternar lado de la imagen */
.funcionalidades-ultra__item.reverse {
  flex-direction: row-reverse;
}

/* Texto */
.funcionalidades-ultra__text {
  flex: 1;
  z-index: 1;
  text-align: left;
}

.funcionalidades-ultra__text h3 {
  font-size: 28px;
  color: #4B2FFF;
  margin-bottom: 15px;
}

.funcionalidades-ultra__text p {
  font-size: 18px;
  color: #333;
  line-height: 1.7;
}

/* Imagen estilo premium */
.funcionalidades-ultra__image {
  flex: 1;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 1;
}

/* Imagen cuadrada perfecta */
.funcionalidades-ultra__image img {
  width: 400px;       /* tamaño grande, consistente */
  height: 400px;      /* fuerza la proporción cuadrada */
  object-fit: cover;  /* rellena el área sin deformar */
  border-radius: 40px; 
  box-shadow: 0 30px 80px rgba(123,97,255,0.3);
  animation: float 6s ease-in-out infinite;
}

/* Glow sutil detrás de la imagen */
.funcionalidades-ultra__image::before {
  content: "";
  position: absolute;
  top: -40px;
  left: -40px;
  width: 480px;    /* un poco más grande que la imagen */
  height: 480px;
  background: radial-gradient(circle, rgba(123,97,255,0.3), transparent);
  filter: blur(80px);
  z-index: 0;
}

/* Hover card */
.funcionalidades-ultra__item:hover {
  transform: translateY(-15px) scale(1.03);
  box-shadow: 0 50px 120px rgba(123,97,255,0.4);
}

/* Animación flotante */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

/* RESPONSIVE */
@media (max-width:1024px){
  .funcionalidades-ultra__item {
    gap: 40px;
  }

  .funcionalidades-ultra__image img {
    width: 300px;
  }
}

@media (max-width:768px){
  .funcionalidades-ultra__item,
  .funcionalidades-ultra__item.reverse {
    flex-direction: column;
    text-align: center;
  }

  .funcionalidades-ultra__text {
    text-align: center;
  }

  .funcionalidades-ultra__image img {
    width: 80%;
    height: auto; /* mantiene proporción en móviles */
  }
}

/* SECCIÓN CONFIANZA ULTRA */
.confianza-ultra {
  padding: 100px 50px;
  background: linear-gradient(135deg, #f9f6ff, #ece5ff);
  text-align: center;
  position: relative;
}

.confianza-ultra .section-title {
  font-size: 40px;
  font-weight: 800;
  color: #7B61FF;
  margin-bottom: 20px;
}

.confianza-ultra .confianza-intro {
  max-width: 900px;
  margin: 0 auto 60px;
  font-size: 18px;
  color: #555;
  line-height: 1.7;
}

/* ===========================
   SECCIÓN CONFIANZA
   =========================== */

/* Contenedor general */
.section {
  padding: 80px 20px;
  text-align: center;
}

/* Títulos y subtítulos */
.section-title {
  font-size: 36px;
  font-weight: 700;
  color: #4B2FFF;
  margin-bottom: 20px;
}

.subsection-title {
  font-size: 28px;
  font-weight: 700;
  color: #4B2FFF;
  margin: 50px 0 20px 0;
}

.confianza-intro {
  font-size: 18px;
  color: #555;
  margin-bottom: 40px;
}

/* ===========================
   CARRUSEL DE LOGOS
   =========================== */
.logo-marquee {
  overflow: hidden;
  width: 100%;
  position: relative;
  margin-bottom: 60px;
}

.logo-track {
  display: flex;
  gap: 80px;
  animation: marquee 20s linear infinite;
}

.logo-track img {
  height: 120px;
  object-fit: contain;
  cursor: pointer;
  transition: transform 0.4s ease;
}

.logo-track img:hover {
  transform: scale(1.3);
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); } /* ajusta según la cantidad de logos */
}

/* Responsive logos */
@media (max-width:1024px){
  .logo-track img { height: 100px; }
  .logo-track { gap: 60px; }
}

@media (max-width:768px){
  .logo-track img { height: 80px; }
  .logo-track { gap: 40px; }
}

/* ===========================
   GRID DE PROGRAMAS
   =========================== */
.programas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  justify-items: center;
}

.program-card {
  background: rgba(123,97,255,0.1);
  padding: 25px;
  border-radius: 25px;
  font-weight: 600;
  color: #4B2FFF;
  box-shadow: 0 15px 50px rgba(123,97,255,0.15);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: default;
}

.program-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 60px rgba(123,97,255,0.25);
}

.program-img {
  width: 220px;
  height: 220px;
  object-fit: cover;
  object-position: center;
  border-radius: 25px;
  margin-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.program-card:hover .program-img {
  transform: scale(1.08);
  box-shadow: 0 25px 70px rgba(123,97,255,0.3);
}

/* ===========================
   ACORDEÓN HORIZONTAL DE PREMIOS
   =========================== */
.premios-accordion-horizontal {
  width: 100%;
  max-width: 1200px;
  margin: 50px auto 0 auto;
  display: flex;
  flex-direction: column;
  gap: 30px;
  text-align: center;
}

.premios-tabs {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.premio-tab {
  padding: 12px 25px;
  cursor: pointer;
  background: #f2f2f2;
  border-radius: 15px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.premio-tab.active {
  background: linear-gradient(45deg, #7B61FF, #9c8cff);
  color: white;
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(123,97,255,0.2);
}

.premios-contents {
  display: flex;
  justify-content: center;
}

.premio-content {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  max-width: 500px;
  text-align: center;
}

.premio-content.active {
  display: flex;
  animation: fadeIn 0.5s ease forwards;
}

.premio-img-wrapper {
  width: 500px;
  height: 500px;
  overflow: hidden;
  border-radius: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.premio-img-destacado {
  width: 1000px;
  height: auto;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.premio-content.active .premio-img-destacado:hover {
  transform: scale(1.05);
  box-shadow: 0 30px 80px rgba(123,97,255,0.3);
}

.premio-content p {
  font-size: 16px;
  color: #333;
  line-height: 1.5;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width:768px) {
  .premios-tabs {
    flex-direction: column;
    gap: 15px;
  }

  .premio-tab {
    padding: 10px 15px;
    font-size: 14px;
  }

  .premio-img-wrapper {
    width: 90%;
    height: 300px;
  }

  .premio-img-destacado {
    width: 100%;
    height: auto;
  }

  .premio-content {
    max-width: 90%;
  }

  .program-img {
    width: 180px;
    height: 180px;
  }

  .logo-track img {
    height: 60px;
  }
}

/* Ajuste de imágenes de premios */
.premio-img-wrapper {
  width: 500px;          /* máximo ancho del contenedor */
  max-width: 90%;        /* no exceder 90% del ancho en pantallas chicas */
  height: auto;          /* altura automática */
  overflow: hidden;
  border-radius: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.premio-img-destacado {
  width: 100%;           /* se ajusta al contenedor */
  height: auto;          /* mantiene proporción */
  object-fit: cover;     
  object-position: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.premio-content.active .premio-img-destacado:hover {
  transform: scale(1.05);
  box-shadow: 0 30px 80px rgba(123,97,255,0.3);
}

/* Contacto */
/* Contacto con iconos */
.contact-email {
  font-size: 18px;
  margin: 20px 0;
}

.contact-email a {
  color: #4B2FFF;
  text-decoration: underline;
  font-weight: 600;
}

.contact-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.contact-buttons a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
}

.contact-buttons .btn-primary {
  background: linear-gradient(45deg,#7B61FF,#9c8cff);
  color: white;
  border-radius: 30px;
  padding: 14px 28px;
}

.contact-buttons .btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 30px rgba(123,97,255,.4);
}

.contact-buttons .btn-secondary {
  background: white;
  border: 1px solid #ddd;
  border-radius: 30px;
  padding: 14px 28px;
  color: #4B2FFF;
}

.contact-buttons .btn-secondary:hover {
  background: #f2f2f2;
  transform: translateY(-2px);
}

/* Iconos dentro de botones */
.icon-btn {
  width: 24px;
  height: 24px;
}


.login-card {
  background: white;
  padding: 35px;
  border-radius: 20px;
  width: 320px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  animation: fadeIn 0.3s ease;
}

.login-header h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
}

.login-header p {
  font-size: 14px;
  color: #777;
  margin-bottom: 20px;
}

.login-form input {
  width: 100%;
  padding: 12px;
  margin-bottom: 12px;
  border-radius: 10px;
  border: 1px solid #ddd;
  outline: none;
  transition: 0.2s;
}

.login-form input:focus {
  border-color: #6c63ff;
  box-shadow: 0 0 0 2px rgba(108,99,255,0.2);
}

.login-btn {
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, #6c63ff, #8b7bff);
  border: none;
  border-radius: 12px;
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
}

.login-btn:hover {
  transform: scale(1.03);
}

.close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  border: none;
  background: transparent;
  font-size: 18px;
  cursor: pointer;
  color: #999;
}

.close-btn:hover {
  color: #000;
}

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


.social-login {
  margin-top: 15px;
}

.google-btn, .apple-btn {
  width: 100%;
  padding: 10px;
  border-radius: 10px;
  margin-top: 10px;
  border: none;
  cursor: pointer;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.google-btn {
  background: white;
  border: 1px solid #ddd;
}

.google-btn img {
  width: 18px;
}

.apple-btn {
  background: black;
  color: white;
}

#loginModal {
  z-index: 9999;
}

.google-btn img {
  width: 18px !important;
  height: 18px !important;
  object-fit: contain;
}

.login-form input {
  width: 100%;
  display: block;
}

.login-modal {
  position: fixed;
  inset: 0;
  background: rgba(20, 10, 40, 0.6);
  backdrop-filter: blur(8px);

  display: none;
  justify-content: center;
  align-items: center;

  z-index: 9999;
}

.login-modal.active {
  display: flex;
}

#loginModal {
  position: fixed !important;
  inset: 0 !important;

  display: none;
  justify-content: center !important;
  align-items: center !important;

  background: rgba(20, 10, 40, 0.6) !important;
  backdrop-filter: blur(8px) !important;

  z-index: 999999 !important;
}

#loginModal.active {
  display: flex !important;
}
.register-form {
  display: none;
  flex-direction: column;
  gap: 10px;
}

.register-form input {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #ddd;
  outline: none;
  transition: 0.2s;
}

.register-form input:focus {
  border-color: #6c63ff;
  box-shadow: 0 0 0 2px rgba(108,99,255,0.2);
}

.register-form .login-btn {
  margin-top: 5px;
}

.back-login {
  margin-top: 8px;
  background: none;
  border: none;
  color: #777;
  cursor: pointer;
  font-size: 13px;
  transition: 0.2s;
}

.back-login:hover {
  color: #6c63ff;
  text-decoration: underline;
}

.register-btn {
  margin-top: 10px;
  background: none;
  border: none;
  color: #6c63ff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: 0.2s;
}

.register-btn:hover {
  text-decoration: underline;
}

.back-login{
  margin-top:10px;
  background:none;
  border:none;
  cursor:pointer;
  opacity:0.7;
}