/*
Theme Name:   Biz Child
Template:     hello-elementor
Version:      1.0.0
Description:  Tema hijo de Hello Elementor para el proyecto Biz.
*/

/* Custom Properties - Light/Premium Theme */
:root {
    --bg-light: #F8FAFC;
    --bg-alt: #FFFFFF;
    --bg-card: rgba(255, 255, 255, 0.9);
    --border-color: rgba(15, 23, 42, 0.08);
    --primary: #2563EB;
    --primary-hover: #1D4ED8;
    --secondary: #10B981;
    --accent: #F59E0B;
    --text-main: #0F172A;
    --text-muted: #475569;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(15, 23, 42, 0.05);
    --glow-primary: rgba(37, 99, 235, 0.3);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { background-color: var(--bg-light); color: var(--text-main); font-family: 'Inter', sans-serif; line-height: 1.6; overflow-x: hidden; }
h1, h2, h3, h4, .logo { font-family: 'Outfit', sans-serif; }
.container { width: 90%; max-width: 1200px; margin: 0 auto; }
a { text-decoration: none; color: inherit; }
h1 { font-size: 3.8rem; line-height: 1.1; margin-bottom: 1.5rem; font-weight: 800; }
h1 span { color: var(--primary); background: -webkit-linear-gradient(45deg, var(--primary), #4F46E5); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
h2.section-title { font-size: 2.5rem; margin-bottom: 1rem; font-weight: 700; }
h2.section-title span { color: var(--primary); }
p { margin-bottom: 1rem; color: var(--text-muted); }
p.lead { font-size: 1.25rem; color: var(--text-main); font-weight: 500; }
.text-center { text-align: center; } .justify-center { justify-content: center; } .max-w-lg { max-width: 800px; margin-left: auto; margin-right: auto; }
.mt-4 { margin-top: 2rem; } .mt-5 { margin-top: 4rem; } .mb-0 { margin-bottom: 0; } .mb-2 { margin-bottom: 1rem; } .mb-4 { margin-bottom: 2rem; } .mb-5 { margin-bottom: 4rem; }
.mx-auto { margin-left: auto; margin-right: auto; } .w-full { width: 100%; display: block; } .text-small { font-size: 0.9rem; }
strong, b { color: #1E293B; font-weight: 700; }

.navbar { position: fixed; top: 0; width: 100%; padding: 1.2rem 0; background: rgba(248, 250, 252, 0.85); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--border-color); z-index: 1000; transition: all 0.3s ease; }
.navbar-container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.6rem; font-weight: 800; display: flex; align-items: center; gap: 0.5rem; letter-spacing: -0.5px; }
.logo-icon { background: linear-gradient(135deg, var(--primary), #4F46E5); color: #FFFFFF; padding: 0.2rem 0.6rem; border-radius: 8px; font-weight: 800; font-size: 1.2rem; }
.nav-links { display: flex; gap: 2.5rem; }
.nav-links a { font-weight: 600; font-size: 0.95rem; transition: color 0.3s; color: var(--text-muted); position: relative; }
.nav-links a:hover { color: var(--primary); }
.nav-links a::after { content: ''; position: absolute; width: 0; height: 2px; bottom: -4px; left: 0; background: var(--primary); transition: width 0.3s ease; }
.nav-links a:hover::after { width: 100%; }
.mobile-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.mobile-toggle span { width: 25px; height: 2px; background: var(--text-main); border-radius: 2px; }

.glass { background: var(--glass-bg); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--glass-border); border-radius: 20px; box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05); }

.btn { display: inline-block; padding: 0.9rem 2rem; border-radius: 10px; font-weight: 600; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); cursor: pointer; text-align: center; }
.btn-primary { background: linear-gradient(135deg, var(--primary), #3B82F6); color: #FFFFFF; border: none; }
.btn-primary.glow-btn { box-shadow: 0 10px 20px var(--glow-primary); }
.btn-primary:hover { background: linear-gradient(135deg, var(--primary-hover), var(--primary)); transform: translateY(-2px); box-shadow: 0 15px 25px rgba(37, 99, 235, 0.4); }
.btn-secondary { color: var(--primary); background: #FFFFFF; border: 1px solid rgba(37, 99, 235, 0.2); box-shadow: 0 4px 6px rgba(15, 23, 42, 0.05); }
.btn-secondary:hover { background: #F8FAFC; transform: translateY(-2px); border-color: rgba(37, 99, 235, 0.4); box-shadow: 0 10px 15px rgba(15, 23, 42, 0.08); }

.hero { position: relative; padding: 12rem 0 8rem 0; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; overflow: hidden; }
.glow-orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.5; }
.orb-1 { top: -10%; left: -5%; width: 600px; height: 600px; background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%); }
.orb-2 { bottom: 10%; right: -10%; width: 500px; height: 500px; background: radial-gradient(circle, rgba(79, 70, 229, 0.1) 0%, transparent 70%); }
.hero-content { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.badge { display: inline-block; padding: 0.5rem 1.2rem; background: rgba(37, 99, 235, 0.08); border: 1px solid rgba(37, 99, 235, 0.2); color: var(--primary); border-radius: 30px; font-size: 0.85rem; font-weight: 700; margin-bottom: 2rem; letter-spacing: 0.5px; text-transform: uppercase; }
.hero-buttons { display: flex; gap: 1.5rem; margin-top: 2rem; }
.hero-visual { position: relative; width: 100%; height: 450px; }
.visual-wrapper { width: 100%; height: 100%; border-radius: 24px; background: linear-gradient(145deg, #FFFFFF, #F1F5F9); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; border: 1px solid var(--border-color); box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08); }

.chart-animation { display: flex; align-items: flex-end; gap: 15px; height: 200px; }
.bar { width: 30px; background: linear-gradient(to top, var(--primary), #4F46E5); border-radius: 6px 6px 0 0; animation: growBar 3s ease-out forwards; }
.bar-1 { height: 40%; animation-delay: 0.2s; } .bar-2 { height: 60%; animation-delay: 0.4s; } .bar-3 { height: 45%; animation-delay: 0.6s; } .bar-4 { height: 80%; animation-delay: 0.8s; } .bar-5 { height: 100%; animation-delay: 1s; }

@keyframes growBar { 0% { transform: scaleY(0); transform-origin: bottom; } 100% { transform: scaleY(1); transform-origin: bottom; } }
.floating-card { position: absolute; padding: 1.2rem 1.8rem; display: flex; align-items: center; gap: 1rem; font-weight: 600; top: 15%; left: -10%; background: rgba(255, 255, 255, 0.95); color: var(--text-main); animation: float 6s ease-in-out infinite; z-index: 10; border-radius: 16px; border: 1px solid var(--border-color); box-shadow: 0 15px 30px rgba(15, 23, 42, 0.1); }
.card-2 { top: auto; bottom: 15%; left: auto; right: -10%; animation: float 8s ease-in-out infinite reverse; }

@keyframes float { 0% { transform: translateY(0px); } 50% { transform: translateY(-15px); } 100% { transform: translateY(0px); } }

.section-padding { padding: 8rem 0; }
.bg-alt { background-color: var(--bg-alt); border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; }
.align-center { align-items: center; }

.check-list { list-style: none; margin-bottom: 1.5rem; }
.check-list li { margin-bottom: 1rem; display: flex; align-items: flex-start; gap: 1rem; color: var(--text-muted); font-size: 1.1rem; }
.check-list.highlight li span { color: var(--secondary); font-weight: bold; background: rgba(16, 185, 129, 0.1); padding: 2px 8px; border-radius: 50%; font-size: 0.9rem; }
.highlight-box { padding: 2rem; border-left: 4px solid var(--primary); background: linear-gradient(90deg, rgba(37, 99, 235, 0.05) 0%, transparent 100%); border-radius: 0 16px 16px 0; }
.highlight-box p { color: var(--text-main); }

.accounts-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.account-card { background: #FFFFFF; border: 1px solid var(--border-color); border-radius: 12px; padding: 1.2rem; display: flex; align-items: center; gap: 1.5rem; box-shadow: 0 4px 6px rgba(15, 23, 42, 0.02); transition: transform 0.3s, box-shadow 0.3s; }
.account-card:hover { transform: translateX(5px); box-shadow: 0 10px 15px rgba(15, 23, 42, 0.05); border-color: rgba(37, 99, 235, 0.2); }
.account-amount { font-size: 1.5rem; font-weight: 800; color: var(--primary); background: rgba(37, 99, 235, 0.08); padding: 0.5rem 1rem; border-radius: 8px; font-family: 'Outfit', sans-serif; min-width: 120px; text-align: center; }
.account-desc { font-size: 1.05rem; color: var(--text-main); font-weight: 500; }

.glass-mockup { background: #FFFFFF; border: 1px solid var(--border-color); border-radius: 20px; padding: 1.5rem; box-shadow: 0 25px 50px rgba(15, 23, 42, 0.08); }
.mockup-header { display: flex; gap: 8px; margin-bottom: 1.5rem; }
.dot { width: 12px; height: 12px; border-radius: 50%; } .dot.red { background: #EF4444; } .dot.yellow { background: #F59E0B; } .dot.green { background: #10B981; }
.mockup-line { height: 12px; background: rgba(15, 23, 42, 0.05); border-radius: 6px; margin-bottom: 1rem; } .w-80 { width: 80%; } .w-60 { width: 60%; } .w-90 { width: 90%; } .w-40 { width: 40%; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; }
.stat-box { background: rgba(248, 250, 252, 0.8); padding: 1.5rem 1rem; border-radius: 12px; text-align: center; border: 1px solid var(--border-color); }
.stat-value { display: block; font-size: 1.5rem; font-weight: 700; color: var(--primary); margin-bottom: 0.5rem; font-family: 'Outfit', sans-serif; }
.stat-label { font-size: 0.85rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }

.glass-circle-wrapper { display: flex; justify-content: center; align-items: center; height: 100%; }
.glass-circle { width: 300px; height: 300px; border-radius: 50%; background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(79, 70, 229, 0.05)); border: 1px solid rgba(37, 99, 235, 0.1); display: flex; justify-content: center; align-items: center; box-shadow: 0 0 60px rgba(37, 99, 235, 0.1); position: relative; }
.glass-circle::after { content: ''; position: absolute; width: 340px; height: 340px; border-radius: 50%; border: 1px dashed rgba(37, 99, 235, 0.2); animation: rotate 20s linear infinite; }
.huge-icon { font-size: 5rem; filter: drop-shadow(0 10px 15px rgba(37, 99, 235, 0.2)); }
.fluid-box { padding: 3.5rem; width: 100%; background: #FFFFFF; }
.feature-list { display: flex; flex-direction: column; gap: 2rem; }
.feature-item { display: flex; gap: 1.5rem; align-items: flex-start; }
.f-icon { font-size: 2rem; background: rgba(248, 250, 252, 0.8); padding: 1rem; border-radius: 16px; border: 1px solid var(--border-color); }
.feature-item h4 { font-size: 1.2rem; margin-bottom: 0.5rem; color: var(--text-main); }

.newsletter-card { border-radius: 24px; position: relative; display: flex; flex-direction: column; height: 100%; background: #FFFFFF; }
.glow-border { border: 1px solid var(--border-color); }
.premium-border { border: 1px solid var(--primary); box-shadow: 0 20px 40px rgba(37, 99, 235, 0.1); background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%); }
.card-banner { background: rgba(248, 250, 252, 0.8); padding: 1rem; text-align: center; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; font-size: 0.85rem; border-bottom: 1px solid var(--border-color); color: var(--text-muted); }
.card-banner.premium { background: linear-gradient(90deg, var(--primary), #4F46E5); color: #fff; border-bottom: none; }
.p-4 { padding: 3rem 2.5rem; display: flex; flex-direction: column; flex-grow: 1; }
.icon-large { font-size: 2.5rem; }
.flex-center { display: flex; align-items: center; }
.gap-2 { gap: 0.5rem; }
.bullet-list { list-style-type: none; margin-top: 1rem; color: var(--text-muted); }
.bullet-list li { position: relative; padding-left: 1.5rem; margin-bottom: 0.8rem; }
.bullet-list li::before { content: '→'; position: absolute; left: 0; color: var(--primary); font-weight: bold; }

.fade-in-up { opacity: 0; transform: translateY(40px); transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1); }
.fade-in-up.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.2s; }

@media (max-width: 992px) {
    .hero-content, .grid-2 { grid-template-columns: 1fr; }
    .hero { padding-top: 8rem; padding-bottom: 4rem; }
    .hero-visual { order: -1; height: 350px; }
    h1 { font-size: 3rem; }
    .floating-card { left: 5%; }
    .card-2 { right: 5%; }
}
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    .hero-buttons { flex-direction: column; }
    .nav-links, .nav-actions { display: none; }
    .mobile-toggle { display: flex; }
    .fluid-box { padding: 2rem; }
    .feature-item { flex-direction: column; gap: 1rem; }
    .stats-grid { grid-template-columns: 1fr; }
}

/* --- ESTILOS DE PÁGINAS INTERNAS (ABOUT Y LEGALES) --- */
.page-header { padding: 10rem 0 4rem 0; background: linear-gradient(135deg, rgba(248, 250, 252, 0.8) 0%, rgba(37, 99, 235, 0.05) 100%); border-bottom: 1px solid var(--border-color); text-align: center; }
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin-top: 3rem; }
.team-card { background: #FFFFFF; border-radius: 20px; padding: 3rem; border: 1px solid var(--border-color); box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05); transition: transform 0.3s ease; }
.team-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08); border-color: rgba(37, 99, 235, 0.2); }
.team-name { font-size: 2rem; color: var(--primary); margin-bottom: 0.5rem; font-weight: 800; }
.team-role { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 1.5rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.team-card p { margin-bottom: 1rem; color: var(--text-main); }
.why-us-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; margin-top: 3rem; }
.why-card { background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(10px); border-radius: 16px; padding: 2rem; border: 1px solid var(--border-color); display: flex; gap: 1.5rem; }
.why-icon { font-size: 2.5rem; background: #FFFFFF; padding: 1rem; border-radius: 12px; box-shadow: 0 4px 6px rgba(15, 23, 42, 0.05); height: fit-content; }
@media (max-width: 992px) { .team-grid, .why-us-grid { grid-template-columns: 1fr; } }
.legal-content { background: #FFFFFF; padding: 4rem; border-radius: 20px; box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05); border: 1px solid var(--border-color); margin-top: -3rem; position: relative; z-index: 10; }
.legal-content h3 { color: var(--primary); margin-top: 2rem; margin-bottom: 1rem; }
.legal-content h4 { color: var(--text-main); margin-top: 1.5rem; margin-bottom: 0.5rem; font-size: 1.2rem; }
.legal-content p, .legal-content ul, .legal-content li { color: var(--text-muted); line-height: 1.7; margin-bottom: 1rem; }
.legal-content ul { padding-left: 1.5rem; list-style-type: disc; }






/* ====================================================
   FORZAR TIPOGRAFÍAS ORIGINALES (BIZ / MTO)
   ==================================================== */

/* 1. Forzar 'Inter' para todo el cuerpo de texto y botones */
body, p, a, li, span, div, .btn, input, .text-muted, .lead, .elementor-widget-text-editor {
    font-family: 'Inter', sans-serif !important;
}

/* 2. Forzamos 'Outfit' para todos los títulos y elementos destacados */
h1, h2, h3, h4, h5, h6, .logo, .section-title, .team-name, .account-amount, .stat-value, .elementor-heading-title {
    font-family: 'Outfit', sans-serif !important;
}

/* 3. Ajuste extra de grosores originales para Outfit */
h1 { font-weight: 800 !important; }
h2 { font-weight: 700 !important; }
h3, .btn { font-weight: 600 !important; }
/* ====================================================
   FORZAR TEXTO BLANCO EN EL BOTÓN "UNIRME A LA COMUNIDAD"
   ==================================================== */
a.btn-primary, 
.btn-primary.glow-btn {
    color: #ffffff !important;
    /* La siguiente línea es el "truco antimagia" contra Elementor */
    -webkit-text-fill-color: #ffffff !important; 
}

a.btn-primary:hover, 
.btn-primary.glow-btn:hover {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

/* ====================================================
   FORZAR DISEÑO ORIGINAL DEL TÍTULO PRINCIPAL (H1)
   ==================================================== */

/* 1. Forzar color oscuro y quitar las mayúsculas impuestas por Elementor */
h1 {
    color: #0F172A !important; 
    text-transform: none !important; /* Quita el "Capitalize" automático */
}

/* 2. Recuperar el degradado azul/morado solo para el <span> ("opciones financieras") */
h1 span {
    background: -webkit-linear-gradient(45deg, #2563EB, #4F46E5) !important;
    background-clip: text !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important;
}

/* ====================================================
   FORZAR COLORES ORIGINALES EN TÍTULOS H2 Y H3
   ==================================================== */

/* 1. Títulos H2: Color oscuro por defecto y minúsculas naturales */
h2.section-title, 
h2 {
    color: #0F172A !important;
    text-transform: none !important;
}

/* 2. Resaltado azul SOLO para la palabra dentro del <span> en los H2 */
h2.section-title span {
    color: #2563EB !important;
    -webkit-text-fill-color: #2563EB !important; /* Evita heredar colores de Elementor */
}

/* 3. Títulos H3 ("Las carteras que operamos"): Color oscuro */
h3, 
.mt-4.mb-3 {
    color: #0F172A !important;
    text-transform: none !important;
}

/* 4. Asegurar el color correcto en los textos (Gris para normales, oscuro para el Lead) */
p.lead {
    color: #0F172A !important;
}

p:not(.lead) {
    color: #475569 !important;
}

/* 5. Asegurar el azul brillante en las cifras de las cuentas ($10.000) */
.account-amount {
    color: #2563EB !important;
    -webkit-text-fill-color: #2563EB !important;
}


/* ====================================================
   RESTAURAR EL AZUL ORIGINAL EN "MARIO" Y "TONI"
   ==================================================== */

/* 1. Nombres "Mario" y "Toni" en el azul principal (Primary) */
h2.team-name {
    color: #2563EB !important;
    -webkit-text-fill-color: #2563EB !important; 
}

/* 2. Mantener oscuro solo el título de abajo ("Nuestro equipo y esencia") */
.team-card h3 {
    color: #0F172A !important;
    -webkit-text-fill-color: #0F172A !important;
    font-weight: 800 !important;
    font-size: 1.8rem !important; 
    margin-top: 2.5rem !important; 
}


/* ====================================================
   REPARACIÓN DEL MENÚ MÓVIL (FLUJO NATURAL FLEXBOX)
   ==================================================== */
@media (max-width: 768px) {
    /* 1. Permitimos que el contenedor principal de la cabecera se expanda hacia abajo */
    .navbar-container {
        flex-wrap: wrap !important;
    }
    
    /* 2. Devolvemos los enlaces al flujo normal (quitamos el 'absolute') */
    .nav-links.active {
        display: flex !important;
        flex-direction: column;
        position: relative !important; 
        top: auto !important;
        width: 100%;
        background: transparent !important;
        padding: 1.5rem 0 0.5rem 0 !important;
        text-align: center;
        box-shadow: none !important;
        order: 3; /* Lo empuja debajo del logo y el botón hamburguesa */
    }
    
    /* 3. Colocamos el botón justo debajo de los enlaces para que no se corte */
    .nav-actions.active {
        display: flex !important;
        position: relative !important; 
        top: auto !important;
        width: 100%;
        background: transparent !important;
        padding: 1rem 0 1.5rem 0 !important;
        justify-content: center;
        box-shadow: none !important;
        order: 4; /* Lo empuja al final del todo */
    }
    
    /* 4. Forzamos que la barra de navegación entera sea blanca en móvil para que el menú no sea transparente */
    .navbar {
        background: #ffffff !important;
    }
}

/* ====================================================
   RESCATE DEL MENÚ HAMBURGUESA (ANCLAJE SUPERIOR)
   ==================================================== */
@media (max-width: 768px) {
    /* 1. Forzamos la visibilidad de la hamburguesa y la anclamos a la derecha */
    .mobile-toggle {
        display: flex !important;
        order: 2 !important; /* La empuja a la derecha */
        z-index: 1000 !important; /* Asegura que se pueda hacer clic */
    }

    /* 2. Anclamos el logo a la izquierda y limitamos su ancho */
    .navbar-container .logo {
        order: 1 !important;
        max-width: 80% !important; /* Evita que empuje a la hamburguesa fuera de la pantalla */
    }

    /* 3. Fulminamos los elementos inactivos para que no ocupen espacio fantasma */
    .nav-links:not(.active),
    .nav-actions:not(.active) {
        display: none !important;
    }
}

/* ====================================================
   SECCIÓN NEWSLETTER
   ==================================================== */

.nl-section {
    position: relative;
    background: linear-gradient(135deg, #F8FAFC 0%, #EFF6FF 50%, #F8FAFC 100%);
    border-top: 1px solid var(--border-color);
    overflow: hidden;
}

.nl-bg-decoration {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.nl-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.45;
}

.nl-orb-1 {
    top: -20%;
    right: 5%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
}

.nl-orb-2 {
    bottom: -20%;
    left: 10%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.12) 0%, transparent 70%);
}

.nl-wrapper {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0 auto;
    padding: 4rem 3.5rem;
    text-align: center;
    border-radius: 28px !important;
    background: rgba(255, 255, 255, 0.85) !important;
    border: 1px solid rgba(37, 99, 235, 0.12) !important;
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(37, 99, 235, 0.04) !important;
}

.nl-icon-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--primary), #4F46E5);
    color: #ffffff;
    margin: 0 auto 1.5rem auto;
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.35);
}

.nl-title {
    font-size: 2.4rem !important;
    font-weight: 700 !important;
    color: #0F172A !important;
    margin-bottom: 0.75rem !important;
    line-height: 1.2 !important;
    letter-spacing: -0.5px !important;
    text-transform: none !important;
}

.nl-title span {
    color: var(--primary) !important;
    -webkit-text-fill-color: var(--primary) !important;
    background: none !important;
}

.nl-subtitle {
    color: #475569 !important;
    font-size: 1.05rem !important;
    max-width: 560px;
    margin: 0 auto 2.5rem auto !important;
    line-height: 1.7 !important;
}

/* Fila input + botón */
.nl-form {
    width: 100%;
}

.nl-input-row {
    display: flex;
    gap: 0.75rem;
    align-items: stretch;
    margin-bottom: 1rem;
}

.nl-input-wrapper {
    position: relative;
    flex: 1;
    min-width: 0;
}

.nl-input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
    flex-shrink: 0;
    opacity: 0.6;
}

.nl-input {
    width: 100%;
    height: 100%;
    min-height: 54px;
    padding: 0.9rem 1.1rem 0.9rem 2.8rem;
    border: 1.5px solid rgba(15, 23, 42, 0.12);
    border-radius: 10px;
    background: #FFFFFF;
    color: var(--text-main);
    font-family: 'Inter', sans-serif !important;
    font-size: 1rem;
    font-weight: 400;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    outline: none;
    box-sizing: border-box;
}

.nl-input::placeholder {
    color: #94A3B8;
}

.nl-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.nl-btn {
    flex-shrink: 0;
    min-height: 54px;
    padding: 0.9rem 2rem !important;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    border-radius: 10px !important;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    white-space: nowrap;
}

.nl-btn-loading {
    display: none;
}

.nl-btn--loading .nl-btn-text {
    display: none;
}

.nl-btn--loading .nl-btn-loading {
    display: flex;
    align-items: center;
}

@keyframes nl-spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

.nl-spinner {
    animation: nl-spin 0.8s linear infinite;
}

/* Fila privacidad */
.nl-privacy-row {
    display: flex;
    justify-content: center;
    margin-top: 0.25rem;
}

.nl-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    cursor: pointer;
    text-align: left;
}

/* Ocultar checkbox nativo */
.nl-checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

/* Checkbox personalizado */
.nl-checkbox-custom {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    border: 1.5px solid rgba(15, 23, 42, 0.25);
    border-radius: 5px;
    background: #FFFFFF;
    margin-top: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    position: relative;
}

.nl-checkbox-custom::after {
    content: '';
    display: block;
    width: 5px;
    height: 9px;
    border: 2px solid #fff;
    border-top: none;
    border-left: none;
    transform: rotate(45deg) scale(0);
    transition: transform 0.15s ease;
    margin-top: -2px;
}

.nl-checkbox-label input[type="checkbox"]:checked + .nl-checkbox-custom {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.35);
}

.nl-checkbox-label input[type="checkbox"]:checked + .nl-checkbox-custom::after {
    transform: rotate(45deg) scale(1);
}

.nl-checkbox-label:hover .nl-checkbox-custom {
    border-color: var(--primary);
}

.nl-privacy-text {
    font-size: 0.88rem;
    color: #64748B !important;
    line-height: 1.5;
}

.nl-privacy-link {
    color: var(--primary) !important;
    text-decoration: underline;
    text-underline-offset: 2px;
    font-weight: 600;
    transition: opacity 0.2s;
}

.nl-privacy-link:hover {
    opacity: 0.75;
}

.nl-spam-badge {
    font-weight: 600;
    color: var(--secondary) !important;
}

/* Mensajes de estado */
.nl-message {
    display: none;
    margin-top: 1rem;
    padding: 0.85rem 1.2rem;
    border-radius: 10px;
    font-size: 0.93rem;
    font-weight: 500;
    text-align: center;
}

.nl-message--success {
    display: block;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #065F46 !important;
}

.nl-message--error {
    display: block;
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: #B91C1C !important;
}

/* Responsive Newsletter */
@media (max-width: 640px) {
    .nl-wrapper {
        padding: 3rem 1.75rem !important;
    }
    .nl-input-row {
        flex-direction: column;
    }
    .nl-btn {
        width: 100%;
    }
    .nl-title {
        font-size: 1.9rem !important;
    }
}