/* =========================================
    1. CONFIGURACIÓN GLOBAL & WELLNESS PALETTE
   ========================================= */
:root {
    --font-serif-genetica: 'Playfair Display', serif;
    --font-sans-genetica: 'Roboto', sans-serif;
    --font-mono-genetica: 'Space Mono', monospace;
    
    /* Nueva Paleta Orgánica */
    --color-primario: #D4AF37;    /* Oro Miel */
    --color-secundario: #F2BB16;  /* Amarillo polen */
    --color-sage: #8DA290;        /* Verde Salvia */
    --color-earth: #4A3728;       /* Marrón Tierra */
    
    --shadow-soft: 0 15px 45px -10px rgba(74, 55, 40, 0.12);
    --glass-bg: rgba(255, 255, 255, 0.7); 
    --glass-border: 1px solid rgba(212, 175, 55, 0.3);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-sans-genetica);
    background-color: #fff;
    color: var(--color-earth);
    line-height: 1.7;
    overflow-x: hidden;
}

/* --- NUEVAS REGLAS DE ANIMACIÓN DE INCORPORACIÓN --- */
.reveal {
    opacity: 0;
    transition: all 1.2s cubic-bezier(0.17, 0.85, 0.438, 0.99);
    pointer-events: none; /* Evita interacciones antes de aparecer */
}

.reveal-left { transform: translateX(-50px); }
.reveal-right { transform: translateX(50px); }
.reveal-up { transform: translateY(50px); }

.reveal.active {
    opacity: 1;
    transform: translate(0, 0);
    pointer-events: all;
}
/* -------------------------------------------------- */

.mono2 { font-family: var(--font-mono-genetica); letter-spacing: 1px; text-transform: uppercase; }

.container-genetica {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* =========================================
    2. HERO SECTION (ADAPTADO)
   ========================================= */
.wellness-hero {
    position: relative; 
    height: 100vh; 
    width: 100%;
    display: flex; 
    align-items: center; 
    justify-content: center;
    overflow: hidden;
}

.hero-bg-wrapper { position: absolute; inset: 0; z-index: 1; }
.hero-img { 
    width: 100%; height: 100%; object-fit: cover; 
    filter: sepia(15%) brightness(0.9); 
    transition: transform 10s ease; 
}
.wellness-hero:hover .hero-img { transform: scale(1.05); }

.organic-overlay { 
    position: absolute; inset: 0; 
    background: radial-gradient(circle at center, rgba(255,255,255,0) 0%, rgba(74, 55, 40, 0.2) 100%); 
    z-index: 2; 
}

.hero-content.glass-panel-light {
    position: relative; 
    z-index: 10; 
    text-align: center; 
    background: var(--glass-bg);
    backdrop-filter: blur(10px); 
    -webkit-backdrop-filter: blur(10px); 
    padding: 50px 40px;
    border: var(--glass-border); 
    box-shadow: var(--shadow-soft); 
    max-width: 550px; 
    width: 90%;
    border-radius: 40px 5px; /* Bordes orgánicos */
}

.badge-wellness { display: inline-block; background: var(--color-sage); color: #fff; padding: 6px 15px; font-size: 0.7rem; font-weight: 700; letter-spacing: 2px; margin-bottom: 20px; border-radius: 20px; }
.hero-title { font-family: var(--font-serif-genetica); font-size: 2.5rem; color: var(--color-earth); line-height: 1.2; margin-bottom: 15px; }
.hero-title .highlight-honey { color: var(--color-primario); font-style: italic; }
.hero-subtitle { color: var(--color-earth); font-size: 1rem; font-weight: 300; opacity: 0.9; }

/* Hotspots */
.hotspot { position: absolute; z-index: 20; display: flex; align-items: center; gap: 10px; cursor: pointer; }
.hotspot-point.wellness-pulse { width: 14px; height: 14px; background: var(--color-secundario); border-radius: 50%; box-shadow: 0 0 0 4px rgba(242, 187, 22, 0.3); animation: pulse-wellness 2s infinite; }
.hotspot-label { background: rgba(74, 55, 40, 0.9); color: #fff; padding: 5px 12px; font-size: 0.7rem; opacity: 0; transform: translateX(-10px); transition: all 0.3s; border-left: 3px solid var(--color-primario); }
.hotspot:hover .hotspot-label { opacity: 1; transform: translateX(0); }

@keyframes pulse-wellness { 
    0% { box-shadow: 0 0 0 0 rgba(242, 187, 22, 0.7); } 
    70% { box-shadow: 0 0 0 15px rgba(242, 187, 22, 0); } 
    100% { box-shadow: 0 0 0 0 rgba(242, 187, 22, 0); } 
}

/* =========================================
    3. GRID Y TARJETAS (BENEFICIOS)
   ========================================= */
.benefits-section { background-color: #FAF7F2; padding: 120px 0; }

.section-header.center-text { text-align: center; margin-bottom: 60px; }
.sub-header { color: var(--color-sage); font-size: 0.85rem; font-weight: 700; letter-spacing: 2px; display: block; margin-bottom: 10px; }
.section-header h2 { font-family: var(--font-serif-genetica); font-size: 2.8rem; color: var(--color-earth); margin-bottom: 20px; }
.separator-line.honey-line { width: 80px; height: 3px; background: linear-gradient(90deg, transparent, var(--color-primario), transparent); margin: 0 auto; }

.grid-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }

.wellness-card { background: #fff; border: 1px solid rgba(212, 175, 55, 0.1); padding: 45px 35px; transition: all 0.4s ease; position: relative; border-radius: 15px; }
.wellness-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-soft); border-color: var(--color-primario); }

.card-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 30px; }
.card-id { color: #d4c5b9; border: 1px solid #eee; padding: 4px 8px; font-size: 0.7rem; border-radius: 4px; }
.icon-box-gold { font-size: 2.5rem; color: var(--color-primario); transition: transform 0.3s; }
.wellness-card:hover .icon-box-gold { transform: scale(1.1); }

.wellness-card h3 { font-family: var(--font-serif-genetica); font-size: 1.5rem; color: var(--color-earth); margin-bottom: 15px; }
.card-footer-line-gold { position: absolute; bottom: 0; left: 0; width: 0%; height: 4px; background: var(--color-primario); transition: width 0.4s ease; border-radius: 0 0 0 15px; }
.wellness-card:hover .card-footer-line-gold { width: 100%; }

/* =========================================
    4. EXPERIENCE SECTION
   ========================================= */
.experience-section { padding: 100px 0; background: #fff; }
.glass-panel-warm { padding: 60px; border: 1px solid #f0e6d2; border-radius: 30px; background: #fffcf7; box-shadow: inset 0 0 50px rgba(212, 175, 55, 0.05); }

.lineages-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px; margin-top: 50px; }
.lineage-item-wellness { border-left: 4px solid var(--color-secundario); padding-left: 25px; transition: transform 0.3s ease; }
.lineage-item-wellness:hover { transform: translateX(10px); }
.lineage-item-wellness h4 { color: var(--color-earth); font-size: 1.1rem; margin-bottom: 12px; font-weight: 700; }

/* =========================================
    5. DASHBOARD & STATS
   ========================================= */
.dashboard-bar.wellness-stats { padding: 100px 0; background-color: #fff; }
.stats-row { display: flex; justify-content: space-around; align-items: center; flex-wrap: wrap; margin-bottom: 80px; }
.stat-box { text-align: center; padding: 20px; }
.stat-number { font-size: 4.5rem; font-family: var(--font-serif-genetica); color: var(--color-earth); font-weight: 400; }
.stat-symbol { font-size: 2rem; color: var(--color-primario); margin-left: 5px; }
.stat-label { font-family: var(--font-mono-genetica); color: var(--color-sage); font-size: 0.8rem; letter-spacing: 2px; margin-top: 10px; display: block; font-weight: 700; }

.chart-wrapper { background: #fff; border: 1px solid #f0e6d2; padding: 40px; border-radius: 20px; box-shadow: var(--shadow-soft); }

@media (max-width: 768px) {
    .hero-title { font-size: 2rem; }
    .section-header h2 { font-size: 2.2rem; }
    .glass-panel-warm { padding: 30px; }
}

/* =========================================
    ZIGZAG BENEFITS
   ========================================= */
.benefits-zigzag {
    margin-top: 80px;
    display: flex;
    flex-direction: column;
    gap: 100px;
}

.benefit-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.benefit-row:nth-child(even) {
    flex-direction: row-reverse;
}

.benefit-text {
    flex: 1;
    max-width: 500px;
}

.benefit-text h3 {
    font-family: var(--font-serif-genetica);
    font-size: 2.2rem;
    color: var(--color-earth);
    margin: 15px 0;
}

.benefit-text p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
}

.benefit-image {
    flex: 1;
    position: relative;
}

.benefit-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 60px 10px 60px 10px;
    box-shadow: var(--shadow-soft);
    display: block;
}

.benefit-image::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--color-primario);
    opacity: 0.1;
    top: 20px;
    left: 20px;
    z-index: -1;
    border-radius: 60px 10px 60px 10px;
}

.benefit-row:nth-child(even) .benefit-image::before {
    left: -20px;
}

@media (max-width: 992px) {
    .benefit-row, .benefit-row:nth-child(even) {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    .benefit-text { max-width: 100%; }
    .benefit-image img { height: 300px; }
    .icon-box-gold { margin: 0 auto; }
}