/* Estilos generales de Adrian */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", system-ui, Avenir, "Poppins", "Segoe UI", Roboto, "Helvetica Neue", Arial;
    /* Tipografía de Joana */
}

body {
    background-color: #00d4ff;
    /* Fondo de Adrian */
    color: #ffffff;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ENCABEZADO MÁS COMPACTO */
header {
    background-color: #000000;
    padding: 10px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transition: top 0.4s ease;
    /* 👈 transición suave */
}

/* Cuando el usuario hace scroll hacia abajo, el header se oculta */
header.hide {
    top: -100px;
    /* 👈 se desplaza fuera de la vista */
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}


/* LOGO MÁS PEQUEÑO */
.logo-img {
    height: 70px;
    /* Reducido de 80px */
    width: auto;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

/* Opcional: Si el logo se ve pixelado, agrega esto */
.logo-img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 18px;
    /* Reducido de 25px */
}

nav ul li a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
    font-size: 14px;
    /* Texto ligeramente más pequeño */
}

nav ul li a:hover {
    color: #8a2be2;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: linear-gradient(90deg, #4169e1, #8a2be2);
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

/* Hero con estilo de Joana */
.hero {
    background: radial-gradient(1200px 600px at 10% 10%, rgba(0, 212, 255, 0.03), transparent 8%),
        radial-gradient(900px 500px at 90% 90%, rgba(255, 77, 77, 0.03), transparent 10%),
        #0a0e17;
    padding: 130px 0 100px;
    /* Reducido de 160px para compensar header más pequeño */
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

/* blobs (decorativos) de Joana */
.hero::before,
.hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
    mix-blend-mode: screen;
    transform: translateZ(0);
}

.hero::before {
    width: 520px;
    height: 520px;
    background: linear-gradient(45deg, #ff4d4d, #ff9a9a);
    left: -15%;
    top: -10%;
    animation: blobMove1 12s ease-in-out infinite
}

.hero::after {
    width: 420px;
    height: 420px;
    background: linear-gradient(45deg, #00d4ff, #5be3ff);
    right: -10%;
    bottom: -20%;
    animation: blobMove2 14s ease-in-out infinite
}

@keyframes blobMove1 {
    0% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(30px) rotate(15deg)
    }

    100% {
        transform: translateY(0)
    }
}

@keyframes blobMove2 {
    0% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-40px) rotate(-18deg)
    }

    100% {
        transform: translateY(0)
    }
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    text-align: left;
}

/* Títulos con estilo EXACTO de Joana */
.hero-tag {
    font-family: "Poppins";
    font-weight: 700;
    color: #ff4d4d;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 12px;
    font-size: 14px;
    text-shadow: 0 6px 16px rgba(255, 77, 77, 0.06);
}

.hero-title {
    font-family: "Poppins";
    font-weight: 900;
    font-size: 64px;
    margin-bottom: 12px;
    line-height: 0.95;
    background: linear-gradient(90deg, #fff 0%, #dcdcdc 30%, #00d4ff 60%, #ff4d4d 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-transform: uppercase;
    letter-spacing: 2px;
    filter: drop-shadow(0 10px 30px rgba(0, 212, 255, 0.12));
}

.hero-sub {
    color: #b0b0b0;
    max-width: 780px;
    margin: 18px auto 30px;
    font-size: 18px;
}

/* Hero key points (glass) de Joana */
.hero-key {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 820px;
    margin: 22px 0;
    padding: 18px;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
    border: 1px solid rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(6px);
    box-shadow: 0 8px 30px rgba(2, 2, 8, 0.5);
    text-align: left;
}

.hero-key p {
    font-size: 16px;
    color: #b0b0b0;
    display: flex;
    gap: 10px;
    align-items: center
}

.hero-key i {
    color: #00d4ff;
    font-size: 18px;
    min-width: 22px
}

.hero-image {
    text-align: center;
}

.hero-img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.hero-img:hover {
    transform: translateY(-5px);
}

/* BOTONES MEJORADOS - AZUL Y MORADO de Adrian */
.btn {
    display: inline-block;
    background: linear-gradient(135deg, #4169e1, #8a2be2);
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(65, 105, 225, 0.6);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(65, 105, 225, 0.8);
    color: white;
}

.btn:hover::before {
    left: 100%;
}

.btn:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 15px rgba(65, 105, 225, 0.6);
}

/* Botón secundario */
.btn-secondary {
    background: linear-gradient(135deg, #00d4ff, #0077ff);
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.6);
    color: white;
}

.btn-secondary:hover {
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.8);
    color: white;
}

/* Botones con estilo de Joana */
.btn-ghost {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #00d4ff;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 26px;
    border-radius: 999px;
    font-weight: 800;
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6);
}

.btn-ghost:hover {
    background: rgba(0, 212, 255, 0.05);
    color: #fff;
    transform: translateY(-4px)
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .hero-content {
        text-align: center;
    }

    .hero-title {
        font-size: 40px;
    }

    .hero-sub {
        font-size: 18px;
    }

    .hero {
        padding: 110px 0 60px;
        /* Ajustado para header compacto */
    }

    /* Ajustes del header en móviles */
    .header-container {
        flex-direction: column;
    }

    nav ul {
        margin-top: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }

    nav ul li {
        margin: 5px 8px;
        /* Reducido para móviles */
    }

    /* Logo responsive - más pequeño en móviles */
    .logo-img {
        height: 45px;
        /* Reducido para móviles */
    }
}

/* Sección Características */
.features {
    padding: 80px 0;
    background-color: #0a0e17;
}

/* Títulos de sección con estilo EXACTO de Joana */
.section-title {
    font-family: "Poppins";
    font-weight: 800;
    font-size: 32px;
    text-transform: uppercase;
    color: #00d4ff;
    text-align: center;
    margin-bottom: 28px
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* Tarjetas con iconos de Joana y colores de Brenda */
.feature-card {
    background-color: #111;
    /* Color de fondo de Brenda */
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid #222;
    /* Borde de Brenda */
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    border-color: #00d4ff;
    /* Color de hover de Brenda */
}

.feature-card i {
    font-size: 36px;
    color: #00d4ff;
    /* Color de íconos de Joana */
    display: inline-block;
    text-shadow: 0 6px 22px rgba(0, 212, 255, 0.06);
    /* Efecto de Joana */
}

.feature-card h3 {
    margin: 20px 0 15px;
    color: #ffffff;
    font-size: 22px;
}

.feature-card p {
    color: #b0b0b0;
}

/* Sección Cursos */
.courses {
    padding: 80px 0;
    background-color: #0a0e17;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.course-card {
    background-color: #111;
    /* Color de fondo de Brenda */
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid #222;
    /* Borde de Brenda */
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    border-color: #00aaff;
    /* Color de hover de Brenda */
}

/* Encabezado de cursos con colores de Brenda */
.course-header {
    background: linear-gradient(90deg, #ff1e00, #0066ff);
    /* Gradiente de Brenda */
    padding: 20px;
    text-align: center;
}

.course-header h3 {
    font-size: 22px;
    margin-bottom: 5px;
    color: #ffffff;
}

.course-body {
    padding: 20px;
}

.course-duration {
    color: #b0b0b0;
    margin-bottom: 15px;
}

.course-btn {
    display: block;
    text-align: center;
    background: linear-gradient(135deg, #4169e1, #8a2be2);
    color: white;
    padding: 10px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    margin-top: 15px;
    transition: all 0.3s;
    box-shadow: 0 3px 10px rgba(65, 105, 225, 0.5);
}

.course-btn:hover {
    background: linear-gradient(135deg, #8a2be2, #4169e1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(65, 105, 225, 0.7);
    color: white;
}

/* Sección Modalidades */
.modalities {
    padding: 80px 0;
    background-color: #0a0e17;
}

.modalities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.modality-card {
    background-color: #111;
    /* Color de fondo de Brenda */
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
    border: 1px solid #222;
    /* Borde de Brenda */
}

.modality-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    border-color: #fff;
    /* Color de hover de Brenda */
}

.modality-card i {
    font-size: 26px;
    color: #00d4ff;
    /* Color de íconos de Joana */
    margin-bottom: 15px;
}

.modality-card h3 {
    color: #4169e1;
    margin-bottom: 15px;
    font-size: 22px;
}

.modality-card p {
    color: #b0b0b0;
    margin-bottom: 20px;
}

/* Sección Talentos */
.talents {
    padding: 80px 0;
    background-color: #0a0e17;
    text-align: center;
}

.talents p {
    max-width: 800px;
    margin: 0 auto 40px;
    color: #b0b0b0;
}

.partners {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
}

.partner-logo {
    background-color: #111;
    /* Color de fondo de Brenda */
    padding: 20px;
    border-radius: 8px;
    width: 150px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #b0b0b0;
    transition: transform 0.3s;
    border: 1px solid #222;
    /* Borde de Brenda */
}

.partner-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Sección FAQ */
.faq {
    padding: 80px 0;
    background-color: #0f1725;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border-bottom: 1px solid #4169e1;
    padding-bottom: 20px;
}

.faq-question {
    font-size: 18px;
    color: #f6fbfc;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s;
}

.faq-question:hover {
    color: #8a2be2;
}

.faq-answer {
    margin-top: 10px;
    color: #b0b0b0;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

/* Formulario de contacto */
.contact-form {
    background-color: #0a0e17;
    padding: 40px;
    border-radius: 8px;
    margin-top: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #ffffff;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    background-color: #fdfdfe;
    border: 1px solid #00d4ff;
    border-radius: 5px;
    color: #090808;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #4169e1;
    box-shadow: 0 0 0 2px rgba(65, 105, 225, 0.2);
}

/* Pie de página */
footer {
    background-color: #0a0e17;
    padding: 60px 0 30px;
    border-top: 1px solid #4169e1;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: #4169e1;
    margin-bottom: 20px;
    font-size: 22px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #b0b0b0;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #8a2be2;
}

/* Estilos para iconos de redes sociales */

/* Estilos existentes y generales (se mantienen sin cambios) */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin: 40px 0;
}

/* El contenedor del ícono mantiene el efecto brillo, forma redonda y hover */
.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    /* ... otros estilos de transición y posición ... */
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    text-decoration: none; /* Asegura que el enlace no tenga subrayado */
    transition: all 0.35s ease;
}

/* Brillo dinámico y efecto hover (se mantienen) */
.social-icon::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.97), transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-icon:hover::after {
    opacity: 1;
}

.social-icon:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 0 20px rgba(107, 214, 236, 0.674);
}

/* AJUSTE CLAVE: Asegura que la animación Lottie (lottie-player) llene el contenedor */
.social-icon lottie-player {
    pointer-events: none; /* Permite que el hover se active en el <a> */
    width: 100% !important;
    height: 100% !important;
}

/* Colores existentes (se mantienen) */
.facebook {
    background: linear-gradient(135deg, #0d0e12d7, hsl(220, 91%, 43%));
    box-shadow: 0 0 10px rgba(66, 103, 178, 0.6);
}

.instagram {
    background: linear-gradient(135deg, #080707c8, #e6683c, #dc2743, #cc2366, #bc1888);
    box-shadow: 0 0 10px rgba(225, 48, 108, 0.6);
}

.tiktok {
    background: linear-gradient(135deg, #000000, #050707c3, #ff0050);
    box-shadow: 0 0 12px rgba(255, 0, 80, 0.7);
}

.youtube {
    background: linear-gradient(135deg, #110f0fd8, #e10b0b);
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.6);
}

/* 🎨 NUEVOS ESTILOS DE COLOR DE FONDO (manteniendo la misma estructura de degradado y glow) */

.linkedin {
    /* Color principal de LinkedIn: #0A66C2 */
    background: linear-gradient(135deg, #0e0404de, #0A66C2);
    box-shadow: 0 0 10px rgba(10, 102, 194, 0.6);
}

.whatsapp {
    /* Color principal de WhatsApp: #25D366 */
    background: linear-gradient(135deg, #0e0404de, #25D366);
    box-shadow: 0 0 10px rgba(37, 211, 102, 0.6);
}

.telegram {
    /* Color principal de Telegram: #0088CC */
    background: linear-gradient(135deg, #0e0404de, #0088CC);
    box-shadow: 0 0 10px rgba(0, 136, 204, 0.6);
}

.gmail {
    /* Usando un color asociado a Gmail/Mail: #EA4335 (rojo/naranja) */
    background: linear-gradient(135deg, #0e0404de, #EA4335);
    box-shadow: 0 0 10px rgba(234, 67, 53, 0.6);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #1a2435;
    color: #b0b0b0;
}

/* Responsive */
@media (max-width: 768px) {
    .section-title {
        font-size: 32px;
    }

    .social-icons {
        gap: 15px;
    }

    .social-icon {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
}

/* Para pantallas muy pequeñas */
@media (max-width: 480px) {
    .logo-img {
        height: 40px;
        /* Reducido para pantallas muy pequeñas */
    }

    .hero {
        padding: 100px 0 50px;
        /* Ajustado para header compacto */
    }

    .section-title {
        font-size: 28px;
    }

    .social-icons {
        gap: 10px;
    }

    .social-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}

.carousel-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.course-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.course-card {
    flex: 0 0 calc(33.333% - 20px);
    /* muestra 3 cursos */
    margin: 0 10px;
    padding: 20px;
    box-sizing: border-box;
    border-radius: 10px;
    background: #111;
    color: #fff;
    text-align: center;
    transition: transform 0.5s ease, opacity 0.5s ease;
    opacity: 0.5;
    transform: scale(0.8);
    /* lateral más pequeño */
}

/* Curso central */
.course-card.active {
    transform: scale(1);
    opacity: 1;
}

.course-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
    background-color: #000;
    /* opcional: fondo si hay espacio */
    display: flex;
    justify-content: center;
    align-items: center;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Captcha */

.captcha-container {
    display: flex;
    justify-content: center;
    /* Centra horizontalmente */
    margin-top: 10px;
    /* Espacio opcional sobre el captcha */
}

#formMessage {
    text-align: center;
    margin-top: 15px;
    font-size: 16px;
    min-height: 24px;
    /* asegura espacio incluso si no hay texto */
    transition: all 0.3s ease;
}

/*Botón spinner*/
.button-spinner {
    border: 2px solid #fff;
    /* borde del spinner */
    border-top: 2px solid #00d4ff;
    /* parte giratoria */
    border-radius: 50%;
    width: 16px;
    height: 16px;
    animation: spin 0.8s linear infinite;
    display: inline-block;
    vertical-align: middle;
    margin-right: 8px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}



/* Carta Flip */

.feature-card {
    perspective: 1000px;
    cursor: pointer;
    display: inline-block;
}

.feature-card-inner {
    width: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    display: grid;
    /* permite superponer front y back */
}

.feature-card.flipped .feature-card-inner {
    transform: rotateY(180deg);
}

.feature-card-front,
.feature-card-back {
    grid-area: 1 / 1;
    /* se superponen exactamente */
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.feature-card-back {
    transform: rotateY(180deg);
}

.feature-card:hover .feature-card-inner {
    transform: rotateY(180deg);
}










/*CIBERSEGURIDAD*/
/* ===== Hero Section ===== */
.hero-section {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90%;
    height: calc(100vh - 80px); /* Ajuste para eliminar scroll */
    padding: 50px 0;
    margin-top: 0; /* ya se ajusta en height */
    position: relative;
    z-index: 1;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at center, rgba(255, 0, 0, 0.1) 0%, transparent 70%),
        repeating-linear-gradient(0deg, rgba(255, 0, 0, 0.05) 0px, transparent 1px, transparent 10px),
        repeating-linear-gradient(90deg, rgba(255, 0, 0, 0.05) 0px, transparent 1px, transparent 10px);
    background-size: cover;
    opacity: 0.9;
    filter: brightness(0.6);
    z-index: -1;
    transform: none;
    animation: background-pulse 10s infinite alternate;
}


@keyframes background-pulse {
    from { opacity: 0.7; }
    to { opacity: 1; }
}

.left-content {
    width: 45%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-right: 5%;
}

.lottie-container {
    width: 450px;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gif-placeholder {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.right-content {
    width: 55%;
    padding-left: 20px;
}

.haxof-group {
    display: inline-block;
    border: 1px solid #ffffff;
    padding: 10px 20px;
    margin-bottom: 25px;
    font-size: 16px;
    letter-spacing: 3px;
    font-weight: 400;
}

.hero-section h1 {
    font-size: 10vw;
    font-weight: 700;
    line-height: 0.85;
    color: #ffffff;
    text-shadow:
        0 0 5px rgba(255, 0, 0, 0.8),
        0 0 10px rgba(255, 0, 0, 0.8),
        0 0 30px #ff0000,
        0 0 60px #ff0000,
        0 0 100px #ff0000;
    margin: 0;
    padding: 0;
    white-space: nowrap;
}

.hero-section h1 br { 
    line-height: 0; 
}

.tagline {
    font-size: 1.4em;
    font-weight: 100;
    color: #ccc;
    margin-top: 40px;
    line-height: 1.6;
    max-width: 80%;
}




/* =========================================
   HAXOF CONTACTO - VERSION ACTUALIZADA
   Fondo principal: #0a0e17
   ========================================= */

/* ===== FONDO GENERAL ===== */

main {
    background-color: #0a0e17;
}

.contact-section {
    padding-top: 140px;
    padding-bottom: 80px;
    background-color: #0a0e17;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
}

/* ===== CONTENEDOR ===== */

.contact-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
}

/* =========================================
   COLUMNA IZQUIERDA
   ========================================= */

.contact-info {
    flex: 1;
    min-width: 300px;
    padding-top: 10px;
}

.contact-title {
    font-size: 4.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 1;
    letter-spacing: -1px;
}

.contact-desc {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 60px;
    color: #d6d6d6;
    max-width: 420px;
}

/* ===== BLOQUE TELEFONO / EMAIL ===== */

.detail-item {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}

.detail-text {
    text-align: left;   /* ahora el texto debe alinearse a la izquierda */
    margin-right: 0;
}

.detail-text .label {
    display: block;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    margin-bottom: 6px;
    color: #ffffff;
}

.detail-text .value {
    display: block;
    font-size: 1.4rem;
    font-weight: 600;
    color: #ffffff;
}

/* Línea vertical */
.detail-line {
    width: 2px;
    height: 60px;
    background-color: rgba(255,255,255,0.3);
    margin-left: 25px;   /* antes margin-right */
    margin-right: 25px;  /* agrega separación hacia el texto */
}
/* Icono */
.detail-icon {
    font-size: 1.6rem;
    border: 1px solid rgba(255,255,255,0.4);
    width: 50px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: rgba(255,255,255,0.05);
    transition: all 0.3s ease;
}

.detail-icon:hover {
    background: #00d4ff;
    color: #0a0e17;
    border-color: #00d4ff;
}

/* =========================================
   COLUMNA DERECHA - FORMULARIO
   ========================================= */

.contact-form-card {
    flex: 1;
    min-width: 350px;
    background-color: #ffffff;
    border-radius: 30px;
    padding: 50px 40px;
    color: #000;
}

.contact-form-card h3 {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: #000;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 8px;
    color: #000;
}

/* INPUTS */

.form-group input {
    width: 100%;
    height: 50px;
    padding: 0 20px;
    border: 3px solid #9d00ff;
    border-radius: 50px;
    font-size: 1rem;
    background-color: #fff;
    outline: none;
    box-sizing: border-box;
    transition: box-shadow 0.3s ease;
}

.form-group input:focus {
    box-shadow: 0 0 15px rgba(157, 0, 255, 0.3);
}

/* TEXTAREA */

.contact-form-card textarea {
    width: 100%;
    padding: 12px 15px;
    font-size: 16px;
    border: 3px solid #9d00ff;
    border-radius: 20px;
    background-color: #fff;
    color: #333;
    resize: none;
    transition: box-shadow 0.3s ease;
}

.contact-form-card textarea:focus {
    box-shadow: 0 0 15px rgba(157, 0, 255, 0.3);
    outline: none;
}

/* CAPTCHA */

.captcha-container {
    display: flex;
    justify-content: center;
    margin: 25px 0;
}

/* BOTÓN */

.btn-submit {
    width: 100%;
    height: 55px;
    background: linear-gradient(90deg, #7b00ff 0%, #a200ff 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-submit:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 25px rgba(123, 0, 255, 0.4);
}

/* =========================================
   RESPONSIVE
   ========================================= */

@media (max-width: 900px) {

    .contact-wrapper {
        flex-direction: column;
        gap: 50px;
    }

    .contact-title {
        font-size: 3rem;
    }

    .detail-text {
        text-align: left;
    }

}



/*CARRUCEL TALENTOS */

/* ===== CONTENEDOR ===== */

.carousel-wrapper{
    position: relative;
    max-width: 850px;   /* 🔥 menos ancho */
    margin: 60px auto;
    cursor: pointer;
}

.carousel{
    position: relative;
    overflow: hidden;
    height: 480px;   /* 🔥 más alto */
}

/* ===== SLIDES ===== */

.slide{
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ===== TARJETA ===== */

.slide-content{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 50px 45px;
    border-radius: 22px;
    background: linear-gradient(135deg,#0f2027,#203a43,#2c5364);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    color: white;
    transform: translateX(60px);
    opacity: 0;
    transition: all 0.5s ease;
}

/* Slide activo */
.slide.active{
    opacity: 1;
}

.slide.active .slide-content{
    transform: translateX(0);
    opacity: 1;
}

/* Animación salida */
.slide.exit-left .slide-content{
    transform: translateX(-60px);
    opacity: 0;
}

.slide.exit-right .slide-content{
    transform: translateX(60px);
    opacity: 0;
}

/* ===== IMAGEN ===== */

.slide-img img{
    width: 300px;   
    height: 360px;  /* 🔥 más vertical */
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.6);
}

/* ===== TEXTO ===== */

.slide-info{
    max-width: 380px;
}

.slide-info h3{
    font-size: 26px;
    margin-bottom: 12px;
}

.slide-info p{
    font-size: 16px;
    line-height: 1.6;
}


/*MISON Y VISION*/ 



.mission-vision {
    padding: 100px 0;
    background: #0a0e17; /* Fondo igual al resto del sitio */
    text-align: center;
}

.mv-wrapper {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    height: 220px;
}

.mv-card {
    position: absolute;
    width: 100%;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

.mv-card.active {
    opacity: 1;
    transform: translateY(0);
}

.mv-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 900; /* Más negrita */
    margin-bottom: 20px;
    color: #ffffff; /* Blanco sólido */
}

.mv-text {
    font-family: 'Inter', sans-serif;
    font-size: 1.35rem; /* Más grande pero menor que el título */
    color: #b0b0b0;
    line-height: 1.8;
}


/*SERVICIOS*/  


/* ===== SECCIÓN SERVICIOS ===== */

.services-section {
  padding: 100px 0;
  background: #0f172a;
  color: #00d4ff;
  text-align: center;
}

.section-header h2 {
  font-size: 38px;
  font-weight: 800;
  margin-bottom: 15px;
  font-family: "Poppins", sans-serif;
}

.section-header p {
  max-width: 700px;
  margin: 0 auto 60px;
  color: #94a3b8;
  font-size: 16px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

/* Tarjetas */
.service-card {
  background: #1e293b;
  padding: 40px 25px;
  border-radius: 12px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 255, 255, 0.2);
}

/* Icono */
.icon-box {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background: #0f172a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
}

.icon-box i {
  font-size: 28px;
  color: #38bdf8;
  transition: all 0.4s ease;
}

/* Efecto Hover Icono */
.service-card:hover .icon-box {
  background: #38bdf8;
}

.service-card:hover .icon-box i {
  color: #0f172a;
}

/* Texto */
.service-card h3 {
  font-size: 20px;
  margin-bottom: 15px;
  font-weight: 600;
}

.service-card p {
  font-size: 15px;
  color: #cbd5e1;
}