/* --- Base Variables & Setup --- */
:root {
    --primary-blue: #000D80; /* C100 M95 Y50 */
    --vibrant-blue: #0073FF; /* C100 M55 Y0 */
    --cyan: #00A9CE;
    --yellow: #FFD100;
    --secondary-blue: #0057B8;
    --dark-gray: #333333;
    --light-gray: #F5F7FA;
    --white: #FFFFFF;
    --text-color: #4A4A4A;
}

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

body {
    font-family: 'Raleway', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-gray);
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Blair', 'Montserrat', sans-serif;
    color: var(--dark-gray);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: var(--vibrant-blue);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

/* Typography */
h1, h2, h3, h4 {
    color: var(--primary-blue);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

h1 {
    font-size: 2.8rem;
    font-weight: 800;
}

h2 {
    font-size: 2.2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
    text-align: center;
}

.btn-primary {
    background-color: var(--vibrant-blue);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #e6bc00;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--cyan);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: #0093b3;
    transform: translateY(-2px);
}

.btn-whatsapp {
    background-color: #25D366;
    color: var(--white);
}

.btn-whatsapp:hover {
    background-color: #1ebe5d;
    transform: translateY(-2px);
}

.btn-block {
    display: block;
    width: 100%;
}

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

/* Floating WhatsApp */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s;
}

.floating-whatsapp:hover {
    transform: scale(1.05);
    color: white;
}

.floating-whatsapp i {
    font-size: 1.5rem;
}

/* Header */
.main-header {
    background-color: var(--primary-blue);
    padding: 20px 0;
    border-bottom: 4px solid var(--yellow);
}

.absolute-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    background-color: transparent;
    border-bottom: none;
}

/* Hero Section */
.hero {
    position: relative;
    background: url('../images/hero-bg.jpg') center/cover no-repeat;
    color: var(--white);
    padding: 120px 0 60px 0; /* Extra top padding for absolute header */
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/hero-filter.png');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    width: 100%;
}

.logo-group {
    display: flex;
    align-items: center;
    gap: 20px;
}
.header-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.hero-content {
    flex: 1;
    min-width: 300px;
    padding-right: 40px;
}

.hero-content h1 {
    color: var(--white);
    font-size: 3.5rem;
    margin-bottom: 15px;
}

.hero-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 500px;
    margin-bottom: 20px;
}


/* Hero CTA Buttons (dinámicos) */
.hero-cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.btn-hero-lm {
    background-color: var(--yellow);
    color: #000;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1rem;
    padding: 14px 28px;
    border-radius: 10px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 0 20px rgba(255, 242, 0, 0.5);
    transition: all 0.3s ease;
}

.btn-hero-lm:hover {
    box-shadow: 0 0 30px rgba(255, 242, 0, 0.9);
    transform: translateY(-2px);
}

.btn-hero-whatsapp {
    background-color: #25D366;
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    padding: 14px 28px;
    border-radius: 10px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
}

.btn-hero-whatsapp:hover {
    box-shadow: 0 0 30px rgba(37, 211, 102, 0.8);
    transform: translateY(-2px);
}

.btn-hero-whatsapp i {
    font-size: 1.3rem;
}

.hero-resource-wrapper {
    display: flex;
    align-items: center;
    position: relative;
    margin-top: 10px;
}

.ebook-img {
    height: 250px;
    width: auto;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.5));
}

.yellow-ribbon {
    background-image: url('../images/yellow-arrow.png');
    background-size: 100% 100%;
    background-position: left center;
    background-repeat: no-repeat;
    padding: 12px 50px 12px 60px; /* Thinner padding */
    margin-left: -50px; /* pull ribbon behind book */
    position: relative;
    z-index: 1;
    min-width: 250px;
    display: flex;
    align-items: center;
}

.yellow-ribbon p {
    margin: 0;
    color: var(--primary-blue);
    font-size: 1rem;
    line-height: 1.3;
    opacity: 1;
}

.yellow-ribbon span {
    font-weight: 800;
}

.right-bg-shape {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 90%;
    max-height: 800px;
    z-index: 1;
    object-fit: contain;
    object-position: right center;
    opacity: 0.9;
}

/* Form Box */
.hero-form-container {
    flex: 1;
    min-width: 320px;
    max-width: 380px;
    position: relative;
    z-index: 2;
    margin-left: auto; /* push it to the right slightly if there is space */
}

.form-box {
    background-color: var(--white);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    color: var(--dark-gray);
    position: relative;
    z-index: 2;
}

.form-box h3 {
    text-align: center;
    margin-bottom: 25px;
    font-size: 1.2rem;
    color: var(--primary-blue);
    font-weight: 800;
}

.form-group {
    margin-bottom: 12px;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-color);
    margin-bottom: 5px;
    font-weight: 600;
}

.form-group.row {
    display: flex;
    gap: 15px;
}

.form-group.row .col {
    flex: 1;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"] {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    transition: border-color 0.3s;
}

input:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.radio-group, .checkbox-group {
    margin-bottom: 20px;
}

.radio-title {
    display: block;
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: var(--primary-blue);
}

.radio-label, .checkbox-label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-label {
    margin-top: 15px;
    font-size: 0.85rem;
}

.checkbox-label input {
    margin-top: 3px;
}

/* Benefits Section */
.benefits-section {
    padding: 80px 0 0 0; /* Removing bottom padding to let glow sit flush if needed, or keep some padding */
    background-color: var(--white);
    background-image: linear-gradient(180deg, var(--white) 0%, #e0f0ff 100%);
    position: relative;
    overflow: hidden;
}

.benefits-section .container {
    position: relative;
    z-index: 2;
    padding-bottom: 60px; /* Space before glow */
}

.section-title {
    text-align: center;
    color: var(--primary-blue);
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 50px;
    color: #666;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.benefit-item {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 12px 20px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 15px;
    transition: transform 0.3s;
    border: 2px solid var(--yellow);
}

.benefit-item:hover {
    transform: translateY(-3px);
}

.check-icon-css {
    background-color: var(--vibrant-blue);
    color: var(--white);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.benefit-item span {
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.2;
}

.blue-glow-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.blue-glow-img {
    width: 100%;
    max-width: 700px;
    height: auto;
    object-fit: contain;
    margin-bottom: -10px; /* flush with bottom */
}

/* Experience Section (Bloque 3) */
.experience-section {
    padding: 100px 0;
    background: url('../images/section3-bg.png') center/cover no-repeat;
    position: relative;
}

.experience-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('../images/dark-blue.png');
    background-size: cover;
    background-position: center;
    opacity: 0.85;
    z-index: 1;
}

.experience-section .container {
    position: relative;
    z-index: 2;
}

.experience-card {
    background-image: url('../images/light-blue.png');
    background-size: cover;
    background-position: center;
    border: 1px solid #4a90e2; /* light blue border */
    display: flex;
    align-items: center;
    padding: 60px;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.experience-content {
    flex: 1;
}

.experience-content h2 {
    color: var(--yellow);
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.experience-content p {
    color: var(--white);
    font-size: 1.1rem;
    line-height: 1.5;
}

.experience-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.experience-image img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* Footer Section (Bloque 4) */
.footer-section {
    background: url('../images/footer-bg.png') center/cover no-repeat;
    position: relative;
    padding-top: 80px;
}

.footer-content h2 {
    color: var(--white);
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.footer-content .subtitle {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 25px;
}

.yellow-divider {
    width: 150px;
    height: 2px;
    background-color: var(--yellow);
    margin: 0 auto 25px;
}

.footer-content .description {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.footer-cta-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 80px;
    flex-wrap: wrap;
}

.btn-yellow-glow, .btn-green-glow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    border-radius: 12px;
    font-family: 'Montserrat', 'Raleway', sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-yellow-glow {
    background-color: #FFF200;
    color: #000;
    box-shadow: 0 0 25px rgba(255, 242, 0, 0.7);
}

.btn-yellow-glow:hover {
    box-shadow: 0 0 35px rgba(255, 242, 0, 1);
    transform: translateY(-2px);
}

.btn-green-glow {
    background-color: #00e65b;
    color: var(--white);
    box-shadow: 0 0 25px rgba(0, 230, 91, 0.7);
}

.btn-green-glow i {
    font-size: 1.2rem;
    margin-right: 10px;
    background-color: white;
    color: #00e65b;
    border-radius: 50%;
    padding: 3px;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-green-glow:hover {
    box-shadow: 0 0 35px rgba(0, 230, 91, 1);
    transform: translateY(-2px);
}

/* Footer Logos Strip */
.footer-logos-strip {
    background-color: transparent;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding: 20px 0;
}

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

.footer-logo {
    height: 30px;
    width: auto;
    object-fit: contain;
}

.text-logo-placeholder {
    color: var(--white);
    font-weight: 700;
    font-family: 'Blair', 'Montserrat', sans-serif;
    opacity: 0.8;
}

.thank-you-box {
    background-color: var(--white);
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    max-width: 700px;
    margin: 0 auto;
    border-top: 6px solid var(--yellow);
}

.thank-you-box h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.thank-you-box p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.thank-you-box i.fa-check-circle {
    font-size: 4rem;
    color: var(--cyan);
    margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    
    .hero-container {
        flex-direction: column;
    }
    
    .hero-content {
        padding-right: 0;
    }
    
    .yellow-ribbon {
        margin-left: -40px;
        min-width: 250px;
    }

    .hero-form-container {
        width: 100%;
        max-width: 100%;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .experience-card {
        flex-direction: column;
        padding: 30px;
        text-align: center;
    }

    .experience-image {
        justify-content: center;
    }

    .footer-cta-group {
        flex-direction: column;
        align-items: center;
    }

    .floating-whatsapp {
        bottom: 20px;
        right: 20px;
        padding: 10px 15px;
    }
    
    .floating-whatsapp span {
        display: none; /* Hide text on mobile, show only icon */
    }
    
    .cta-group {
        flex-direction: column;
    }
    
    .cta-group .btn {
        width: 100%;
    }
}

.header-logos { display: flex; justify-content: space-between; align-items: center; }
.footer-logos { display: flex; justify-content: center; align-items: center; gap: 15px; flex-wrap: wrap; font-size: 1.1rem; }
.footer-logos .separator { color: var(--cyan); }

