@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;700;900&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body { 
    font-family: 'Montserrat', sans-serif; 
    background-color: #0c0c0c; 
    color: #ffffff; 
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
}

.text-red { color: #e30613; }

/* --- HEADER --- */
.main-header {
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    padding: 15px 0;
    position: absolute;
    width: 100%;
    z-index: 10;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: #fff;
    line-height: 0.85;
}

.logo-num {
    display: block;
    font-size: 2.2rem;
    font-weight: 900;
    letter-spacing: -1px;
}

.logo-text {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 3px;
}

.main-nav {
    display: flex;
    gap: 20px;
}

.main-nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    opacity: 0.8;
    transition: opacity 0.3s, color 0.3s;
}

.main-nav a:hover, .main-nav a.active {
    opacity: 1;
    color: #e30613;
}

.btn-cta {
    color: white;
    padding: 12px 26px;
    text-decoration: none;
    font-weight: 700;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    transition: transform 0.2s, background-color 0.3s;
}

.bg-red { background-color: #e30613; }
.bg-red:hover { background-color: #bd050f; transform: scale(1.03); }


/* --- HERO SECTION (Ajuste de imagen de fondo) --- */
.hero-section {
    /* El gradiente oscurece la parte izquierda para dar legibilidad al texto y deja ver al aplicador a la derecha */
    background: linear-gradient(to right, rgba(12, 12, 12, 1) 35%, rgba(12, 12, 12, 0.5) 65%, rgba(12, 12, 12, 0.1) 100%), 
                url('hero-bg.png'); 
    background-size: cover;
    background-position: center right; /* Centra la vista hacia el lado derecho donde está el aplicador */
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 130px;
    padding-bottom: 60px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    width: 100%;
}

/* Textos */
.hero-content h1 { 
    font-size: 4.5rem; 
    font-weight: 900; 
    margin-bottom: 20px; 
    line-height: 0.95;
    letter-spacing: -2px;
}

.hero-content .main-subtitle { 
    font-size: 1.25rem; 
    margin-bottom: 20px; 
    color: #ffffff; 
    font-weight: 700; 
    line-height: 1.3;
    letter-spacing: 0.5px;
}

.hero-description {
    font-size: 0.95rem;
    color: #ccc;
    line-height: 1.5;
    margin-bottom: 35px;
    max-width: 500px;
}

/* Iconos y Beneficios */
.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.benefit-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    max-width: 480px;
}

.benefit-icon {
    font-size: 1.4rem;
    color: #e30613;
    margin-top: 3px;
    width: 25px;
    text-align: center;
}

.benefit-item h3 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 3px;
    letter-spacing: 0.5px;
}

.benefit-item p {
    font-size: 0.8rem;
    color: #aaa;
    line-height: 1.4;
}

/* Escudo Flotante Derecho */
.hero-badge-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-right: 40px;
}

.badge-practical {
    background: linear-gradient(135deg, #151515 0%, #050505 100%);
    border: 3px solid #333;
    padding: 25px 20px;
    border-radius: 15px;
    text-align: center;
    width: 170px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.8);
    position: relative;
    clip-path: polygon(0% 0%, 100% 0%, 100% 85%, 50% 100%, 0% 85%);
}

.badge-title {
    display: block;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #bbb;
}

.badge-percentage {
    display: block;
    font-size: 3.2rem;
    font-weight: 900;
    color: #e30613;
    line-height: 1;
    margin: 5px 0;
}

.badge-sub {
    display: block;
    font-size: 0.9rem;
    font-weight: 900;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.badge-check {
    width: 22px;
    height: 22px;
    background-color: #e30613;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    font-size: 0.7rem;
    color: #fff;
}

/* --- RESPONSIVO --- */
@media (max-width: 992px) {
    .main-nav { display: none; }
    
    .hero-section {
        /* En dispositivos móviles, cambiamos a un gradiente vertical completo para que no tape al aplicador de fondo */
        background: linear-gradient(rgba(12, 12, 12, 0.85), rgba(12, 12, 12, 0.75)), 
                    url('hero-bg.png');
        background-position: 65% center;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .hero-content {
        text-align: center;
    }

    .hero-description {
        margin: 0 auto 35px auto;
    }

    .benefit-item {
        text-align: left;
        margin: 0 auto;
    }

    .hero-badge-container {
        justify-content: center;
        padding-right: 0;
    }
}

@media (max-width: 480px) {
    .hero-content h1 { font-size: 2.8rem; }
    .hero-content .main-subtitle { font-size: 1.1rem; }
}

/* --- SEGUNDA SECCIÓN: FRANJA DE CARACTERÍSTICAS DE CAPACITACIÓN --- */
.features-bar-section {
    background-color: #111111;
    width: 100%;
    position: relative;
}

.features-bar-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    align-items: stretch;
}

/* Bloque del Certificado (Área Roja) */
.certificate-badge-block {
    background-color: #e30613;
    padding: 30px 40px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
}

/* Pequeño corte diagonal sutil emulando la separación del diseño */
.certificate-badge-block::after {
    content: '';
    position: absolute;
    right: -15px;
    top: 0;
    width: 0;
    height: 0;
    border-top: 90px solid #e30613;
    border-right: 15px solid transparent;
    z-index: 2;
}

.badge-inner-flex {
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 450px;
}

.certificate-main-icon {
    font-size: 3.2rem;
    color: #ffffff;
}

.certificate-badge-block h2 {
    font-size: 1.15rem;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: 0.5px;
    color: #ffffff;
}

.certificate-badge-block h2 .light-text {
    font-weight: 500;
    font-size: 1.1rem;
}

/* Bloque de características extras (Área Oscura) */
.extra-features-block {
    padding: 30px 50px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 20px;
}

.extra-feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.extra-feature-item i {
    font-size: 1.8rem;
    color: #ffffff;
    opacity: 0.9;
}

.extra-feature-item h4 {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1.3;
    color: #ffffff;
}


/* --- SECCIÓN PRINCIPAL: ¿QUÉ APRENDERÁS? --- */
.what-you-will-learn-section {
    background-color: #0c0c0c;
    padding: 90px 0;
}

.section-title-center {
    font-size: 2.5rem;
    font-weight: 900;
    text-align: center;
    letter-spacing: -1px;
    margin-bottom: 60px;
    color: #ffffff;
}

/* Cuadrícula de 3 columnas para PC */
.learning-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.learning-card {
    background-color: rgba(255, 255, 255, 0.02);
    border-left: 2px solid rgba(227, 6, 19, 0.3);
    padding: 30px 25px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.learning-card:hover {
    transform: translateY(-5px);
    border-left-color: #e30613;
    background-color: rgba(255, 255, 255, 0.04);
}

.card-icon-wrapper {
    margin-bottom: 20px;
}

.card-icon-wrapper i {
    font-size: 2.2rem;
    color: #e30613;
}

/* --- SECCIÓN ¿QUÉ APRENDERÁS? (ESTILOS REVISADOS) --- */
.what-you-will-learn-section {
    background-color: #0c0c0c; 
    padding: 90px 0;
}

.section-title-center {
    font-size: 2.3rem;
    font-weight: 900;
    text-align: center;
    letter-spacing: -1px;
    margin-bottom: 75px;
    color: #ffffff;
}

.learning-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    position: relative;
}

.learning-column {
    padding: 0 15px;
    text-align: center;
    position: relative;
}

/* Divisores verticales sutiles */
.learning-column:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 10%;
    height: 80%;
    width: 1px;
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,0.12) 50%, rgba(255,255,255,0) 100%);
}

/* Ajuste del tamaño y comportamiento del contenedor de Iconos */
.card-icon-wrapper {
    margin-bottom: 25px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ESTILO DEFINITIVO PARA LOS ICONOS VECTORIALES (Fiel a landing4.jpg) */
.icon-svg {
    width: 38px;
    height: 38px;
    fill: #e30613; /* Color rojo sólido del trazo */
    display: block;
    transition: transform 0.2s ease;
}

.learning-column:hover .icon-svg {
    transform: scale(1.08); /* Sutil feedback interactivo */
}

/* Tipografías e interlineado idéntico a la referencia */
.learning-column h3 {
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
    color: #ffffff;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.learning-column p {
    font-size: 0.78rem;
    color: #aaaaaa;
    line-height: 1.45;
    padding: 0 5px;
}

/* --- RESPONSIVE --- */
@media (max-width: 1100px) {
    .learning-grid {
        grid-template-columns: repeat(3, 1fr);
        row-gap: 55px;
    }
    .learning-column::after { display: none; }
    .learning-column:not(:nth-child(3n))::after {
        content: ''; position: absolute; right: 0; top: 10%; height: 80%; width: 1px; background: rgba(255, 255, 255, 0.12);
    }
}

@media (max-width: 768px) {
    .learning-grid {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 45px;
    }
    .learning-column::after { display: none !important; }
    .learning-column:not(:nth-child(2n))::after {
        content: ''; position: absolute; right: 0; top: 10%; height: 80%; width: 1px; background: rgba(255, 255, 255, 0.12);
    }
}

@media (max-width: 480px) {
    .learning-grid {
        grid-template-columns: 1fr;
        row-gap: 50px;
    }
    .learning-column::after { display: none !important; }
    .learning-column h3 { height: auto; margin-bottom: 8px; }
}


/* --- CUARTA SECCIÓN: SISTEMA DE PRODUCTOS --- */
.product-system-section {
    background-color: #f9f9f9; /* Fondo claro limpio para contrastar con el negro corporativo */
    padding: 60px 0;
    color: #111111; /* Textos oscuros legibles */
}

/* Alineación horizontal dividida: Título a la izquierda, productos a la derecha */
.system-layout {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.system-info {
    flex: 0 0 30%; /* Controla el ancho del bloque de texto izquierdo */
}

.system-info h2 {
    font-size: 1.7rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.system-info p {
    font-size: 0.9rem;
    color: #555555;
    line-height: 1.4;
}

/* Contenedor del combo de productos */
.system-products-combo {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 15px;
}

/* Tarjeta individual de producto */
.product-card {
    text-align: center;
    width: 170px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Caja contenedora para las imágenes de los productos */
.product-img-box {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.product-img-box img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 8px 16px rgba(0,0,0,0.1)); /* Sutil sombra a los botes */
}

/* Etiquetas Rojas (Badge) */
.product-badge {
    background-color: #e30613;
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 3px;
    display: inline-block;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    white-space: nowrap;
}

/* Descripción inferior del producto */
.product-desc {
    font-size: 0.75rem;
    color: #444444;
    line-height: 1.3;
    font-weight: 500;
}

/* Estilo para los signos de más (+) */
.combo-sign {
    font-size: 1.8rem;
    font-weight: 700;
    color: #111111;
    margin-bottom: 50px; /* Centrado visual respecto a las imágenes */
    user-select: none;
}

/* --- ADAPTACIÓN RESPONSIVA (MOBILE) --- */
@media (max-width: 992px) {
    .system-layout {
        flex-direction: column; /* Se apila verticalmente en tablets */
        text-align: center;
        gap: 40px;
    }
    
    .system-info {
        flex: 1;
    }
    
    .system-products-combo {
        justify-content: center;
        width: 100%;
    }
}

@media (max-width: 650px) {
    .system-products-combo {
        flex-direction: column; /* En teléfonos los botes se apilan uno abajo del otro */
        gap: 30px;
    }
    
    .product-card {
        width: 100%;
    }
    
    .combo-sign {
        margin-bottom: 0;
        font-size: 1.5rem;
    }
}


/* --- SEXTA SECCIÓN: REGISTRO Y PREGUNTAS FRECUENTES --- */
.registration-faq-section {
    background-color: #0c0c0c;
    padding: 90px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.registration-layout {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: start;
}

/* Tarjeta de Registro Premium */
.registration-card-box {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-top: 3px solid #e30613;
    padding: 40px;
    border-radius: 4px;
}

.registration-card-box h3 {
    font-size: 1.4rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.registration-card-box p {
    font-size: 0.85rem;
    color: #aaaaaa;
    line-height: 1.5;
    margin-bottom: 30px;
}

/* Campos de Formulario */
.landing-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.75rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.form-group input {
    background-color: #161616;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 14px 16px;
    color: #ffffff;
    font-size: 0.88rem;
    font-family: 'Montserrat', sans-serif;
    border-radius: 4px;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #e30613;
}

.btn-submit-form {
    background-color: #e30613;
    color: #ffffff;
    border: none;
    padding: 16px;
    font-size: 0.9rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    border-radius: 4px;
    letter-spacing: 0.5px;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

.btn-submit-form:hover {
    background-color: #b3040e;
}

/* Bloque de Acordeón FAQ */
.faq-accordion-box h3 {
    font-size: 1.7rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 35px;
    letter-spacing: -0.5px;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 0;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.4;
    padding-right: 20px;
}

.faq-question i {
    color: #e30613;
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, margin-top 0.3s ease;
}

.faq-answer p {
    font-size: 0.85rem;
    color: #aaaaaa;
    line-height: 1.6;
    padding-top: 15px;
}

/* Clase activa para interactividad vía JS */
.faq-item.active .faq-question i {
    transform: rotate(180deg);
}
.faq-item.active .faq-answer {
    max-height: 200px;
}


/* --- SÉPTIMA SECCIÓN: FOOTER Y CONVERSIÓN --- */
.main-footer-landing {
    width: 100%;
}

/* Franja Roja WhatsApp */
.footer-cta-red-bar {
    background-color: #e30613;
    padding: 25px 0;
}

.cta-bar-flex {
    display: flex;
    justify-content: center;
}

.whatsapp-footer-link {
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    color: #ffffff;
    max-width: 700px;
}

.whatsapp-footer-link i {
    font-size: 3rem;
}

.whatsapp-footer-link h3 {
    font-size: 1.1rem;
    font-weight: 900;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.whatsapp-footer-link p {
    font-size: 0.82rem;
    opacity: 0.9;
    font-weight: 500;
}

/* Base footer del copyright */
.footer-base-dark {
    background-color: #000000;
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-base-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.logo-footer .logo-num { font-size: 1.7rem; }
.logo-footer .logo-text { font-size: 0.65rem; }

.footer-copyright p {
    font-size: 0.75rem;
    color: #666666;
    line-height: 1.4;
    text-align: right;
}


/* --- CONTROL RESPONSIVE ÚLTIMAS SECCIONES --- */
@media (max-width: 992px) {
    .registration-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .registration-card-box {
        max-width: 600px;
        margin: 0 auto;
        width: 100%;
    }
    
    .faq-accordion-box {
        max-width: 600px;
        margin: 0 auto;
        width: 100%;
    }
    
    .footer-base-flex {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-copyright p {
        text-align: center;
    }
}

@media (max-width: 600px) {
    .registration-card-box {
        padding: 25px 20px;
    }
    
    .whatsapp-footer-link {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .whatsapp-footer-link i {
        font-size: 2.6rem;
    }
}