:root {
    /* Main Brand Colors */
    --pantone-287: #0033A0; /* Deep Blue */
    --pantone-7466: #00A2AA; /* Teal */
    --process-yellow: #FFE900; /* Yellow */
    
    /* Gradients */
    /* Degradado desde 287 hasta 2935 de 100% a 0% */
    --gradient-hero: linear-gradient(135deg, #0033A0 0%, #0055C4 100%);
    /* C 5% + Ne 55% hasta blanco */
    --gradient-gray: linear-gradient(to bottom, #E0E0E0, #FFFFFF);
    
    /* Typography & Utilities */
    --dark-bg: #001133;
    --text-color: #FFFFFF;
    --text-light: #DDDDDD;
    --white: #FFFFFF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Raleway', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--dark-bg);
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 0;
}

.two-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.two-columns > div {
    flex: 1;
    min-width: 300px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Blair', 'Blair ITC', 'BlairMdITC TT', 'Century Gothic', sans-serif;
    text-transform: uppercase; /* Blair looks best uppercase, usually it is an all-caps font */
    margin-bottom: 20px;
    color: var(--white);
}

.cta-button {
    display: inline-block;
    background-color: var(--process-yellow);
    color: var(--pantone-287);
    padding: 16px 32px;
    font-size: 1.25rem;
    font-weight: 700;
    text-decoration: none;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.cta-button:hover {
    background-color: #FFD700;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

/* ============================
   HEADER / TOP NAV
============================ */
.top-nav {
    background-color: transparent;
    padding: 15px 0;
    position: relative;
    z-index: 10;
}

.logos-header {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 0; /* Override container padding */
}

.logos-header .logo {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 480px) {
    .logos-header {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
}

/* ============================
   BLOQUE 1 · HERO
============================ */
.hero {
    position: relative;
    overflow: hidden;
    background: url('assets/bg-hero.jpg') no-repeat center center;
    background-size: cover;
    color: var(--white);
    padding: 0 0 80px 0;
    min-height: 800px;
}

/* Add a dark overlay over the image */
.hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 17, 51, 0.75); /* Dark blue overlay */
    z-index: 1;
}

.hero > * {
    position: relative;
    z-index: 3; /* Content above overlay */
}

/* Override for the graphic so it stays absolute and in the background */
.hero > .yellow-graphic {
    position: absolute;
    z-index: 2;
}

/* Adjust Top Nav to be inside Hero without padding override */
.top-nav {
    background-color: transparent;
    padding: 40px 0;
    z-index: 10;
}
.logos-header {
    display: flex;
    justify-content: flex-start;
    gap: 30px;
    align-items: center;
}

.header-logo {
    height: 45px;
    width: auto;
}

.hero-content {
    display: flex;
    flex-wrap: wrap;
    gap: 100px;
    align-items: center;
    padding-top: 20px;
}

.hero-text {
    flex: 1;
    min-width: 320px;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 800;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 40px;
    color: var(--text-light);
    max-width: 90%;
}

/* Lead Magnet Container */
.lead-magnet-container {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-top: 40px;
}

.book-mockup {
    width: 270px; /* Increased from 200px */
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5));
    margin-left: -20px; /* Counteract transparent padding in the PNG to align with text */
}

.lead-magnet-info-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 30px;
    align-items: flex-start; /* This stops the ribbon from stretching full width! */
}

.lead-magnet-ribbon {
    background: url('assets/ribbon-bg.png') no-repeat left center;
    background-size: 100% 100%;
    padding: 15px 50px 15px 40px; /* Sensible padding, extra on right for the point */
    min-height: 90px;
    display: flex;
    align-items: center;
    margin-left: -30px; /* Tuck just behind the right edge of the book */
    position: relative;
    z-index: -1;
}

.lead-magnet-ribbon p {
    color: #000;
    font-size: 1rem;
    line-height: 1.2;
    margin: 0;
}

.benefits-list {
    list-style: none;
    margin-top: 20px;
    padding-left: 10px; /* Align perfectly with text inside ribbon */
}

.benefits-list li {
    margin-bottom: 12px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.check-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 20px;
    height: 20px;
    background-color: var(--pantone-287);
    color: var(--white);
    border-radius: 50%;
    font-size: 0.8rem;
}

/* Formulario Hero */
.hero-form-wrapper {
    flex: 0 1 480px;
    position: relative;
    z-index: 3;
}

.yellow-graphic {
    position: absolute;
    top: 50%;
    right: 0; /* Pinned exactly to the right viewport edge */
    transform: translateY(-50%);
    width: 45vw; /* Scales with screen width */
    min-width: 950px; /* Ensures it crosses the form on 1920px screens */
    height: 1050px; /* Big enough to match mockup height */
    background: url('assets/bg-graphic.png') no-repeat right center; 
    background-size: 100% 100%; /* Stretch slightly to fit the width/height exactly */
    z-index: 2; /* Below form (3) but above overlay (1) */
    opacity: 0.45; /* Semi-transparent to match the mockup */
    pointer-events: none;
}

.hero-form {
    background: var(--white);
    padding: 40px 40px;
    border-radius: 12px;
    color: #333333;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.hero-form h2 {
    color: var(--pantone-287);
    font-size: 1.5rem;
    margin-bottom: 25px;
    text-align: center;
    font-weight: 800;
}

.hero-form form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.form-group label {
    font-size: 0.85rem;
    color: #555;
    font-weight: 600;
}

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

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

.hero-form input[type="text"],
.hero-form input[type="tel"],
.hero-form input[type="email"] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    background-color: #fff;
    color: #333;
}

.hero-form input:focus {
    border-color: var(--pantone-287);
    outline: none;
}

.radio-label {
    font-weight: 700;
    font-size: 0.9rem;
    margin-top: 5px;
    color: var(--pantone-287);
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 10px;
}

.radio-group label {
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: #666;
}

.hero-form .cta-button {
    width: 100%;
    margin-top: 15px;
    background-color: var(--pantone-287);
    color: var(--white);
    border-radius: 6px;
    padding: 14px;
    font-size: 1.1rem;
}
.hero-form .cta-button:hover {
    background-color: #002277;
    transform: none;
    box-shadow: none;
}

/* ============================
   BLOQUE 2 · IDENTIFICACIÓN
============================ */
.identification {
    background: url('assets/bg-glow.png') no-repeat top center var(--white);
    background-size: 100% auto;
    text-align: center;
    padding: 100px 0;
}

.identification h2 {
    font-size: 2.8rem;
    margin-bottom: 30px;
    color: var(--pantone-287);
}

.identification p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto 30px auto;
    color: #666666;
}

.identification .highlight {
    color: var(--pantone-287);
    font-size: 1.4rem !important;
    font-weight: 700;
    max-width: 900px;
}

/* ============================
   BLOQUE 3 · ¿QUÉ ENCONTRARÁS?
============================ */
.what-you-will-find {
    padding: 80px 0 120px 0;
    background-color: var(--white);
}

.what-you-will-find h2 {
    font-size: 3.2rem;
    margin-bottom: 30px;
    color: var(--pantone-287);
    line-height: 1.1;
    font-weight: 800;
}

.what-you-will-find .blue-list {
    margin-top: 30px;
}

.what-you-will-find .blue-list li {
    font-size: 1.4rem;
    color: var(--pantone-287);
    font-weight: 700;
    margin-bottom: 15px;
}

.what-you-will-find .blue-list .check-icon {
    width: 26px;
    height: 26px;
    font-size: 1rem;
    flex-shrink: 0;
}

.visual-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.book-mockup-large {
    width: 350px;
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.3));
}



/* ============================
   BLOQUE 4 · CIERRE CTA
============================ */
.cta-section {
    background: url('assets/bg-cta.png') no-repeat center center;
    background-size: cover;
    color: var(--white);
    padding: 120px 0;
    text-align: center;
}

.cta-section h2 {
    color: var(--white);
    font-size: 2.8rem;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 800;
}

.yellow-glow-btn {
    background-color: var(--process-yellow);
    color: #000000;
    font-weight: 800;
    padding: 18px 50px;
    border-radius: 8px;
    font-size: 1.25rem;
    display: inline-block;
    box-shadow: 0 0 35px rgba(255, 237, 0, 0.6);
    transition: all 0.3s ease;
    text-decoration: none;
}

.yellow-glow-btn:hover {
    box-shadow: 0 0 50px rgba(255, 237, 0, 0.9);
    transform: translateY(-2px);
    background-color: #ffeb3b;
    color: #000;
}

/* ============================
   BLOQUE 5 · FOOTER
============================ */
.footer {
    background-color: #001133;
    padding: 30px 0;
    text-align: center;
    width: 100%;
}

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

.footer-logo {
    height: 40px;
    width: auto;
}

/* ============================
   WHATSAPP FLOATING BUTTON
============================ */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    background-color: #25D366;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.5);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.7);
}

/* ============================
   THANK YOU PAGE
============================ */
.thank-you-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    padding: 40px 0;
}

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

.thank-you-page h1 {
    font-size: 3.5rem;
    margin-bottom: 30px;
}

.thank-you-page p {
    font-size: 1.5rem;
    margin-bottom: 50px;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-light);
}

.thank-you-page .download {
    font-size: 1.4rem;
    padding: 20px 50px;
}

/* ============================
   RESPONSIVE DESIGN (Mobile First Adjustments)
============================ */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
    }
    .hero-form-wrapper {
        width: 100%;
        flex: 1 1 auto;
    }
    .yellow-graphic {
        display: none; /* Hide large graphic on mobile to avoid overflow */
    }
}

@media (max-width: 768px) {
    .container {
        padding: 30px 0;
        width: 92%;
    }
    
    .hero {
        padding: 40px 0;
    }
    
    .hero-text h1 {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .lead-magnet-container {
        flex-direction: column;
        align-items: center;
    }
    
    .lead-magnet-ribbon {
        margin-left: 0;
        margin-top: -20px;
        z-index: 2;
    }

    .hero-form {
        padding: 30px 20px;
    }
    
    .cta-button {
        padding: 18px 24px;
        font-size: 1.15rem;
    }
    
    .identification {
        padding: 60px 0;
    }
    
    .identification h2 {
        font-size: 2rem;
    }
    
    .identification p, .identification .highlight {
        font-size: 1.1rem !important;
    }
    
    .what-you-will-find {
        padding: 60px 0;
    }
    
    .what-you-will-find h2 {
        font-size: 2rem;
    }
    
    .footer {
        padding: 50px 0 30px 0;
    }
    
    .cta-section {
        padding: 80px 0;
    }

    .cta-section h2 {
        font-size: 2rem;
        margin-bottom: 30px;
    }

    .yellow-glow-btn {
        padding: 15px 35px;
        font-size: 1.1rem;
    }

    .footer {
        padding: 0;
    }
    
    .what-you-will-find .blue-list li {
        font-size: 1.1rem;
    }
    
    .book-mockup-large {
        width: 280px;
        margin: 30px auto 0 auto;
    }
    
    .form-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .thank-you-page h1 {
        font-size: 2.5rem;
    }
    
    .thank-you-page p {
        font-size: 1.2rem;
    }
}
