/* Variables del Sistema de Diseño */
:root {
    --bg-color: #001F3F;
    /* Azul Oxford Profundo */
    --text-primary: #FFFFFF;
    /* Blanco */
    --text-accent: #89CFF0;
    /* Azul Glaciar */
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --max-width: 1100px;
}

/* Reset y Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-color);
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 720px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

.name-brand {
    font-size: clamp(2.5rem, 10vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    word-spacing: 0.15em;
    margin-bottom: 20px;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text-accent);
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-weight: 400;
}

/* Utilitario Mobile Break */
.mobile-break {
    display: block;
}

@media (min-width: 768px) {
    .mobile-break {
        display: none;
    }
}

/* Sección de Información */
.info-section {
    min-height: 100vh;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 60px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.academic-highlight {
    border-left: 2px solid var(--text-accent);
    padding-left: 30px;
    margin-bottom: 80px;
}

.academic-highlight h2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 300;
    color: var(--text-primary);
    line-height: 1.35;
}

.academic-highlight b {
    font-weight: 700;
    display: block;
}

/* Grid de Contacto Nativo */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 60px;
}

@media (min-width: 768px) {
    .info-section {
        padding: 100px 40px;
    }
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.contact-item h3 {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-accent);
    margin-bottom: 15px;
}

.contact-item p,
.contact-item a {
    font-size: 0.95rem;
    color: var(--text-primary);
    text-decoration: none;
    display: block;
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--text-accent);
    transform: translateX(5px);
}

/* Footer */
footer.site-footer {
    padding: 40px;
    text-align: center;
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.2);
    text-transform: uppercase;
}

/* Animación simple de entrada */
.fade-in {
    animation: fadeIn 1.5s ease forwards;
}

/* Efecto stagger igualado: cada bloque entra con una pequeña diferencia */
.stagger-item {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 1.15s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.stagger-1 { animation-delay: 0.12s; }
.stagger-2 { animation-delay: 0.32s; }
.stagger-3 { animation-delay: 0.18s; }
.stagger-4 { animation-delay: 0.28s; }
.stagger-5 { animation-delay: 0.38s; }
.stagger-6 { animation-delay: 0.48s; }
.stagger-7 { animation-delay: 0.58s; }
.stagger-8 { animation-delay: 0.72s; }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .fade-in,
    .stagger-item {
        animation: none !important;
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 767px) {
    .hero {
        min-height: 720px;
    }

    .name-brand {
        font-size: clamp(2.5rem, 10vw, 5rem);
    }

    .subtitle {
        font-size: 1.25rem;
    }
}

@media (max-width: 430px) {
    .hero {
        min-height: 650px;
    }

    .subtitle {
        letter-spacing: 0.22em;
    }
}
