/* === VARIABLES & RESET === */
:root {
    --bg-color: #050505;
    --text-color: #ffffff;
    --accent-blue: #0033ff;
    --grid-line: rgba(255, 255, 255, 0.1);
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 300; /* Light para textos generales */
    overflow-x: hidden;
    position: relative;
}

/* === ANIMACIONES === */
@keyframes scrollMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes slideUp {
    0% { opacity: 0; transform: translateY(50px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* === ELEMENTOS DE FONDO === */
.marquee-bg {
    position: fixed;
    top: 15%;
    left: 0;
    white-space: nowrap;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 25vw;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.02);
    z-index: -2;
    animation: scrollMarquee 40s linear infinite;
    pointer-events: none;
}

.grid-line-center {
    position: fixed;
    top: 0;
    left: 50%;
    width: 1px;
    height: 100vh;
    background-color: var(--grid-line);
    z-index: -1;
    pointer-events: none;
}

/* === LAYOUT PRINCIPAL === */
.container {
    padding: 40px;
    max-width: 1600px;
    margin: 0 auto;
    animation: slideUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* === NAVEGACIÓN === */
.nav-wrapper {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid var(--grid-line);
    padding-bottom: 20px;
    margin-bottom: 50px;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    font-weight: 400;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

nav a {
    color: var(--text-color);
    text-decoration: none;
    opacity: 0.5;
    transition: all 0.3s ease;
}

nav a:hover, nav a.activo {
    opacity: 1;
    color: var(--accent-blue);
}

.menu-2 ul {
    justify-content: flex-end;
}

/* === HERO SECTION === */
.hero {
    margin-bottom: 80px;
}

h1 {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 700; /* Bold */
    font-size: clamp(4rem, 12vw, 15rem);
    line-height: 0.85;
    text-transform: uppercase;
    letter-spacing: -4px; /* Súper apretado */
    margin-bottom: 20px;
}

/* El punto final azul */
.blue-dot {
    color: var(--accent-blue);
    display: inline-block;
}

.hero p {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-left: 4px solid var(--accent-blue);
    padding-left: 15px;
    font-weight: 300; /* Light */
}

/* === CONTENIDO: FOTO Y DATOS === */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    border-top: 1px solid var(--grid-line);
    padding-top: 60px;
}

.col-foto img {
    max-width: 600px;
    display: block;
    filter: grayscale(100%) contrast(120%);
    transition: filter 0.5s ease;
    margin-bottom: 30px;
    border: 1px solid var(--grid-line);
    padding: 10px;
}

.col-foto img:hover {
    filter: grayscale(0%) contrast(100%);
}

.stats-box {
    background: rgba(0, 51, 255, 0.1);
    border: 1px solid var(--accent-blue);
    padding: 20px;
    font-size: 0.85rem;
    font-weight: 400;
}

.stats-box div {
    margin-bottom: 15px;
}

.stats-box div:last-child {
    margin-bottom: 0;
}

.stats-box span {
    display: block;
    color: var(--accent-blue);
    font-weight: 700;
    font-size: 1.5rem;
}

h2 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent-blue);
    margin-bottom: 30px;
    font-weight: 700;
}

.materia-destacada {
    font-size: 1.2rem;
    border-left: 2px solid var(--accent-blue);
    padding-left: 15px;
    margin-bottom: 40px;
    font-weight: 400;
}

.materias-aprobadas-titulo {
    margin-bottom: 15px;
    opacity: 0.5;
}

.materias-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    font-size: 0.8rem;
    opacity: 0.8;
    font-weight: 300;
}

.materias-list div {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 5px;
}

/* === FOOTER === */
footer {
    margin-top: 100px;
    padding-top: 40px;
    border-top: 1px solid var(--grid-line);
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    opacity: 0.5;
    text-transform: uppercase;
    font-weight: 300;
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
    .content-grid { grid-template-columns: 1fr; }
    .nav-wrapper { flex-direction: column; gap: 20px; }
    .menu-2 ul { justify-content: flex-start; }
    footer { flex-direction: column; gap: 10px; }
    .grid-line-center { display: none; }
}
