/* BITÁCORA TÉCNICA: PROYECTO ELSA JULIANA 
   VERSIÓN: LUXURY WHITE (Integración Natural de Bruma Lila)
   PALETA: BLANCO PURO, MORADO REAL, ORO LÍQUIDO
*/

:root {
    --primary-bg: #ffffff;
    --soft-bg: #fdfbff; 
    --deep-morado: #4e1a77;
    --vibrant-morado: #8e44ad;
    --gold: linear-gradient(45deg, #d4af37, #f2d06b, #aa891c);
    --gold-solid: #d4af37;
    --text-main: #2d3436;
    --text-muted: #636e72;
    --glass-white: rgba(255, 255, 255, 0.9);
    --card-border: linear-gradient(135deg, #e0c3fc 0%, #8ec5fc 100%);
    --accent-purple: #6a11cb;
    --soft-shadow: 0 10px 30px rgba(142, 68, 173, 0.05);
    /* Nueva variable para la bruma lila que funde a blanco en las orillas */
    --bruma-lila: radial-gradient(ellipse at center, rgba(247, 240, 255, 1) 0%, rgba(255, 255, 255, 0) 70%);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--primary-bg);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- NAVEGACIÓN --- */
.glass-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 50px 20px;
    background: var(--glass-white);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(142, 68, 173, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo { 
    font-weight: 700; 
    color: var(--deep-morado); 
    letter-spacing: 2px;
    margin-bottom: 15px;
    font-size: 1.2rem;
    text-transform: uppercase;
}

.nav-menu { display: flex; list-style: none; gap: 30px; }
.nav-menu a { 
    color: var(--text-main); 
    text-decoration: none; 
    font-size: 14px; 
    font-weight: 600; 
    text-transform: uppercase; 
    letter-spacing: 1px;
    transition: 0.3s;
}
.nav-menu a:hover { color: var(--vibrant-morado); }

/* --- HERO SECTION (Integración Natural) --- */
#hero {
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    /* Efecto de luz central que se pierde hacia el blanco en los bordes */
    background: radial-gradient(circle at center, #f9f4ff 0%, #ffffff 80%);
    padding: 60px 20px;
}

.hero-content { position: relative; z-index: 2; max-width: 1000px; }

.hero-brand-full {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    line-height: 0;
    overflow: hidden;
}

.hero-brand-full img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.hero-tagline { 
    font-size: 1.4rem; 
    color: var(--text-muted); 
    margin: 30px 0;
    font-weight: 300;
}

/* --- SECCIONES CON BRUMA LILA --- */
.section-padding { 
    padding: 100px 10%; 
    position: relative;
    overflow: hidden;
}

/* Aplicamos la bruma lila como un fondo que se desvanece a blanco en las orillas */
.dark-bg { 
    background-color: #ffffff;
    background-image: var(--bruma-lila);
} 

.container { max-width: 1200px; margin: 0 auto; position: relative; z-index: 1; }

.section-label {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    margin-bottom: 40px;
    color: var(--deep-morado);
    text-align: center;
}

.section-label::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--gold-solid);
    margin: 10px auto; /* Centrado natural */
}

/* --- GRID & CARDS (Efecto Elevación) --- */
.grid-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.glass-card {
    background: #ffffff;
    padding: 45px 35px;
    border-radius: 25px;
    /* Borde casi invisible que se activa al hover */
    border: 1px solid rgba(142, 68, 173, 0.08);
    transition: 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-align: center;
    box-shadow: var(--soft-shadow);
}

.glass-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(142, 68, 173, 0.12);
    border: 1px solid transparent;
    background-image: linear-gradient(white, white), var(--card-border);
    background-origin: border-box;
    background-clip: content-box, border-box;
}

.glass-card h3 {
    font-family: 'Playfair Display', serif;
    color: var(--deep-morado);
    font-size: 1.6rem;
    margin-bottom: 18px;
}

.glass-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.gold-icon { 
    font-size: 3rem; 
    margin-bottom: 25px; 
    color: var(--gold-solid); 
    display: block;
}

/* --- BOTONES --- */
.btn-gold {
    padding: 18px 50px;
    background: var(--gold);
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    border-radius: 50px; /* Más orgánico */
    transition: 0.4s;
    display: inline-block;
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}

.btn-gold:hover { 
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 30px rgba(142, 68, 173, 0.2);
}

/* --- IMAGEN DE PERSONA --- */
.img-mask {
    width: 100%;
    max-width: 450px;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    border: 10px solid #ffffff;
    box-shadow: 0 25px 50px rgba(78, 26, 119, 0.1);
}

.flex-row { display: flex; align-items: center; gap: 60px; }

/* --- TIMELINE --- */
.timeline {
    border-left: 2px solid #f0e6ff;
    padding-left: 45px;
    margin-top: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.timeline-item {
    margin-bottom: 50px;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -54px;
    top: 6px;
    width: 16px;
    height: 16px;
    background: white;
    border: 3px solid var(--vibrant-morado);
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 0 10px rgba(142, 68, 173, 0.3);
}

.timeline-item h4 {
    font-size: 1.2rem;
    color: var(--deep-morado);
}

.timeline-item .year {
    color: var(--vibrant-morado);
    font-weight: 700;
    font-size: 0.95rem;
}

/* --- FOOTER --- */
.footer-gold { 
    background: linear-gradient(to bottom, #ffffff, #fafafa);
    border-top: 1px solid #f5f5f5; 
    padding: 80px 10% 40px; 
}

.grid-footer { 
    display: grid; 
    grid-template-columns: 2fr 1fr; 
    gap: 60px; 
    padding-bottom: 40px; 
}

.social-footer { display: flex; gap: 20px; justify-content: flex-end; }
.social-footer a { 
    color: var(--deep-morado); 
    font-size: 1.6rem; 
    transition: 0.3s; 
}
.social-footer a:hover { color: var(--gold-solid); transform: scale(1.1); }

.bottom-bar {
    text-align: center;
    padding: 30px;
    font-size: 13px;
    color: var(--text-muted);
    border-top: 1px solid #eee;
}

/* RESPONSIVO */
@media (max-width: 768px) {
    .flex-row { flex-direction: column; text-align: center; }
    .section-label { font-size: 2.2rem; }
    .grid-footer { grid-template-columns: 1fr; text-align: center; }
    .social-footer { justify-content: center; }
    .nav-menu { gap: 15px; flex-wrap: wrap; justify-content: center; }
}