/* Custom Properties - Colores inspirados en 'Balanceando la Salud' */
:root {
    --primary-color: #007bff; /* Azul vibrante para títulos */
    --secondary-color: #28a745; /* Verde para acentos de salud */
    --accent-color: #ffc107; /* Amarillo para destacar bonos */
    --background-light: #f8f9fa; /* Fondo muy claro */
    --card-bg: #ffffff;
    --text-dark: #333;
    --text-light: #f4f4f4;
}

/* Global Styles */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--background-light); /* Fondo base muy claro */
    
    /* Si decides usar una imagen de fondo, descomenta y ajusta: */
    /* background-image: url('tu-imagen-de-fondo.jpg'); 
    background-size: cover; 
    background-attachment: fixed; */
}

.container {
    max-width: 1200px; /* Un poco más de ancho para diseño moderno */
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    font-family: 'Montserrat', sans-serif; /* Fuente más audaz para títulos */
    font-weight: 800;
    line-height: 1.2;
}

.highlight {
    color: var(--secondary-color);
}
.highlight-underline {
    border-bottom: 3px solid var(--accent-color);
}

.section-title {
    text-align: center;
    padding-bottom: 0.5rem;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: var(--primary-color);
}

/* CTA Button Styles */
.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: var(--secondary-color);
    color: white;
    text-decoration: none;
    font-weight: 700;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.2s;
    text-align: center;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.4);
}

.cta-button:hover {
    background-color: #1e7e34;
    transform: translateY(-2px);
}

.large-cta {
    font-size: 1.3rem;
    padding: 20px 40px;
    margin-top: 1rem;
}

/* --- NAV BAR (FIXED) --- */
.navbar-header {
    height: 80px; /* Altura para el espacio fijo */
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-logo {
    height: 40px; 
    width: auto;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 10px; /* Ajuste compacto */
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.9rem; /* REDUCCIÓN DE TAMAÑO DEL TEXTO */
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* --- HERO SECTION --- */
.hero-section {
    padding-top: 100px; /* Compensar la navbar */
    padding-bottom: 4rem;
    background: linear-gradient(45deg, #e9f7ef, #d0e4ff); /* Fondo suave */
    text-align: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.hero-content .subtitle {
    font-size: 2rem;
    color: var(--text-dark);
    margin-top: 0;
}

.tagline {
    font-size: 1.2rem;
    font-style: italic;
    max-width: 700px;
    margin: 1rem auto 2rem;
}

.cta-box {
    margin-top: 2rem;
}

.guarantee-text {
    font-size: 0.9rem;
    color: #007bff;
    font-weight: 600;
    margin-top: 0.5rem;
}

/* --- PROBLEM & SOLUTION SECTION --- */
.problem-solution-section {
    padding: 4rem 0;
    background-color: var(--card-bg);
}

.problem-solution-section .content-wrapper {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.problem, .solution {
    flex: 1;
    min-width: 300px;
    max-width: 450px;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    text-align: center;
}

.problem {
    background-color: #fff0f0; /* Fondo de problema suave */
    border-top: 5px solid var(--secondary-color);
}

.solution {
    background-color: #e6ffec; /* Fondo de solución suave */
    border-top: 5px solid var(--primary-color);
}

.problem-image, .solution-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.problem-list, .solution-list {
    list-style: none;
    padding: 0;
    text-align: left;
}
.problem-list li, .solution-list li {
    background: url('https://via.placeholder.com/15x15.png?text=•') no-repeat left center; /* Placeholder para viñeta */
    background-size: 15px;
    padding-left: 25px;
    margin-bottom: 10px;
}
.solution-list li {
     background-image: url('https://via.placeholder.com/15x15.png?text=✔'); /* Otra viñeta para la solución */
}


/* --- PROGRAM CONTENT SECTION (ABSTRACT) --- */
.program-content-section {
    padding: 4rem 0;
    background-color: var(--background-light);
    text-align: center;
}

.program-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.book-info {
    background-color: var(--card-bg);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.abstract {
    font-size: 1.1rem;
    color: #555;
}

.specs {
    font-weight: 700;
    color: var(--primary-color);
}

/* --- BONUSES SECTION --- */
.bonuses-section {
    padding: 4rem 0;
    background-color: #fff;
}

.bonus-title {
    color: #dc3545; /* Color que contrasta y atrae */
}

.bonus-card {
    display: flex;
    align-items: center;
    gap: 40px;
    background-color: #f7f7f7;
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.reverse-layout {
    flex-direction: row-reverse;
    background-color: #f0f8ff; /* Alternar color para contraste */
}

.bonus-info {
    flex: 2;
}

.bonus-icon {
    flex: 1;
    text-align: center;
    min-width: 150px;
}
.bonus-icon img {
    max-width: 100%;
    border-radius: 8px;
}

.bonus-info h3 {
    color: var(--primary-color);
    margin-top: 0;
}

.review-title {
    font-style: italic;
    color: var(--secondary-color);
}

.review-text strong {
    color: #dc3545;
}

/* --- PRICING SECTION --- */
.pricing-section {
    padding: 4rem 0;
    background: var(--primary-color);
    color: white;
    text-align: center;
}

.pricing-box {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 3rem;
    border-radius: 15px;
    display: inline-block;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    width: 90%;
}

.price-title {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.offer-text {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.countdown {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    background-color: #dc3545;
    padding: 10px 20px;
    border-radius: 5px;
    margin: 1.5rem auto;
    display: inline-block;
    letter-spacing: 2px;
}

.price .old-price {
    font-size: 1.5rem;
    text-decoration: line-through;
    opacity: 0.7;
    display: block;
    margin-bottom: 0.5rem;
}

.price .current-price {
    font-size: 4.5rem;
    font-weight: 800;
    display: block;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
}

.payment-info {
    font-size: 0.9rem;
    margin-top: 1rem;
    opacity: 0.8;
}

.trust-seal-container {
    margin: 20px auto; 
    text-align: center;
    max-width: 250px; 
}


/* --- FAQ SECTION --- */
.faq-section {
    padding: 4rem 0;
    background-color: var(--background-light);
}

.accordion {
    max-width: 900px;
    margin: 0 auto;
}

.accordion-item {
    background-color: var(--card-bg);
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.accordion-header {
    width: 100%;
    padding: 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
    background-color: #e9ecef; /* Fondo ligero para headers de FAQ */
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--primary-color);
}

.accordion-icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.accordion-header.active .accordion-icon {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    padding: 0 1.5rem;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.accordion-content.active {
    max-height: 200px; /* Ajusta según el contenido */
    padding: 1rem 1.5rem;
}


/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1024px) {
    .nav-links {
        gap: 8px;
    }
}

@media (max-width: 768px) {
    /* Navbar fix - Más espacio para el menú móvil */
    .navbar-header {
        height: auto;
        padding-bottom: 10px;
    }
    .navbar-container {
        flex-direction: column;
        align-items: flex-start;
    }
    .nav-links {
        margin-top: 0.5rem;
        flex-wrap: wrap;
        width: 100%;
    }
    .nav-links li {
        flex-basis: auto;
    }

    /* Ajuste para que el contenido no quede oculto */
    .hero-section {
        padding-top: 150px;
    }
    .problem-solution-section,
    .program-content-section,
    .bonuses-section,
    .testimonials-section,
    .pricing-section,
    .faq-section {
        padding-top: 80px; 
        padding-bottom: 40px;
    }
    
    /* Reducción de tamaño de fuente para móvil */
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .hero-content .subtitle {
        font-size: 1.5rem;
    }

    /* Diseño de Bonos Invertido en Móvil */
    .bonus-card, .reverse-layout {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    .bonus-icon {
        order: -1; /* Mueve el icono arriba del texto */
    }
    .bonus-icon img {
        max-width: 50%;
    }
    
    .problem-list, .solution-list {
        text-align: center;
    }
}
/* --- TESTIMONIALS SECTION --- */
.testimonials-section {
    padding: 4rem 0;
    background-color: #f0f8ff; /* Fondo muy claro para destacar */
    text-align: center;
}

.subtitle-review {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
}

.testimonials-wrapper {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.testimonial-card {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    max-width: 350px;
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-photo {
    width: 194px;
    height: 151px;
    border-radius: 50%;
    margin-bottom: 15px;
    border: 3px solid var(--secondary-color);
}

.testimonial-text {
    font-style: italic;
    color: #555;
    margin-bottom: 15px;
}

.testimonial-author {
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 0;
}

/* --- AJUSTE RESPONSIVE (Móvil) --- */
@media (max-width: 768px) {
    /* Asegurar padding en móvil */
    .testimonials-section {
        padding-top: 60px; /* Ajuste para el menú fijo */
        padding-bottom: 40px;
    }
    
    .testimonial-card {
        max-width: 90%;
        margin-bottom: 20px;
    }
}

.guarantee-section {
    padding: 4rem 0;
    background-color: #ffe0b2; /* Un color suave y cálido (Naranja/Melocotón claro) */
    text-align: center;
}

.guarantee-section .section-title {
    color: #e65100; /* Un color más oscuro para el título para contraste */
}

.guarantee-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto 2rem;
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.guarantee-seal {
    min-width: 150px;
    height: auto;
}

.guarantee-text-box {
    text-align: left;
}

.guarantee-text-box h3 {
    color: var(--primary-color);
    margin-top: 0;
}

/* --- AJUSTE RESPONSIVE (Móvil) --- */
@media (max-width: 768px) {
    /* Ajuste de padding-top para el menú fijo */
    .guarantee-section {
        padding-top: 60px; 
    }
    
    .guarantee-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        padding: 20px;
    }
    
    .guarantee-text-box {
        text-align: center; /* Centrar texto en móvil */
    }
}

/* --- ESTILOS DE LA TABLA DE VALOR EN SECCIÓN DE PRECIOS --- */
.value-table {
    margin: 2rem auto;
    max-width: 500px;
    width: 90%;
    text-align: left;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.value-table table {
    width: 100%;
    border-collapse: collapse;
    color: var(--text-dark);
}

.value-table th, .value-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #ddd;
}

.value-table thead th {
    background-color: var(--primary-color);
    color: white;
    font-weight: 700;
}

.value-table tbody tr:nth-child(even) {
    background-color: #f8f8f8; /* Color de fila par */
}

/* Fila de Valor Total */
.value-table .total-row td {
    background-color: #f39c12; /* Color amarillo de acento */
    color: var(--text-dark);
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: line-through; /* AÑADIDO: Tipo de letra tachado */
}

/* Fila de Oferta (El Gran Descuento) */
.value-table .offer-row td {
    background-color: var(--secondary-color); /* Color verde de salud */
    color: white;
    font-weight: 800;
    font-size: 1.2rem;
    padding: 15px 15px;
}

/* Ajuste Responsive para la tabla */
@media (max-width: 550px) {
    .value-table {
        font-size: 0.9rem;
    }
    .value-table th, .value-table td {
        padding: 10px 8px;
    }
}