@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800&family=Playfair+Display:wght@700;800&display=swap');

:root {
    --color-principal: #0A117C;
    --color-acento: #00ce85;
    --color-fondo: #f4f7f9;
    --color-blanco: #ffffff;
    --shadow-soft: 0 10px 30px rgba(0,0,0,0.08);
    --shadow-hover: 0 25px 50px rgba(10, 17, 124, 0.2);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Reset y Base */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { overflow-x: hidden; width: 100%; scroll-behavior: smooth; }
img { max-width: 100%; height: auto; display: block; }

body { background-color: var(--color-fondo); color: #1e272e; font-family: 'Inter', sans-serif; line-height: 1.6; }

/* Navbar */
nav { background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); padding: 15px 0; position: sticky; top: 0; z-index: 1000; box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
.nav-contenedor { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 0 20px; }
.logo-contenedor img { max-height: 65px; transition: var(--transition); filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1)); }

.menu a { text-decoration: none; color: var(--color-principal); font-weight: 700; font-size: 0.85rem; text-transform: uppercase; margin-left: 20px; }

/* Efecto Hover Maestro */
.efecto-hover {
    background: var(--color-blanco);
    border-radius: 30px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.02);
}
.efecto-hover:hover { transform: translateY(-15px); box-shadow: var(--shadow-hover); }

/* Secciones */
section { padding: 100px 20px; max-width: 1200px; margin: 0 auto; }
.titulo-lujo { font-family: 'Playfair Display', serif; font-size: 2.8rem; color: var(--color-principal); margin-bottom: 50px; text-align: center; }

/* Biografía */
.perfil-grid { display: flex; flex-wrap: wrap; gap: 60px; align-items: center; }
.foto-perfil { width: 100%; border-radius: 30px; box-shadow: 20px 20px 0 var(--color-acento); transition: var(--transition); }
.foto-perfil:hover { transform: translate(-5px, -5px); box-shadow: 25px 25px 0 var(--color-principal); }

/* Línea de Tiempo Académica */
.timeline { display: grid; gap: 30px; margin-top: 40px; }
.timeline-card { padding: 40px; border-left: 8px solid var(--color-principal); }
.timeline-card h3 { color: var(--color-principal); margin-bottom: 10px; }
.timeline-card span { color: var(--color-acento); font-weight: 800; font-size: 0.9rem; text-transform: uppercase; }

/* Grids */
.grid-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; width: 100%; }
.card-info { padding: 50px 40px; text-align: center; border-top: 8px solid var(--color-acento); }
.card-info i { font-size: 3.5rem; color: var(--color-principal); margin-bottom: 25px; }

/* Proceso */
.bg-azul { background: var(--color-principal); color: white; border-radius: 60px; margin: 40px 20px; }
.step-card { padding: 50px 40px; text-align: center; }
.step-num { font-size: 5rem; font-weight: 800; color: var(--color-acento); line-height: 1; margin-bottom: 15px; }

/* Contacto */
.contacto-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 50px; }
.rrss-item { padding: 25px; display: flex; align-items: center; gap: 20px; text-decoration: none; color: var(--color-principal); font-weight: 700; }
.rrss-item:hover { background: var(--color-principal); color: white; }

/* Hero */
.hero { background: linear-gradient(135deg, #0A117C 0%, #05083d 100%); color: white; padding: 140px 20px; text-align: center; }
.hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(2.5rem, 6vw, 4rem); margin-bottom: 20px; }

/* WhatsApp */
.float-wa { position: fixed; bottom: 30px; right: 30px; background: #25d366; color: white; width: 70px; height: 70px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 35px; box-shadow: 0 10px 25px rgba(0,0,0,0.2); z-index: 2000; text-decoration: none; transition: var(--transition); }
.float-wa:hover { transform: scale(1.1) rotate(10deg); }

@media (max-width: 900px) { .menu { display: none; } .perfil-grid { flex-direction: column; text-align: center; } }