/* =========================================
   1. VARIABLES DE COLOR Y UI (MundoRed)
========================================= */
:root {
    --bg-menta: #f0fdf4;
    --primary-emerald: #17a427;
    --primary-emerald-hover: #059669;
    --accent-blue: #0ea5e9; 
    --accent-gold: #f59e0b; 
    --accent-green: #48bb78;
    --tech-mint: #34d399;      
    --glow-emerald: rgba(16, 185, 129, 0.5); 
    
    --text-main: #1a202c;
    --text-main-light: #1e293b;
    --text-secondary: #64748b;
    --text-secondary-light: #94a3b8;

    --radius-md: 12px;
    --radius-lg: 24px;
    --shadow-soft: 0 10px 15px -3px rgba(0,0,0,0.1);
}

/* =========================================
   2. RESET BÁSICO Y COMPORTAMIENTO GLOBAL
========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, -apple-system, sans-serif; 
}

html {
    scroll-behavior: smooth; 
    scroll-padding-top: 90px; 
}

body {
    background-color: var(--bg-menta);
    color: var(--text-main);
    line-height: 1.6;
    background-image: radial-gradient(rgba(16, 185, 129, 0.05) 2px, transparent 2px);
    background-size: 30px 30px;
}

/* =========================================
   3. CLASES UTILITARIAS Y COMPONENTES REUTILIZABLES
========================================= */
.text-large { font-size: large; }
.text-justificado { text-align: justify; }

.glass-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

/* Botones Globales */
.btn-primary {
    background-color: var(--primary-emerald);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-primary:hover { background-color: var(--primary-emerald-hover); }

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--accent-green);
    color: var(--text-main);
    padding: 0.75rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-secondary:hover { background-color: rgba(72, 187, 120, 0.1); }

/* =========================================
   4. HEADER (Navegación Fija)
========================================= */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: rgba(255, 255, 255, 0.10); 
    backdrop-filter: blur(1px); 
    -webkit-backdrop-filter: blur(4px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2); 
    transition: all 0.3s ease;
}

/* SISTEMA DE LOGO DINÁMICO */
#main-header .logo .logo-link {
    position: relative;
    display: block;
    height: 70px; 
    width: 220px; 
}

#main-header .logo img {
    position: absolute;
    top: 0;
    left: 0;
    max-height: 70px; 
    width: auto;      
    transition: opacity 0.4s ease, transform 0.3s ease;
}

#main-header .logo:hover img { transform: scale(1.05); }

#main-header .logo .logo-dark { opacity: 0; visibility: hidden; }
#main-header .logo .logo-light { opacity: 1; visibility: visible; }

#main-header.header-scrolled .logo .logo-light { opacity: 0; visibility: hidden; }
#main-header.header-scrolled .logo .logo-dark { opacity: 1; visibility: visible; }
#main-header.header-scrolled .logo img { filter: none; }

#main-header nav ul { list-style: none; display: flex; gap: 2.5rem; }
#main-header nav ul li a { text-decoration: none; color: var(--text-main-light); font-weight: 500; transition: color 0.3s ease; }
#main-header nav ul li a:hover { color: var(--primary-emerald); }

.auth-pill {
    display: flex;
    border: 2px solid var(--primary-emerald);
    border-radius: 50px;
    overflow: hidden;
    background: #ffffff;
}

.pill-btn {
    padding: 0.5rem 1.5rem;
    text-decoration: none;
    color: var(--primary-emerald);
    font-weight: 600;
    transition: all 0.3s ease;
}

.pill-btn.pill-active { background-color: var(--primary-emerald); color: white; }
.pill-btn:hover:not(.pill-active) { background-color: rgba(16, 185, 129, 0.1); }
.pill-active:hover { background-color: var(--primary-emerald-hover); }

#main-header.header-scrolled {
    background: rgba(255, 255, 255, 0.98) !important; 
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
    padding: 0.8rem 5% !important; 
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-left: 2.5rem; 
}
#main-header nav { margin: 0 auto; }

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 32px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1005; 
}

.menu-toggle .bar {
    height: 3px;
    width: 100%;
    background-color: #ffffff; 
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
    transform-origin: left; 
}

/* MEDIA QUERY HEADER MÓVIL */
@media (max-width: 992px) {
    .menu-toggle { display: flex; }
    .nav-wrapper {
        position: fixed;
        top: 0;
        right: -100%; 
        width: 280px;
        height: 100vh;
        background: rgba(15, 23, 42, 0.95); 
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 3rem;
        margin-left: 0;
        padding: 2rem;
        transition: right 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
        z-index: 1000;
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    }

    .nav-wrapper.active { right: 0; }
    #main-header nav ul { flex-direction: column; align-items: center; gap: 2rem; }
    #main-header nav ul li a { color: #ffffff; font-size: 1.2rem; }
    .auth-pill { flex-direction: column; border-radius: var(--radius-md); width: 100%; text-align: center; background: transparent; border: none; gap: 15px; }
    .pill-btn { border-radius: var(--radius-md); border: 1px solid var(--primary-emerald); width: 100%; color: #ffffff; }

    .menu-toggle.active .bar:nth-child(1) { transform: rotate(45deg); }
    .menu-toggle.active .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.active .bar:nth-child(3) { transform: rotate(-45deg); }
}

/* =========================================
   5. HERO SECTION
========================================= */
#hero-mundo-red {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    min-height: 100vh;
    width: 100%;
    background-image: 
        linear-gradient(to right, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.6) 45%, transparent 100%),
        url('../img/portada.jpeg'); 
    background-size: cover;
    background-position: center right; 
    background-repeat: no-repeat;
    padding: 110px 5% 10px 5%;
}

#hero-mundo-red .glass-panel {
    width: 100%;
    max-width: 650px; 
    position: relative; 
    background: transparent; 
    border: none;
    box-shadow: none;
    padding: 0; 
    text-align: left; 
}

#hero-mundo-red .hero-title { display: flex; flex-direction: column; line-height: 1.05; margin-bottom: 1.5rem; }
#hero-mundo-red .hero-title .text-intro { font-size: 1.9rem; font-weight: 600; display: block; margin-bottom: 0.2rem; color: #ffffff; text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5); }
#hero-mundo-red .hero-title .brand-gradient { font-size: 4.5rem; font-weight: 900; color: var(--primary-emerald); display: block; margin-top: -0.4rem; text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4); }

#hero-mundo-red .hero-subtitle {
    color: #f8fafc; 
    font-weight: 400;
    font-size: 1.2rem; 
    margin-bottom: 2.5rem;
    line-height: 1.6;
    max-width: 550px; 
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

#hero-mundo-red .hero-actions { width: 100%; }
#hero-mundo-red .cta-group { display: flex; flex-direction: row !important; flex-wrap: nowrap !important; gap: 15px; width: 100%; max-width: 500px; }
#hero-mundo-red .cta-group button { flex: 1; padding: 0.85rem 0.5rem; font-size: 0.9rem; white-space: nowrap; display: flex; justify-content: center; align-items: center; }

#hero-mundo-red .btn-primary { box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4); }
#hero-mundo-red .btn-primary:hover {
    background-color: var(--primary-emerald-hover);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), inset 0 -2px 0 rgba(0, 0, 0, 0.2), 0 6px 12px rgba(16, 185, 129, 0.3);
    transform: translateY(-1px); 
}

#hero-mundo-red .btn-secondary {
    border: 2px solid var(--tech-mint); 
    color: #ffffff; 
    background: rgba(255, 255, 255, 0.05); 
    font-weight: 600;
    backdrop-filter: blur(4px); 
}
#hero-mundo-red .btn-secondary:hover { background: rgba(255, 255, 255, 0.15); }

#main-header.header-scrolled .menu-toggle .bar { background-color: var(--text-main-light) !important; }
#main-header.header-scrolled .menu-toggle.active .bar { background-color: #ffffff !important; }
#hero-mundo-red .hero-title span,
#hero-mundo-red .hero-subtitle,
#hero-mundo-red .cta-group button {
    opacity: 0;
}
@media (max-width: 1024px) {
    #hero-mundo-red { background-image: linear-gradient(to right, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.8) 65%, transparent 100%), url('../img/portada.jpeg'); padding-top: 120px; }
    #hero-mundo-red .glass-panel { max-width: 480px; }
    #hero-mundo-red .hero-title .text-intro { font-size: 1.6rem; }
    #hero-mundo-red .hero-title .brand-gradient { font-size: 3.8rem; }
    #hero-mundo-red .hero-subtitle { font-size: 1.1rem; max-width: 450px; }
    #hero-mundo-red .cta-group { flex-direction: column !important; max-width: 100%; }
}

@media (max-width: 768px) {
    #hero-mundo-red { background-image: linear-gradient(to bottom, rgba(15, 23, 42, 0.2) 0%, rgba(15, 23, 42, 0.95) 80%), url('../img/portada.jpeg'); justify-content: center; align-items: flex-end; padding-bottom: 40px; }
    #hero-mundo-red .glass-panel { text-align: center; }
    #hero-mundo-red .hero-subtitle { margin: 0 auto 2.5rem auto; }
    #hero-mundo-red .cta-group { flex-direction: column !important; max-width: 100%; }
}

/* =========================================
   6. SECCIÓN SERVICIOS (Diseño Sólido Horizontal)
========================================= */
#servicios {
    position: relative;
    padding:2rem 5% 5rem 5%;
    overflow: hidden; 
    background-color: var(--bg-menta); 
    z-index: 1;
}

#red-nodos-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0; 
    pointer-events: none; 
}

.contenedor-grid-servicios {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2; 
}

@media (min-width: 992px) {
    .contenedor-grid-servicios {
        grid-template-columns: 45% 55%; 
        align-items: start;
    }
    
    .panel-fijo-izquierdo {
        position: sticky;
        top: 100px; 
    }
}

.servicios-header {
    text-align: left;
    margin-bottom: 2rem;
}

.servicios-header h2 {
    font-size: 2.5rem;
    color: var(--text-main);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.servicios-header p {
    color: var(--text-secondary);
    font-size: 1.15rem;
}

/* Panel Izquierdo (Blanco y Sólido) */
.tabs-content-wrapper {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    min-height: 380px;
    display: flex;
    align-items: flex-start;
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06); 
}

.tab-panel {
    display: none; 
    text-align: left;
    animation: fadeInTab 0.4s ease-out forwards;
}

.tab-panel.active {
    display: block; 
    width: 100%;
}

.panel-info h3 {
    font-size: 1.8rem;
    color: var(--text-main-light);
    margin-bottom: 1rem;
}

.panel-info p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}

.panel-bullets {
    list-style: none;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.panel-bullets li {
    font-weight: 500;
    color: var(--text-main);
}

/* Grilla de Botones Horizontales (Imagen 2) */
.grid-tarjetas {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); 
    gap: 1.2rem;
    align-content: start;
}

.tab-btn {
    background: #ffffff;
    border: none;
    border-radius: 16px;
    padding: 1.2rem 1.5rem;
    cursor: pointer;
    display: flex;
    flex-direction: row; 
    align-items: center;
    justify-content: flex-start;
    gap: 1.5rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.04);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease, transform 0.2s ease;
    opacity: 0; /* Para Anime.js */
}

/* Barra lateral verde mágica */
.tab-btn::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 0; 
    width: 5px;
    background-color: var(--primary-emerald);
    transition: height 0.3s ease;
    border-radius: 0 4px 4px 0;
}

.tab-btn:hover {
    transform: translateX(5px); 
    box-shadow: 0 12px 25px rgba(0,0,0,0.08);
}

.tab-btn:hover::before, 
.tab-btn.active::before {
    height: 60%; 
}

.tab-btn span {
    font-weight: 600;
    color: var(--text-main-light);
    font-size: 1.15rem;
}

.tab-btn .icon-placeholder {
    width: 32px;
    height: 32px;
    transition: transform 0.3s ease;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.tab-btn.active {
    background: #ffffff;
    box-shadow: 0 10px 25px -5px rgba(16, 185, 129, 0.15);
    transform: translateX(5px);
}

.tab-btn.active span { color: var(--primary-emerald); }
.tab-btn.active .icon-placeholder { transform: scale(1.1); color: var(--primary-emerald); }

/* =========================================
   ESTILOS GRID DE BILLETERAS (Animaciones UX)
========================================= */
.panel-subtitle {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}

.billeteras-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(16, 185, 129, 0.03); /* Fondo súper suave */
    border-radius: 16px;
    border: 1px solid rgba(16, 185, 129, 0.1);
}

.billetera-item {
    width: 100%;
    height: 65px;
    background: #ffffff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    cursor: pointer;
    
    /* Animación de reposo: Gravedad Cero */
    animation: floatLogo 6s ease-in-out infinite;
    /* Transición elástica para el Hover */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Desfasamos la flotación para que sea orgánica y no robótica */
.billetera-item:nth-child(2n) { animation-delay: 1s; }
.billetera-item:nth-child(3n) { animation-delay: 2s; }

.billetera-item img {
    max-width: 90%;
    max-height: 40px;
    object-fit: contain;
    /* ✅ CAMBIO: Ahora a pleno color y opacidad desde el inicio */
    filter: none; 
    opacity: 1; 
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* 🎯 INTERACCIÓN (Hover en PC): El Foco Magnético */
.billetera-item:hover {
    transform: scale(1.08) translateY(-5px);
    box-shadow: 0 15px 30px rgba(16, 185, 129, 0.2); /* Sombra un poco más fuerte */
    background: #ffffff;
    border: 1px solid var(--primary-emerald);
}

.billetera-item:hover img {
    /* Explota el color original del logo al tocarlo */
    filter: grayscale(0%) opacity(1); 
    transform: scale(1.1);
}

/* 🎯 ANIMACIÓN DE ENTRADA: El Efecto Cascada (Staggering) */
/* Cuando el panel se activa, los logos saltan uno por uno */
.tab-panel.active .billetera-item {
    animation: popInLogo 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) backwards;
}

.tab-panel.active .billetera-item:nth-child(1) { animation-delay: 0.1s; }
.tab-panel.active .billetera-item:nth-child(2) { animation-delay: 0.2s; }
.tab-panel.active .billetera-item:nth-child(3) { animation-delay: 0.3s; }
.tab-panel.active .billetera-item:nth-child(4) { animation-delay: 0.4s; }
.tab-panel.active .billetera-item:nth-child(5) { animation-delay: 0.5s; }
.tab-panel.active .billetera-item:nth-child(6) { animation-delay: 0.6s; }

/* Los Keyframes (La física de los movimientos) */
@keyframes popInLogo {
    0% { opacity: 0; transform: scale(0.5) translateY(20px); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes floatLogo {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-4px); }
    100% { transform: translateY(0px); }
}
/* =========================================
   BADGE DE IMPACTO (Etiquetas de datos Extra Grandes)
========================================= */
.impact-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px; /* Un poco más de espacio */
    background: rgba(16, 185, 129, 0.1); 
    color: var(--text-main); /* El texto general es oscuro */
    padding: 12px 24px; /* La hacemos más "gordita" y respirable */
    border-radius: 50px; 
    font-size: 1.15rem; /* Subimos el tamaño base */
    margin-bottom: 2rem;
    border: 1px solid rgba(16, 185, 129, 0.2);
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

.impact-badge strong {
    font-weight: 900; /* Extra bold */
    font-size: 1.6rem; /* ¡El número resalta muchísimo más! */
    color: var(--primary-emerald); /* Le damos tu verde corporativo solo al número */
    letter-spacing: -0.5px;
}

.impact-badge .badge-icon {
    font-size: 1.6rem; /* Icono más grande para acompañar */
}

/* =========================================
   TARJETA APUESTAS (Diseño Cápsula / Outline Box)
========================================= */
.title-with-icon {
    display: flex;
    align-items: center;
    gap: 18px; /* Un poco más de espacio para que respire el icono gigante */
    margin-bottom: 1.5rem;
}
.title-with-icon .title-icon-large {
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.05)); /* Sombrita muy suave para que no se vea plano */
}

.title-with-icon .title-icon {
    color: var(--primary-emerald);
    background: rgba(16, 185, 129, 0.1);
    padding: 12px;
    border-radius: 14px; /* Un fondo cuadradito para el dado */
    display: flex;
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.15);
}

.title-with-icon h3 {
    margin-bottom: 0 !important; 
    font-size: 2.2rem !important; /* Más grande para igualar la referencia */
    line-height: 1.1; /* Hace que "Recargas" y "Apuestas" queden pegaditos */
    font-weight: 800;
    color: var(--text-main);
}

/* La cápsula que encierra los logos */
.apuestas-outline-box {
    display: flex;
    justify-content: space-around; /* Reparte los logos uniformemente */
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 30px 20px;
    margin-bottom: 2rem;
    
    /* El borde característico de tu ejemplo */
    border: 2px solid var(--primary-emerald);
    border-radius: 30px; /* Esquinas redonditas tipo píldora */
    background: #ffffff;
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.08);
}

.apuesta-logo {
    cursor: pointer;
    /* Reutilizamos la animación de flotación orgánica de las billeteras */
    animation: floatLogo 6s ease-in-out infinite;
}

.apuesta-logo img {
    height: 45px;
    width: auto;
    max-width: 130px;
    object-fit: contain;
    /* ✅ CAMBIO: Siempre a color para identificación rápida */
    filter: none; 
    opacity: 1;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Interacción Magnética al tocar o pasar el mouse */
.apuesta-logo:hover img {
    transform: scale(1.15); /* El logo salta hacia adelante */
}

/* 🎯 ADAPTACIÓN PARA MÓVIL DE ESTA TARJETA */
@media (max-width: 768px) {
    .apuestas-outline-box {
        padding: 20px 15px;
        gap: 15px;
        border-radius: 20px;
    }
    .apuesta-logo img {
        height: 32px; /* Logos un poco más pequeños para que quepan todos */
        filter: grayscale(0%) opacity(1); /* En móvil siempre a color */
    }
    .title-with-icon h3 { font-size: 1.6rem !important; }
    .title-with-icon .title-icon svg { width: 28px; height: 28px; }
}
/* =========================================
   🎯 OPTIMIZACIÓN MÓVIL: EXPERIENCIA TÁCTIL PREMIUM
========================================= */
@media (max-width: 768px) {
    .billeteras-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columnas para que los logos sean grandes */
        gap: 1rem;
        padding: 1rem;
        background: rgba(16, 185, 129, 0.05);
    }

    .billetera-item {
        height: 70px; /* Un poco más alto para facilitar el toque del dedo */
        /* En móvil eliminamos la flotación de PC y usamos un latido más suave */
        animation: latidoTactil 4s ease-in-out infinite;
        transition: transform 0.1s ease; /* Respuesta inmediata al toque */
    }

    .billetera-item img {
        /* 💡 CLAVE: En móvil siempre a color para evitar confusión */
        filter: grayscale(0%) opacity(1); 
        max-height: 35px;
    }

    /* 🎯 EFECTO HÁPTICO (Al tocar con el dedo) */
    .billetera-item:active {
        transform: scale(0.92); /* Se hunde ligeramente */
        background-color: #ffffff;
        border: 2px solid var(--primary-emerald); /* Brilla el borde al tocar */
        box-shadow: 0 0 15px rgba(16, 185, 129, 0.2);
    }

    /* Animación de latido muy sutil para que la pantalla "viva" */
    @keyframes latidoTactil {
        0%, 100% { transform: scale(1); }
        50% { transform: scale(1.02); }
    }
}


/* =========================================
   ESTILOS GRID DE BANCOS (TARJETA)
========================================= */
.bancos-logos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columnas */
    gap: 1.2rem;
    margin: 1.5rem 0;
    align-items: center;
    justify-items: center;
    padding: 1rem;
    background: rgba(16, 185, 129, 0.05); /* Un fondito verde ultra sutil */
    border-radius: 12px;
}

/* =========================================
   ESTILOS GRID DE BANCOS (A TODO COLOR)
========================================= */
.banco-logo-item {
    width: 100%; 
    max-width: 75px; 
    height: 35px; 
    object-fit: contain; 
    margin: 0 auto; 
    display: block;
    
    /* ¡Adiós al blanco y negro! Solo dejamos la transición suave para el hover */
    transition: transform 0.3s ease;
    opacity: 0; /* Siguen empezando ocultos para que Anime.js haga su magia */
}

/* Micro-interacción: Ahora solo crecen un poquito al tocarlos */
.banco-logo-item:hover {
    transform: scale(1.1) !important; 
}



/* Adaptación perfecta para celulares */
@media (max-width: 768px) {
    .bancos-logos-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.8rem;
        padding: 0.8rem;
    }
    .banco-logo-item {
        max-width: 50px;
        max-height: 22px;
    }
}

@keyframes fadeInTab {
    from { opacity: 0; transform: translateX(-10px); }
    to { opacity: 1; transform: translateX(0); }
}

@media (max-width: 768px) {
    .tabs-content-wrapper { padding: 2rem 1.5rem; min-height: auto; }
    .grid-tarjetas { grid-template-columns: 1fr; } /* En móvil a 1 columna */
}

/* =========================================
   7. SECCIÓN CÓMO FUNCIONA
========================================= */
#como-funciona {
    padding: 20px 5% 5rem 5%; 
    text-align: center;
    background-color: rgba(16, 185, 129, 0.03); 
}

.como-funciona-header h2 { font-size: 2.5rem; color: var(--text-main); margin-bottom: 1rem; }
.como-funciona-header p { color: var(--text-secondary); margin-bottom: 4rem; font-size: 1.1rem; }

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto;
}

.step-number {
    position: absolute;
    top: -25px; 
    left: 50%;
    transform: translateX(-50%); 
    width: 50px;
    height: 50px;
    background: var(--primary-emerald);
    color: white;
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 10px 15px -3px rgba(16, 185, 129, 0.4);
    border: 4px solid var(--bg-menta);
    opacity: 0;
    transform: translate(-50%, -50%) scale(0);
}
.card-servicio {
    background: #ffffff;
    /* Damos más padding arriba (3rem) para que el número flotante no pise el texto */
    padding: 3rem 2rem 2rem 2rem; 
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative; /* ¡CRÍTICO! Para que el número flote sobre su propia tarjeta */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(16, 185, 129, 0.1);
    /* EL CAMBIO CLAVE: Empezar invisible y abajo */
    opacity: 0;
    transform: translateY(50px);
}

/* Efecto Hover para darle vida */
.card-servicio:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.12);
}

.card-servicio h3 {
    color: var(--text-main);
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.card-servicio p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.6;
}
/* Limpiamos los estilos por defecto de la lista */
.lista-beneficios {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px; /* Separación vertical entre cada ítem de la lista */
}

/* Convertimos cada ítem en un contenedor flex */
.lista-beneficios li {
  display: flex;
  align-items: center; /* Centra verticalmente el ícono con el texto */
  gap: 12px; /* Separación horizontal exacta entre el ícono y el texto */
  font-family: sans-serif; /* Asegúrate de usar la fuente de tu proyecto */
  color: #374151;
  font-size: 16px;
}

/* Protegemos el SVG para que no se deforme */
.lista-beneficios li svg {
  flex-shrink: 0; /* Evita que el ícono se encoja si el texto es muy largo y pasa a otra línea */
}


/* =========================================
   8. SECCIÓN CONTACTO Y FORMULARIO (SPLIT SCREEN)
========================================= */

#contacto { 
    /* 1. ELIMINAMOS EL EXCESO DE ESPACIO ARRIBA: 
       Cambiamos de 6rem a solo 2.5rem en la parte superior, 
       pero mantenemos espacio abajo para que respire antes del footer */
    padding: 2.5rem 5% 6rem 5%; 
    
   background-color: #f8fafc; 
    
    /* LA MAGIA DEL MESH GRADIENT (Inspirado en tu referencia pero con tus colores)
       Mezclamos Esmeralda, Azul tech, un toque de Naranja/Dorado y un morado muy sutil 
       para lograr esa complejidad de "cristal líquido" */
    background-image: 
        radial-gradient(at 0% 0%, rgba(16, 185, 129, 0.25) 0px, transparent 50%),    /* Esmeralda - Arriba Izquierda */
        radial-gradient(at 100% 0%, rgba(14, 165, 233, 0.2) 0px, transparent 50%),   /* Azul - Arriba Derecha */
        radial-gradient(at 100% 100%, rgba(167, 139, 250, 0.2) 0px, transparent 50%),/* Morado suave - Abajo Derecha */
        radial-gradient(at 0% 100%, rgba(245, 158, 11, 0.15) 0px, transparent 50%);  /* Dorado - Abajo Izquierda */
     /* CAPA 2: El degradado oscuro lateral para legibilidad del texto */
        linear-gradient(to right, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.4) 50%, transparent 100%),
        
        /* CAPA 3: LA CLAVE. Degradado vertical que termina en el verde del footer (#064e3b) */
        linear-gradient(to bottom, #0f172a 0%, #064e3b 100%);
        z-index: 1;
      padding-bottom: 2rem !important; 
    /* Eliminamos cualquier margen que esté empujando el footer hacia abajo */
    margin-bottom: 0 !important;
}
/* Brillo esmeralda súper sutil y elegante en el fondo */
#contacto::before {
    content: ''; position: absolute; top: -30%; left: -10%; width: 80%; height: 80%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.12) 0%, transparent 60%);
    z-index: 0; pointer-events: none;
}

/* Contenedor Principal */
.contacto-wrapper {
    display: grid;
    grid-template-columns: 1fr; 
    gap: 3rem;
    max-width: 1150px; /* Un poco más ajustado para agrupar mejor */
    margin: 0 auto;
    align-items: start;
    position: relative;
    z-index: 2; 
}
#contacto::before, #contacto::after {
    display: none;
}

/* ================= Columna Izquierda (Texto Alto Contraste) ================= */
.contacto-info { text-align: left; }

.contacto-info h2 { 
    font-size: 3.2rem; 
    color: var(--text-main); /* Regresamos a gris oscuro para que contraste con el fondo claro */
    margin-bottom: 1.5rem; 
    line-height: 1.1; 
    letter-spacing: -1px; 
}




.contacto-info > p { 
    color: var(--text-secondary); 
    font-size: 1.25rem; 
    margin-bottom: 2.5rem; 
    max-width: 95%; 
    line-height: 1.6;
}

.contacto-beneficios { 
    list-style: none; 
    margin-bottom: 1.5rem; 
    display: flex; 
    flex-direction: column; 
    gap: 1.5rem; 
}

.contacto-beneficios li { 
    display: flex; 
    align-items: center; /* Centra el icono con el texto verticalmente */
    gap: 16px; 
    font-size: 1.1rem; 
    color: var(--text-main-light); 
}

.contacto-beneficios li p {
    margin: 0; /* Quitamos márgenes por defecto para alinear perfecto */
    line-height: 1.4;
}

.contacto-beneficios li strong { 
    color: var(--text-main); 
}

.contacto-lottie { display: flex; justify-content: flex-start; margin-top: 1rem; }
.icon-benefit { 
    display: flex; 
    align-items: center; 
    justify-content: center;
    color: var(--primary-emerald); /* Iconos color esmeralda */
    background: rgba(16, 185, 129, 0.15); /* Cuadrito de fondo verde ultra-suave */
    padding: 12px;
    border-radius: 12px; /* Bordes redondeados modernos */
    flex-shrink: 0; /* Evita que el icono se aplaste si el texto es muy largo */
    transition: all 0.3s ease;
}

.icon-benefit:hover {
    background: var(--primary-emerald);
    color: #ffffff;
    transform: scale(1.05);
}

.icon-benefit svg {
    width: 22px;
    height: 22px;
    stroke-width: 2.2px; /* Un trazo un poquito más grueso para que resalte */
}

/* ================= Columna Derecha (Formulario Blanco) ================= */
.form-container {
    background: #ffffff;
    border-radius: 24px;
    /* Sombra oscura y dramática para que resalte sobre el fondo negro */
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5); 
    padding: 3rem 2.5rem; 
    width: 100%;
}

/* ESTILOS INTERNOS DEL FORMULARIO */
#lead-form { display: flex; flex-direction: column; gap: 1.2rem; text-align: left; }
#lead-form label { font-weight: 600; color: var(--text-main-light); font-size: 0.95rem; margin-bottom: -0.8rem; }

#lead-form input, #lead-form select { 
    width: 100%; padding: 1rem; border: 2px solid #e2e8f0; border-radius: var(--radius-md); 
    background: #f8fafc; font-size: 1rem; color: var(--text-main); outline: none; 
    transition: all 0.3s ease; 
}

#lead-form input:focus, #lead-form select:focus { 
    border-color: var(--primary-emerald); background: #ffffff;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15); transform: translateY(-2px);
}

.btn-submit {
    background-color: var(--primary-emerald); color: white; padding: 1.1rem; border: none; 
    border-radius: var(--radius-md); font-size: 1.1rem; font-weight: 600; cursor: pointer; 
    transition: all 0.3s ease; margin-top: 0.5rem;
}
.btn-submit:hover { background-color: var(--primary-emerald-hover); transform: translateY(-2px); }

/* ================= EL SECRETO DEL ESPACIO EN ESCRITORIO ================= */
@media (min-width: 992px) {
    .contacto-wrapper {
        /* EL TRUCO: El formulario siempre medirá 420px. El texto toma todo lo que sobre (1fr). ¡Cero huecos! */
        grid-template-columns: 1fr 420px; 
        gap: 5rem; /* Separación exacta y controlada */
        align-items: start;
    }
}
/* =========================================
   ESTILOS INTERNOS DEL FORMULARIO Y BOTÓN
========================================= */
#lead-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    text-align: left;
}

#lead-form label {
    font-weight: 600;
    color: var(--text-main);
    font-size: 0.95rem;
    margin-bottom: -0.8rem; /* Acerca el texto a la caja */
}

/* Cajas de texto y selector */
#lead-form input, 
#lead-form select { 
    width: 100%; 
    padding: 1rem; 
    border: 2px solid rgba(148, 163, 184, 0.3); 
    border-radius: var(--radius-md); 
    background: rgba(255, 255, 255, 0.9); 
    font-size: 1rem; 
    color: var(--text-main); 
    outline: none; 
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); 
}

/* Micro-interacciones (El salto y brillo verde) */
#lead-form input:hover, 
#lead-form select:hover {
    border-color: rgba(16, 185, 129, 0.5);
    background: #ffffff;
}

#lead-form input:focus, 
#lead-form select:focus { 
    border-color: var(--primary-emerald); 
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15);
    transform: translateY(-2px);
}

/* Botón de Enviar */
.btn-submit {
    background-color: var(--primary-emerald);
    color: white;
    padding: 1rem;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-submit:hover {
    background-color: var(--primary-emerald-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}
/* =========================================
   9. SECCIÓN ALIADOS (Carrusel Infinito)
========================================= */
#aliados { padding: 3rem 5%; background: #ffffff; border-top: 1px solid rgba(16, 185, 129, 0.1); border-bottom: 1px solid rgba(16, 185, 129, 0.1); text-align: center; }
.aliados-title { color: var(--text-secondary); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 2rem; font-weight: 600; }

.carousel-container { width: 100%; overflow: hidden; position: relative; max-width: 1200px; margin: 0 auto; }
.carousel-container::before, .carousel-container::after { content: ''; position: absolute; top: 0; width: 100px; height: 100%; z-index: 2; }
.carousel-container::before { left: 0; background: linear-gradient(to right, white, transparent); }
.carousel-container::after { right: 0; background: linear-gradient(to left, white, transparent); }

.carousel-track { display: flex; align-items: center; gap: 5rem; width: max-content; animation: scroll-infinito 15s linear infinite; }
.carousel-track:hover { animation-play-state: paused; }

.aliado-logo { height: 40px; width: auto; object-fit: contain; filter: grayscale(100%) opacity(0.5); transition: filter 0.3s ease, transform 0.3s ease; }
.aliado-logo:hover { filter: grayscale(0%) opacity(1); transform: scale(1.1); }

@keyframes scroll-infinito { 0% { transform: translateX(0); } 100% { transform: translateX(calc(-50% - 2.5rem)); } }

/* =========================================
   10. FOOTER PROFESIONAL
========================================= */
/* =========================================
   10. FOOTER PROFESIONAL (NIVEL FINTECH)
========================================= */
#main-footer { 
    margin-top: -1px; /* Mantiene la fusión invisible con la sección de arriba */
    /* Empieza en el verde oscuro y termina en un verde casi negro */
    background: linear-gradient(to bottom, #064e3b 0%, #022c22 100%); 
    color: #e2e8f0; 
    padding: 5rem 5% 2rem; 
}

.footer-container { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 4rem; 
    max-width: 1200px; 
    margin: 0 auto; 
    border-bottom: 1px solid rgba(255, 255, 255, 0.08); 
    padding-bottom: 3rem; 
}

.footer-col h4 { color: #ffffff; font-size: 1.25rem; margin-bottom: 1.5rem; font-weight: 600; letter-spacing: -0.5px; }
.footer-col > p { color: #94a3b8; font-size: 1rem; line-height: 1.6; margin-top: 1rem;}

/* TRUCO MAGICO: Vuelve blanco el logo para que resalte en fondos oscuros */
.footer-logo-img { max-height: 45px; width: auto; display: block; filter: brightness(0) invert(1); }

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 1rem; }
.footer-col ul li a { color: #94a3b8; text-decoration: none; transition: all 0.3s ease; display: inline-block; }

/* Micro-interacción: Flechita imaginaria al pasar el mouse */
.footer-col ul li a:hover { color: #10b981; transform: translateX(6px); }

/* Iconos de contacto */
.footer-contact li { display: flex; align-items: center; gap: 12px; color: #94a3b8; font-size: 0.95rem; }
.footer-contact li svg { color: #10b981; flex-shrink: 0; }

.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; max-width: 1200px; margin: 0 auto; padding-top: 2rem; font-size: 0.9rem; color: #475569; }
.legal-links a { color: #475569; text-decoration: none; transition: color 0.3s ease; }
.legal-links a:hover { color: #e2e8f0; }

@media (max-width: 768px) { .footer-bottom { flex-direction: column; text-align: center; gap: 1rem; } }
/* =========================================
   11. MODALES (Ventanas Emergentes)
========================================= */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(15, 23, 42, 0.6); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); z-index: 2000; display: flex; justify-content: center; align-items: center; opacity: 0; visibility: hidden; transition: all 0.3s ease; }
.modal-overlay.active { opacity: 1; visibility: visible; }

.modal-content { width: 90%; max-width: 900px; max-height: 90vh; overflow-y: auto; background: rgba(255, 255, 255, 0.95); position: relative; transform: scale(0.9); transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); border-radius: var(--radius-lg); box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); padding: 0; }
.modal-overlay.active .modal-content { transform: scale(1); }

.modal-close { position: absolute; top: 15px; right: 15px; background: #f1f5f9; border: none; font-size: 1.5rem; color: var(--text-main); cursor: pointer; z-index: 10; width: 40px; height: 40px; border-radius: 50%; transition: all 0.2s ease; display: flex; align-items: center; justify-content: center; }
.modal-close:hover { background: var(--primary-emerald); color: white; transform: rotate(90deg); }

.modal-grid { display: grid; grid-template-columns: 1fr 1.2fr; }
.modal-image { background: linear-gradient(135deg, var(--bg-menta), #d1fae5); display: flex; align-items: center; justify-content: center; }
.modal-image img { width: 100%; height: 100%; object-fit: cover; }

.modal-text { padding: 3rem; display: flex; flex-direction: column; justify-content: center; }
.modal-text h3 { font-size: 2rem; color: var(--text-main); margin-bottom: 1rem; line-height: 1.2; }
.modal-text > p { color: var(--text-secondary); margin-bottom: 2rem; font-size: 1.05rem; }

.modal-benefits { list-style: none; margin-bottom: 2.5rem; }
.modal-benefits li { margin-bottom: 1.2rem; display: flex; gap: 15px; align-items: flex-start; }
.icon-benefit { font-size: 1.5rem; line-height: 1.2; flex-shrink: 0; }
.modal-benefits p { color: var(--text-main-light); margin-bottom: 0; font-size: 0.95rem; }
.modal-btn { width: 100%; font-size: 1.1rem; padding: 1.2rem; }

@media (max-width: 850px) {
    .modal-grid { grid-template-columns: 1fr; }
    .modal-image { display: none; }
    .modal-text { padding: 2.5rem 1.5rem; }
    .modal-text h3 { font-size: 1.7rem; }
}

/* =========================================
   12. ANIMACIONES AVANZADAS (Scroll Reveal)
========================================= */
.reveal { opacity: 0; }
.reveal.active { opacity: 1; animation: fadeInUp 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) backwards; }
.delay-1.active { animation-delay: 0.1s; }
.delay-2.active { animation-delay: 0.3s; }
.delay-3.active { animation-delay: 0.5s; }

@keyframes fadeInUp { 0% { opacity: 0; transform: translateY(50px); } 100% { opacity: 1; transform: translateY(0); } }

.reveal-zoom { opacity: 0; transform: scale(0.85); transition: all 0.8s cubic-bezier(0.5, 0, 0, 1); }
.reveal-zoom.active { opacity: 1; transform: scale(1); }
/* =========================================
   ESTILOS EXCLUSIVOS PARA MÓVIL (CUADRÍCULA)
========================================= */
@media (max-width: 768px) {
    .tabs-content-wrapper { 
        padding: 2rem 1.5rem !important; 
        min-height: auto !important; 
    }

    .grid-tarjetas { 
        display: grid !important;
        grid-template-columns: repeat(4, 1fr) !important; 
        gap: 10px !important; 
    }

    .tab-btn {
        padding: 1rem 0.5rem !important;
        justify-content: center !important;
        border-radius: 12px !important;
    }

    /* Ocultamos texto y barra lateral SOLO en celular */
    .tab-btn span {
        display: none !important; 
    }
    
    .tab-btn::before {
        display: none !important; 
    }

    .tab-btn.active {
        transform: translateY(-4px) !important; 
        border: 2px solid var(--primary-emerald) !important;
        padding: calc(1rem - 2px) calc(0.5rem - 2px) !important; 
    }
}
/* =========================================
   12. BOTÓN FLOTANTE DE WHATSAPP
========================================= */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366; /* El verde oficial y reconocible de WhatsApp */
    color: #ffffff;
    border-radius: 50%; /* Lo hace un círculo perfecto */
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.35);
    z-index: 9999; /* Asegura que esté por encima de absolutamente todo */
    transition: all 0.3s ease;
    text-decoration: none;
}

/* Micro-interacción al pasar el mouse */
.whatsapp-float:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.5);
    background-color: #20b858;
}

/* La magia: Animación de "Latido" suave */
.whatsapp-float::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 50%;
    background-color: rgba(37, 211, 102, 0.6);
    animation: latidoWA 2s infinite; /* Se repite infinitamente cada 2 segundos */
}

@keyframes latidoWA {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.6); opacity: 0; }
}

/* Adaptación para pantallas de celular (Mobile Responsive) */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    .whatsapp-float svg {
        width: 24px;
        height: 24px;
    }
}

/* =========================================
   SECCIÓN NOSOTROS / MUNDORED
   ========================================= */
#nosotros {
    background-color: #f0fdf4; /* Verde menta muy suave */
    padding: 6rem 5%;
    position: relative;
    overflow: hidden;
}

.nosotros-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 6rem;
}

.nosotros-bloque {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.nosotros-bloque.reverso {
    flex-direction: row-reverse;
}

.nosotros-imagen {
    flex: 1;
    position: relative;
    min-width: 300px;
}

.nosotros-imagen img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
    position: relative;
    z-index: 2;
    object-fit: cover;
}

/* Efecto sutil glassmorphism decorativo detrás de las imágenes */
.glass-backdrop {
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    z-index: 1;
}

.nosotros-bloque.reverso .glass-backdrop {
    left: 20px;
    right: -20px;
}

.nosotros-texto {
    flex: 1;
    min-width: 300px;
}

.nosotros-texto h2 {
    color: #1a202c; /* Gris pizarra oscuro */
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.2rem;
}

.nosotros-texto p.text-secundario {
    color: #64748b; /* Gris azulado secundario */
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.nosotros-texto h3 {
    color: #1e293b;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.lista-check-nosotros {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.lista-check-nosotros li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: #1e293b;
    font-weight: 500;
    font-size: 1.05rem;
}

.lista-check-nosotros li svg {
    flex-shrink: 0;
}

.btn-nosotros {
    margin-top: 1rem;
    padding: 0.8rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    /* Asume que ya tienes clases globales .btn-primary, si no, toma el estilo general de tus botones */
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .nosotros-bloque, 
    .nosotros-bloque.reverso {
        flex-direction: column;
        gap: 3rem;
        text-align: center;
    }

    .nosotros-texto h2 {
        font-size: 2rem;
    }

    .lista-check-nosotros li {
        justify-content: center; /* Centramos la lista en móviles */
    }

    .glass-backdrop {
        display: none; /* Ocultamos el decorativo en móvil para un diseño más limpio */
    }
}