/* --- CONFIGURACIÓN DE COLORES --- */
:root {
    --primary-color: #0056D2; 
    --secondary-color: #003C96; 
    --bg-light: #F8FAFC; 
    --bg-contrast: #EEF2FF; 
    --text-dark: #1E293B;
    --text-gray: #475569;
    --white: #FFFFFF;
    --accent-red: #EF4444; 
    --success-green: #10B981;
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    scroll-behavior: smooth;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- UTILIDADES --- */
.section-pad { padding: 80px 20px; }
.bg-contrast { background-color: var(--bg-contrast); }
.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 40px;
    color: var(--text-dark);
    letter-spacing: -0.02em;
    line-height: 1.2;
}
.text-left { text-align: left; }
.shadow-box { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); }

/* --- NAVEGACIÓN --- */
.navbar {
    display: flex; justify-content: space-between; align-items: center;
    height: 90px; padding: 0 5%; 
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    border-bottom: 1px solid #E2E8F0;
    position: sticky; top: 0; z-index: 1000;
}
.logo-img { width: 180px; height: auto; display: block; }

/* --- HERO VERTICAL (MODIFICADO) --- */
.hero {
    /* Pantalla completa pero flexible */
    min-height: calc(100vh - 90px); 
    display: flex;
    flex-direction: column; /* Apila verticalmente */
    justify-content: center;
    align-items: center;
    position: relative;
    background: radial-gradient(circle at top, #F8FAFC, #FFFFFF);
    padding: 60px 20px;
    text-align: center;
}

.hero-content {
    /* Quitamos el grid, usamos flex column */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    width: 100%;
    max-width: 900px; /* Ancho máximo para que no se desparrame */
}

.hero-text-center {
    max-width: 800px;
    margin: 0 auto;
}

.badge {
    background-color: #DBEAFE; color: var(--primary-color);
    padding: 6px 12px; border-radius: 6px; font-weight: 700;
    font-size: 0.8rem; letter-spacing: 1px; display: inline-block;
    margin-bottom: 25px;
}

.main-title {
    font-size: 3.5rem; /* Título más impactante en diseño vertical */
    line-height: 1.1; font-weight: 900; color: var(--text-dark);
    margin-bottom: 20px;
}

.text-highlight { color: var(--primary-color); }

.hero-subtitle { 
    font-size: 1.25rem; 
    color: var(--text-gray); 
    margin-bottom: 10px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Video Wrapper Centrado y Limitado */
.hero-video-wrapper {
    width: 100%;
    max-width: 800px; /* Tamaño ideal para video central */
    position: relative;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    background: #000;
    aspect-ratio: 16/9;
}

.scroll-indicator {
    position: absolute; bottom: 20px; left: 50%;
    transform: translateX(-50%); font-size: 2rem;
    color: var(--primary-color); animation: bounce 2s infinite;
}

@keyframes bounce { 0%, 20%, 50%, 80%, 100% {transform: translateX(-50%) translateY(0);} 40% {transform: translateX(-50%) translateY(-10px);} 60% {transform: translateX(-50%) translateY(-5px);} }

/* --- PUNTOS DE DOLOR --- */
.pain-points { text-align: center; }
.pain-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.pain-card {
    background: var(--white); padding: 40px 30px;
    border-radius: 12px; border: 1px solid #E2E8F0;
    text-align: left; transition: transform 0.3s;
}
.pain-card:hover { transform: translateY(-5px); border-color: var(--accent-red); }
.icon-box {
    width: 50px; height: 50px; display: flex; align-items: center; justify-content: center;
    border-radius: 10px; margin-bottom: 20px;
}
.red-icon { background-color: #FEF2F2; color: var(--accent-red); }
.pain-card h3 { font-size: 1.25rem; margin-bottom: 10px; color: var(--text-dark); }

/* --- MÉTODO --- */
.method-section { text-align: center; }
.steps-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px; margin-top: 40px;
}
.step-card {
    background: var(--white); border-radius: 16px; overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    text-align: left; display: flex; flex-direction: column;
}
.step-img-box {
    height: 180px; background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
    display: flex; align-items: center; justify-content: center;
    color: var(--primary-color);
}
.step-svg { width: 80px; height: 80px; stroke-width: 1.5; }
.step-content { padding: 30px; position: relative; }
.step-num {
    position: absolute; top: -20px; right: 30px;
    background: var(--primary-color); color: white;
    width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
    border-radius: 50%; font-weight: bold; border: 4px solid var(--white);
}

/* --- SOCIAL PROOF & AUTORIDAD --- */
.social-proof { text-align: center; }
.proof-item { background: white; padding: 15px; border-radius: 12px; border: 1px solid #E2E8F0; }
.caption-box { padding-top: 15px; font-weight: 700; color: var(--primary-color); }
.image-placeholder img, .image-placeholder-vertical img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }

/* --- LEAD MAGNET (Actualizado) --- */
.lead-magnet-section { text-align: center; }
.magnet-box {
    background: #1E293B; border-radius: 20px; padding: 60px 40px;
    color: white; position: relative; overflow: hidden;
}
.white-text { color: white !important; margin-bottom: 20px; }
.badge-green { background: var(--success-green); color: white; padding: 5px 15px; border-radius: 20px; font-size: 0.8rem; font-weight: 700; display: inline-block; margin-bottom: 15px; }

.magnet-desc {
    font-size: 1.2rem;
    color: #CBD5E1;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.btn-download {
    display: inline-flex; align-items: center; gap: 10px;
    background-color: var(--success-green); color: white;
    padding: 16px 32px; border-radius: 50px; font-weight: 700; text-decoration: none;
    transition: transform 0.2s; 
}
.btn-download:hover { transform: scale(1.05); background-color: #059669; }

/* --- CALENDLY --- */
.booking-section { text-align: center; }
.calendly-box { background: white; padding: 20px; border-radius: 16px; overflow: hidden; }

/* --- BOTONES --- */
.btn-primary {
    background-color: var(--primary-color); color: white;
    padding: 14px 28px; border-radius: 8px; text-decoration: none; font-weight: 600;
    display: inline-block; transition: background 0.3s;
}
.btn-primary:hover { background-color: var(--secondary-color); }
.btn-large { width: 100%; text-align: center; font-size: 1.1rem; }
.mobile-cta { display: none; margin-top: 20px; }

/* --- VIDEO PLACEHOLDER --- */
.video-placeholder {
    width: 100%; height: 100%; display: flex; flex-direction: column;
    align-items: center; justify-content: center; color: white;
}
.play-icon { font-size: 4rem; opacity: 0.8; margin-bottom: 10px; }

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
    .main-title { font-size: 2.2rem; }
    .mobile-cta { display: block; } 
    .authority-content { grid-template-columns: 1fr; }
    .navbar { height: 70px; }
}

/* --- FAQ SECTION (MODIFICADO: 2 COLUMNAS) --- */
.faq-grid {
    display: grid;
    /* En escritorio forzamos EXACTAMENTE 2 columnas del mismo tamaño */
    grid-template-columns: repeat(2, 1fr); 
    gap: 30px;
    text-align: left;
}

/* Ajuste Responsivo: En móviles volvemos a 1 columna para que se lea bien */
@media (max-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

.faq-item {
    background: var(--bg-contrast);
    padding: 30px;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}
.faq-item h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}
.faq-item p {
    font-size: 0.95rem;
    color: var(--text-gray);
}

/* --- ESCASSEZ (URGENCY) --- */
.badge-alert {
    background-color: #FEF2F2;
    color: var(--accent-red);
    border: 1px solid #FECACA;
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.85rem;
    display: inline-block;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* --- FOOTER LEGAL --- */
footer {
    background-color: var(--text-dark);
    color: #94A3B8;
    padding: 40px 20px;
    font-size: 0.9rem;
    border-top: 1px solid #334155;
}
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}
.footer-links {
    display: flex;
    gap: 20px;
}
.footer-links a {
    color: #94A3B8;
    text-decoration: none;
    transition: color 0.3s;
}
.footer-links a:hover {
    color: white;
}
@media (max-width: 600px) {
    .footer-content { flex-direction: column; text-align: center; }
    .footer-links { flex-direction: column; gap: 10px; }
}

/* --- ESTILOS PÁGINAS LEGALES --- */
.legal-body {
    background-color: var(--bg-light); /* Fondo suave */
}
.legal-nav {
    display: flex; justify-content: space-between; align-items: center;
    padding: 20px 5%; background: white; border-bottom: 1px solid #E2E8F0;
}
.btn-back {
    text-decoration: none; color: var(--text-gray); font-weight: 600;
    display: flex; align-items: center; gap: 5px; transition: color 0.2s;
}
.btn-back:hover { color: var(--primary-color); }

.legal-main { padding: 60px 20px; min-height: 80vh; }

.legal-content { 
    max-width: 800px; 
    margin: 0 auto; 
    background: white; 
    padding: 50px; 
    border-radius: 12px; 
    border: 1px solid #E2E8F0; 
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}

.legal-content h1 { 
    font-size: 2.2rem; margin-bottom: 40px; 
    color: var(--text-dark); border-bottom: 2px solid var(--bg-contrast);
    padding-bottom: 20px;
}
.legal-content h2 { 
    font-size: 1.4rem; margin-top: 30px; margin-bottom: 15px; 
    color: var(--secondary-color); 
}
.legal-content p, .legal-content li { 
    margin-bottom: 15px; color: var(--text-gray); font-size: 1rem;
}
.legal-content ul { padding-left: 20px; margin-bottom: 20px; }
.legal-content strong { color: var(--text-dark); }

/* Ajuste móvil */
@media (max-width: 600px) {
    .legal-content { padding: 25px; }
}