/* ============================================= */
/* ===== VARIABLES Y ESTILOS GLOBALES ===== */
/* ============================================= */

:root {
    --rojo-emergente: #F43A1C;
    --naranja-degrade: #e85b01;
    --verde-gradiente: #2CEF80;
    --celeste-gradiente: #00B2FF;
    --gris-texto: #A0A0A0;
    --negro-fondo: #000000;
    --blanco: #FFFFFF;
    --texto-principal: #1E293B;
    --font-principal: 'Inter', sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-principal);
    background-color: var(--blanco);
    color: var(--texto-principal);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.content-wrapper {
    width: 100%;
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 2rem;
    padding-right: 2rem;
    position: relative;
    z-index: 2;
}


/* ============================================= */
/* ===== SECCIÓN 1: HÉROE ====================== */
/* ============================================= */

.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 4rem 0;
    background-color: var(--negro-fondo);
    background-image: url('../images/BG-lineas-detalle.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.hero-section::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAMAAAAp4XiDAAAAUVBMVEWFhYWDg4N3d3dtbW17e3t1dXWBgYGHh4d5eXlzc3OLi4ubm5uVlZWPj4+NjY19fX2JiYl/f39tbW1+fn5oaGhxcXGnpaWeo6Osq6uGhoSOjo6BgYF3d3e+vicvAAAAI3RSTlMRAoA/RnN/gP35/V/v/Uf/78D/bX//8V/x/kcEoTVs3c3F221eAAAA/nRSTlMbAgMEBQcKDA0ODxESFhcbHyEiJCYoKy4wMzQ5Ojs+QUJEVkdLT1BUY2VnbGt0d3t/gIKDhIWGh4iJiouMjY6PkJGSlJWWl5iZmpucnZ6foKGjpKWmp6ipqqusra6vsLCys7S1tre4ubq7vL2+v8DBwsPFx8jKy8zNzs/Q0dLU1dbX2Nna29zd3t/g4eLj5OXm5+jp6uvs7e7v8PHy8/T19vf4+fr7/P3+vi8JvAAAAFRJREFUeNpiYGBkADNiYWBgZmBgwWPAwMTAwADgDE4j9xAwmj8b2L89mXTw9HY9G7w9ng8MvG8xQfZ8fjz8m4x4g8+3hf83MX8G4GzgDswAA9oAAE2eKj4YltfAAAAAASUVORK5CYII=");
    /* AJUSTE: Opacidad del ruido aumentada */
    opacity: 0.2;
    z-index: 1;
}

.hero-section .content-wrapper {
    position: relative;
    z-index: 2;
}

.hero-logo {
    height: 80px;
    width: auto;
    margin-bottom: 70px;
}

.hero-title {
    font-size: 40px;
    font-weight: 400;
    color: var(--blanco);
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* AJUSTE: Se eliminan los estilos de degradado del texto */
.hero-title .gradient-text {
    font-weight: 400; /* Se iguala el peso al resto del título */
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
    color: inherit; /* Hereda el color del elemento padre (h1) */
}

.hero-subtitle {
    font-size: 18px;
    font-weight: 400;
    color: var(--blanco);
    max-width: 720px;
    line-height: 1.6;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3; 
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translate(-50%, 0);
    }
    40% {
        transform: translate(-50%, -15px);
    }
    60% {
        transform: translate(-50%, -5px);
    }
}


/* ============================================= */
/* ===== SECCIÓN 2: MISIÓN ===================== */
/* ============================================= */

.mission-section {
    padding-top: 250px;
    padding-bottom: 120px;
    position: relative;
    background-color: var(--blanco);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title-accent {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: var(--rojo-emergente);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.mission-section .section-title {
    font-size: 35px;
    font-weight: 400;
    color: var(--gris-texto);
}

.mission-text {
    font-size: 30px;
    font-weight: 400;
    text-align: center;
    line-height: 1.5;
    max-width: 1100px;
    margin: 0 auto;
    /* AJUSTE: Nuevo color de texto para el párrafo */
    color: #6b6b6b;
}

.mission-text em {
    font-style: italic;
}

.mission-text .text-accent-red {
    color: var(--rojo-emergente);
}

.mission-text .text-accent-blue {
    color: var(--celeste-gradiente);
}


/* ============================================= */
/* ===== SECCIÓN 3: CTA EBOOK ================== */
/* ============================================= */

.cta-section {
    background-color: var(--blanco);
    padding-top: 80px;
    padding-bottom: 170px;
}

.cta-section .section-title {
    font-size: 35px;
    font-weight: 400;
    color: var(--gris-texto);
}

.parallax-window {
    width: 100%;
    height: 800px;
    overflow: hidden;
    margin-top: 60px;
    margin-bottom: 60px;
    position: relative;
}

.parallax-image {
    width: 100%;
    height: 1276px;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.cta-description {
    text-align: center;
}

.cta-pre-title {
    font-size: 20px;
    font-weight: 400;
    color: var(--texto-principal);
    margin-bottom: 20px;
}

.cta-main-text {
    font-size: 30px;
    font-weight: 400;
    line-height: 1.5;
    max-width: 1100px;
    margin: 0 auto 40px auto;
    /* AJUSTE: Nuevo color de texto para el párrafo */
    color: #6b6b6b;
}

.cta-main-text em {
    font-style: italic;
}

.cta-main-text .text-accent-red {
    color: var(--rojo-emergente);
}

.cta-button {
    display: inline-block;
    background-color: var(--rojo-emergente);
    color: var(--blanco);
    font-size: 20px;
    font-weight: 700;
    padding: 20px 30px;
    text-decoration: none;
    text-transform: uppercase;
    border-radius: 8px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.cta-button:hover {
    transform: scale(1.05);
    background-color: #d32d0f;
}


/* ============================================= */
/* ===== FOOTER ================================ */
/* ============================================= */

.footer-section {
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--blanco);
    text-align: center;
    position: relative;
    overflow: hidden;
    background-color: var(--negro-fondo);
    background-image: url('../images/BG-lineas-detalle.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.footer-section::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAMAAAAp4XiDAAAAUVBMVEWFhYWDg4N3d3dtbW17e3t1dXWBgYGHh4d5eXlzc3OLi4ubm5uVlZWPj4+NjY19fX2JiYl/f39tbW1+fn5oaGhxcXGnpaWeo6Osq6uGhoSOjo6BgYF3d3e+vicvAAAAI3RSTlMRAoA/RnN/gP35/V/v/Uf/78D/bX//8V/x/kcEoTVs3c3F221eAAAA/nRSTlMbAgMEBQcKDA0ODxESFhcbHyEiJCYoKy4wMzQ5Ojs+QUJEVkdLT1BUY2VnbGt0d3t/gIKDhIWGh4iJiouMjY6PkJGSlJWWl5iZmpucnZ6foKGjpKWmp6ipqqusra6vsLCys7S1tre4ubq7vL2+v8DBwsPFx8jKy8zNzs/Q0dLU1dbX2Nna29zd3t/g4eLj5OXm5+jp6uvs7e7v8PHy8/T19vf4+fr7/P3+vi8JvAAAAFRJREFUeNpiYGBkADNiYWBgZmBgwWPAwMTAwADgDE4j9xAwmj8b2L89mXTw9HY9G7w9ng8MvG8xQfZ8fjz8m4x4g8+3hf83MX8G4GzgDswAA9oAAE2eKj4YltfAAAAAASUVORK5CYII=");
    /* AJUSTE: Opacidad del ruido aumentada */
    opacity: 0.2;
    z-index: 1;
}

.footer-section .content-wrapper {
    position: relative;
    z-index: 2;
}

.footer-section p {
    font-size: 18px;
    font-weight: 400;
}


/* ============================================= */
/* ===== MEDIA QUERIES (RESPONSIVE) ========== */
/* ============================================= */

@media (max-width: 1024px) {
    .mission-text,
    .cta-main-text {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .hero-logo {
        height: 70px;
        margin-bottom: 80px;
    }
    .hero-title {
        font-size: 32px;
    }
    .hero-subtitle {
        font-size: 18px;
    }

    .mission-section,
    .cta-section {
        padding-top: 150px;
        padding-bottom: 80px;
    }
     .mission-section {
        padding-top: 200px;
    }

    .cta-section {
        padding-top: 80px;
        padding-bottom: 120px;
    }

    .section-title {
        margin-bottom: 40px;
    }

    .mission-text,
    .cta-main-text {
        font-size: 28px;
    }

    .parallax-window {
        height: 600px;
    }

    .content-wrapper {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-logo {
        height: 40px;
        margin-bottom: 60px;
    }
    .hero-title {
        font-size: 26px;
    }
    .hero-subtitle {
        font-size: 18px;
    }

    .mission-text,
    .cta-main-text {
        font-size: 22px;
    }

    .section-title-accent {
        font-size: 16px;
    }

    .mission-section .section-title,
    .cta-section .section-title {
        font-size: 28px;
    }

    .parallax-window {
        height: 450px;
    }
    
    .cta-button {
        padding: 18px 25px;
        font-size: 16px;
        width: 100%;
    }

    .footer-section {
        height: 150px; 
    }

    .footer-section p {
        font-size: 16px;
    }
}