/* Reset y variables globales */
:root {
    --primary-color: #6B9F5F; /* Verde Natural - Color principal de la marca */
    --secondary-color: #8A9A5B; /* Verde Oliva - Color secundario */
    --accent-color: #F5F1E3; /* Beige Suave - Color de acento */
    --background-color: #FFFFFF; /* Blanco - Fondo principal */
    --text-color: #4B4B4B; /* Gris Oscuro - Texto principal */
    --heading-color: #4B4B4B; /* Gris Oscuro - Títulos */
    --border-radius: 8px;
    --box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', 'Open Sans', sans-serif; /* Fuente complementaria según guía */
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    overflow-x: hidden;
    padding-top: 0 !important; /* Evitar márgenes del tema */
    margin: 0 !important;
}

/* Ocultar elementos del tema de WordPress */
#wpadminbar, 
header.site-header, 
footer.site-footer, 
.site-content > *:not(article),
#colophon,
.entry-header,
.wp-block-template-part,
nav,
aside,
.entry-footer,
.post-navigation,
.comment-respond,
.comments-area,
.wp-site-blocks > *:not(.wp-block-post-content),
.wp-block-group,
.wp-block-template-part,
.wp-block-post-content > *:not(article) {
    display: none !important;
}

body > *:not(.landing-content),
#page > *:not(.site-content),
.site > *:not(.site-content) {
    display: none !important;
}

body, 
html, 
#page, 
.site, 
.site-content, 
.content-area, 
.site-main,
.wp-site-blocks,
.wp-block-post-content {
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    display: block !important;
}

.entry-content {
    margin: 0 !important;
    padding: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
}

/* Forzar estructura de página completa */
.landing-content {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
}

/* Tipografía */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 1rem;
    line-height: 1.3;
}

h1 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.2rem;
    margin: 2.5rem 0 1.5rem;
    position: relative;
    padding-bottom: 15px;
}

h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
}

/* Contenedores */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto !important;
    padding: 0 20px;
    float: none !important;
    clear: both;
    position: relative;
}

section {
    padding: 60px 0;
    width: 100%;
    clear: both;
    display: block;
}

section:nth-child(even) {
    background-color: var(--accent-color);
}

.text-center {
    text-align: center;
}

/* Forzar centrado en toda la página */
.site, .site-content, article, .entry-content {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    background-color: var(--primary-color);
    color: white !important; /* Forzar color blanco */
    text-decoration: none !important; /* Evitar subrayados */
    border-radius: var(--border-radius);
    font-weight: 700;
    font-size: 1.1rem;
    text-align: center;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(107, 159, 95, 0.3);
}

.btn:hover {
    background-color: #5a8b4e;
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(107, 159, 95, 0.4);
    color: white !important; /* Mantener color blanco en hover */
}

.btn-secondary {
    background-color: var(--secondary-color);
    box-shadow: 0 4px 15px rgba(138, 154, 91, 0.3);
    color: white !important; /* Asegurar texto blanco */
}

.btn-secondary:hover {
    background-color: #798a4d;
    box-shadow: 0 6px 18px rgba(138, 154, 91, 0.4);
    color: white !important; /* Mantener texto blanco */
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.2rem;
}

/* Header/Hero Section */
.hero {
    background: linear-gradient(135deg, #FFFFFF, #F5F1E3);
    padding: 40px 0 60px;
    position: relative;
    overflow: hidden;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="50" cy="50" r="5" fill="%236B9F5F" opacity="0.1"/></svg>');
    opacity: 0.4;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    margin-bottom: 25px;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 30px;
    color: #555;
}

.hero-text {
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.hero-badge {
    display: block;
    padding: 8px 16px;
    background-color: #F5F1E3;
    border: 2px dashed var(--primary-color);
    color: var(--primary-color);
    font-weight: 700;
    margin-top: 25px;
    border-radius: 30px;
    margin: 25px auto 0;
    text-align: center;
    max-width: 350px;
}

.hero-content .btn {
    display: block;
    margin: 0 auto 20px;
    max-width: 320px;
}

/* Video Container */
.video-container {
    margin: 40px auto;
    max-width: 800px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    position: relative;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
}

.video-container wistia-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Demo Video */
.demo-video {
    width: 100%;
    max-width: 600px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    margin: 30px auto;
    position: relative;
    aspect-ratio: 16/9;
    line-height: 0;
}

.demo-video wistia-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Benefits Section */
.benefits {
    padding: 70px 0;
}

.benefits-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.benefit-card {
    flex: 1;
    min-width: 300px;
    max-width: 350px;
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #F5F1E3;
    color: var(--primary-color);
    font-size: 2.5rem;
}

.benefit-title {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* Problem/Solution Section */
.problem-solution {
    background: linear-gradient(45deg, #F5F1E3, #FFF);
    padding: 70px 0;
}

.problem-solution-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 50px;
}

.problem-solution-text {
    flex: 1;
    min-width: 300px;
}

.problem-solution-img {
    flex: 1;
    min-width: 300px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.problem-solution-img img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.problem-box {
    background-color: #fff;
    border-left: 4px solid #8A9A5B;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    box-shadow: var(--box-shadow);
}

.solution-box {
    background-color: #fff;
    border-left: 4px solid #6B9F5F;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    box-shadow: var(--box-shadow);
}

/* Instructor Section */
.instructor {
    padding: 70px 0;
    background-color: #fff;
}

.instructor-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.instructor-img {
    flex: 1;
    min-width: 300px;
    max-width: 400px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    margin: 0 auto;
}

.instructor-img img {
    width: 100%;
    height: auto;
    display: block;
}

.instructor-content {
    flex: 1;
    min-width: 300px;
}

.instructor-badge {
    display: inline-block;
    padding: 5px 15px;
    background-color: #F5F1E3;
    border-radius: 30px;
    color: var(--text-color);
    margin-bottom: 20px;
    font-size: 0.9rem;
    border: 1px solid #e5e0cf;
}

/* Course Content Section */
.course-content {
    padding: 70px 0;
    background-color: #F5F1E3;
}

.modules-container {
    margin-top: 40px;
}

.module-item {
    background-color: white;
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.module-header {
    padding: 20px;
    background-color: #fff;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f0f0f0;
    font-weight: 700;
    transition: var(--transition);
}

.module-header:hover {
    background-color: #f9f7f0;
}

.module-content {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.module-content.active {
    padding: 20px;
    max-height: 1000px;
}

.module-lessons {
    list-style-type: none;
}

.module-lessons li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
}

.module-lessons li:last-child {
    border-bottom: none;
}

.module-lessons li:before {
    content: '▶';
    margin-right: 10px;
    color: var(--primary-color);
    font-size: 0.7rem;
}

.course-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 30px auto;
    gap: 15px;
    width: fit-content;
    padding: 15px 25px;
    background-color: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.course-badge span {
    font-weight: 700;
    color: var(--heading-color);
}

/* FAQs Section */
.faqs {
    padding: 70px 0;
}

.faq-container {
    margin-top: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.faq-item {
    background-color: white;
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    background-color: #fff;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    transition: var(--transition);
}

.faq-question:hover {
    background-color: #f9f7f0;
}

.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer.active {
    padding: 20px;
    max-height: 1000px;
}

/* Testimonials Section */
.testimonials {
    padding: 70px 0;
    background-color: #F5F1E3;
}

.testimonials-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    flex: 1;
    min-width: 300px;
    max-width: 350px;
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.testimonial-card:before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 3rem;
    color: #f0f0f0;
    font-family: Georgia, serif;
}

.testimonial-content {
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-avatar {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-avatar img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-info h4 {
    margin: 0;
    font-size: 1.1rem;
}

.testimonial-info p {
    margin: 0;
    font-size: 0.9rem;
    color: #6c757d;
}

.testimonials-more {
    margin-top: 30px;
    text-align: center;
}

.testimonials-more a {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 500;
}

/* Demo Section */
.demo {
    padding: 70px 0;
    background-color: #fff;
}

.demo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.demo-video {
    width: 100%;
    max-width: 600px;
    aspect-ratio: 16/9;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    margin: 30px 0;
    background-color: #F5F1E3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.demo-video img {
    width: 100%;
    height: auto;
}

/* Trust Badges Section */
.trust-badges {
    padding: 50px 0;
    background-color: #F5F1E3;
}

.badges-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
}

.badge-item {
    flex: 1;
    min-width: 200px;
    max-width: 250px;
    text-align: center;
    padding: 20px;
}

.badge-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.badge-text h4 {
    margin: 0 0 5px;
    font-size: 1.2rem;
}

.badge-text p {
    margin: 0;
    font-size: 0.9rem;
    color: #6c757d;
}

/* Pricing Section */
.pricing {
    padding: 70px 0;
    background-color: #fff;
}

.pricing-container {
    max-width: 800px;
    margin: 40px auto 0;
    background-color: white;
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--box-shadow);
    text-align: center;
}

.price-tag {
    margin: 20px 0;
}

.price-old {
    text-decoration: line-through;
    color: #6c757d;
    font-size: 1.3rem;
    margin-right: 10px;
}

.price-current {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.price-features {
    margin: 30px 0;
    text-align: left;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.price-features ul {
    list-style-type: none;
}

.price-features li {
    padding: 8px 0;
    display: flex;
    align-items: center;
}

.price-features li:before {
    content: '✓';
    margin-right: 10px;
    color: var(--primary-color);
    font-weight: 700;
}

.pricing-actions {
    margin-top: 30px;
}

.gift-option {
    margin-top: 20px;
    font-size: 0.9rem;
}

/* Footer */
.landing-footer {
    background-color: #4B4B4B;
    color: white;
    padding: 40px 0;
    text-align: center;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    max-width: 200px;
}

.footer-links {
    margin-bottom: 20px;
}

.footer-links a {
    color: white;
    margin: 0 10px;
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-contact {
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.footer-security {
    font-size: 0.8rem;
    color: #cccccc;
}

/* Gallery Section */
.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    position: relative;
    aspect-ratio: 1 / 1;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    padding: 20px 15px 15px;
    color: white;
    font-weight: 600;
    text-align: center;
}

/* Responsive */
@media (max-width: 1024px) {
    h1 {
        font-size: 2.4rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .benefit-card, .testimonial-card {
        min-width: 250px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 40px 0;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero {
        padding: 60px 0 40px;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .benefit-card, .testimonial-card {
        min-width: 100%;
    }
    
    .instructor-img {
        max-width: 300px;
    }
    
    .pricing-container {
        padding: 30px 20px;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 1rem;
    }
    
    .btn-large {
        padding: 14px 28px;
        font-size: 1.1rem;
    }
    
    .instructor-img {
        max-width: 250px;
    }
}