:root {
    --azul: #003B7A;
    --azul-claro: #0054A6;
    --rojo: #C8102E;
    --gris: #f5f7fb;
    --negro-transparent: rgba(0, 0, 0, 0.65);
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

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

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    background-color: #fff;
}

.container {
    width: 90%;
    max-width: 1400px;
    margin: auto;
}

/* Navbar Transparente */
header.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: linear-gradient(to bottom, rgba(0,0,0,0.8), transparent);
    transition: background 0.3s ease;
	max-width: 100%;
    box-sizing: border-box;
    padding: 10px 15px; /* Evita que el contenido toque las orillas */
}

header.navbar.scrolled {
    background: var(--azul);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.menu {
    display: flex;
    gap: 30px;
    list-style: none;
}

.menu a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: color 0.2s;
}

.menu a:hover {
    color: var(--rojo);
}

.menu-mobile {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}




@keyframes blink {
    50% { border-color: transparent; }
}

.btn-primary {
    background: var(--rojo);
    color: white;
    padding: 14px 32px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: transform 0.2s, background 0.2s;
}

.btn-primary:hover {
    transform: translateY(-3px);
    background: #a00c23;
}

/* Sección ¿Qué querés estudiar? */
.section {
    padding-top: 25px; /* Reducimos el espacio superior */
    padding-bottom: 10px;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    color: var(--azul);
    margin-bottom: 25px;
}

.subsection-title {
    font-size: 1.8rem;
    margin: 40px 0 20px 0;
    color: #444;
    border-left: 5px solid var(--rojo);
    padding-left: 15px;
}

/* ==========================================
   TABLETS Y PANTALLAS MEDIANAS (hasta 992px)
   ========================================== */
@media (max-width: 992px) {
    /* Grillas de 3 o 4 columnas pasan a 2 columnas */
    .ingreso-steps-grid,
    .showcase-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .cta-banner h3 {
        font-size: 1.5rem;
    }
}

/* ==========================================
   CELULARES (hasta 768px)
   ========================================== */
@media (max-width: 768px) {
    /* Pasar grillas a una sola columna */
    .ingreso-steps-grid,
    .showcase-grid,
    .ingreso-highlights {
        grid-template-columns: 1fr;
    }

    /* Ajuste de botones en la tarjeta de ingreso */
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn-cta-primary,
    .btn-cta-secondary {
        width: 100%;
        text-align: center;
    }

    /* Tipografías adaptables */
    h1, .section-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    h1, .section-title {
        font-size: 1.8rem;
    }
}