/* =========================================
   VARIABLES PREMIUM (COMETA CAPITAL)
========================================= */
:root {
    --brand-navy: #0B1B3D;    
    --brand-orange: #F15A24;  
    --brand-orange-hover: #D94D1A;
    --bg-light: #F4F7FB;      
    --bg-white: #FFFFFF;
    --text-main: #1E293B;
    --text-muted: #64748B;
    --border-color: #E2E8F0;
    --shadow-sm: 0 4px 6px -1px rgba(11, 27, 61, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(11, 27, 61, 0.08);
    --shadow-lg: 0 20px 40px -10px rgba(11, 27, 61, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; color: var(--text-main); background-color: var(--bg-white); line-height: 1.6; overflow-x: hidden; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.bg-light { background-color: var(--bg-light); }
.highlight-orange { color: var(--brand-orange); }
.highlight-text { color: var(--brand-orange); font-weight: 700; }

/* --- BOTONES GLOBALES --- */
.btn-outline { text-decoration: none; padding: 12px 24px; border: 2px solid var(--brand-orange); color: var(--brand-orange); border-radius: 8px; font-weight: 600; transition: var(--transition); display: inline-block; }
.btn-outline:hover { background-color: var(--brand-orange); color: var(--bg-white); }
.btn-solid-orange { background-color: var(--brand-orange); color: var(--bg-white); padding: 14px 28px; border-radius: 8px; font-weight: 700; text-decoration: none; display: inline-block; transition: var(--transition); }
.btn-solid-orange:hover { background-color: var(--brand-orange-hover); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.full-width { width: 100%; text-align: center; }

/* --- HEADER Y LOGO GRANDE --- */
.navbar { background-color: var(--bg-white); position: sticky; top: 0; z-index: 1000; box-shadow: var(--shadow-sm); }
.nav-container { display: flex; justify-content: space-between; align-items: center; height: 100px; }

/* LOGO DESTACADO */
.logo { display: flex; align-items: center; }
.logo img { height: 85px; width: auto; object-fit: contain; }

.nav-links { display: flex; gap: 36px; align-items: center; height: 100%; }
.nav-item { position: relative; height: 100%; display: flex; align-items: center; cursor: pointer; }
.nav-item-header { display: flex; align-items: center; color: var(--text-main); font-weight: 600; font-size: 1.05rem; transition: var(--transition); height: 100%; }
.single-link a { text-decoration: none; color: var(--text-main); font-weight: 600; font-size: 1.05rem; transition: var(--transition); }
.nav-item:hover .nav-item-header, .single-link:hover a { color: var(--brand-orange); }

/* --- MEGAMENÚS DESKTOP ANCLADOS (SIN DESBORDE) --- */
.megamenu-wrapper {
    position: absolute;
    top: 100px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    pointer-events: none;
    z-index: 1100;
}

.megamenu-wrapper.pos-left { left: -20px; }
.megamenu-wrapper.pos-center { left: 50%; transform: translateX(-50%) translateY(10px); }
.megamenu-wrapper.pos-right { right: 0; }

.nav-item:hover .megamenu-wrapper {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.nav-item:hover .megamenu-wrapper.pos-center {
    transform: translateX(-50%) translateY(0);
}

.megamenu { background: var(--bg-white); width: 780px; border-radius: 12px; box-shadow: var(--shadow-lg); border: 1px solid var(--border-color); padding: 30px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.megamenu-small { width: 440px; grid-template-columns: 1fr; }

.mega-column h4 { font-size: 0.95rem; color: var(--text-muted); margin-bottom: 20px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.mega-link { display: flex; align-items: flex-start; gap: 15px; text-decoration: none; color: var(--text-main); margin-bottom: 18px; transition: var(--transition); padding: 10px; border-radius: 8px; }
.mega-link:hover { background-color: var(--bg-light); transform: translateX(5px); }
.mega-icon { width: 42px; height: 42px; background: rgba(241, 90, 36, 0.1); border-radius: 8px; display: flex; justify-content: center; align-items: center; font-size: 1.2rem; flex-shrink: 0; color: var(--brand-navy); }
.mega-text h5 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; color: var(--brand-navy); }
.mega-text p { font-size: 0.85rem; color: var(--text-muted); margin: 0; }

.mobile-menu-btn { display: none; flex-direction: column; gap: 6px; cursor: pointer; padding: 10px; z-index: 1001; }
.mobile-menu-btn span { display: block; width: 28px; height: 3px; background-color: var(--brand-navy); border-radius: 3px; transition: var(--transition); }

/* --- MENU MÓVIL LATERAL --- */
.mobile-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(11, 27, 61, 0.5); z-index: 998; opacity: 0; visibility: hidden; transition: var(--transition); }
.mobile-overlay.active { opacity: 1; visibility: visible; }

.mobile-nav-panel { position: fixed; top: 0; left: -100%; width: 85%; max-width: 400px; height: 100%; background: var(--bg-white); z-index: 999; box-shadow: var(--shadow-lg); transition: var(--transition); overflow-y: auto; display: flex; flex-direction: column; }
.mobile-nav-panel.active { left: 0; }

.mobile-nav-header { display: flex; justify-content: space-between; align-items: center; padding: 25px 20px; border-bottom: 1px solid var(--border-color); }
.mobile-nav-header img { height: 50px; }
.close-menu-btn { background: none; border: none; font-size: 1.8rem; font-weight: bold; color: var(--brand-navy); cursor: pointer; }

.mobile-nav-content { padding: 0; flex-grow: 1; }
.mobile-nav-item { border-bottom: 1px solid var(--border-color); }

.mobile-nav-title { display: flex; justify-content: space-between; align-items: center; padding: 20px; font-weight: 600; color: var(--text-main); font-size: 1.1rem; cursor: pointer; transition: var(--transition); }
.mobile-nav-title svg { transition: transform 0.3s ease; }
.mobile-nav-item.active .mobile-nav-title svg { transform: rotate(180deg); color: var(--brand-orange); }

.mobile-single-link { display: block; padding: 20px; font-weight: 600; color: var(--text-main); font-size: 1.1rem; text-decoration: none; border-bottom: 1px solid var(--border-color); transition: var(--transition); }
.mobile-single-link:hover { color: var(--brand-orange); }

.mobile-sub-menu { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; background: var(--bg-white); }
.mobile-nav-item.active .mobile-sub-menu { max-height: 900px; border-top: 1px solid var(--border-color); }

.mobile-sub-link { display: flex; align-items: center; gap: 15px; padding: 15px 20px 15px 30px; text-decoration: none; color: var(--text-main); border-bottom: 1px solid var(--border-color); transition: var(--transition); }
.mobile-sub-link:hover { background: var(--bg-light); }
.mobile-sub-link:last-child { border-bottom: none; }
.mobile-sub-link .mega-icon { width: 36px; height: 36px; font-size: 1.1rem; color: var(--brand-navy); }
.sub-link-desc { font-size: 0.85rem; color: var(--text-muted); font-weight: 400; margin-top: 2px; }

.mobile-cta { padding: 30px 20px; }

/* --- HERO SECTION --- */
.hero { background-color: var(--brand-navy); padding: 70px 0 90px 0; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-image: url('https://images.unsplash.com/photo-1560518883-ce09059eeefa?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80'); background-size: cover; background-position: center; opacity: 0.15; z-index: 0; }

.hero-container { display: flex; align-items: center; justify-content: space-between; gap: 60px; position: relative; z-index: 2; }
.hero-text { flex: 1.1; color: var(--bg-white); }
.badge { display: inline-flex; align-items: center; gap: 8px; background-color: rgba(255,255,255,0.1); padding: 8px 16px; border-radius: 30px; font-size: 0.9rem; font-weight: 600; margin-bottom: 25px; border: 1px solid rgba(255,255,255,0.2); }
.hero-text h1 { font-size: 3.2rem; line-height: 1.15; margin-bottom: 20px; font-weight: 800; letter-spacing: -1px; }
.hero-text p { font-size: 1.1rem; color: #E2E8F0; margin-bottom: 30px; max-width: 550px; }
.check-list { list-style: none; }
.check-list li { margin-bottom: 12px; display: flex; align-items: center; gap: 12px; font-size: 1rem; color: #E2E8F0; }
.icon-check { background: var(--brand-orange); color: var(--bg-white); border-radius: 50%; width: 20px; height: 20px; display: flex; justify-content: center; align-items: center; font-size: 0.8rem; font-weight: bold; }

/* --- FORMULARIO PREMIUM --- */
.hero-form-wrapper { flex: 0 0 420px; width: 100%; position: relative; z-index: 2; }
.premium-form { background-color: var(--bg-white); padding: 35px; border-radius: 16px; box-shadow: var(--shadow-lg); color: var(--brand-navy); }
.premium-form h3 { font-size: 1.6rem; margin-bottom: 5px; font-weight: 800; text-align: center; }
.form-sub { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 20px; text-align: center; }

.toggle-container { display: flex; background: var(--bg-light); border-radius: 8px; padding: 5px; margin-bottom: 20px; }
.toggle-option { flex: 1; text-align: center; cursor: pointer; }
.toggle-option input { display: none; }
.toggle-btn { display: block; padding: 10px; border-radius: 6px; font-weight: 600; font-size: 0.9rem; color: var(--text-muted); transition: var(--transition); }
.toggle-option input:checked + .toggle-btn { background: var(--bg-white); color: var(--brand-navy); box-shadow: var(--shadow-sm); }

.input-group { margin-bottom: 15px; }
.input-group label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 5px; color: var(--text-main); }
.input-group input { width: 100%; padding: 12px 15px; border: 1px solid var(--border-color); border-radius: 8px; font-size: 0.95rem; outline: none; transition: var(--transition); font-family: inherit; }
.input-group input:focus { border-color: var(--brand-orange); }

/* Selector Soles / Dólares */
.slider-group { margin-bottom: 15px; }
.slider-group label { display: block; font-weight: 600; margin-bottom: 10px; font-size: 0.9rem; }

.currency-toggle-small { display: flex; gap: 10px; margin-bottom: 15px; justify-content: center; }
.c-toggle-opt { cursor: pointer; }
.c-toggle-opt input { display: none; }
.c-btn { display: block; padding: 6px 20px; font-size: 0.9rem; font-weight: 700; color: var(--text-main); border: 1px solid var(--border-color); border-radius: 20px; transition: var(--transition); }
.c-toggle-opt input:checked + .c-btn { background: var(--brand-orange); color: var(--bg-white); border-color: var(--brand-orange); }

.monto-display { font-size: 2.2rem; font-weight: 800; color: var(--brand-orange); margin-bottom: 10px; text-align: center; }
input[type=range] { width: 100%; accent-color: var(--brand-orange); cursor: pointer; }

.btn-primary { width: 100%; background-color: var(--brand-orange); color: var(--bg-white); border: none; padding: 16px; border-radius: 8px; font-size: 1.05rem; font-weight: 700; cursor: pointer; transition: var(--transition); margin-top: 10px; }
.btn-primary:hover { background-color: var(--brand-orange-hover); transform: translateY(-2px); box-shadow: 0 10px 15px rgba(241, 90, 36, 0.2); }

/* --- BLOQUES SPLIT --- */
.features-split { padding: 90px 0; background: var(--bg-white); }
.split-row { display: flex; align-items: center; justify-content: space-between; gap: 60px; margin-bottom: 40px; }
.split-row.reverse { flex-direction: row-reverse; }
.split-text { flex: 1; }
.split-text h2 { font-size: 2.5rem; color: var(--brand-navy); margin-bottom: 20px; font-weight: 800; line-height: 1.2; }
.split-text p { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 30px; max-width: 500px; }
.split-image { flex: 1; display: flex; justify-content: center; position: relative; }

.image-wrapper { position: relative; width: 100%; max-width: 450px; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); transition: var(--transition); cursor: pointer;}
.image-wrapper:hover { transform: scale(1.02); }
.image-wrapper img { width: 100%; height: 350px; object-fit: cover; display: block; }
.image-overlay-box { position: absolute; bottom: 20px; left: -20px; background: var(--brand-orange); color: var(--bg-white); padding: 20px; border-radius: 12px; box-shadow: var(--shadow-md); display: flex; align-items: center; gap: 15px; z-index: 10; }
.reverse .image-overlay-box { left: auto; right: -20px; background: var(--brand-navy); }
.overlay-icon { font-size: 2.5rem; font-weight: 800; }
.overlay-text { font-size: 1.1rem; font-weight: 600; line-height: 1.2; }

.divider-line { width: 100%; height: 1px; background: linear-gradient(90deg, transparent, var(--border-color), transparent); margin: 60px 0; }

/* --- TESTIMONIOS (3 COLUMNAS) --- */
.testimonials { padding: 90px 0; background: var(--bg-light); }
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { font-size: 2.5rem; color: var(--brand-navy); font-weight: 800; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.testimonial-card { background: var(--bg-white); border-radius: 16px; overflow: hidden; border: 1px solid var(--border-color); box-shadow: var(--shadow-sm); transition: var(--transition); }
.testimonial-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

.test-image-box { height: 200px; position: relative; display: flex; align-items: flex-end; padding: 20px; color: var(--bg-white); background-size: cover; background-position: center; }
.test-image-box.bg-1 { background-image: url('https://images.unsplash.com/photo-1556761175-4b46a572b786?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80'); }
.test-image-box.bg-2 { background-image: url('https://images.unsplash.com/photo-1573497019940-1c28c88b4f3e?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80'); }
.test-image-box.bg-3 { background-image: url('https://images.unsplash.com/photo-1519085360753-af0119f7cbe7?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80'); }

.test-image-box::after { content: ''; position: absolute; top:0; left:0; width:100%; height:100%; background: linear-gradient(to top, rgba(11,27,61,0.95) 0%, rgba(11,27,61,0.2) 100%); }
.test-overlay { position: relative; z-index: 2; width: 100%; }
.test-overlay .tag { background: rgba(241, 90, 36, 0.9); padding: 4px 10px; border-radius: 4px; font-size: 0.8rem; font-weight: 600; margin-bottom: 8px; display: inline-block; }
.test-overlay h3 { font-size: 1.4rem; margin-bottom: 12px; }
.btn-play { background: var(--bg-white); border: none; padding: 6px 14px; border-radius: 20px; font-weight: 600; color: var(--brand-navy); cursor: pointer; display: flex; align-items: center; gap: 5px; font-size: 0.85rem; transition: var(--transition); }
.btn-play:hover { background: var(--brand-orange); color: var(--bg-white); }

.test-content { padding: 25px; }
.test-content h4 { color: var(--brand-navy); font-size: 1.1rem; font-weight: 700; margin-bottom: 2px; }
.test-content span { color: var(--text-muted); font-size: 0.9rem; display: block; margin-bottom: 15px; }
.test-content p { color: var(--text-main); font-style: italic; font-size: 0.95rem; line-height: 1.6; }

/* --- ARTÍCULOS --- */
.articles-preview { padding: 90px 0; background: var(--brand-navy); color: var(--bg-white); }
.articles-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 40px; }
.articles-header h2 { font-size: 2.5rem; font-weight: 800; margin-bottom: 5px; }
.articles-header p { color: #94A3B8; font-size: 1.1rem; }
.articles-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 30px; }

.article-main { display: block; text-decoration: none; color: var(--bg-white); transition: var(--transition); }
.article-main:hover { transform: translateY(-5px); }
.article-img-large { height: 350px; background-image: url('https://images.unsplash.com/photo-1579621970588-a35d0e7ab9b6?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80'); background-size: cover; background-position: center; border-radius: 16px; margin-bottom: 20px; position: relative; }
.article-meta { font-size: 0.85rem; color: var(--brand-orange); margin-bottom: 10px; font-weight: 600; display: flex; align-items: center; gap: 5px; }
.article-main h3 { font-size: 1.6rem; font-weight: 700; margin-bottom: 10px; line-height: 1.3; }
.article-main p { color: #94A3B8; font-size: 1rem; }

.articles-side { display: flex; flex-direction: column; gap: 20px; }
.article-small { display: flex; gap: 20px; text-decoration: none; color: var(--bg-white); transition: var(--transition); align-items: center; background: rgba(255,255,255,0.05); padding: 15px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.1); }
.article-small:hover { transform: translateX(5px); background: rgba(255,255,255,0.1); border-color: var(--brand-orange); }

.article-img-small { width: 120px; height: 90px; border-radius: 8px; flex-shrink: 0; background-size: cover; background-position: center; }
.img-s1 { background-image: url('https://images.unsplash.com/photo-1554224155-8d04cb21cd6c?ixlib=rb-4.0.3&auto=format&fit=crop&w=400&q=80'); }
.img-s2 { background-image: url('https://images.unsplash.com/photo-1460925895917-afdab827c52f?ixlib=rb-4.0.3&auto=format&fit=crop&w=400&q=80'); }
.img-s3 { background-image: url('https://images.unsplash.com/photo-1526304640581-d334cdbbf45e?ixlib=rb-4.0.3&auto=format&fit=crop&w=400&q=80'); }

.article-small-text h4 { font-size: 1.1rem; font-weight: 600; margin-bottom: 8px; line-height: 1.3; }

/* --- QUIÉNES SOMOS REDISEÑADO --- */
.about-us { padding: 90px 0; background: var(--bg-light); }
.divider-line-center { margin: 20px auto; width: 60px; height: 4px; background-color: var(--brand-orange); border-radius: 2px; }

.about-hero-card {
    background: var(--bg-white);
    border-radius: 20px;
    padding: 50px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    display: flex;
    gap: 50px;
    align-items: center;
    margin-bottom: 40px;
}

.about-intro { flex: 1.5; }
.about-intro .lead-text { font-size: 1.2rem; color: var(--brand-navy); font-weight: 600; line-height: 1.6; margin-bottom: 18px; }
.about-intro .body-text { font-size: 1.05rem; color: var(--text-muted); line-height: 1.8; }

.about-stats-highlight { flex: 1; display: flex; flex-direction: column; gap: 20px; border-left: 2px solid var(--border-color); padding-left: 40px; }
.about-stat-item h3 { font-size: 2.5rem; color: var(--brand-orange); font-weight: 800; margin-bottom: 4px; }
.about-stat-item p { color: var(--text-main); font-weight: 600; font-size: 0.95rem; }

.about-pillars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.pillar-box { background: var(--bg-white); border-radius: 16px; padding: 35px 30px; border: 1px solid var(--border-color); box-shadow: var(--shadow-sm); transition: var(--transition); text-align: left; }
.pillar-box:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.pillar-box.active { border-top: 4px solid var(--brand-orange); }
.pillar-icon { font-size: 2.2rem; margin-bottom: 20px; }
.pillar-box h4 { font-size: 1.3rem; color: var(--brand-navy); margin-bottom: 12px; font-weight: 700; }
.pillar-box p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; }

/* --- PRE-FOOTER CTA VIBRANTE (NUEVO) --- */
.pre-footer-cta { background: linear-gradient(135deg, var(--brand-orange) 0%, var(--brand-orange-hover) 100%); padding: 60px 0; color: var(--bg-white); text-align: center; }
.cta-container { display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.cta-text { text-align: left; flex: 1;}
.cta-text h2 { font-size: 2.2rem; font-weight: 800; margin-bottom: 10px; }
.cta-text p { font-size: 1.1rem; opacity: 0.9; }
.cta-button { flex-shrink: 0; }
.btn-solid-dark { background-color: var(--brand-navy); color: var(--bg-white); padding: 16px 32px; border-radius: 8px; font-weight: 700; text-decoration: none; display: inline-block; transition: var(--transition); border: 2px solid var(--brand-navy);}
.btn-solid-dark:hover { background-color: var(--bg-white); color: var(--brand-navy); box-shadow: var(--shadow-lg); }


/* --- FOOTER DARK VIBRANT (CORREGIDO PARA LOGO VISIBLE) --- */
.dark-footer { background-color: var(--brand-navy); color: #cbd5e1; padding: 80px 0 40px 0; border-top: none; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.5fr; gap: 60px; margin-bottom: 50px; }

/* Contenedor blanco para el logo para que siempre se vea bien sin filtros raros */
.footer-logo-wrapper {
    background-color: var(--bg-white);
    padding: 15px 25px;
    border-radius: 12px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.dark-footer .footer-logo { 
    height: 55px; /* Más grande y visible */
    width: auto;
    object-fit: contain;
    display: block;
}
.dark-footer .footer-brand p { color: #94a3b8; font-size: 0.95rem; line-height: 1.7; max-width: 350px; }

.dark-footer .footer-links h4, .dark-footer .contact-card h4 { color: var(--bg-white); margin-bottom: 20px; font-size: 1.1rem; font-weight: 800; }
.dark-footer .footer-links a { display: block; color: #94a3b8; text-decoration: none; margin-bottom: 15px; font-weight: 500; font-size: 0.95rem; transition: var(--transition); }
.dark-footer .footer-links a:hover { color: var(--brand-orange); transform: translateX(5px); }

/* Cajas de contacto Glassmorphism */
.dark-footer .contact-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); backdrop-filter: blur(10px); padding: 25px; border-radius: 8px; margin-bottom: 20px; transition: var(--transition); }
.dark-footer .contact-card:hover { border-color: rgba(241, 90, 36, 0.5); transform: translateY(-3px); background: rgba(255,255,255,0.05); }
.dark-footer .contact-card p { margin-bottom: 12px; font-size: 0.95rem; color: #cbd5e1; display: flex; align-items: flex-start; gap: 10px; }
.dark-footer .contact-card p:last-child { margin-bottom: 0; }
.dark-footer .contact-card .icon { font-size: 1.1rem; color: var(--brand-orange); flex-shrink: 0; }
.dark-footer .contact-card a { color: #cbd5e1; text-decoration: none; font-weight: 500; transition: var(--transition); }
.dark-footer .contact-card a:hover { color: var(--brand-orange); }

/* Línea divisoria y pie legal */
.dark-footer .footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 30px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; margin-bottom: 20px; }
.legal-links { display: flex; gap: 25px; flex-wrap: wrap; }
.dark-footer .legal-links a { color: #94a3b8; text-decoration: none; font-size: 0.9rem; font-weight: 500; transition: var(--transition); }
.dark-footer .legal-links a:hover { color: var(--brand-orange); }

/* Redes Sociales Suaves */
.social-icons { display: flex; gap: 15px; }
.dark-footer .social-icons a { color: #cbd5e1; transition: var(--transition); display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: transparent; border-radius: 50%; border: 1px solid rgba(255,255,255,0.2); }
.dark-footer .social-icons a:hover { background: var(--brand-orange); border-color: var(--brand-orange); color: var(--bg-white); transform: translateY(-2px); }

.dark-footer .footer-disclaimer { font-size: 0.8rem; color: #64748b; text-align: left; line-height: 1.6; max-width: 100%; }

/* --- WHATSAPP --- */
.whatsapp-float { position: fixed; width: 60px; height: 60px; bottom: 30px; right: 30px; background-color: #25d366; border-radius: 50px; display: flex; justify-content: center; align-items: center; box-shadow: 0 10px 20px rgba(37,211,102,0.3); z-index: 100; transition: var(--transition); }
.whatsapp-float:hover { transform: scale(1.1); }

/* =========================================================
   MEDIA QUERIES (RESPONSIVE)
========================================================= */

@media (max-width: 992px) {
    .hero-container, .split-row, .split-row.reverse { flex-direction: column; text-align: center; }
    .hero-text { margin-bottom: 30px; }
    .hero-text p { margin: 0 auto 30px auto; }
    .check-list li { justify-content: center; }
    .hero-form-wrapper, .split-text { max-width: 500px; margin: 0 auto; }
    .image-wrapper { max-width: 100%; }
    .image-overlay-box, .reverse .image-overlay-box { left: 50%; transform: translateX(-50%); bottom: -20px; width: 90%; justify-content: center; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .articles-header { flex-direction: column; align-items: flex-start; gap: 15px; }
    .articles-grid { grid-template-columns: 1fr; }
    .about-hero-card { flex-direction: column; text-align: center; }
    .about-stats-highlight { border-left: none; padding-left: 0; border-top: 2px solid var(--border-color); padding-top: 25px; flex-direction: row; justify-content: space-around; width: 100%; }
    .about-pillars-grid { grid-template-columns: 1fr; }
    
    /* Footer & CTA Responsive */
    .cta-container { flex-direction: column; text-align: center; }
    .cta-text { text-align: center; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-brand p { max-width: 100%; }
}

@media (max-width: 768px) {
    .container { padding: 0 20px; }
    .hero, .features-split, .testimonials, .articles-preview, .dark-footer, .about-us { padding: 50px 0; }
    .pre-footer-cta { padding: 40px 0; }
    .hero-text h1, .split-text h2, .section-header h2 { font-size: 2.2rem; line-height: 1.2; }
    
    .nav-container { height: 80px; }
    .logo img { height: 60px; }
    .desktop-only { display: none; }
    .mobile-menu-btn { display: flex; }
    
    .nav-links { display: none; }
    .mobile-overlay { display: block; }
    
    .premium-form { padding: 25px 20px; }
    
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; gap: 25px; }
    .legal-links { flex-direction: column; gap: 15px; }
}