:root {
    --primary-blue: #05123e;    /* Azul Institucional GCLA */
    --accent-red: #c90d24;     /* Rojo Institucional GCLA */
    --white: #ffffff;
    --gray-bg: #f4f7f6;
    --text-dark: #333;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
}

h1, h2, h3, .playfair {
    font-family: 'Playfair Display', serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    background: var(--primary-blue);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main-logo {
    height: 60px;
    filter: brightness(1.1);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 25px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--accent-red);
}

.btn-contact {
    background: var(--accent-red);
    padding: 10px 25px;
    border-radius: 50px;
    border: 2px solid var(--accent-red);
}

.btn-contact:hover {
    background: transparent;
    color: white;
}

/* HERO SECTION */
.hero {
    height: 70vh;
    min-height: 500px;
    background: url('img/campus.webp') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    color: white;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(5, 18, 62, 0.7); /* Capa azul institucional translúcida */
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* GRID & CARDS */
.grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 80px 0;
}

.card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: var(--transition);
    border-top: 5px solid var(--primary-blue);
}

.card:hover {
    transform: translateY(-10px);
    border-top-color: var(--accent-red);
}

.card-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    display: block;
}

/* FORMULARIOS */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    background: white;
    padding: 50px;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    margin: 60px 0;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary-blue);
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-family: inherit;
    transition: 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(5, 18, 62, 0.1);
}

.submit-btn {
    background: var(--primary-blue);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 10px;
    font-weight: 700;
    width: 100%;
    cursor: pointer;
    transition: 0.3s;
}

.submit-btn:hover {
    background: var(--accent-red);
}

/* REDES SOCIALES */
.social-icons-container {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-icon.fb { background-color: #1877F2; }
.social-icon.ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.social-icon.wa { background-color: #25D366; }

.social-icon:hover {
    transform: scale(1.1);
}

/* FOOTER */
.footer {
    background: var(--primary-blue);
    color: white;
    padding: 40px 0;
    text-align: center;
}

/* RESPONSIVO */
@media (max-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        padding: 30px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .nav-toggle {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
    }
    
    .nav-toggle span {
        width: 25px;
        height: 3px;
        background: white;
    }
}