@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;800&display=swap');

:root {
    --bg-dark: #0a0f1c;
    --primary: #00E0FF;
    --secondary: #66FCF1;
    --accent: #8B5CF6;
    --text-light: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: default;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    overflow-x: hidden;
}

/* Fondo animado SOLO en el hero */
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    animation: changeBg 20s infinite alternate ease-in-out;
    background-size: cover;
    background-position: center;
    filter: brightness(0.5);
}

@keyframes changeBg {
    0% {
        background-image: url('https://images.unsplash.com/photo-1603791452906-c7c32f3d3682?auto=format&fit=crop&w=1920&q=80');
    }
    50% {
        background-image: url('https://images.unsplash.com/photo-1555949963-aa79dcee981c?auto=format&fit=crop&w=1920&q=80');
    }
    100% {
        background-image: url('https://images.unsplash.com/photo-1556761175-4b46a572b786?auto=format&fit=crop&w=1920&q=80');
    }
}

#particles {
    position: absolute;
    inset: 0;
    z-index: -1;
}

/* Cursor turquesa */
.cursor {
    width: 14px;
    height: 14px;
    position: fixed;
    border-radius: 50%;
    background: var(--primary);
    pointer-events: none;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 20px var(--primary), 0 0 40px var(--secondary);
    mix-blend-mode: screen;
    transition: transform 0.1s ease-out, opacity 0.3s ease;
    z-index: 9999;
    opacity: 0.9;
}

/* NAVBAR centrado */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 4rem;
    background: rgba(10, 15, 28, 0.6);
    backdrop-filter: blur(8px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.logo {
    color: var(--primary);
    font-weight: 800;
    font-size: 1.4rem;
}

.nav-center {
    flex: 1;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.nav-center a {
    text-decoration: none;
    color: #d1d1d1;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-center a:hover {
    color: var(--secondary);
}

.btn-cert {
    background: var(--primary);
    color: #000;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 0 10px var(--primary);
    transition: all 0.3s ease;
}

.btn-cert:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px var(--secondary);
}

/* Icono menú hamburguesa */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle div {
    width: 25px;
    height: 3px;
    background-color: var(--primary);
    border-radius: 2px;
}

/* HERO */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.hero-content {
    background: rgba(15, 20, 35, 0.55);
    backdrop-filter: blur(12px);
    border-radius: 25px;
    padding: 5rem 6rem;
    margin-top: 4rem;
    max-width: 1100px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 30px rgba(0, 224, 255, 0.15);
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.8rem);
    background: linear-gradient(90deg, var(--accent), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    margin-bottom: 1.2rem;
}

.hero p {
    font-size: 1.2rem;
    color: #dcdcdc;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.btn {
    padding: 0.9rem 1.8rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-blue {
    background: var(--primary);
    color: #000;
    border: none;
    box-shadow: 0 0 10px var(--primary);
}

.btn-blue:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px var(--secondary);
}

.btn-outline {
    border: 2px solid var(--secondary);
    color: var(--secondary);
    background: transparent;
}

.btn-outline:hover {
    background: var(--secondary);
    color: #000;
    box-shadow: 0 0 20px var(--secondary);
}

/* --- SECCIÓN NOSOTROS --- */
section.sobre {
    background: var(--bg-dark);
    padding: 8rem 2rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

section.sobre h2 {
    font-size: 2.5rem;
    background: linear-gradient(90deg, var(--accent), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    font-weight: 700;
}

section.sobre p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.2rem;
    color: #ccc;
    line-height: 1.8;
}

/* --- Menú lateral móvil --- */
.desktop-only {
    display: inline-block;
}

.mobile-only {
    display: none;
}

.nav-links-mobile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    position: fixed;
    top: 0;
    right: -100%;
    height: 100%;
    width: 280px;
    background: rgba(10, 15, 28, 0.97);
    transition: right 0.3s ease;
    z-index: 2000;
}

.nav-links-mobile.active {
    right: 0;
}

.nav-links-mobile a {
    text-decoration: none;
    color: #d1d1d1;
    font-size: 1.2rem;
    font-weight: 500;
}

/* Botón de cierre */
.close-btn {
    position: absolute;
    top: 1.2rem;
    right: 1.4rem;
    font-size: 2rem;
    color: var(--primary);
    cursor: pointer;
    transition: transform 0.2s;
}

.close-btn:hover {
    transform: scale(1.2);
    color: var(--secondary);
}

@media (max-width: 900px) {
    .nav-center {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: inline-block;
    }
}

/* --- NUEVAS SECCIONES --- */
.features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.card {
    background: rgba(20, 25, 40, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2rem;
    width: 260px;
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 0 20px var(--primary);
    transform: translateY(-4px);
}

.stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.stats div {
    color: white;
    font-size: 1.1rem;
    text-align: center;
}

.stats strong {
    display: block;
    color: var(--primary);
    font-size: 2rem;
}

/* --- FOOTER --- */
.footer {
  background-color: #0b0f1a;
  padding: 5rem 2rem 2rem;
  color: #d1d1d1;
  position: relative;
  z-index: 2;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-section {
  flex: 1;
  min-width: 250px;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(90deg, #00E0FF, #8B5CF6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.8rem;
}

.footer-section h4 {
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 1rem;
  font-weight: 700;
}

.footer-section p {
  line-height: 1.8;
  color: #bbb;
  font-size: 0.95rem;
}

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

.footer-section ul li {
  margin: 0.5rem 0;
}

.footer-section ul li a {
  text-decoration: none;
  color: #d1d1d1;
  transition: color 0.3s;
}

.footer-section ul li a:hover {
  color: #00E0FF;
}


/* Social icons */
.social-icons a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  margin-right: 0.6rem;
  color: #00E0FF;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background: rgba(0, 224, 255, 0.1);
  color: #8B5CF6;
  box-shadow: 0 0 12px rgba(139, 92, 246, 0.6);
}

/* Línea inferior */
.footer hr {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: 2rem 0 1rem;
}

/* Texto inferior */
.footer-copy {
  text-align: center;
  font-size: 0.9rem;
  color: #888;
}

/* Responsive */
@media (max-width: 900px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .social-icons {
    justify-content: center;
  }
}


.copy {
    color: #999;
    font-size: 0.9rem;
}

/* --- Corrección botón Validar --- */
.validar {
    text-align: center;
}

.validar .btn-container {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
}

/* --- FORMULARIO DE CONTACTO --- */
.contacto {
    background: linear-gradient(180deg, #0b0f1e, #0a0c14);
    padding: 6rem 2rem;
    text-align: center;
    position: relative;
    color: var(--text-light);
}

.contacto h2 {
    font-size: 2.4rem;
    background: linear-gradient(90deg, var(--accent), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    font-weight: 700;
}

.contacto p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 2.5rem;
    color: #bfc0c3;
}

.formulario-contacto {
    max-width: 700px;
    margin: 0 auto;
    background: rgba(20, 25, 40, 0.6);
    border-radius: 18px;
    padding: 2.5rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 25px rgba(0, 224, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.form-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.form-group input {
    flex: 1;
    padding: 0.9rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(15, 20, 30, 0.7);
    color: #fff;
    font-size: 1rem;
    outline: none;
    transition: border 0.3s ease;
}

.form-group input:focus,
textarea:focus {
    border-color: var(--primary);
}

textarea {
    width: 100%;
    padding: 0.9rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(15, 20, 30, 0.7);
    color: #fff;
    font-size: 1rem;
    outline: none;
    resize: none;
    transition: border 0.3s ease;
    margin-bottom: 1.2rem;
}

textarea::placeholder,
input::placeholder {
    color: #999;
}

.formulario-contacto .btn {
    width: 100%;
    max-width: 220px;
    margin: 0 auto;
    display: block;
}

/* BOTÓN LILA NEÓN */
.btn-purple {
  background: transparent;
  color: #fff;
  border: 2px solid #a855f7; /* lila */
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.5); /* brillo suave inicial */
  border-radius: 10px;
  padding: 0.9rem 1.8rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-purple:hover {
  color: #c084fc; /* texto lila más brillante */
  box-shadow: 0 0 22px rgba(192, 132, 252, 0.9), 0 0 40px rgba(192, 132, 252, 0.4);
  transform: scale(1.05);
  border-color: #c084fc;
}


/* ---- Footer Contact ---- */
.contacto-footer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.8rem;
}

.contacto-footer h4 {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.contact-info {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #cfcfcf;
  font-size: 0.95rem;
}

.contact-info i {
  color: #00E0FF;
  font-size: 1.1rem;
}

/* Social icons */
.social-icons {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 0.4rem;
}

.social-icons a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  text-decoration: none;
  color: #00E0FF;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background: rgba(139, 92, 246, 0.1);
  color: #8B5CF6;
  box-shadow: 0 0 12px rgba(0, 224, 255, 0.4);
  transform: scale(1.1);
}

/* --- Alinear los botones dentro de las tarjetas --- */
#programas .features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem;
}

#programas .card {
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* separa texto y botón */
  width: 300px;
  background: rgba(20, 25, 40, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 2rem;
  text-align: left;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(0, 224, 255, 0.05);
}

#programas .card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 25px rgba(0, 224, 255, 0.2);
}

#programas .card h3 {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

#programas .card p {
  font-size: 0.95rem;
  color: #ccc;
  margin-bottom: 1.5rem;
  line-height: 1.6;
  flex-grow: 1; /* empuja el botón hacia abajo */
}

#programas .card .btn {
  align-self: center; /* centra horizontalmente */
  width: 80%;
  text-align: center;
  border-radius: 8px;
  border: 1.5px solid var(--primary);
  color: var(--primary);
  background: transparent;
  font-weight: 600;
  text-decoration: none !important;
  padding: 0.7rem 1rem;
  transition: all 0.3s ease;
}

#programas .card .btn:hover {
  background: var(--primary);
  color: #000;
  box-shadow: 0 0 20px var(--primary);
  transform: scale(1.05);
}

/* --- Corregir color del texto en tarjetas generales --- */
section.sobre .card {
  color: var(--text-light);
}

section.sobre .card h5,
section.sobre .card h3 {
  color: var(--text-light);
}

/* ============================
   SECCIÓN: ¿Qué es LOGIA?
   ============================ */
.que-es .logia-contenido {
  max-width: 1000px;
  margin: 0 auto;
}

.que-es .intro {
  margin-bottom: 3rem;
}

.que-es .descripcion {
  font-size: 1.1rem;
  color: #ccc;
  margin-top: 0.5rem;
  line-height: 1.8;
}

.logia-beneficios .card {
  background: rgba(20, 25, 40, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.8rem;
  height: 100%;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(0, 224, 255, 0.05);
}

.logia-beneficios .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 25px rgba(0, 224, 255, 0.25);
}

.logia-beneficios .card h3 {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 1rem;
  font-weight: 600;
}

.logia-beneficios .card p {
  font-size: 0.95rem;
  color: #bfbfbf;
  line-height: 1.6;
}

.que-es .mision {
  margin-top: 4rem;
  text-align: center;
}

.que-es .mision h4 {
  font-size: 1.4rem;
  font-weight: 700;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}

.que-es .mision p {
  font-size: 1.15rem;
  color: #bfbfbf;
  max-width: 850px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ============================
   SECCIÓN: VALIDACIÓN DE CERTIFICADOS
   ============================ */
.validar {
  text-align: center;
  padding: 8rem 2rem;
}

.validar h2 {
  font-size: 2.4rem;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
  font-weight: 800;
}

.validar p {
  color: #cfcfcf;
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

/* Formulario de validación */
.validar-form {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.validar-form input {
  flex: 1;
  min-width: 250px;
  padding: 0.9rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: rgba(15, 20, 35, 0.75);
  color: #fff;
  font-size: 1rem;
  outline: none;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(0, 224, 255, 0.05);
}

.validar-form input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(0, 224, 255, 0.3);
}

/* Botón de validación */
.validar-form .btn {
  padding: 0.9rem 1.8rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.validar-form .btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px var(--primary);
}

/* Nota inferior */
.validar-note {
  font-size: 0.95rem;
  color: #999;
  margin-top: 1rem;
}

.validar-note a {
  color: var(--primary);
  text-decoration: none;
}

.validar-note a:hover {
  text-decoration: underline;
}


/* ==== Estilos personalizados SweetAlert2 (neón LOGIA) ==== */
.neon-alert {
  border-radius: 16px !important;
  border: 1px solid rgba(0, 224, 255, 0.4);
  box-shadow: 0 0 25px rgba(0, 224, 255, 0.3), 0 0 50px rgba(139, 92, 246, 0.2);
  backdrop-filter: blur(12px);
}

.neon-title {
  font-family: 'Poppins', sans-serif !important;
  font-size: 1.2rem !important;
  font-weight: 600 !important;
  background: linear-gradient(90deg, #00E0FF, #8B5CF6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.neon-btn {
  font-weight: 600 !important;
  color: #000 !important;
  background: linear-gradient(90deg, #00E0FF, #8B5CF6) !important;
  box-shadow: 0 0 15px rgba(0, 224, 255, 0.4) !important;
  border-radius: 10px !important;
  padding: 0.6rem 1.5rem !important;
  transition: all 0.3s ease !important;
}

.neon-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(0, 224, 255, 0.6);
}

.formulario-contacto {
  max-width: 700px;
  margin: 0 auto;
  background: rgba(20, 25, 40, 0.6);
  border-radius: 18px;
  padding: 2.5rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 25px rgba(0, 224, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Contenedor flexible */
.form-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

/* Cada input-container es un bloque independiente */
.input-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  position: relative;
}

/* Ajuste visual de inputs */
.input-container input,
.input-container textarea {
  width: 100%;
  padding: 0.9rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(15, 20, 30, 0.7);
  color: #fff;
  font-size: 1rem;
  outline: none;
  transition: border 0.3s ease, box-shadow 0.3s ease;
}

.input-container input:focus,
.input-container textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 10px rgba(0, 224, 255, 0.4);
}

/* Error visual */
.input-error {
  border: 1px solid #ff4d4d !important;
  box-shadow: 0 0 12px rgba(255, 77, 77, 0.6);
  animation: shake 0.3s ease;
}

/* Texto de error */
.error-text {
  display: none;
  color: #ff6b6b;
  font-size: 0.85rem;
  margin-top: 0.4rem;
  margin-left: 0.2rem;
  align-self: flex-start;
  font-weight: 500;
}

/* Animación */
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-3px); }
  75% { transform: translateX(3px); }
}

/* Responsive: inputs a una columna en pantallas pequeñas */
@media (max-width: 700px) {
  .form-group {
    flex-direction: column;
  }
}

/* === Tarjetas de beneficios LOGIA === */
.logia-beneficios {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 columnas en pantallas grandes */
  gap: 2rem;
  justify-items: center;
  align-items: stretch;
  margin-top: 3rem;
  width: 100%;
}

/* Diseño de las tarjetas */
.logia-beneficios .card {
  background: rgba(20, 25, 40, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 2rem;
  width: 100%;
  max-width: 300px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 10px rgba(0, 224, 255, 0.05);
}

.logia-beneficios .card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 25px rgba(0, 224, 255, 0.25);
}

.logia-beneficios h3 {
  font-size: 1.2rem;
  color: var(--text-light);
  font-weight: 700;
  margin-bottom: 1rem;
}

.logia-beneficios p {
  font-size: 0.95rem;
  color: #bfbfbf;
  line-height: 1.6;
}

/* === Responsividad === */

/* 2 columnas en pantallas medianas */
@media (max-width: 1200px) {
  .logia-beneficios {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 1 columna en móviles */
@media (max-width: 700px) {
  .logia-beneficios {
    grid-template-columns: 1fr;
  }
}

/* FAQ SECTION */
.faq-section {
    padding: 80px 20px;
    text-align: center;
    background: #0b0f19;
}

.faq-section h2 {
    font-size: 2.4rem;
    margin-bottom: 10px;
    color: #00E0FF;
}

.faq-subtitle {
    color: #c9d1d9;
    margin-bottom: 40px;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 224, 255, 0.2);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 18px 20px;
    text-align: left;
    font-size: 1.1rem;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-icon {
    font-size: 1.5rem;
    color: #00E0FF;
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    background: rgba(0, 224, 255, 0.05);
    transition: max-height 0.4s ease;
}

.faq-answer p {
    padding: 15px 20px;
    color: #c9d1d9;
    line-height: 1.6;
    text-align: left;
}

/* Expansión */
.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.program-details {
    list-style: none;
    padding: 0;
    margin: 15px 0;
    text-align: left;
}

.program-details li {
    margin-bottom: 8px;
    font-size: 0.95rem;
    color: #c9d1d9;
    display: flex;
    align-items: center;
    gap: 8px;
}

.program-details li i {
    color: #00E0FF;
    font-size: 1rem;
}

/* --- Título de Preguntas Frecuentes con el mismo estilo que Programas --- */
#faq h2 {
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    margin-bottom: 1rem !important;

    background: linear-gradient(90deg, var(--accent), var(--primary)) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;

    text-align: center !important;
    font-family: 'Poppins', sans-serif !important;
}
.codigo-invalido {
    color: #ff4d4d;
    font-size: 1rem;
    margin-top: 1.2rem;
    font-weight: 600;
    text-align: center;
    text-shadow: 0 0 10px rgba(255, 77, 77, 0.6);
}

/* === CARRUSEL LOGIA (Swiper) === */
.logia-beneficios {
  width: 100%;
  padding: 2rem 0 3rem;
}

.swiper-slide {
  display: flex;
  justify-content: center;
}

.logia-beneficios .card {
  background: rgba(20, 25, 40, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 2rem;
  color: #fff;
  width: 100%;
  max-width: 260px;
  min-height: 240px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(0, 224, 255, 0.1);
}

.logia-beneficios .card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 25px rgba(0, 224, 255, 0.25);
}

.swiper-button-prev,
.swiper-button-next {
  color: #00E0FF;
}

.swiper-pagination-bullet {
  background: #00E0FF;
  opacity: 0.5;
}

.swiper-pagination-bullet-active {
  opacity: 1;
}
