/* --- CONFIGURACIÓN GENERAL --- */
:root {
    --primary: #2563eb;
    --dark: #1e293b;
    --light: #f8fafc;
    --itssat-green: #008000;
    --white: #ffffff;
    --text-gray: #64748b;
    --footer-bg: #004d26; 
    --neon-green: #00FF00;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', sans-serif;
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- NAVEGACIÓN (STICKY TOP) --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 8%;
    height: 80px;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
}

.logo img { height: 45px; }
.logo span { color: var(--itssat-green); }

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
}

.btn-registro {
    background: var(--itssat-green);
    color: var(--white) !important;
    padding: 10px 22px;
    border-radius: 8px;
}

/* --- OCULTO POR DEFECTO EN COMPUTADORAS Y LAPTOPS --- */
.checkbtn {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    width: 30px;
}

.checkbtn span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--dark);
    border-radius: 2px;
}

#check { display: none; }

/* --- LOGOTIPOS INSTITUCIONALES --- */
.top-logos {
    background-color: var(--white);
    padding: 15px 8%;
    border-bottom: 1px solid #eee;
    width: 100%;
}

.logos-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.logos-container img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* --- HERO SECTION --- */
.hero {
    background: linear-gradient(rgba(15, 23, 42, 0.6), rgba(15, 23, 42, 0.6)), 
                url('../img/tecnm.jpeg') no-repeat center center;
    background-size: cover;
    color: var(--white);
    padding: 120px 5%;
    text-align: center;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero h1 { 
    font-size: 3rem; 
    margin-bottom: 20px; 
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5); 
}

/* --- FEATURES & STEPS --- */
.features { 
    padding: 80px 8% 20px; 
    text-align: center; 
}

.how-it-works { 
    padding: 20px 8% 80px; 
    text-align: center; 
}

.features-grid, .steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-item, .step-card {
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--itssat-green);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-weight: bold;
}

/* --- CTA & FOOTER --- */
.cta-section { padding: 80px 8%; text-align: center; background: white; }

.btn-secondary {
    display: inline-block;
    margin-top: 20px;
    padding: 15px 40px;
    border: 2px solid var(--itssat-green);
    color: var(--itssat-green);
    text-decoration: none;
    font-weight: bold;
    border-radius: 10px;
    transition: 0.3s;
}

.btn-secondary:hover {
    background: var(--itssat-green);
    color: white;
}

footer {
     background: var(--footer-bg);[cite: 2]
     color: white; 
     padding: 40px 8%; 
     text-align: center; 
}

.face {
    color: var(--neon-green);[cite: 2]
    text-decoration: none;
    font-weight: bold;
}

.face:hover {
    text-decoration: underline;
}

/* --- MOBILE (AJUSTADO A 950px PARA CELULARES) --- */
@media (max-width: 950px) {
    .checkbtn { 
        display: flex !important; 
        flex-direction: column;
        gap: 5px;
        width: 30px;
        cursor: pointer;
    }

    .checkbtn span {
        display: block;
        width: 100%;
        height: 3px;
        background-color: var(--dark);
        border-radius: 2px;
    }
    
    .nav-links {
        position: fixed;
        width: 100%; 
        height: calc(100vh - 80px);
        background: white; 
        top: 80px; 
        left: -100%;
        flex-direction: column; 
        align-items: center;
        justify-content: flex-start;
        padding-top: 40px; 
        transition: 0.3s ease;
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
    }

    .nav-links li {
        margin: 15px 0;
        width: 80%;
        text-align: center;
    }

    .nav-links a {
        display: block;
        padding: 12px;
        font-size: 1.2rem;
    }

    .btn-registro {
        display: inline-block !important;
        width: 100%;
        text-align: center;
    }

    #check:checked ~ .nav-links { 
        left: 0; 
    }
}