/* BITÁCORA TÉCNICA: PROYECTO ELSA JULIANA 
   VERSIÓN: LUXURY WHITE (Sincronizada con Backend)
   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);
    --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;
}

/* --- HERO & MEDIA CONTAINER --- */
#hero {
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: radial-gradient(circle at center, #f9f4ff 0%, #ffffff 80%);
    padding: 40px 20px;
}

#hero_media_container {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    line-height: 0;
    overflow: hidden;
}

#hero_media_container img, 
#hero_media_container iframe {
    width: 100%;
    height: auto;
    min-height: 400px;
    display: block;
    object-fit: cover;
    border: none;
}

.hero-tagline { 
    font-size: 1.4rem; 
    color: var(--text-muted); 
    margin: 30px 0;
    font-weight: 300;
}

/* --- SECCIONES & CONTENEDORES --- */
.section-padding { 
    padding: 100px 10%; 
    position: relative;
    overflow: hidden;
}

/* Bruma lila aplicada a secciones específicas del backend */
#multimedia.bg-light, 
#servicios.bg-light { 
    background-color: #ffffff;
    background-image: var(--bruma-lila);
} 

.container { max-width: 1200px; margin: 0 auto; position: relative; z-index: 1; }

.section-label, .section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    margin-bottom: 40px;
    color: var(--deep-morado);
    text-align: center;
}

.section-label::after, .section-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--gold-solid);
    margin: 10px auto;
}

/* --- SOBRE MÍ (Layout Dinámico) --- */
.about-grid {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-image img {
    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);
}

/* --- SERVICIOS & MULTIMEDIA CARDS --- */
.services-grid, #multi_container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.js-service-card, .video-card {
    background: #ffffff;
    padding: 45px 35px;
    border-radius: 25px;
    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);
}

.js-service-card:hover, .video-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(142, 68, 173, 0.12);
    background-image: linear-gradient(white, white), var(--card-border);
    background-origin: border-box;
    background-clip: content-box, border-box;
}

.js-service-card h4 {
    font-family: 'Playfair Display', serif;
    color: var(--deep-morado);
    font-size: 1.6rem;
    margin-bottom: 18px;
}

.gold-icon { 
    font-size: 3rem; 
    margin-bottom: 25px; 
    color: var(--gold-solid); 
    display: block;
}

/* --- TIMELINE --- */
.timeline {
    border-left: 2px solid #f0e6ff;
    padding-left: 45px;
    margin: 50px auto 0;
    max-width: 800px;
}

.js-timeline-item {
    margin-bottom: 50px;
    position: relative;
}

.js-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;
}

/* --- TESTIMONIOS & CIERRE --- */
.testimonio-section { text-align: center; padding: 80px 10%; }
.testimonio-text { font-size: 1.8rem; font-style: italic; color: var(--deep-morado); margin: 20px 0; }
.testimonio-author { color: var(--gold-solid); font-weight: 700; text-transform: uppercase; }

#cierre-emocional {
    padding: 100px 10%;
    border-radius: 40px;
    margin: 40px 5%;
}

/* --- BOTONES --- */
.btn-gold {
    padding: 18px 50px;
    background: var(--gold);
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    border-radius: 50px;
    transition: 0.4s;
    display: inline-block;
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
    border: none;
    cursor: pointer;
}

/* --- REDES SOCIALES --- */
.redes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
}

/* RESPONSIVO */
@media (max-width: 768px) {
    .about-grid { flex-direction: column; text-align: center; }
    #cierre-emocional { margin: 20px 0; border-radius: 0; }
    .testimonio-text { font-size: 1.4rem; }
}