/*
 Theme Name: Laura Avenza Child
 Template: astra
 Description: Tema personalizado para Laura Avenza
 Version: 1.2.0 (Hero Fix + Text Animation)
*/

/* =========================================
   VARIABLES
   ========================================= */
:root {
    /* Paleta Original */
    --color-coral: #FF6B6B;
    --color-mint: #4ECDC4;
    
    /* Nuevos Colores Modernos / Púrpura PRO */
    --color-purple: #6C63FF;
    --color-purple-dark: #5a52d5;
    --color-purple-light: #F3F0FF;
    
    --color-dark: #2D3142;
    --color-light: #F8F9FA;
    --color-white: #ffffff;
    
    --font-main: 'Montserrat', sans-serif;
    --container-width: 1140px;
    --header-height: 80px;
    --shadow-hover: 0 20px 40px rgba(108, 99, 255, 0.2); 
}

html { scroll-behavior: smooth; }
body {
    font-family: var(--font-main);
    color: var(--color-dark);
    line-height: 1.6;
    margin: 0; padding: 0;
    background-color: var(--color-white);
}

/* Utilidades Generales */
ul { list-style: none; padding: 0; margin: 0; }
a { text-decoration: none; transition: 0.3s; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: var(--container-width); margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 100px 0; }
.text-center { text-align: center; }

/* Tipografía */
h1, h2, h3, h4 { font-weight: 800; line-height: 1.2; margin-bottom: 1rem; letter-spacing: -0.5px; }

.section-title { text-align: center; max-width: 700px; margin: 0 auto 60px; }
.section-title h2 { font-size: 2.8rem; color: var(--color-dark); }
.section-title p { color: #666; font-size: 1.15rem; margin-top: 15px; }

/* Botones */
.btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}
.btn-primary {
    background: var(--color-purple);
    color: white;
    box-shadow: 0 10px 20px rgba(108, 99, 255, 0.3);
}
.btn-primary:hover {
    background: var(--color-purple-dark);
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(108, 99, 255, 0.4);
}
.btn-secondary {
    background: transparent;
    border: 2px solid #ddd;
    color: var(--color-dark);
}
.btn-secondary:hover {
    border-color: var(--color-dark);
    background: var(--color-dark);
    color: white;
}

/* HEADER */
.main-header {
    position: fixed; top: 0; width: 100%; height: var(--header-height);
    background: rgba(255,255,255,0.95); backdrop-filter: blur(10px);
    z-index: 1000; border-bottom: 1px solid #eee; display: flex; align-items: center;
}
.main-header .container { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.logo { font-size: 1.4rem; font-weight: 800; text-transform: uppercase; }
.logo span { color: var(--color-purple); }
.nav-menu { display: flex; gap: 30px; align-items: center; }
.nav-menu a { font-weight: 600; font-size: 0.9rem; }
.menu-toggle { display: none; background:none; border:none; }

/* =========================================
   HERO & TEXT ANIMATION (LO NUEVO)
   ========================================= */
#hero {
    height: 100vh; 
    min-height: 700px;
    background-size: cover;
    background-repeat: no-repeat;
    /* CENTRADO PERFECTO PARA RETRATO: 50% Horizontal, 25% Vertical */
    background-position: 50% 25%; 
    position: relative; 
    display: flex; 
    align-items: center; 
    justify-content: center;
    color: white;
    text-align: center;
}

/* Capa oscura para que el texto resalte sobre la foto */
.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(10, 5, 20, 0.6) 0%, rgba(10, 5, 20, 0.5) 50%, rgba(10, 5, 20, 0.8) 100%);
    z-index: 1;
}

.hero-content { 
    position: relative; 
    z-index: 2; 
    max-width: 900px; 
    padding-top: 0;
}

/* Título Grande */
.hero-content h1 { 
    font-size: 4.5rem; 
    font-weight: 800;
    margin-bottom: 25px; 
    line-height: 1.1;
    color: #ffffff;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5); 
}

/* ANIMACIÓN TEXTO AURORA BOREAL */
.animated-text {
    background: linear-gradient(
        to right, 
        #ffffff 0%, 
        #D8B4FE 20%, 
        #A855F7 40%, 
        #C084FC 60%, 
        #ffffff 100%
    );
    background-size: 200% auto;
    color: #fff;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 4s linear infinite;
    display: inline-block;
}

/* Efecto Brillo */
@keyframes shine {
    to { background-position: 200% center; }
}

.hero-subtitle { 
    font-size: 1.3rem; 
    color: #e0e0e0; 
    margin-bottom: 40px; 
    font-weight: 400; 
}

/* =========================================
   PLANES / PRICING (ESTILO MODERNO)
   ========================================= */
.pricing-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px; align-items: center;
}
.plan-card {
    background: white;
    padding: 50px 40px;
    border-radius: 24px;
    border: 1px solid #eee;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.plan-card:hover {
    transform: scale(1.05);
    border-color: transparent;
    box-shadow: var(--shadow-hover);
    z-index: 10;
}
.plan-price {
    font-size: 3.5rem; font-weight: 800; color: var(--color-dark);
    margin: 20px 0; display: flex; justify-content: center; align-items: baseline;
}
.plan-price span { font-size: 1rem; color: #999; font-weight: 500; margin-left: 5px; }

/* Características */
.plan-features { text-align: left; margin: 30px 0; }
.plan-features li { margin-bottom: 15px; color: #555; display: flex; align-items: center; gap: 10px; }
.check-icon { 
    color: var(--color-purple); background: var(--color-purple-light);
    width: 24px; height: 24px; border-radius: 50%; display: flex; 
    align-items: center; justify-content: center; font-size: 0.8rem;
}

/* Plan Destacado (PRO) */
.plan-card.featured {
    border: 2px solid var(--color-purple);
    background: linear-gradient(to bottom, #fff, #fbfaff);
}
.badge-popular {
    background: var(--color-purple); color: white;
    padding: 8px 20px; border-radius: 30px;
    font-size: 0.8rem; font-weight: 700; text-transform: uppercase;
    position: absolute; top: 20px; right: 20px;
}

/* =========================================
   FAQ & PREGUNTAS
   ========================================= */
.faq-item { 
    margin-bottom: 15px; border: 1px solid #eee; 
    border-radius: 12px; padding: 0 20px; transition: 0.3s; background: white;
}
.faq-question {
    width: 100%; text-align: left; background: none; border: none; padding: 20px 0;
    font-weight: 700; font-size: 1.1rem; cursor: pointer; color: var(--color-dark);
    display: flex; justify-content: space-between; align-items: center;
}
.faq-answer { max-height: 0; overflow: hidden; transition: all 0.3s ease; }
.faq-item.active .faq-answer { max-height: 500px; }
.faq-icon { font-size: 1.5rem; transition: 0.3s; }
.faq-item.active .faq-icon { transform: rotate(45deg); color: var(--color-purple); }

/* Why Icons */
.why-icon {
    width: 60px; height: 60px; background: var(--color-purple-light); color: var(--color-purple);
    border-radius: 16px; display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem; margin-bottom: 20px;
}

/* =========================================
   RESPONSIVE (MÓVIL)
   ========================================= */
@media (max-width: 768px) {
    #hero { background-position: 55% 25%; } /* Ajuste fino móvil */
    .hero-content h1 { font-size: 2.5rem; }
    .pricing-grid { gap: 40px; }
    .plan-card:hover { transform: scale(1.02); }
    
    .menu-toggle { display: block; cursor: pointer; }
    .nav-menu {
        position: fixed; top: 80px; left: 0; width: 100%; height: auto;
        background: white; flex-direction: column; padding: 30px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        transform: translateY(-150%); transition: 0.4s; opacity: 0;
    }
    .nav-menu.active { transform: translateY(0); opacity: 1; }
}
