﻿/* =========================
   RESET Y ESTILOS GENERALES
   ========================= */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    background-color: #f4f7f9;
    color: #333;
}

/* =========================
   HEADER PRINCIPAL
   ========================= */
.header {
    width: 100%;
    min-height: 100vh; /* Pantalla completa en móvil */
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* =========================
   CONTENEDOR HEADER
   ========================= */
.header-container {
    width: 100%;
    max-width: 1400px;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* =========================
   LOGOS
   ========================= */
.logo img {
    max-width: 100%;
    display: block;
}

/* Logo UAT (más grande) */
.logo.left img {
    height: 12.5rem;
}

/* Logo FCAV (más pequeño) */
.logo.right img {
    height: 7rem;
}

/* =========================
   TÍTULO
   ========================= */
.title-container {
    flex: 1;
    text-align: center;
}

h1 {
    font-size: clamp(1.4rem, 3vw, 2.5rem);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.2;
}

/* =========================
   SEPARADOR INFERIOR
   ========================= */
.header::after {
    content: '';
    position: absolute;
    bottom: 1.5rem;
    width: 90%;
    max-width: 1200px;
    height: 2px;
    background: linear-gradient(to right, #0056b3, #008cba, #0056b3);
    opacity: 0.7;
}

/* =========================
   RESPONSIVE - MÓVIL
   ========================= */
@media (max-width: 768px) {

    .header {
        padding: 1rem;
    }

    .header-container {
        flex-direction: column;
        justify-content: center;
        gap: 1.5rem;
        padding: 1.5rem;
    }

    /* Logos en móvil */
    .logo.left img {
        height: 9.5rem;
    }

    .logo.right img {
        height: 5.2rem;
    }

    h1 {
        font-size: 1.3rem;
        line-height: 1.3;
    }

    .header::after {
        bottom: 1rem;
    }
}