/* --- CONFIGURACIÓN GENERAL --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;700;900&display=swap');

:root {
    --red-primary: #b30f0f;
    --dark-bg: #111111;
    --text-dark: #1e1e1e;
    --text-muted: #555555;
    --light-gray: #f9f9f9;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    background-color: #ffffff;
    color: var(--text-dark);
}

/* --- CABECERA / NAVBAR --- */
.main-header {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 20px;
    letter-spacing: 1px;
}
.logo-bold { font-weight: 900; color: var(--text-dark); }
.logo-light { font-weight: 300; color: var(--text-muted); }

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 700;
    font-size: 13px;
    margin: 0 15px;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--red-primary);
}

.header-cta {
    text-align: center;
}

.btn-nav {
    display: inline-block;
    background-color: var(--red-primary);
    color: #ffffff;
    text-decoration: none;
    padding: 10px 20px;
    font-weight: 700;
    font-size: 14px;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(179, 15, 15, 0.2);
}

.cta-subtext {
    display: block;
    font-size: 10px;
    color: var(--text-muted);
    margin-top: 4px;
    font-weight: 700;
    letter-spacing: 1px;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

/* --- SECCIÓN HERO --- */
.hero-section {
    background-color: var(--light-gray);
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    min-height: calc(100vh - 80px);
}

.hero-content {
    padding: 60px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-subtitle {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.hero-subtitle span {
    color: var(--red-primary);
}

.hero-title {
    font-size: 42px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.text-dark { color: var(--text-dark); }
.text-red { color: var(--red-primary); }

.hero-description {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 40px;
    max-width: 500px;
}

/* Características Rápidas (Iconos) */
.hero-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 40px;
}

.feature-item {
    border-left: 1px solid #e0e0e0;
    padding-left: 15px;
}

.feature-icon {
    color: var(--red-primary);
    font-size: 20px;
    margin-bottom: 10px;
}

.feature-item h4 {
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 5px;
}

.feature-item p {
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.3;
}

/* Botón Principal */
.btn-main {
    display: inline-block;
    background-color: var(--red-primary);
    color: #ffffff;
    text-decoration: none;
    padding: 18px 40px;
    font-weight: 700;
    font-size: 18px;
    border-radius: 5px;
    text-align: center;
    box-shadow: 0 6px 15px rgba(179, 15, 15, 0.3);
    transition: transform 0.2s;
}

.btn-main:hover {
    transform: translateY(-2px);
}

.action-bullets {
    margin-top: 15px;
    display: flex;
    gap: 15px;
}

.action-bullets span {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 700;
}

.action-bullets i {
    font-size: 6px;
    color: var(--red-primary);
    vertical-align: middle;
    margin-right: 3px;
}

/* Contenedor de Imagen */
.hero-image-container {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    
}

.hero-img-mock {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Si no pones imagen aún, esto mantendrá el área limpia */
    background: #e5e5e5; 
}

/* --- RESPONSIVO (MOBILE) --- */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
    }
    
    .hero-image-container {
        height: 400px;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 10px rgba(0,0,0,0.05);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu a {
        margin: 10px 0;
    }

    .header-cta {
        display: none; /* Oculta el botón pequeño en móviles para no saturar */
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 32px;
    }
    .hero-features {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .action-bullets {
        flex-direction: column;
        gap: 5px;
    }
}


/* --- SECCIÓN MERCADO EN CRECIMIENTO --- */
.market-section {
    background-color: #ffffff;
    padding: 80px 20px;
}

.market-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: center;
}

/* Contenido de texto */
.market-title {
    font-size: 32px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.market-description {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 25px;
}

.market-list {
    list-style: none;
}

.market-list li {
    font-size: 14px;
    color: var(--text-dark);
    font-weight: 400;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.market-list i {
    color: var(--red-primary);
    font-size: 16px;
}

/* Galería Grid */
.market-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.gallery-item {
    position: relative;
    height: 300px;
    overflow: hidden;
    background-color: #e5e5e5; /* Fondo gris temporal por si no hay imagen */
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-label {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(17, 17, 17, 0.9); /* var(--dark-bg) con opacidad */
    color: #ffffff;
    text-align: center;
    padding: 12px 5px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
}

/* --- AJUSTES RESPONSIVOS PARA ESTA SECCIÓN --- */
@media (max-width: 992px) {
    .market-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .market-gallery {
        grid-template-columns: repeat(2, 1fr); /* En tablets se vuelve de 2 columnas */
    }
    
    .gallery-item {
        height: 250px;
    }
}

@media (max-width: 576px) {
    .market-section {
        padding: 50px 20px;
    }

    .market-title {
        font-size: 26px;
    }

    .market-gallery {
        grid-template-columns: 1fr; /* En móviles se apilan en 1 columna */
    }
    
    .gallery-item {
        height: 200px;
    }
}


/* --- SECCIÓN QUÉ VAS A APRENDER --- */
.steps-section {
    background-color: #ffffff;
    padding: 60px 20px 80px 20px;
    border-top: 1px solid #eeeeee;
}

.steps-container {
    max-width: 1200px;
    margin: 0 auto;
}

.steps-header {
    text-align: center;
    margin-bottom: 50px;
}

.steps-header h2 {
    font-size: 28px;
    font-weight: 900;
    color: var(--text-dark);
    letter-spacing: -0.5px;
    margin-bottom: 8px;
}

.steps-header p {
    font-size: 15px;
    color: var(--text-muted);
}

/* Contenedor en línea para los pasos y flechas */
.steps-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
}

/* Cada tarjeta de paso */
.step-item {
    flex: 1;
    text-align: center;
    padding: 10px;
}

.step-icon {
    font-size: 32px;
    color: var(--text-dark);
    margin-bottom: 20px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-item h3 {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.step-item p {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.4;
    padding: 0 5px;
}

/* Flechas conectoras */
.step-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 45px; /* Alineada con la altura del icono */
    color: #cccccc;
    font-size: 14px;
}

/* --- RESPONSIVO --- */
@media (max-width: 992px) {
    .steps-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr); /* Se divide en un grid de 3 columnas en tablets */
        gap: 30px 20px;
    }

    /* Ocultamos las flechas en tableta y móvil para que no rompan el diseño */
    .step-arrow {
        display: none;
    }
    
    .step-item {
        padding: 0;
    }
}

@media (max-width: 576px) {
    .steps-section {
        padding: 50px 20px;
    }

    .steps-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columnas en pantallas pequeñas/móviles */
        gap: 35px 15px;
    }
    
    .steps-header h2 {
        font-size: 24px;
    }
}


/* --- SECCIÓN PERFIL Y ANTES/DESPUÉS --- */
.profile-results-section {
    background-color: #ffffff;
    padding: 80px 20px;
    border-top: 1px solid #eeeeee;
}

.profile-results-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: flex-start;
}

/* Títulos comunes de la sección */
.profile-results-section .section-title {
    font-size: 26px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 25px;
    letter-spacing: -0.5px;
    color: var(--text-dark);
}

.profile-results-section .section-subtitle {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: -20px;
    margin-bottom: 25px;
}

/* Estilos de la lista de perfil */
.profile-list {
    list-style: none;
    margin-bottom: 30px;
}

.profile-list li {
    font-size: 13.5px;
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 14px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.4;
}

.profile-list i {
    color: var(--red-primary);
    font-size: 15px;
    margin-top: 2px;
}

.profile-img-container {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background-color: #e5e5e5;
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Estilos del bloque de Resultados (Antes y Después) */
.comparison-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.comparison-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.img-wrapper {
    position: relative;
    height: 195px;
    background-color: #e5e5e5;
    overflow: hidden;
}

.img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Etiquetas (Badges) de Antes y Después */
.badge {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 9px;
    font-weight: 700;
    padding: 4px 8px;
    letter-spacing: 0.5px;
    border-radius: 2px;
    color: #ffffff;
}

.badge-before {
    background-color: rgba(0, 0, 0, 0.6);
}

.badge-after {
    background-color: var(--red-primary);
}

/* --- RESPONSIVO --- */
@media (max-width: 992px) {
    .profile-results-container {
        grid-template-columns: 1fr; /* Se transforma en una sola columna en tablets y móviles */
        gap: 50px;
    }
    
    .profile-img-container {
        height: 300px;
    }
}

@media (max-width: 576px) {
    .profile-results-section {
        padding: 50px 20px;
    }

    .profile-results-section .section-title {
        font-size: 22px;
    }
    
    .img-wrapper {
        height: 140px; /* Ajuste de altura de imágenes para pantallas muy pequeñas */
    }
}


/* --- SECCIÓN QUÉ INCLUYE TU CAPACITACIÓN --- */
.includes-section {
    background-color: #ffffff;
    padding: 60px 20px;
    border-top: 1px solid #eeeeee;
}

.includes-container {
    max-width: 1200px;
    margin: 0 auto;
}

.includes-title {
    text-align: center;
    font-size: 24px;
    font-weight: 900;
    letter-spacing: -0.5px;
    margin-bottom: 40px;
    color: var(--text-dark);
}

.includes-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
}

.include-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 5px;
}

.include-icon {
    font-size: 24px;
    color: var(--text-dark);
}

.include-text h3 {
    font-size: 11px;
    font-weight: 900;
    color: var(--text-dark);
    letter-spacing: 0.5px;
}

.include-text p {
    font-size: 10px;
    color: var(--text-muted);
    font-weight: 400;
}


/* --- SECCIÓN FINAL / FOOTER --- */
.main-footer {
    background-color: #f9f9f9;
    padding: 80px 20px 30px 20px;
    border-top: 1px solid #eeeeee;
}

.footer-cta-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
    padding-bottom: 60px;
    border-bottom: 1px solid #e5e5e5;
}

.footer-text-block h2 {
    font-size: 32px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -1px;
    color: var(--text-dark);
}

.footer-text-block p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 500px;
}

.footer-action-block {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.whatsapp-support {
    display: inline-block;
    margin-top: 15px;
    font-size: 12px;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 700;
    transition: color 0.2s;
}

.whatsapp-support i {
    color: #25D366;
    font-size: 14px;
    margin-right: 5px;
    vertical-align: middle;
}

.whatsapp-support:hover {
    color: var(--text-dark);
}

/* Barra inferior del Footer */
.footer-bottom-bar {
    max-width: 1200px;
    margin: 40px auto 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    font-size: 18px;
    letter-spacing: 1px;
}

.footer-slogan {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 700;
}

.footer-socials {
    display: flex;
    gap: 20px;
}

.footer-socials a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 700;
    transition: color 0.2s;
}

.footer-socials a i {
    margin-right: 5px;
}

.footer-socials a:hover {
    color: var(--red-primary);
}


/* --- AJUSTES RESPONSIVOS EXTRA --- */
@media (max-width: 992px) {
    .includes-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px 15px;
    }

    .footer-cta-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .footer-text-block p {
        margin: 0 auto;
    }

    .footer-bottom-bar {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .includes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .includes-title {
        font-size: 20px;
    }

    .footer-text-block h2 {
        font-size: 24px;
    }
}