/* --- Variables & Reset --- */
:root {
    /* Paleta de Colores (Identidad Inalterada) */
    --bg-light: #F8F6F1;   /* Off-White cálido */
    --bg-accent: #ECE8DF;  /* Crema más oscuro */
    --text-main: #1A1A1A;  /* Negro casi puro para títulos */
    --text-body: #3A3835;  /* Gris carbón cálido para lectura */
    --green-dark: #0B3C31; /* Verde Bosque Profundo (Color Principal) */
    --green-mid: #1a5244;  /* Verde para hovers */
    --gold: #D1A73D;       /* Dorado Mostaza (Acento) */
    --gold-light: #e6c26e;
    --white: #FFFFFF;

    /* Tipografías y Espaciado */
    --font-heading: 'Cormorant', serif;
    --font-body: 'Inter', sans-serif;
    --section-spacing: 100px;
    --border-radius-soft: 8px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background-color: var(--bg-light);
    color: var(--text-body);
    line-height: 1.7;
    overflow-x: hidden;
    font-size: 16px;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--text-main);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }

a { text-decoration: none; color: inherit; transition: color 0.3s ease; }
ul { list-style: none; }
img, svg { max-width: 100%; vertical-align: middle; }

/* --- Utility Classes & Animations --- */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; position: relative; }
.narrow { max-width: 800px; }
.text-center { text-align: center; }
.relative-z { position: relative; z-index: 2; }

/* Scroll Reveal Base Styles */
.scroll-trigger {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.scroll-trigger.is-visible { opacity: 1; transform: translateY(0); }

/* Staggered Grid items fade in */
.grid-stagger > * { opacity: 0; transform: translateY(20px); transition: all 0.6s ease; }
.grid-stagger.is-visible > * { opacity: 1; transform: translateY(0); }
/* Stagger delays handled in JS or messy nth-child CSS. JS is cleaner. */

.btn {
    display: inline-block;
    padding: 16px 36px;
    font-family: var(--font-body);
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
    letter-spacing: 0.5px;
    text-align: center;
}

.btn-primary {
    background-color: var(--green-dark);
    color: var(--white);
    border: 2px solid var(--green-dark);
    box-shadow: 0 4px 15px rgba(11, 60, 49, 0.2);
}

.btn-primary:hover {
    background-color: var(--green-mid);
    border-color: var(--green-mid);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(11, 60, 49, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--green-dark);
    border: 2px solid var(--green-dark);
}

.btn-secondary:hover {
    background-color: var(--green-dark);
    color: var(--white);
}

.pulse-animation { animation: pulse-gold 2s infinite; }
@keyframes pulse-gold {
    0% { box-shadow: 0 0 0 0 rgba(209, 167, 61, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(209, 167, 61, 0); }
    100% { box-shadow: 0 0 0 0 rgba(209, 167, 61, 0); }
}

.section { padding: var(--section-spacing) 0; position: relative; }

.section-header {
    text-align: center;
    margin-bottom: 70px;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}
.section-header h2 { margin-bottom: 20px; position: relative; display: inline-block;}
.section-header p { font-size: 1.15rem; color: var(--text-body); opacity: 0.9; }

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

/* --- Navbar --- */
.navbar {
    padding: 15px 0;
    position: sticky;
    top: 0;
    background-color: rgba(248, 246, 241, 0.98); /* Casi opaco para legibilidad */
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(209, 167, 61, 0.2); /* Sutil línea dorada */
    transition: all 0.3s ease;
}
.navbar.scrolled { padding: 10px 0; box-shadow: 0 5px 20px rgba(0,0,0,0.05); }

.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--green-dark);
    letter-spacing: -0.5px;
}
.nav-links { display: none; } /* Mobile first: oculto */
.hamburger { display: block; cursor: pointer; }
.hamburger span { display: block; width: 25px; height: 3px; background: var(--green-dark); margin: 5px 0; transition: all 0.3s; }

/* --- Hero Section (Dynamic Background) --- */
.hero {
    padding: 160px 0 120px;
    text-align: center;
    /* Fondo dinámico sutil: Degradado radial */
    background: radial-gradient(circle at 50% 30%, #fffcf5 0%, var(--bg-light) 70%);
    overflow: hidden;
}

.hero-content { max-width: 900px; margin: 0 auto; }

.tagline {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.85rem;
    color: var(--gold);
    font-weight: 700;
    display: block;
    margin-bottom: 24px;
}

.hero h1 {
    margin-bottom: 30px;
    color: var(--text-main);
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text-body);
    margin-bottom: 45px;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

.cta-group {
    display: flex;
    flex-direction: column; /* Mobile first */
    gap: 15px;
    margin-bottom: 30px;
    align-items: center;
}

.trust-signal {
    font-size: 0.9rem;
    color: #666;
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    opacity: 0.8;
}
.trust-signal svg { color: var(--green-dark); width: 16px; height: 16px; }

/* --- Reality Section (Cards & Icons) --- */
.reality { background-color: var(--bg-light); position: relative; z-index: 1; }

/* Fondo dinámico geométrico (shape divider) */
.reality-bg-shape {
    position: absolute;
    top: 0; left: 0; right: 0; height: 100%;
    background: var(--bg-accent);
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
    z-index: -1;
}

.card {
    background: var(--white);
    padding: 40px 32px;
    border-radius: var(--border-radius-soft);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border: 1px solid rgba(209, 167, 61, 0.1); /* Borde dorado muy sutil */
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-align: center;
}

.card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(11, 60, 49, 0.1); border-color: rgba(209, 167, 61, 0.4); }

.card-icon {
    color: var(--gold);
    margin-bottom: 25px;
}
.card-icon svg { width: 48px; height: 48px; stroke-width: 1.5; }

.card h3 { font-size: 1.4rem; margin-bottom: 16px; color: var(--green-dark); }

.quote-box {
    margin-top: 80px;
    text-align: center;
}
.quote-box blockquote {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--green-dark);
    font-weight: 600;
    font-style: italic;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.4;
    position: relative;
    padding: 0 20px;
}

/* --- Benefits Section (Flaticons style) --- */
.benefits { background-color: var(--white); }

.benefit-item {
    text-align: center;
    padding: 25px;
    transition: transform 0.3s ease;
}
.benefit-item:hover { transform: translateY(-5px); }

.icon-box {
    width: 80px; height: 80px;
    background-color: rgba(209, 167, 61, 0.1); /* Fondo dorado sutil */
    border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    margin: 0 auto 25px;
    color: var(--gold);
    transition: all 0.3s ease;
}
.benefit-item:hover .icon-box { background-color: var(--gold); color: var(--white); }

.icon-box svg { width: 36px; height: 36px; }
.benefit-item h4 { font-size: 1.3rem; margin-bottom: 12px; color: var(--green-dark); }

/* --- THE METHOD TIMELINE (Vertical Animated) --- */
.method { background-color: var(--bg-light); }

.timeline-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 0;
}

/* Mobile Timeline Line (Simple Left Border) */
.timeline-container::before {
    content: '';
    position: absolute;
    left: 20px; /* Alineado con el marcador */
    top: 0;
    width: 3px;
    height: 100%;
    background: rgba(209, 167, 61, 0.2); /* Línea base tenue */
    z-index: 1;
}

/* Barra de progreso animada */
.timeline-progress-bar {
    position: absolute;
    left: 20px;
    top: 0;
    width: 3px;
    height: 0%; /* Empieza en 0 */
    background: var(--gold); /* Línea activa dorada */
    z-index: 2;
    transition: height 0.5s ease; /* Suavizado por JS */
}


.timeline-item {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
    position: relative;
    z-index: 3;
    opacity: 0.3; /* Inactivo por defecto */
    transition: all 0.6s ease;
}
.timeline-item.is-active { opacity: 1; }

.timeline-marker {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 40px;
}

.timeline-number {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 8px;
    opacity: 0.5;
    transition: all 0.4s ease;
}
.timeline-item.is-active .timeline-number { opacity: 1; font-size: 1.8rem; }

/* El punto que se enciende */
.timeline-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--bg-light);
    border: 3px solid rgba(209, 167, 61, 0.3);
    transition: all 0.4s ease;
    box-shadow: 0 0 0 0px rgba(209, 167, 61, 0.2);
}

.timeline-item.is-active .timeline-dot {
    background: var(--gold);
    border-color: var(--gold);
    box-shadow: 0 0 0 8px rgba(209, 167, 61, 0.2); /* Efecto pulse estático */
}

.timeline-content {
    background: var(--white);
    padding: 25px;
    border-radius: var(--border-radius-soft);
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    flex-grow: 1;
    transform: translateX(20px); /* Estado inicial para animación */
    transition: all 0.6s ease;
}
.timeline-item.is-active .timeline-content { transform: translateX(0); }

.timeline-content h3 { margin-bottom: 10px; color: var(--green-dark); }
.timeline-content strong { color: var(--gold); }


/* --- Results Section (Dynamic Dark Background) --- */
.results {
    background-color: var(--green-dark);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

/* Patrón sutil sobre el fondo verde */
.results-texture {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    /* Patrón de puntos muy sutil */
    background-image: radial-gradient(rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.6;
    z-index: 1;
}

.light-text h2, .light-text p { color: var(--white); }

.stats-grid {
    margin-bottom: 50px;
}

.stat-item {
    padding: 30px 20px;
    border: 1px solid rgba(209, 167, 61, 0.2);
    border-radius: var(--border-radius-soft);
    background: rgba(11, 60, 49, 0.5); /* Ligeramente más claro que el fondo */
    backdrop-filter: blur(5px);
}

.big-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 15px;
}

.stat-label {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
    opacity: 0.9;
}

.disclaimer {
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.7;
    margin-top: 50px;
    font-style: italic;
}

/* --- Testimonials --- */
.testimonial-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--border-radius-soft);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    position: relative;
    border-top: 5px solid var(--gold);
}

.quote-icon {
    font-family: var(--font-heading);
    font-size: 5rem;
    color: var(--gold);
    opacity: 0.2;
    position: absolute;
    top: 10px;
    left: 20px;
    line-height: 1;
}

.testimonial-card .quote {
    font-size: 1.15rem;
    font-style: italic;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.author strong { display: block; color: var(--green-dark); font-size: 1.1rem; }
.author span { font-size: 0.9rem; color: #777; }

/* --- FAQ --- */
.accordion-item {
    border-bottom: 1px solid rgba(0,0,0,0.08);
    margin-bottom: 10px;
}

.accordion-header {
    width: 100%;
    padding: 25px 0;
    background: none;
    border: none;
    text-align: left;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
}
.accordion-header:hover { color: var(--gold); }

.accordion-header .icon {
    font-size: 1.8rem;
    color: var(--gold);
    transition: transform 0.3s ease;
    line-height: 1;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.accordion-content p {
    padding-bottom: 30px;
    color: var(--text-body);
    line-height: 1.8;
}

.accordion-item.active .accordion-content { max-height: 300px; }
.accordion-item.active .icon { transform: rotate(45deg); }

/* --- Footer --- */
.footer {
    background-color: var(--bg-accent);
    padding: 120px 0 40px;
    position: relative;
}
/* Sutil borde superior decorativo */
.footer::before {
    content: '';
    position: absolute; top: 0; left: 0; width: 100%; height: 5px;
    background: repeating-linear-gradient(45deg, var(--gold), var(--gold) 10px, var(--bg-accent) 10px, var(--bg-accent) 20px);
    opacity: 0.3;
}

.big-btn {
    font-size: 1.1rem;
    padding: 20px 45px;
}

.scarcity {
    margin-top: 20px;
    font-size: 0.95rem;
    color: var(--green-dark);
    font-weight: 600;
    display: inline-block;
    padding: 5px 15px;
    background: rgba(209, 167, 61, 0.15);
    border-radius: 20px;
}

.footer-legal {
    margin-top: 80px;
    padding-top: 30px;
    border-top: 1px solid rgba(11, 60, 49, 0.1);
    font-size: 0.9rem;
    color: #888;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}
.logo-footer { font-size: 1.5rem; opacity: 0.8; }


/* --- MEDIA QUERIES (Desktop Expansion) --- */
@media (min-width: 768px) {
    h1 { font-size: 4.5rem; }
    h2 { font-size: 3rem; }

    .nav-links { display: flex; gap: 30px; align-items: center; }
    .nav-links li a { font-weight: 500; font-size: 0.95rem; }
    .nav-links li a:hover { color: var(--gold); }
    .hamburger { display: none; }

    .hero { padding: 200px 0 150px; }
    .cta-group { flex-direction: row; }

    /* Desktop Timeline */
    .timeline-container { max-width: 800px; padding: 40px 0; }
    /* Center the line */
    .timeline-container::before,
    .timeline-progress-bar { left: 50%; transform: translateX(-50%); }
    
    .timeline-item {
        justify-content: center;
        padding-bottom: 60px;
    }
    .timeline-item:nth-child(even) { flex-direction: row-reverse; }

    .timeline-marker {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        top: 0;
    }
    
    .timeline-content {
        width: 45%; /* Content takes up less than half space */
        /* Reset mobile styles */
        flex-grow: 0; 
    }
    /* Animations for desktop alternating sides */
    .timeline-item:nth-child(odd) .timeline-content { transform: translateX(-30px); text-align: right;}
    .timeline-item:nth-child(even) .timeline-content { transform: translateX(30px); text-align: left;}

    .timeline-item.is-active .timeline-content { transform: translateX(0); }

    .footer-legal { flex-direction: row; justify-content: space-between; }
}