/* === VARIABLES Y RESET === */
:root {
    --bg-dark: #101828; /* El color azul muy oscuro/negro de la imagen */
    --bg-light: #ffffff;
    --text-on-dark: #f9fafb;
    --text-on-light: #1d2939;
    --text-muted-dark: #98a2b3;
    --primary-cta: #38bdf8; /* El color cian del botón */
    --primary-cta-hover: #0ea5e9;
    --font-main: 'Inter', sans-serif;
    --container-width: 1000px;
}

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

html {
    scroll-behavior: smooth; /* Desplazamiento suave para los CTAs */
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-light);
    color: var(--text-on-light);
    line-height: 1.6;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* === SECCIÓN SUPERIOR (NEGRA) === */
.vsl-header {
    background-color: var(--bg-dark);
    color: var(--text-on-dark);
    padding: 60px 0 80px 0;
    text-align: center;
}

.subtitle {
    font-size: 1.9rem;
    font-weight: 400;
    color: var(white);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Contenedor del Video (Mantiene proporción 16:9) */
.video-container {
    position: relative;
    width: 100%;
    max-width: 800px; /* Ancho máximo del video */
    margin: 0 auto 50px auto;
    padding-bottom: 56.25%; /* Proporción 16:9 */
    height: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Estilos de los Botones CTA */
.cta-wrapper {
    margin-bottom: 60px;
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-cta);
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
    padding: 18px 40px;
    border-radius: 8px;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(56, 189, 248, 0.3);
}

.cta-button:hover {
    background-color: var(--primary-cta-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(56, 189, 248, 0.4);
}

/* Sección de Logos */
.logos-section {
    max-width: 800px;
    margin: 0 auto;
}

.featured-text {
    color: var(--text-muted-dark);
    font-size: 0.9rem;
    margin-bottom: 25px;
}

.logos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    align-items: center;
    justify-items: center;
    opacity: 0.7; /* Para que se vean más integrados */
}

.logos-grid img {
    max-width: 100%;
    height: auto;
    max-height: 35px; /* Limita la altura de los logos */
    filter: grayscale(100%) brightness(1.2); /* Hace los logos grises y claros */
}

/* === SECCIÓN INFERIOR (BLANCA) === */
.benefits-section {
    background-color: var(--bg-light);
    padding: 80px 0;
    text-align: center;
}

.main-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-on-light);
    margin-bottom: 15px;
}

.section-subtitle {
    color: #667085;
    margin-bottom: 60px;
}

/* Grid de Beneficios responsive con CSS Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 70px;
}

.benefit-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    text-align: left;
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-card img {
    width: 100%;
    height: 200px;
    object-fit: cover; /* Recorta la imagen para llenar el espacio sin deformar */
    border-radius: 8px;
    margin-bottom: 20px;
}

.benefit-card h3 {
    font-size: 1.25rem;
    color: var(--text-on-light);
    margin-bottom: 10px;
}

.benefit-card p {
    font-size: 0.95rem;
    color: #667085;
    line-height: 1.6;
}

.second-cta {
    margin-bottom: 0;
    margin-top: 50px;
}

/* Footer simple */
.main-footer {
    padding: 30px 0;
    text-align: center;
    background-color: #f9fafb;
    border-top: 1px solid #eaecf0;
    font-size: 0.9rem;
    color: #667085;
}

/* === RESPONSIVE DESIGN === */

/* Tablets */
@media (max-width: 900px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr); /* Dos columnas en tablets */
        gap: 25px;
    }
}

/* Móviles */
@media (max-width: 600px) {
    .vsl-header { padding: 40px 0 60px 0; }
    .subtitle { font-size: 1.1rem; }
    .main-title { font-size: 1.8rem; }
    
    .video-container { border-radius: 8px; }
    
    .cta-button {
        width: 100%;
        padding: 16px 20px;
        font-size: 1rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr; /* Una columna en móviles */
    }

    .logos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

.logo-container {
    display: flex;             /* Activa el modo flexible */
    justify-content: center;    /* Centra horizontalmente */
    align-items: center;        /* Centra verticalmente */
    padding: 20px;              /* Espacio alrededor del logo */
    width: 100%;                /* Asegura que ocupe todo el ancho */
}

.main-logo {
    max-width: 200px;           /* Ajusta el tamaño de tu logo aquí */
    height: auto;               /* Mantiene la proporción */
    display: block;             /* Evita espacios extra debajo de la imagen */
}