/* ==========================================================================
   RESET Y VARIABLES
   ========================================================================== */
:root {
    --neon-green: #00ff66;
    --text-white: #ffffff;
    --bg-dark: #000000;
    --bg-section: #1a1a1a;
    --font-main: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

ul, li { list-style: none !important; }
a { text-decoration: none; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-white);
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.text-center { text-align: center; }

/* ==========================================================================
   CABECERA
   ========================================================================== */
.header {
    background-color: var(--bg-dark);
    padding: 15px 0;
    position: relative;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img { height: 120px; }

.main-nav { display: flex; align-items: center; gap: 40px; }
.nav-links { display: flex; align-items: center; gap: 15px; }

.nav-link, .nav-separator {
    color: var(--text-white);
    font-weight: 700;
    font-size: 1.3rem;
    transition: color 0.3s;
}

.nav-link:hover { color: var(--neon-green); }

.social-icons { display: flex; gap: 15px; }
.social-icons a {
    background-color: var(--text-white); color: var(--bg-dark);
    width: 38px; height: 38px; display: flex; justify-content: center; align-items: center;
    border-radius: 50%; font-size: 1.1rem; transition: all 0.3s ease;
}
.social-icons a:hover { background: var(--neon-green); transform: scale(1.1); }
.menu-toggle { display: none; }

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero { min-height: 90vh; display: flex; align-items: center; padding: 60px 0; }
.hero-container { display: flex; justify-content: space-between; align-items: center; width: 100%; gap: 60px; }

.hero-left {
    flex: 1; display: flex; flex-direction: column; align-items: center;
    text-align: center; max-width: 550px;
}

.img-egresados { width: 100%; max-width: 500px; margin-bottom: 25px; }
.hero-subtitle { font-size: 1.6rem; font-weight: 500; line-height: 1.3; margin-bottom: 25px; }
.hero-tagline { font-size: 1.9rem; font-weight: 700; margin-bottom: 35px; }
.hero-footer-text { font-size: 1.3rem; font-weight: 700; margin-top: 30px; word-spacing: 2px; }

.btn-whatsapp-hero {
    display: flex; align-items: center; background-color: var(--neon-green);
    color: #000; padding: 8px 30px 8px 10px; border-radius: 50px;
    width: 100%; max-width: 480px; transition: transform 0.3s, box-shadow 0.3s;
}
.btn-whatsapp-hero .btn-icon {
    background-color: #fff; color: var(--neon-green); width: 55px; height: 55px;
    border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 2rem;
}
.btn-whatsapp-hero .btn-text { flex: 1; text-align: center; font-size: 2rem; font-weight: 900; }
.btn-whatsapp-hero:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(0, 255, 102, 0.4); }

.hero-right { flex: 1; display: flex; justify-content: center; align-items: center; gap: 40px; }
.hero-video-wrapper {
    position: relative; width: 100%; max-width: 380px; aspect-ratio: 9 / 15.5;
    border-radius: 15px; overflow: hidden; background-color: #000; box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.play-btn-overlay {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    background-color: #55b4ff; width: 85px; height: 55px; border-radius: 10px;
    display: flex; justify-content: center; align-items: center; color: white;
    font-size: 2rem; z-index: 10; cursor: pointer; transition: transform 0.3s;
}
.play-btn-overlay:hover { transform: translate(-50%, -50%) scale(1.1); }
.video-poster { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: 2; transition: opacity 0.4s; }
.hero-video-element { width: 100%; height: 100%; object-fit: cover; }
.img-2026 { width: 100px; }


/* ==========================================================================
   OPCIONES (SIN ENMASCARAR - PNG COMPLETOS)
   ========================================================================== */
.opciones { background-color: #ffffff; color: #000; padding: 120px 0; }
.opcion-row { display: flex; align-items: center; justify-content: center; gap: 120px; margin-bottom: 120px; }
.opcion-text { flex: 1; max-width: 480px; text-align: left; }
.img-title { max-width: 400px; margin-bottom: 25px; }

.opcion-text p {
    font-weight: 800; font-size: 1.65rem; line-height: 1.15; color: #000; letter-spacing: -0.5px;
}

.opcion-image {
    display: flex; flex-direction: column; align-items: center;
}

/* El wrapper ahora solo da un tamaño base, NO corta la imagen */
.circulo-wrapper {
    width: 100%; max-width: 450px; /* Tamaño grande para que se vea bien el PNG */
    cursor: pointer; transition: transform 0.4s ease;
}
.circulo-wrapper:hover { transform: scale(1.05); }

/* La imagen carga nativa con sus propias transparencias */
.img-circulo {
    width: 100%; height: auto; display: block;
}

.opcion-image span {
    font-size: 1.3rem; 
    font-weight: 800; 
    margin-top: 25px; 
    color: #000;
    transform: translateX(-55px); /* Empuja el texto a la izquierda para centrarlo al círculo */
}


/* ==========================================================================
   2027, GALERIA, MAPA Y EXTRAS
   ========================================================================== */
.voy-2027 { background-color: var(--bg-section); padding: 100px 0; }
.title-2027 { font-size: 2.8rem; font-weight: 900; }
.subtitle-2027 { font-size: 1.1rem; margin-bottom: 50px; }
.cards-2027 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cards-2027 img { border-radius: 15px; }

.btn-whatsapp {
    display: inline-flex; align-items: center; gap: 10px;
    background-color: var(--neon-green); color: #000;
    padding: 12px 35px; border-radius: 30px; font-weight: 700; font-size: 1.1rem;
    transition: transform 0.3s;
}
.btn-whatsapp:hover { transform: translateY(-3px); }
.center-btn { margin: 40px auto; }

.te-mostramos { background-color: #ffffff; color: #000; padding: 100px 0; }
.mostramos-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 50px; }
.mostramos-header h2 { font-weight: 900; font-size: 2.5rem; text-align: left; line-height: 1.1; }
.img-2026-small { width: 80px; }

.galeria-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 15px; position: relative; }
.galeria-item { aspect-ratio: 1 / 1; border-radius: 8px; overflow: hidden; cursor: none; }
.galeria-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.galeria-item:hover img { transform: scale(1.15); }

#custom-cursor {
    position: fixed; background-color: rgba(255,255,255,0.95); color: #000;
    padding: 8px 15px; border-radius: 20px; font-size: 0.8rem; font-weight: 700;
    pointer-events: none; z-index: 9999; opacity: 0; transform: translate(-50%, -100%);
}
#custom-cursor.visible { opacity: 1; }

/* MAPA CENTRADO */
.mapa-seccion { background-color: var(--bg-section); padding: 80px 0; }
.mapa-img { 
    margin: 0 auto; /* Esto centra el mapa perfectamente */
    border-radius: 15px; 
    display: block;
}

/* ==========================================================================
   FOOTER (IDÉNTICO A LA CAPTURA)
   ========================================================================== */
.footer { 
    background-color: #111111; /* Gris súper oscuro */
    padding: 40px 0; 
}

.footer-container { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    gap: 40px; 
}

/* Mapa izquierda */
.mapa-miniatura { 
    width: 100%; 
    max-width: 250px; /* Tamaño del mapa acorde al diseño */
    border-radius: 12px; 
}

/* Textos Centro */
.footer-info { 
    flex: 1; 
    text-align: left; /* Alineado a la izquierda según boceto */
}

.footer-encontranos {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.footer-direccion, .footer-provincia {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

/* Logo derecha (más chico) */
.footer-logo img { 
    width: 100%;
    max-width: 180px; /* Logo más pequeño como solicitaste */
}


#scrollTopBtn {
    position: fixed; bottom: 30px; right: 30px; background-color: var(--neon-green);
    color: #000; border: none; width: 45px; height: 45px; border-radius: 50%;
    font-size: 1.2rem; cursor: pointer; display: none; z-index: 999;
}

/* LIGHTBOX */
.lightbox {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.95); display: flex; justify-content: center; align-items: center;
    z-index: 10000; visibility: hidden; opacity: 0; transition: visibility 0.4s, opacity 0.4s;
}
.lightbox.active { visibility: visible; opacity: 1; }
.lightbox-content { max-width: 90%; max-height: 90vh; display: flex; justify-content: center; }
.lightbox-img { max-width: 100%; max-height: 90vh; border-radius: 8px; transform: scale(0.9); transition: transform 0.4s; }
.lightbox.active .lightbox-img { transform: scale(1); }
.close-lightbox { position: absolute; top: 25px; right: 35px; color: white; font-size: 45px; cursor: pointer; z-index: 10001; }
.lightbox-prev, .lightbox-next {
    position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.1);
    border: none; color: white; font-size: 2rem; cursor: pointer; width: 60px; height: 60px;
    border-radius: 50%; display: none;
}
.lightbox-prev:hover, .lightbox-next:hover { background: var(--neon-green); color: #000; }
.lightbox-prev { left: 40px; } .lightbox-next { right: 40px; }


/* ==========================================================================
   MEDIA QUERIES (MÓVIL)
   ========================================================================== */
@media (max-width: 992px) {
    .hero-container { flex-direction: column; text-align: center; }
    .hero-right { margin-top: 40px; }
    .opcion-row { gap: 50px; }
    .circulo-wrapper { max-width: 350px; }
    .cards-2027 { grid-template-columns: repeat(2, 1fr); gap: 30px; }
    .footer-container { flex-direction: column; text-align: center; gap: 30px; }
    .footer-info { text-align: center; }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block; background: none; border: none; cursor: pointer; z-index: 1001;
    }
    .menu-toggle span {
        display: block; width: 28px; height: 3px; background-color: var(--text-white);
        margin: 6px 0; transition: 0.4s;
    }
    
    .main-nav {
        position: fixed; top: 0; right: -100%; width: 100vw; height: 100vh;
        background: rgba(18, 18, 18, 0.98); flex-direction: column; justify-content: center;
        transition: right 0.4s ease;
    }
    .main-nav.active { right: 0; }
    .nav-links { flex-direction: column; align-items: center; gap: 40px; }
    .nav-separator { display: none; }
    .nav-link { font-size: 2rem; }

    .menu-toggle.active span:nth-child(1) { transform: rotate(-45deg) translate(-6px, 6px); }
    .menu-toggle.active span:nth-child(2) { opacity: 0; }
    .menu-toggle.active span:nth-child(3) { transform: rotate(45deg) translate(-6px, -6px); }

    .opcion-row { flex-direction: column; text-align: center; gap: 40px; }
    .opcion-text { text-align: center; }
    .circulo-wrapper { max-width: 300px; margin: 0 auto; }
    
    .mostramos-header { flex-direction: column; text-align: center; gap: 20px; }
    .mostramos-header h2 { text-align: center; font-size: 2rem; }
    .galeria-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    
    #custom-cursor { display: none !important; }
    .galeria-item { cursor: pointer; }
    .lightbox-prev, .lightbox-next { display: none !important; }
    
    .footer-direccion, .footer-provincia { font-size: 1.4rem; }

    .opcion-image span {
        transform: translateX(-35px); /* Ajuste proporcional para celulares */
    }
}