/*******************************/
/********* General CSS *********/
/*******************************/
body {
    color: #000000;
    background: #ffff;
    font-family: 'Poppins', 'Poppins';
    font-weight: 400;
    font-family: 'Poppins', 'Poppins';
    font-optical-sizing: auto;
    
  }


h1,
h2, 
h3, 
h4,
h5, 
h6 {
    color: #6f2486;
}
h1, h2, h3 {
    font-family: 'Poppins', 'Poppins';
    font-weight: 600;
    letter-spacing: 0.5px;
    font-family: 'Poppins', 'Poppins';
    font-optical-sizing: auto;
  }



  
  nav, button, footer {
    font-family: 'Poppins', 'Poppins';
    font-weight: 500;
  }
  




  







  




/****************************************************************************************/
/************ LOGIN y POP UP, Agregar comercio, agregar noticias ***********************/
/**************************************************************************************/

/* --- CONTENEDOR DE LA GOTA FLOTANTE Y SU MENÚ --- */

.admin-drop-container {
    position: fixed;
    bottom: 30px; 
    right: 30px; 
    z-index: 1000;
}

.admin-drop-btn {
    background-color: #5c1e6f;
    color: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 24px;
    text-align: center;
    line-height: 60px; 
    cursor: pointer;
    transition: transform 0.3s ease;
}

.admin-drop-btn:hover {
    transform: scale(1.1);
}

.admin-drop-menu {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-bottom: 10px;
    visibility: hidden;
    opacity: 0;
    transform: translateY(20px);
    transition: visibility 0s, opacity 0.3s ease, transform 0.3s ease;
    position: absolute;
    bottom: 60px; 
    right: 0; 
    background-color: white; 
    padding: 10px; 
    border-radius: 8px; 
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25); 
    pointer-events: none;
}

.admin-drop-menu.visible {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.admin-drop-menu .admin-btn {
    margin-top: 10px;
    min-width: 150px;
    text-align: center;
    padding: 10px 20px;
    border-radius: 20px;
    border: none;
    cursor: pointer;
    background-color: #5c1e6f;
    color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
}

.admin-drop-menu .admin-btn:hover {
    background-color: #4b1a5a;
}

/* ------------------------------------------------------------------------------------ */
/* --- ESTILOS DE MODALES (LOGIN, AGREGAR/EDITAR) --- */
/* ------------------------------------------------------------------------------------ */

.modal-content {
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    border: none;
    overflow: hidden; 
}

/* Ocultar el header de Bootstrap */
.modal-header {
    display: none !important;
}

.modal-body {
    padding: 0; 
}

/* Posicionar la X de cierre */
.modal-content .btn-close {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
    /* Filtro para el modal de Login */
    filter: invert(1) grayscale(100%) brightness(200%); 
}

/* 3. Crear nuestro propio título y formulario de login */
#loginPopup .loginBox {
    padding: 0; 
    text-align: center;
    position: relative;
}

#loginPopup .loginBox h2 {
    background-color: #1a1e24; 
    color: white; 
    margin: 0; 
    padding: 25px 30px; 
    font-size: 22px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Damos padding al formulario para separar los campos del título */
#loginForm {
    padding: 30px;
}

/* 4. Inputs y botón con estilo moderno */
#loginPopup .loginBox input[type="text"],
#loginPopup .loginBox input[type="password"] {
    width: 100%;
    padding: 15px; 
    margin-bottom: 20px;
    border-radius: 8px; 
    border: 1px solid #ddd; 
    font-size: 16px;
    box-sizing: border-box;
}

#loginPopup .loginBox button {
    width: 100%;
    padding: 15px;
    background-color: #5c1e6f; 
    color: white;
    border: none;
    border-radius: 8px; 
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#loginPopup .loginBox button:hover {
    background-color: #4b1a5a; 
}

.password-wrapper {
    position: relative;
}

.password-wrapper input {
    padding-right: 45px !important; 
}

.eye {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%); 
    font-size: 18px;
    cursor: pointer;
    color: #888;
}

/* --- SOLUCIÓN CRÍTICA: ESTILOS PARA EL POP-UP PÚBLICO GRANDE Y CENTRADO --- */

/* 1. Ajuste del Diálogo (Centrado, 90% de la pantalla) */
#publicPopup .modal-dialog {
    max-width: 90%; /* Ocupa hasta el 90% del ancho de la pantalla */
    width: auto; 
    margin: 1.75rem auto; /* Centrado vertical y horizontal */
}

/* 2. Ajuste del Contenido (Se hace del tamaño de la imagen y se centra) */
#publicPopup .popupContent {
    background-color: transparent; 
    border: none; 
    box-shadow: none; 
    
    /* ¡CLAVE! Se ajusta al 60% del ancho del modal-dialog */
    width: 60%; 
    /* ¡CLAVE! Centra este contenedor (que ya no es 100% ancho) */
    margin: 0 auto; 
    
    position: relative; /* Para posicionar la X */
}

/* 3. Estilo del botón de cierre (Ahora se posiciona relativo al contenedor de 60%) */
#publicPopup .popupContent .btn-close {
    position: absolute;
    /* Ajusta la posición para que quede pegado al borde de la foto */
    top: 15px; 
    right: 15px; /* Ahora 15px desde el borde del contenedor de 60% */
    z-index: 10; 
    background-color: rgba(255, 255, 255, 0.7); 
    border-radius: 50%;
    filter: none; 
    opacity: 1;
}

/* 4. La imagen (ahora 100% del contenedor) + Borde blanco */
#publicPopup img {
    width: 100%; /* ¡CLAVE! La imagen llena el .popupContent (que es 60% ancho) */
    display: block; 
    border-radius: 20px;
    height: auto;
    
    /* ¡CLAVE! Borde blanco fino */
    border: 5px solid #fff; 
    /* Opcional: una sombra suave para que el borde blanco resalte */
    box-shadow: 0 4px 15px rgba(0,0,0,0.3); 
}

/* Asegura que el cuerpo del modal no tenga padding */
#publicPopup .modal-body {
    padding: 0;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.modal-footer .btn {
    padding: 8px 16px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    font-size: 14px;
}

.btn-secondary {
    background-color: #6c757d;
    color: white;
}

.btn-primary {
    background-color: #5c1e6f;
    color: white;
}

.btn-primary:hover {
    background-color: #4b1a5a;
}

/* ------------------------------------------------------------------------------------ */
/* --- ESTILOS DE CONTENEDORES Y TARJETAS --- */
/* ------------------------------------------------------------------------------------ */

/* Contenedores de datos */
#comerciosContainer,
#noticiasContainer {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
}

/* Tarjetas de Comercio y Noticias */
.comercioCard,
.noticiaCard {
    background-color: #5c1e6f;
    color: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    /* Ancho: 3 columnas, ajustado para el gap de 20px */
    width: calc(33.333% - 13.333px); 
    box-sizing: border-box;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    display: flex; 
    flex-direction: column;
}

.comercioCard:hover,
.noticiaCard:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.comercioCard img,
.noticiaCard img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover; 
}

.comercioCard h3,
.noticiaCard h3 {
    font-size: 18px;
    margin: 10px 0;
    color: white;
}

.comercioCard p,
.noticiaCard p {
    font-size: 14px;
    color: #D5B981;
    flex-grow: 1; 
}

.comercioCard .buttons,
.noticiaCard .buttons {
    margin-top: auto; 
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.comercioCard .buttons button,
.noticiaCard .buttons button {
    border: none;
    padding: 8px 16px;
    font-size: 14px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
    color: white;
    font-family: 'Poppins', 'Poppins';
    flex-grow: 1; 
}

.comercioCard .buttons .btn-modificar,
.noticiaCard .buttons .btn-modificar {
    background-color: #FFC107; 
    color: #1a1e24;
}

.comercioCard .buttons .btn-modificar:hover,
.noticiaCard .buttons .btn-modificar:hover {
    background-color: #e0a800;
}

.comercioCard .buttons .btn-eliminar,
.noticiaCard .buttons .btn-eliminar,
.comercioCard .buttons .delete,
.noticiaCard .buttons .delete {
    background-color: #dc3545; 
}

.comercioCard .buttons .btn-eliminar:hover,
.noticiaCard .buttons .btn-eliminar:hover,
.comercioCard .buttons .delete:hover,
.noticiaCard .buttons .delete:hover {
    background-color: #c82333;
}


/* --- ESTILOS ESPECÍFICOS PARA BLOG/PROMOCIONES --- */

.blog-item {
    position: relative;
    display: flex; 
    flex-direction: column; 
    background: #ffffff; 
    border-radius: 10px; 
    overflow: hidden; 
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15); 
    transition: transform 0.3s ease, box-shadow 0.3s ease; 
    height: 100%; 
}

.blog-item:hover {
    transform: translateY(-5px); 
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2); 
}

.blog-img {
    flex-shrink: 0; 
    width: 100%;
    height: 200px; 
    overflow: hidden;
    position: relative; 
}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    transition: transform 0.3s ease; 
}

.blog-item:hover .blog-img img {
    transform: scale(1.05); 
}

.blog-text {
    padding: 20px; 
    display: flex;
    flex-direction: column;
    justify-content: space-between; 
    flex-grow: 1; 
}

.blog-text h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #1a1e24; 
    font-weight: 700;
}

.blog-text p {
    font-size: 15px;
    color: #6c757d; 
    line-height: 1.5;
    margin-bottom: 15px;
    flex-grow: 1; 
}

.blog-btn {
    display: flex;
    gap: 10px; 
    margin-top: auto; 
    padding-top: 10px;
    border-top: 1px solid #eee; 
}
/* --- FIN ESTILOS BLOG/PROMOCIONES --- */


/* ------------------------------------------------------------------------------------ */
/* --- RESPONSIVIDAD --- */
/* ------------------------------------------------------------------------------------ */

@media (max-width: 992px) {
    /* Ajuste para tablets: 2 columnas */
    .comercioCard,
    .noticiaCard,
    #promocionesContainer .col-lg-4.col-md-6 { 
        /* Calculado para 2 columnas con gap de 20px */
        width: calc(50% - 10px); 
    }
}

@media (max-width: 768px) {
    /* Ajustes generales */
    #loginPopup .loginBox {
        max-width: 90%;
    }
    /* Mantenemos 2 columnas hasta esta resolución */
    .comercioCard,
    .noticiaCard,
    #promocionesContainer .col-lg-4.col-md-6 {
        width: calc(50% - 10px); 
    }
}

@media (max-width: 480px) {
    /* Para móviles pequeños: 1 columna y ancho completo */
    .comercioCard,
    .noticiaCard,
    #promocionesContainer .col-lg-4.col-md-6 {
        width: 100%;
    }
    /* Botones de tarjetas en columna en móviles */
    .comercioCard .buttons,
    .noticiaCard .buttons {
        flex-direction: column;
        align-items: stretch;
    }
    .comercioCard .buttons button,
    .noticiaCard .buttons button {
        width: 100%;
    }
    /* Ajuste del botón flotante */
    .admin-drop-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    .admin-drop-container {
        bottom: 20px;
        right: 20px;
    }
    /* Ajuste de modales pequeños */
    .modal-dialog {
        width: 90%;
    }
    #publicPopup .modal-dialog {
         /* Mantenemos el 90% del ancho del viewport para que sea grande */
        max-width: 90%; 
        margin: 1rem auto;
    }
    
    /* El resto de estilos de login, etc., se heredan correctamente */
}








/* ======================================================= */
/* 1. Estilos del Botón Hamburguesa (Visible solo en móvil) */
/* ======================================================= */

/* Asegúrate de que tu botón HTML tenga la clase 'menu-toggle' */
.menu-toggle {
    display: none; /* Oculto por defecto en escritorio */
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    position: relative;
    z-index: 1000; /* Asegura que esté encima de otros elementos */
}

/* Estilo de las tres barras del icono */
.bar {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #ffffff; /* Color de las líneas (ajustar si es necesario) */
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
    margin: 6px 0;
}


/* ======================================================= */
/* 2. MEDIA QUERY: Lógica Responsiva para Móviles          */
/* ======================================================= */
@media (max-width: 768px) {
    
    /* 1. Mostrar el botón de la hamburguesa */
    .menu-toggle {
        display: block;
    }

    /* 2. Ocultar el menú de navegación principal por defecto en móvil */
    /* Asegúrate de que tu lista de navegación tenga la clase 'nav-menu' */
    .nav-menu {
        position: absolute;
        /* El 'top' debe coincidir con la altura de tu barra de navegación */
        top: 60px; 
        left: 0;
        width: 100%;
        flex-direction: column;
        background-color: #2c2c2c; /* Color de fondo del menú desplegado */
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
        
        /* Ocultar el menú mediante una transformación */
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none; /* Evita interacciones cuando está oculto */
    }

    .nav-menu li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    /* 3. Estado 'open': mostrar el menú cuando JavaScript añade la clase 'open' */
    .nav-menu.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
    
    /* Animación del icono (lo convierte en una "X") */
    .menu-toggle.open .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.open .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .menu-toggle.open .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}








/***********************************/
/************* POP-UP *************/
/**********************************/

/* Overlay: Fondo oscurecido con desenfoque */
.welcome-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.4s ease;
}

/* Contenedor del Modal */
.welcome-modal-content {
    background: #1a1e26;
    width: 90%;
    max-width: 500px;
    padding: 40px;
    border-radius: 20px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    animation: slideUp 0.5s ease;
}

/* Botón Cerrar */
.close-welcome-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: #888;
    font-size: 30px;
    cursor: pointer;
    transition: 0.3s;
}
.close-welcome-btn:hover { color: #fff; }

/* Textos */
.modal-tag {
    color: #38b6ff;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.8rem;
    display: block;
    margin-bottom: 15px;
}
.modal-title {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 15px;
}
.modal-text {
    color: #aaa;
    font-size: 1.1rem;
    margin-bottom: 30px;
}

/* Botón de Acción */
.btn-modal-action {
    display: inline-block;
    background: #ffc107;
    color: #000;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s;
}
.btn-modal-action:hover {
    background: #fff;
    transform: translateY(-3px);
}

/* Animaciones */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { transform: translateY(30px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }


















/**********************************/
/*********** Nav Bar CSS **********/
/**********************************/

.navbar {
    position: fixed !important; 
    top: 0 !important;
    left: 0;
    right: 0;
    width: 100%;
    height: 75px; 
    z-index: 999999 !important;
    background: #101318 !important; 
    border-bottom: 4px solid #6f2486;
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    align-items: center;
}

/* --- SOLUCIÓN: ALINEACIÓN CENTRAL Y UNIFORME --- */
.navbar-nav {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important; /* Fuerza a que todos los ítems estén en el medio vertical */
    height: 100%;
}

.navbar-brand {
    display: flex;
    align-items: center;
    padding-left: 20px;
    height: 100%;
}

.brand-logo {
    max-height: 100px !important; 
    width: auto;
    object-fit: contain;
}

.navbar-dark .navbar-nav .nav-link {
    color: #ffffff !important;
    padding: 0 18px !important; /* Eliminamos el padding vertical para controlar mejor */
    height: 75px; /* Igualamos la altura del navbar */
    display: flex !important;
    align-items: center !important; /* Centra el texto verticalmente */
    font-size: 12px; 
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:hover, 
.navbar-dark .navbar-nav .nav-link.active {
    color: #efe7f1 !important;
    background: rgba(111, 36, 134, 0.2);
}

/* Ajuste específico para que el botón de ADMIN no se suba */
.navbar-dark .navbar-nav .dropdown-toggle {
    display: flex !important;
    align-items: center !important;
    height: 75px !important;
}

.navbar .dropdown-menu {
    background-color: #101318 !important;
    border: none;
    border-top: 3px solid #6f2486;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.7);
    margin-top: 0 !important; 
    padding-top: 15px !important; 
}

.navbar .dropdown-item {
    color: #ffffff !important;
    padding: 12px 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.navbar .dropdown-item:hover {
    background-color: #6f2486 !important;
    color: #ffffff !important;
}

/* Despliegue automático y área de conexión */
@media (min-width: 992px) {
    .nav-item.dropdown {
        padding-bottom: 0 !important; /* Eliminamos el espacio inferior extra */
        height: 75px; /* Mantenemos altura */
    }
    
    .nav-item.dropdown:hover > .dropdown-menu {
        display: block !important;
    }
}

/*********** RESPONSIVO (Móvil) **********/
@media (max-width: 991px) {
    .navbar { 
        height: 70px !important; 
    }
    
    body { 
        padding-top: 70px !important; 
    }

    .navbar-collapse {
        background: #101318; 
        padding: 20px;
        border-bottom: 4px solid #6f2486;
    }

    .navbar-dark .navbar-nav .nav-link {
        height: auto !important; /* En móvil dejamos que el contenido dicte el alto */
        text-align: center;
        padding: 15px !important;
        font-size: 14px;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }
}








/**********************************/
/*********** ChatBOT ************/
/**********************************/

#whatsapp-container {
    position: fixed;
    bottom: 105px; 
    right: 32px; 
    z-index: 999999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    outline: none; /* Quita el borde de selección al tocar en móviles */
}

/* Contenedor de las opciones (oculto por defecto) */
.wa-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 15px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
}

/* Mostrar menú al pasar el mouse (PC) o al tocar el contenedor (Celular) */
#whatsapp-container:hover .wa-options,
#whatsapp-container:focus-within .wa-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* Diseño de cada botón de opción */
.wa-option {
    background-color: #ffffff;
    color: #333333;
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    white-space: nowrap;
    border: 1px solid #eaeaea;
}

.wa-option i {
    color: #25d366;
    font-size: 18px;
    transition: 0.3s;
}

.wa-option:hover {
    background-color: #25d366;
    color: #ffffff;
    transform: scale(1.05);
    border-color: #25d366;
}

.wa-option:hover i {
    color: #ffffff;
}

/* Botón Verde Principal */
.whatsapp-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    background-color: #128c7e;
}

/* Animación de Ondas (Pulso) */
.whatsapp-btn::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid #25d366;
    animation: wa-pulse 2.5s infinite;
}

@keyframes wa-pulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.6); opacity: 0; }
}

/* Ajuste para pantallas pequeñas (Celulares) */
@media (max-width: 768px) {
    #whatsapp-container {
        bottom: 90px;
        right: 15px; /* Lo pegamos un poquito más al borde */
    }
    
    /* Achicamos el botón principal */
    .whatsapp-btn {
        width: 48px;
        height: 48px;
    }
    
    /* Achicamos el SVG (ícono) para que no quede apretado */
    .whatsapp-btn svg {
        width: 24px;
        height: 24px;
    }
    
    /* Hacemos las opciones de menú un poco más compactas */
    .wa-option {
        padding: 8px 16px;
        font-size: 13px;
        gap: 8px;
    }
    
    .wa-option i {
        font-size: 16px;
    }
}

















@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;700;800&display=swap');

/* --- SECCIÓN PRINCIPAL HERO FINTECH --- */
.main-hero-fintech {
    position: relative;
    width: 100%;
    
    /* CAMBIO CLAVE: Eliminamos el height: 90vh; y usamos proporciones */
    height: auto; 
    aspect-ratio: 16 / 7; /* Esto fuerza la forma de un banner de cine */
    
    background: #101318;
    font-family: 'Poppins', 'Poppins';
    overflow: hidden;
    z-index: 10;
}

.carousel-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

/* --- ESTILO DE CADA SLIDE --- */
.hero-slide {
    position: absolute;
    inset: 0; /* Cubre todo el contenedor */
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), 
                visibility 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center; /* Centra el contenido horizontalmente */
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 10; /* El slide activo está arriba */
}

/* IMAGEN DE FONDO CON EFECTO KEN BURNS (ZOOM SUAVE) */
.slide-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain; /* Lo dejamos así para que no corte nada */
    background-color: #101318; /* <-- CAMBIAR ESE BLANCO POR EL AZUL OSCURO DE TU WEB */
}

.hero-slide.active .slide-bg-img {
    transform: scale(1); /* Vuelve al tamaño normal cuando se activa */
}

/* --- CONTENIDO DEL SLIDE (TEXTO) --- */
.slide-content-fintech {
    position: relative;
    z-index: 20; /* Por encima de la imagen */
    max-width: 900px;
    color: #ffffff;
    text-align: center;
    padding: 0 40px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease 0.5s, transform 0.8s ease 0.5s; /* Animación de entrada */
}

.hero-slide.active .slide-content-fintech {
    opacity: 1;
    transform: translateY(0);
}

.slide-subtitle {
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #00d1b2; /* Color de acento futurista */
    margin-bottom: 10px;
    display: block;
}

.slide-content-fintech h1 {
    font-size: clamp(2.8rem, 7vw, 5.5rem); /* Tamaño fluido y grande */
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 25px;
    letter-spacing: -2px;
}

.highlight-fintech {
    background: linear-gradient(90deg, #6f2486, #9b59b6); /* Degradado en el texto clave */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.slide-content-fintech p {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-weight: 300;
    line-height: 1.5;
    max-width: 600px;
    margin: 0 auto 40px auto;
    opacity: 0.85;
}

/* --- BOTÓN PRINCIPAL --- */
.btn-fintech-primary {
    display: inline-block;
    background: #ffffff;
    color: #000000 !important;
    padding: 18px 45px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.btn-fintech-primary:hover {
    background: linear-gradient(90deg, #6f2486, #9b59b6);
    color: #ffffff !important;
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(111, 36, 134, 0.4);
}

/* --- CONTROLES DE NAVEGACIÓN (FLECHAS) --- */
.carousel-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15); /* Efecto Glassmorphism */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: rgb(0, 0, 0);
    width: 65px;
    height: 65px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1000 !important; /* Siempre arriba de todo */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem; /* Tamaño del icono SVG */
    transition: all 0.3s ease;
    pointer-events: all !important; /* Asegura el click */
    opacity: 0.8;
}

.carousel-nav-btn:hover {
    background: rgba(0, 0, 0, 0.25);
    border-color: #00d1b2; /* Borde al pasar el mouse */
    color: #00d1b2;
    transform: translateY(-50%) scale(1.1);
    opacity: 1;
}

.prev-btn { left: 40px; }
.next-btn { right: 40px; }

/* --- INDICADORES (PUNTOS) --- */
.carousel-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 1000;
}

.carousel-dots .dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-dots .dot.active {
    background: #00d1b2; /* Color de acento */
    width: 40px; /* Se convierte en una "píldora" */
    border-radius: 20px;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 992px) {
    .main-hero-fintech { height: 80vh; }
    .slide-content-fintech h1 { font-size: clamp(2.2rem, 6vw, 4rem); }
    .slide-content-fintech p { font-size: clamp(1rem, 2.5vw, 1.2rem); }
    .carousel-nav-btn { width: 55px; height: 55px; font-size: 1.5rem; }
    .prev-btn { left: 20px; }
    .next-btn { right: 20px; }
}

@media (max-width: 768px) {
    .main-hero-fintech { height: 70vh; }
    .carousel-nav-btn { display: none; } /* Oculta flechas en móvil para no tapar contenido */
    .slide-content-fintech h1 { letter-spacing: -1px; }
    .slide-content-fintech p { max-width: 90%; }
}
@media (max-width: 768px) {
    .main-hero-fintech {
        aspect-ratio: 4 / 4; /* O 4/3 dependiendo de cuánta altura quieras en móvil */
    }
}





















 
 /************Inicio Animaciones*******************/
 .animated {
    opacity: 0;
    transition: all 0.6s ease-out;
  }
  
  .slide-up {
    transform: translateY(40px);
  }
  
  .slide-left {
    transform: translateX(-40px);
  }
  
  .slide-right {
    transform: translateX(40px);
  }
  
  .visible {
    opacity: 1;
    transform: translate(0, 0);
  }
  
  
   /************Fin Animaciones*******************/


 
a {
    color: #454545;
    transition: .3s;
}

a:hover,
a:active,
a:focus {
    color: #6f2486;
    outline: none;
    text-decoration: none;
}

.btn:focus,
.form-control:focus {
    box-shadow: none;
}

.container-fluid {
    max-width: 1366px;
}

.back-to-top {
    position: fixed;
    display: none;
    background: #6f2486;
    width: 44px;
    height: 44px;
    text-align: center;
    line-height: 1;
    font-size: 22px;
    right: 15px;
    bottom: 15px;
    transition: background 0.5s;
    z-index: 9;
}

.back-to-top:hover {
    background: #6f2486;
}

.back-to-top:hover i {
    color: #6f2486;
}

.back-to-top i {
    color: #101318;
    padding-top: 10px;
}







/* BARRA DE INFORMACIÓN SUPERIOR - GLOBAL */
.top-bar-ctam {
    background: #0a0a0a;
    height: 35px;
    display: flex;
    align-items: center;
    padding: 0 15px; /* Menos padding en móvil para que entre todo */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1050; /* Por encima de la mayoría de los navbars de Bootstrap */
    border-bottom: 1px solid rgba(111, 36, 134, 0.3);
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
}

.info-links { 
    display: flex; 
    gap: 15px; 
}

/* En móviles muy chicos, ocultamos dirección para que no se amontone */
@media (max-width: 576px) {
    .info-item:first-child { display: none; }
}

.info-item { 
    color: rgba(255, 255, 255, 0.8); 
    font-size: 10px; /* Un poco más chica para móvil */
    display: flex; 
    align-items: center; 
}

.info-item i { color: #00d1b2; margin-right: 5px; }

.social-links { display: flex; align-items: center; }
.social-links a { color: #fff; opacity: 0.7; margin-left: 10px; font-size: 12px; }

/* AJUSTE PARA EL NAVBAR EN TODAS LAS VERSIONES */

/* En Móvil (< 992px) */
@media (max-width: 991.98px) {
    .navbar {
        top: 35px !important; /* Empuja el navbar hacia abajo en el celular */
        position: absolute !important;
        width: 100%;
    }
}

/* En Desktop (>= 992px) */
@media (min-width: 992px) {
    .top-bar-ctam { padding: 0 60px; } /* Recuperamos el padding original */
    .info-item { font-size: 11px; }

    .navbar {
        position: absolute;
        width: 100%;
        top: 35px !important; 
        padding: 15px 60px;
        background: #101318 !important;
        z-index: 999;
    }
}

/* Cuando el menú se queda fijo al bajar (Sticky) */
.navbar.nav-sticky {
    top: 0 !important; 
    position: fixed !important;
    z-index: 1100; /* Gana a la barra de arriba al bajar */
}






/**********************************/
/*********** Nav Bar CSS **********/
/**********************************/

.navbar {
    position: relative;
    transition: .5s;
    z-index: 999;
    display: flex !important;
    align-items: center !important;
}

/* LOGO: Configuración de visibilidad */
.navbar .navbar-brand {
    margin: 0;
    display: flex;
    align-items: center;
    padding: 12px 0; /* Espacio extra para que el logo respire */
}

.navbar .navbar-brand img {
    height: 90px !important; /* Tamaño grande en escritorio */
    width: auto;
    max-width: 220px;
    object-fit: contain;
}

/**********************************/
/**** Pantallas Chicas (Móvil) ****/
/**********************************/
@media (max-width: 991.98px) {   
    .navbar {
        top: 35px !important; /* Espacio para el top bar */
        position: absolute !important;
        width: 100%;
        /* Altura mínima aumentada para que el fondo cubra el logo grande */
        min-height: 100px !important; 
        background: #101318 !important;
        padding: 5px 20px !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
    }

    /* Logo aún más grande en responsive */
    .navbar .navbar-brand img {
        height: 65px !important; /* EL CAMBIO: Logo más grande en móvil */
        max-width: 160px;
    }

    /* Botón Hamburguesa: Lo mantenemos contenido y centrado */
    .navbar-toggler {
        margin: 0 !important;
        border: 1px solid rgba(111, 36, 134, 0.3) !important; /* Toque cian CTAM */
        padding: 8px !important;
    }
}

/**********************************/
/**** Pantallas Grandes (Desktop) ***/
/**********************************/
@media (min-width: 992px) {
    .navbar {
        position: absolute;
        top: 35px; 
        padding: 15px 60px !important;
        background: #101318 !important;
        min-height: 95px; 
    }
}

/* Estado Sticky: Mantenemos el logo visible pero un poco más compacto al bajar */
.navbar.nav-sticky {
    position: fixed !important;
    top: 0 !important;
    min-height: 75px !important;
    box-shadow: 0 4px 15px rgba(111, 36, 134, 0.4);
}

.navbar.nav-sticky .navbar-brand img {
    height: 45px !important;
}





/*******************************/
/********** Hero CSS **********/
/*******************************/

.hero {
    position: relative;
    width: 100%;
    margin-bottom: 45px;
    height: calc(100vh - 60px);
    background: #101318;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.hero .container-fluid {
    padding: 0;
}

.hero .hero-image {
    position: relative;
    text-align: center;
    margin-bottom: 20px;  /* Espaciado entre imagen y texto */
}

/* Animación Fade-in para el logo */
@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero .hero-image img {
    max-width: 100%;
    width: 400px;  /* Ajustamos el tamaño */
    height: auto; 
    margin: 0 auto; 
    display: block;
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
}

/* Animación de máquina de escribir para el título */
.typewriter {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    width: 100%;  /* El texto ocupará el 100% disponible */
    animation: typing 2s steps(40) 1s forwards, blink-caret 0.75s step-end infinite;
    font-family: 'Poppins', 'Poppins';
    color: #f7f9ff;
    font-size: 2rem;
}

/* Animación de escritura para el título */
@keyframes typing {
  0% {
    width: 0;
  }
  100% {
    width: 100%;
  }
}

/* Parpadeo del cursor */
@keyframes blink-caret {
  50% {
    border-color: transparent;
  }
}

/* Animación de máquina de escribir para el párrafo */
.typewriter-text {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    width: 100%;  /* El texto ocupará el 100% disponible */
    animation: typing-text 2s steps(40) 1s forwards, blink-caret 0.75s step-end infinite;
    font-family: 'Poppins', 'Poppins';
    color: #ffffff;
    font-size: 1.2rem;
}

/* Animación de escritura para el párrafo */
@keyframes typing-text {
  0% {
    width: 0;
  }
  100% {
    width: 100%;
  }
}

/* Hero texto */
.hero .hero-text {
    position: relative;
    padding-left: 15px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

/* Espaciado y tamaño del texto */
.hero .hero-text h1 {
    color: #f7f9ff;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.4;
}

.hero .hero-text p {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 25px;
    line-height: 1.6;
}

/* Botón de llamada a la acción */
.hero .hero-text .btn {
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #ffffff;
    background: none;
    border: 2px solid #f5f5f5;
    border-radius: 0;
    transition: .3s;
}

.hero .hero-text .btn:hover {
    color: #ffffff;
    background: #6f2486;
}

.hero .hero-text .btn:focus {
    outline: none;
}

/* Media Query para pantallas pequeñas */
@media (max-width: 767px) {
    .hero .hero-text h1 {
        font-size: 1.5rem;  /* Ajuste del tamaño para pantallas pequeñas */
    }

    .hero .hero-text p {
        font-size: 1rem;  /* Ajuste del tamaño para párrafo */
    }

    .hero .hero-text .btn {
        font-size: 1rem;
        padding: 12px 25px;
    }

    .hero .hero-image img {
        width: 80%;  /* Ajustar el tamaño de la imagen */
        max-width: 350px;
    }

    .hero .hero-text {
        padding-top: 20px;  /* Aseguramos que haya espacio entre imagen y texto */
    }

    /* Asegura que el texto no se corte y se ajuste bien */
    .hero .hero-text p,
    .hero .hero-text h1 {
        text-align: center;
        line-height: 1.4;
    }
}

/* Media Query para pantallas medianas */
@media (max-width: 991px) {
    .hero .hero-text h1 {
        font-size: 1.8rem;
    }
    
    .hero .hero-text p {
        font-size: 1.1rem;
    }
    
    .hero .hero-text .btn {
        padding: 12px 30px;
        font-size: 1rem;
    }

    .hero .hero-image img {
        max-width: 90%;
    }
}



.vertical-lines {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  display: flex;
  justify-content: space-around;
  align-items: flex-end;
  z-index: 1;
  pointer-events: none; /* no interfiere con el contenido */
}

.vertical-lines .line {
  width: 3px;
  height: 100%;
  background: linear-gradient(to top, #6f2486, #4196ad, #ceb57b);
  animation: bounce 2s infinite ease-in-out;
  animation-delay: calc(var(--i) * 0.1s);
  border-radius: 2px;
}

/* Animación para que suban/bajen sutilmente */
@keyframes bounce {
  0%, 100% {
    transform: scaleY(0.7);
  }
  50% {
    transform: scaleY(0.5);
  }
}

/* Distribuir animaciones con delay */
.vertical-lines .line:nth-child(1) { --i: 0; }
.vertical-lines .line:nth-child(2) { --i: 1; }
.vertical-lines .line:nth-child(3) { --i: 2; }
.vertical-lines .line:nth-child(4) { --i: 3; }
.vertical-lines .line:nth-child(5) { --i: 4; }
.vertical-lines .line:nth-child(6) { --i: 5; }
.vertical-lines .line:nth-child(7) { --i: 6; }
.vertical-lines .line:nth-child(8) { --i: 7; }
.vertical-lines .line:nth-child(9) { --i: 8; }
.vertical-lines .line:nth-child(10){ --i: 9; }



/* Asegura que el contenido esté encima */
.hero .container-fluid {
  position: relative;
  z-index: 2;
}












/*******************************/
/******* Page Header CSS *******/
/*******************************/
.page-header {
    position: relative;

    margin-bottom: 30px;
    padding: 52px 0 5px 0;

    margin-bottom: 15px;
    padding: 5px 0 5px 0;

    text-align: center;
    background: #101318;
}

.page-header h2 {
    position: relative;
    color: #D5B981;
    font-size: 30px;
    font-weight: 700;
}

.page-header a {
    position: relative;
    padding: 0 12px;
    font-size: 22px;
    color: #ffffff;
}

.page-header a:hover {
    color: #D5B981  ;
}

.page-header a::after {
    position: absolute;
    content: "/";
    width: 8px;

    height: 8px;

    height: 3px;

    top: -2px;
    right: -7px;
    text-align: center;
    color: #ffffff;
}

.page-header a:last-child::after {
    display: none;
}

@media (max-width: 767.98px) {
    .page-header h2 {
        font-size: 25px;
    }
    
    .page-header a {
        font-size: 12px;

        padding: 10px 0 30px 0;

        padding: 5px 0 30px 0;

    }
}













/* Contenedor General */
.contenedor-relieve-ctam {
    position: relative;
    background-color: #f4f7fa;
    padding-bottom: 80px;
    overflow: hidden;
}

/* El fondo azul con curva del diseño anterior */
.header-fondo-azul {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 480px;
    background: linear-gradient(135deg, #194da7 0%, #101318 100%);
    clip-path: ellipse(120% 80% at 50% 20%); /* Esto hace la curva linda */
    z-index: 1;
}

.contenido-planes {
    position: relative;
    z-index: 2;
    padding-top: 60px;
}

/* Títulos sobre fondo azul */
.titulo-blanco { color: #ffffff; font-weight: 800; font-size: 2.8rem; }
.subtitulo-blanco { color: rgba(255,255,255,0.7); margin-bottom: 40px; }
.resalte-celeste { color: #00c3ff; }

/* Títulos sobre fondo claro (Rural) */
.titulo-oscuro { color: #ffffff; font-weight: 800; font-size: 2.8rem; }
.resalte-azul { color: #6f2486; }

/* GRILLA Y TARJETAS */
.grilla-tarjetas {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    padding: 20px;
}

.tarjeta-sobresaliente {
    background: #ffffff;
    border-radius: 25px;
    width: 300px;
    padding: 45px 30px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.507);
    transition: all 0.4s ease; /* Transición suave */
    border: 1px solid rgba(0, 0, 0, 0.418);
}

/* EFECTO SOBRESALIENTE (El que te gusta) */
.tarjeta-sobresaliente:hover {
    transform: translateY(-25px); /* Salta hacia arriba */
    box-shadow: 0 40px 60px rgba(111, 36, 134, 0.616); /* Sombra violeta de profundidad */
}

/* Detalles de la tarjeta */
.tag-servicio {
    font-size: 0.7rem;
    font-weight: 800;
    color: #6f2486;
    background: rgba(111, 36, 134, 0.1);
    padding: 4px 12px;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 15px;
}

.icono-v { font-size: 3rem; margin-bottom: 10px; }

.velocidad-num {
    font-size: 3.5rem;
    font-weight: 900;
    color: #003366;
    margin-bottom: 20px;
}
.velocidad-num span { font-size: 1.5rem; color: #6f2486; margin-left: 5px; }

/* Botón de WhatsApp */
.btn-wpp-ctam {
    display: block;
    background: #25d366;
    color: #000000 !important;
    text-decoration: none;
    padding: 12px;
    border-radius: 50px;
    font-weight: 700;
    margin-top: 20px;
    transition: 0.3s;
}
.btn-wpp-ctam:hover { background: #128c7e; transform: scale(1.05); }

/* TARJETA DESTACADA */
.destacada {
    border: 2px solid #6f2486;
    transform: scale(1.05); /* Un poquito más grande por defecto */
}
.tag-destacado {
    background: #6f2486;
    color: white;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 4px 15px;
    border-radius: 50px;
    margin-bottom: 15px;
    display: inline-block;
}
.btn-violeta { background: #6f2486; }










/************************************/
/********** Noticia index **********/
/**********************************/





    
/*******************************************/
/********* SECCIÓN NOTICIAS INDEX *********/
/*******************************************/

#noticiasContainer {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Crea 3 columnas iguales */
    gap: 25px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.noticiaCard {
    background: #1a1a1a;
    border-radius: 15px;
    overflow: hidden;
    transition: 0.3s ease;
    border: 1px solid #333;
    position: relative; /* Para la etiqueta "Nuevo" */
}

.noticiaCard:hover {
    transform: translateY(-8px);
    border-color: #6f2486; /* Púrpura CTAM */
    box-shadow: 0 10px 20px rgba(111, 36, 134, 0.2);
}

/* Estilo para la etiqueta "NUEVO" en la primera noticia */
.noticiaCard:first-child::after {
    content: "RECIENTE";
    position: absolute;
    top: 15px;
    left: 15px;
    background: #00d1b2; /* Cian CTAM */
    color: #111;
    padding: 4px 10px;
    font-size: 10px;
    font-weight: 800;
    border-radius: 5px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

/* --- Lógica para centrar las 2 noticias de abajo (4ta y 5ta) --- */
@media (min-width: 992px) {
    #noticiasContainer .noticiaCard:nth-child(4) {
        grid-column: 1 / 3; /* Ocupa espacio para centrarse */
        justify-self: end;
        width: 100%;
        max-width: 380px;
    }
    #noticiasContainer .noticiaCard:nth-child(5) {
        grid-column: 2 / 4;
        justify-self: start;
        width: 100%;
        max-width: 380px;
    }
}

/* --- Tablet: 2 columnas --- */
@media (max-width: 991px) and (min-width: 769px) {
    #noticiasContainer {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --- Celulares: 1 sola columna --- */
@media (max-width: 768px) {
    #noticiasContainer {
        grid-template-columns: 1fr;
    }
    .noticiaCard {
        max-width: 100%;
    }
}












/*******************************/
/********** About CSS **********/
/*******************************/
.about {
    position: relative;
    width: 100%;
    padding: 45px 0;
}

.about .section-header {
    margin-bottom: 30px;
    margin-left: 0;
}

.about .about-img {
    position: relative;
    height: 100%;
    margin: 60px 0 0 60px;
}

.about .about-img img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.about .about-img::before {
    position: absolute;
    content: "";
    top: -60px;
    right: 60px;
    bottom: 60px;
    left: -60px;
    background: #101318;
    z-index: 0;
}

.about .about-img::after {
    position: absolute;
    content: "";
    top: -30px;
    right: 30px;
    bottom: 30px;
    left: -30px;
    background: transparent;
    border: 1px solid #ffffff;
    z-index: 2;
}

.about .about-text p {
    font-size: 16px;
}

.about .about-text a.btn {
    position: relative;
    margin-top: 15px;
    padding: 12px 25px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #101318;
    border: 2px solid #101318;
    border-radius: 0;
    background: none;
    transition: .3s;
}

.about .about-text a.btn:hover {
    color: #D5B981;
    background: #101318;
}

@media (max-width: 767.98px) {
    .about .about-img {
        margin-bottom: 30px;
        height: auto;
    }
}
.about-text .decorative-immersion {
    float: right; /* o 'right' si lo preferís del otro lado */
    shape-outside: inset(0); /* forma cuadrada */
    width: 300px;
    height: 450px;
    object-fit: cover;
    margin: 0 20px 20px 0; /* margen entre imagen y texto */
    shape-margin: 15px;
}

@media (max-width: 768px) {
    .about-text .decorative-immersion {
        float: none;
        display: block;
        margin: 0 auto 20px auto;
    }
}












/*******************************/
/*********** Team CSS **********/
/*******************************/
/* Fondo general sutil para destacar las tarjetas */
    .history-section {
        background-color: #f8f9fc;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }

    .timeline-container {
        position: relative;
        max-width: 1000px;
        margin: 0 auto;
        padding: 40px 0;
    }

    /* La línea vertical unificadora */
    .timeline-container::before {
        content: '';
        position: absolute;
        top: 0;
        left: 38px; /* Centrado respecto al círculo del año */
        height: 100%;
        width: 4px;
        background: #e2e8f0;
        border-radius: 4px;
        z-index: 1;
    }

    .timeline-item {
        position: relative;
        margin-bottom: 50px;
        padding-left: 100px; /* Deja espacio para el círculo del año y la línea */
    }

    /* Círculo con el año */
    .timeline-year {
        position: absolute;
        left: 0;
        top: 0;
        width: 80px;
        height: 80px;
        background: #6f2486; /* Violeta Institucional */
        color: #ffffff;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 22px;
        font-weight: 800;
        box-shadow: 0 4px 15px rgba(111, 36, 134, 0.4);
        z-index: 2;
        border: 4px solid #ffffff;
    }

    /* Tarjeta Blanca de contenido */
    .timeline-content {
        background: #ffffff;
        border-radius: 15px;
        padding: 35px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
        border-left: 5px solid #bc30e3; /* Borde decorativo fino */
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .timeline-content:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    }

    .timeline-body p {
        color: #4a5568;
        font-size: 1.05rem;
        line-height: 1.7;
        margin-bottom: 15px;
    }

    .timeline-body p:last-child {
        margin-bottom: 0;
    }

    /* ESTRUCTURA FLEX PARA FOTOS GRANDES (Escritorio) */
    @media (min-width: 992px) {
        .timeline-body.has-image {
            display: flex;
            align-items: center;
            gap: 40px; /* Separación perfecta entre texto y foto */
        }

        .timeline-body.has-image.image-right {
            flex-direction: row;
        }

        .timeline-body.has-image.image-left {
            flex-direction: row-reverse; /* Intercala la posición de la foto */
        }

        .timeline-body.has-image .text-box {
            flex: 1.1; /* Le da un poquito más de peso al texto */
        }

        .timeline-body.has-image .img-box {
            flex: 0.9; /* La imagen ocupa una porción grande y estable */
        }
    }

    /* Estilos de las imágenes */
    .timeline-body .img-box img {
        width: 100%;
        height: auto;
        max-height: 380px; /* Altura generosa para que no se corte */
        object-fit: cover;
        border-radius: 12px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    }

    /* RESPONSIVE PARA CELULARES */
    @media (max-width: 991px) {
        .timeline-container::before {
            left: 28px;
        }

        .timeline-item {
            padding-left: 80px;
            margin-bottom: 40px;
        }

        .timeline-year {
            width: 60px;
            height: 60px;
            font-size: 16px;
        }

        .timeline-content {
            padding: 25px;
        }

        .timeline-body.has-image {
            display: flex;
            flex-direction: column-reverse; /* En celular, la foto siempre arriba del texto */
            gap: 20px;
        }
        
        .timeline-body .img-box img {
            max-height: 300px; /* Tamaño adaptado para móvil */
        }
    }

    /* Modal styles (Mantenidos de tu archivo original) */
    .modal {
        display: none;
        position: fixed;
        z-index: 9999;
        padding-top: 60px;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        overflow: auto;
        background-color: rgba(0,0,0,0.6);
    }

    .modal-content {
        background-color: #fff;
        margin: auto;
        border-radius: 10px;
        width: 80%;
        max-width: 900px;
        padding: 20px;
        position: relative;
    }













@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700;800&display=swap');

.organigrama-modern {
    font-family: 'Poppins', sans-serif;
    max-width: 1400px;
    margin: 0 auto;
}

/* Títulos Modernos */
.section-title-neon {
    font-size: 2.2rem;
    font-weight: 800;
    color: #101318;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}
.section-title-neon::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 60px; height: 4px;
    background: linear-gradient(90deg, #6f2486, #00d1b2);
    border-radius: 5px;
}

/* Separador elegante */
.separador-moderno {
    text-align: center;
    position: relative;
    z-index: 1;
}
.separador-moderno::before {
    content: '';
    position: absolute;
    top: 50%; left: 0; right: 0;
    border-top: 1px dashed #d1d5db;
    z-index: -1;
}
.separador-moderno span {
    background: #f8f9fa; 
    padding: 0 20px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ========================================= */
/* TARJETAS DE PERSONAS (RETRATO)            */
/* ========================================= */

.card-miembro {
    border-radius: 24px;
    padding: 20px;
    text-align: center;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* El único efecto al pasar el mouse será que la tarjeta se eleve */
.card-miembro:hover {
    transform: translateY(-10px);
}

.standard-tier {
    background: #ffffff;
    box-shadow: 0 10px 25px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.03);
}
.standard-tier:hover {
    box-shadow: 0 20px 40px rgba(111, 36, 134, 0.1);
}

.premium-tier {
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(213, 185, 129, 0.15); 
    border: 2px solid #d5b981; 
}
.premium-tier:hover {
    box-shadow: 0 20px 40px rgba(111, 36, 134, 0.15); 
    border-color: #6f2486;
}

.foto-wrap {
    width: 100%;
    aspect-ratio: 4 / 5; 
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    margin-bottom: 25px;
    background: #e9ecef;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.1);
}

/* Imagen estática con el suavizado natural del navegador */
.foto-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    object-position: center 15%; 
}

/* Etiquetas Flotantes (Badges) */
.cargo-badge {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    color: #6f2486;
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.gold-badge {
    background: linear-gradient(135deg, #d5b981, #c19b54);
    color: #101318;
    border: none;
}

.secondary-badge { color: #00d1b2; }
.alert-badge { color: #f59e0b; }

.info-wrap {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nombre-text {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
    color: #1f2937;
}

/* ========================================= */
/* TARJETAS DE ÁREAS (APP STYLE) CORREGIDAS  */
/* ========================================= */

.card-area {
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 1px solid rgba(0,0,0,0.03);
}

.card-area:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,209,178,0.1); 
}

.area-header {
    height: 260px; 
    position: relative;
    overflow: hidden;
    background-color: #f1f3f5; 
    display: flex;
    align-items: center;
    justify-content: center;
}

.area-header img {
    width: 100%;
    height: 100%;
    object-fit: contain; 
    object-position: center;
    padding: 15px; 
}

.area-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, rgba(16,19,24,0.95), transparent);
    padding: 30px 20px 15px;
}

.area-overlay h3 {
    color: #ffffff;
    margin: 0;
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.area-body {
    padding: 25px;
}

.area-boss {
    background: rgba(111, 36, 134, 0.05);
    color: #6f2486;
    padding: 12px 15px;
    border-radius: 12px;
    font-size: 0.95rem;
    margin-bottom: 20px;
}
.area-boss i { margin-right: 8px; font-size: 1.1rem; }

.area-team {
    list-style: none;
    padding: 0; margin: 0;
}

.area-team li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    color: #4b5563;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}
.area-team li:last-child { border-bottom: none; }

.area-team li i {
    color: #00d1b2; 
    margin-right: 10px;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .section-title-neon { font-size: 1.8rem; }
    .foto-wrap { aspect-ratio: 3 / 4; }
    .card-miembro { padding: 15px; }
}









/*******************************/
/********** Service CSS ********/
/*******************************/

.service {
    position: relative;
    width: 100%;
    padding: 45px 0;
    margin: 100px 0;
    z-index: 1;
}

/* ... (tus estilos de overlay y header se mantienen igual) ... */

/* --- CONTENEDOR DE LAS TARJETAS --- */
.service .service-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columnas en PC */
    gap: 30px;
    z-index: 2;
    position: relative;
}

.service .service-item {
    position: relative;
    padding: 25px; /* Ajustado para dar más aire */
    text-align: center;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 20px; /* Bordes redondeados más modernos */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service .service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

/* --- CONTENEDOR DE BOTONES --- */
.service-btns {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

/* BOTÓN SABER MÁS */
.service .service-item .btn-more {
    flex-grow: 1; /* Ocupa el espacio restante */
    padding: 10px 15px;
    background-color: #6f2486;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: 0.3s;
}

.service .service-item .btn-more:hover {
    background-color: #5a1d6d;
}

/* BOTÓN WHATSAPP */
.btn-wpp {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: #25D366; /* Verde Oficial WhatsApp */
    color: white !important;
    border-radius: 50%; /* Lo hace circular */
    font-size: 22px;
    text-decoration: none;
    transition: 0.3s;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.btn-wpp:hover {
    background-color: #128C7E;
    transform: scale(1.1) rotate(10deg);
}

/* Ajustes de Imagen */
.service .service-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
}


/* ========================================= */
/* RESPONSIVIDAD PARA TARJETAS DE SERVICE    */
/* ========================================= */

/* Para pantallas medianas (Tablets) - Pasa a 2 columnas */
@media (max-width: 991.98px) {
    .service .service-content {
        grid-template-columns: repeat(2, 1fr) !important; /* Fuerza 2 columnas */
        gap: 20px;
    }
}

/* Para pantallas chicas (Celulares) - Pasa a 1 columna */
@media (max-width: 767.98px) {
    .service .service-content {
        grid-template-columns: 1fr !important; /* FUERZA 1 SOLA TARJETA POR FILA */
        gap: 20px;
    }
    
    .service .service-item {
        padding: 20px; 
    }
    
    .service .service-img img {
        height: 220px; /* Un poco más de altura para que la foto luzca bien */
        width: 100%;
        object-fit: cover;
    }
}




/* ========================================= */
/* SECCIÓN AHORRÁ TIEMPO (AJUSTE 5 TARJETAS) */
/* ========================================= */

.autoservicio-section {
    padding: 100px 20px !important; 
    font-family: 'Poppins', sans-serif;
}

.ahorro-card {
    border-radius: 25px; /* Un poco menos redondeadas para que calcen mejor */
    border: 1px solid #eee;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px 20px !important; /* Padding ajustado para ahorrar espacio */
    min-height: 320px; /* Altura ajustada */
    background: #ffffff;
    font-family: 'Poppins', sans-serif;
}

.ahorro-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
    border-color: #6f2486;
}

.ahorro-card .icon-wrapper {
    width: 65px; /* Más chicas para que entren 5 cómodas */
    height: 65px;
    font-size: 2.2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: transform 0.4s ease;
}

.ahorro-card:hover .icon-wrapper {
    transform: scale(1.1) rotate(5deg);
}

.ahorro-card h5 {
    font-size: 1.25rem !important; /* Tamaño de letra reducido */
    margin-bottom: 20px !important;
    color: #101318 !important;
    font-family: 'Poppins', sans-serif;
    line-height: 1.3;
}

.btn-ahorro {
    border-radius: 8px;
    font-weight: 700;
    padding: 10px 15px !important;
    font-size: 1.1rem !important; /* Botones más compactos */
    text-transform: uppercase;
    width: 100% !important; /* Ocupa el ancho disponible dentro del padding */
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}

.btn-ahorro:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
}








/**************************************/
/************* Nexos TV  *************/
/************************************/


    .nexos-compact-section {
        width: 100%;
        background: #110d2d; /* Fondo oscuro profundo */
        padding: 40px 0; /* Altura reducida */
        display: flex;
        justify-content: center;
        font-family: 'poppins', 'poppins';
    }

    .nexos-inner {
        max-width: 1500px; /* Controlamos que no sea tan ancho */
        width: 90%;
        display: flex;
        align-items: center;
        background: rgba(255, 255, 255, 0.03);
        border-radius: 30px;
        padding: 90px 50px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        position: relative;
    }

    .nexos-text { flex: 1.2; }

    .tag-mini {
        background: #6f2486;
        color: white;
        padding: 4px 12px;
        border-radius: 5px;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 1px;
    }

    .nexos-text h2 {
        color: white;
        font-size: 2.2rem;
        font-weight: 800;
        margin: 15px 0 10px;
        line-height: 1.1;
    }

    .nexos-text p {
        color: #b0b0b0;
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .nexos-text p strong { color: #00d1b2; }

    /* Grupo de Botón y Logo */
    .nexos-actions {
        display: flex;
        align-items: center;
        gap: 25px;
    }

    .btn-solicitar-p {
        background: #6f2486;
        color: white;
        text-decoration: none;
        padding: 12px 30px;
        border-radius: 12px;
        font-weight: 700;
        font-size: 14px;
        transition: 0.3s;
        box-shadow: 0 8px 15px rgba(111, 36, 134, 0.3);
    }

    .btn-solicitar-p:hover {
        background: #00d1b2;
        transform: translateY(-3px);
    }

  .hbo-mini {
    /* Cambiamos la altura de 35px a 60px o lo que prefieras */
    height: 200px; 
    width: auto;
    opacity: 1; /* Le damos máxima visibilidad */
    filter: brightness(1.1) drop-shadow(0 0 10px rgba(255, 255, 255, 0.2)); /* Un brillo sutil */
    transition: transform 0.3s ease;
}
.hbo-mini:hover {
    transform: scale(1.1); /* Se agranda un poco más al interactuar */
}

    /* Imagen Visual */
    .nexos-visual {
        flex: 1;
        display: flex;
        justify-content: flex-end;
    }

    .img-floating {
        max-width: 320px;
        height: auto;
        filter: drop-shadow(0 15px 30px rgba(0,0,0,0.5));
        animation: float 4s ease-in-out infinite;
    }

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

    /* Ajuste Móvil */
    @media (max-width: 850px) {
        .nexos-inner {
            flex-direction: column;
            text-align: center;
            padding: 40px 20px;
        }
        .nexos-actions {
            flex-direction: column;
            gap: 15px;
        }
        .nexos-visual { margin-top: 30px; }
    }













/*******************************************/
/************* GRILLA CANALES *************/
/*****************************************/

/* Contenedor de las tarjetas */
.grillas-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    padding: 40px 0;
    font-family: 'Poppins', 'Poppins';
}

/* Tarjeta individual */
.grilla-card {
    width: 400px;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: 0.3s ease;
    border: 1px solid #eee;
}

.grilla-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(111, 36, 134, 0.15); /* Sombra púrpura al pasar el mouse */
}

/* Contenedor de la imagen en la tarjeta */
.grilla-img-container {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: #f0f0f0;
}

.grilla-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Evita que la foto se deforme */
}

/* Efecto de "Ver Grilla" al pasar el mouse */
.grilla-overlay {
    position: absolute;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background: rgba(111, 36, 134, 0.85); /* Púrpura CTAM */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    opacity: 0;
    transition: 0.3s;
}

.grilla-card:hover .grilla-overlay {
    opacity: 1;
}

/* Texto debajo de la foto en la tarjeta */
.grilla-info {
    padding: 20px;
    text-align: center;
}

.grilla-info h3 {
    color: #6f2486;
    font-weight: 800;
    margin-bottom: 5px;
}

.grilla-info p {
    color: #777;
    font-size: 0.9rem;
}

/* ========================================= */
/* ESTILO DEL MODAL (VISTA AMPLIADA)         */
/* ========================================= */

.modal-grilla {
    display: none; /* Se activa con JS */
    position: fixed;
    z-index: 99999; /* Por encima de cualquier navbar */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.93);
    
    /* ALINEACIÓN: Empuja la foto hacia abajo para que no la tape el navbar */
    align-items: flex-start; 
    justify-content: center;
    padding-top: 120px; /* ESPACIO PARA EL NAVBAR */
    overflow-y: auto;   /* Permite scroll si la imagen es alta */
}

.modal-content {
    max-width: 65%;
    max-height: none; /* Permite que la imagen crezca a lo largo */
    object-fit: contain;
    border-radius: 15px;
    
    /* RECUADRO DE COLOR */
    border: 6px solid #6f2486; 
    box-shadow: 0 0 40px rgba(111, 36, 134, 0.6);
    
    animation: zoomEffect 0.3s ease;
    margin-bottom: 60px; /* Margen final para que no toque el borde inferior */
}

/* Animación de apertura */
@keyframes zoomEffect {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Botón de cerrar (X) */
.close-btn {
    position: fixed;
    top: 30px;
    right: 40px;
    color: white;
    font-size: 60px;
    font-weight: bold;
    cursor: pointer;
    z-index: 100000;
    text-shadow: 0 0 15px rgba(0,0,0,0.8);
    transition: 0.3s;
}

.close-btn:hover {
    color: #00d1b2; /* Color Cian al pasar el mouse */
    transform: scale(1.1);
}

/* Ajuste para celulares */
@media (max-width: 768px) {
    .grilla-card {
        width: 95%;
    }
    .modal-grilla {
        padding-top: 80px;
    }
    .modal-content {
        width: 95%;
        border-width: 3px;
    }
}











/**************************************/
/************* Dinero  ***************/
/************************************/
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800;900&display=swap');

.fintech-exclusive {
    --bg-white: #ffffff;
    background-color: var(--bg-white);
    padding: 80px 20px;
    font-family: 'Poppins', 'Poppins';
    position: relative;
    overflow: hidden;
    color: #0f0e0e;
}

/* Orbes decorativos de fondo */
.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.12;
    z-index: 0;
}
.orb-1 { width: 400px; height: 400px; background: #6f2486; top: -5%; right: -5%; }
.orb-2 { width: 300px; height: 300px; background: #0077ff; bottom: -5%; left: -2%; }

.content-limit { 
    max-width: 1440px; /* Ancho amplio para que las 4 entren cómodas */
    margin: 0 auto; 
    position: relative; 
    z-index: 1; 
}

/* Header */
.header-premium { text-align: left; margin-bottom: 40px; }
.eyebrow { 
    color: #666; 
    text-transform: uppercase; 
    letter-spacing: 3px; 
    font-size: 0.8rem; 
    font-weight: 600;
}
.main-title { font-size: 3.5rem; font-weight: 900; margin: 5px 0; line-height: 1.1; }
.text-gradient { 
    background: linear-gradient(90deg, #1f1e1e, #bc30e3); 
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent; 
}

/* Grilla para 4 tarjetas */
.premium-grid {
    display: grid;
    /* Forzamos 4 columnas iguales */
    grid-template-columns: repeat(4, 1fr); 
    gap: 20px; /* Espacio optimizado */
}

/* Tarjeta Estilo Premium */
.card-luxury {
    background: linear-gradient(145deg, #161618, #0f0f11);
    border-radius: 28px;
    padding: 35px 25px; /* Padding ajustado para 4 columnas */
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    min-height: 380px;
}

.card-luxury:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
    box-shadow: 0 20px 40px rgba(var(--accent-rgb), 0.25);
}

.card-header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

/* Switch decorativo */
.status-toggle {
    width: 42px;
    height: 22px;
    background: var(--accent-color);
    border-radius: 20px;
    position: relative;
    box-shadow: 0 0 12px var(--accent-color);
}
.status-toggle::after {
    content: '';
    position: absolute;
    right: 4px;
    top: 4px;
    width: 14px;
    height: 14px;
    background: #fff;
    border-radius: 50%;
}

/* Textos de la tarjeta */
.card-label { 
    font-size: 0.85rem; 
    color: #ffffff !important; 
    font-weight: 600; 
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-amount { 
    font-size: 2.8rem; /* Tamaño reducido para evitar desbordes en 4 columnas */
    font-weight: 800; 
    margin: 15px 0; 
    color: var(--accent-color); 
    text-shadow: 0 0 20px rgba(var(--accent-rgb), 0.4);
}

.card-category { 
    font-size: 0.9rem; 
    font-weight: 700; 
    color: var(--accent-color); 
    margin-bottom: 25px; 
    text-transform: uppercase;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.card-footer span { 
    font-size: 1rem; 
    color: #ffffff !important; 
    font-weight: 600; 
}

/* Botón Solicitar */
.btn-premium-wpp {
    background: #1add3b;
    color: #000000 !important;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 800;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 15px rgba(26, 221, 59, 0.4);
}

.btn-premium-wpp:hover {
    background: #ffffff;
    transform: scale(1.05);
}

/* Colores de acento */
.card-green  { --accent-color: #2ecc71; --accent-rgb: 46, 204, 113; }
.card-blue   { --accent-color: #3498db; --accent-rgb: 52, 152, 219; }
.card-purple { --accent-color: #9b59b6; --accent-rgb: 155, 89, 182; }
.card-gold   { --accent-color: #f1c40f; --accent-rgb: 241, 196, 15; }

/* --- RESPONSIVE --- */

/* Pantallas medianas (Laptops pequeñas) */
@media (max-width: 1200px) {
    .premium-grid { grid-template-columns: repeat(2, 1fr); gap: 25px; }
    .card-amount { font-size: 3rem; }
}

/* Móviles */
@media (max-width: 650px) {
    .premium-grid { grid-template-columns: 1fr; }
    .main-title { font-size: 2.5rem; }
    .card-luxury { min-height: auto; }
}
/**************************************/
/************ FIN Dinero  ************/
/************************************/









/**************************************************/
/************ PROMOS 3D - ULTRA WIDE  ************/
/************************************************/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;600;700;800;900&display=swap');

.section-promos-modern {
    background-color: #f4f4f9;
    padding: 80px 2%; /* Usamos porcentaje para los costados */
    font-family: 'Poppins', 'Poppins';
    width: 100%;
}

.header-container { 
    text-align: center; 
    margin-bottom: 50px; 
}

.main-title { 
    font-size: clamp(2rem, 4vw, 3.2rem); 
    font-weight: 900; 
    color: #000000; 
}

.gradient-text { 
    background: linear-gradient(90deg, #6f2486, #bc30e3); 
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent; 
}

/* GRILLA EXPANDIDA */
.grid-promos {
    display: grid;
    /* Permitimos que las tarjetas crezcan más (mínimo 250px, máximo lo que de el ancho) */
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); 
    gap: 25px;
    max-width: 95%; /* Ocupa casi todo el ancho de la pantalla */
    margin: 0 auto;
}

/* CARTAS ALTAS Y PROPORCIONADAS */
.card-promo {
    height: 450px; /* Un poco más altas para mantener la proporción */
    perspective: 2000px;
    cursor: pointer;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform-style: preserve-3d;
}

.card-promo.active .card-inner {
    transform: rotateY(180deg);
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 30px;
    backface-visibility: hidden;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.06);
}

/********************************/
/* FRENTE: Espaciado y Textura */
/********************************/
.card-front {
    background: #ffffff;
    background-size: 24px 24px;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(111, 36, 134, 0.1);
}

/* Destello Shine */
.card-front::before {
    content: "";
    position: absolute;
    top: 0; left: -150%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(197, 22, 197, 0.377), transparent);
    transform: skewX(-20deg);
    transition: 0.6s;
    z-index: 2;
}

.card-promo:hover .card-front::before {
    left: 150%;
}

.logo-wrapper {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px; /* Más aire para el logo */
}

.logo-wrapper img { 
    max-width: 95%; 
    max-height: 180px; 
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.1));
    transition: transform 0.5s ease;
}

.card-promo:hover .logo-wrapper img {
    transform: scale(1.05);
}

.card-info-footer {
    padding: 25px 30px;
    background: linear-gradient(to bottom, transparent, rgba(111, 36, 134, 0.03));
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px dashed rgba(111, 36, 134, 0.15);
}

.card-info-footer h3 { 
    font-size: 0.9rem; 
    font-weight: 800; 
    color: #1a1a1b; 
    margin: 0;
    text-transform: uppercase;
}

.plus-icon { 
    width: 38px; height: 38px; 
    background: linear-gradient(135deg, #6f2486, #bc30e3); 
    color: white; 
    border-radius: 12px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(111, 36, 134, 0.3);
}

/********************************/
/* REVERSO: Impacto Máximo */
/********************************/
.card-back {
    background: linear-gradient(145deg, #6f2486 0%, #3a0d47 100%);
    color: white;
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    text-align: center;
}

.badge-promo {
    background: rgba(0, 255, 204, 0.15);
    color: #00ffcc;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 800;
    margin-bottom: 35px;
    border: 1px solid rgba(0, 255, 204, 0.3);
}

.promo-content .big-offer { 
    font-size: 4rem; 
    font-weight: 900; 
    margin: 0; 
    color: #00ffcc; 
    line-height: 1;
    text-shadow: 0 0 30px rgba(0, 255, 204, 0.4);
}

.promo-content .big-offer small { 
    font-size: 1.2rem; 
    display: block; 
    color: #fff;
    margin-top: 10px;
}

.promo-content .installments { 
    font-size: 1.1rem; 
    font-weight: 700; 
    margin-top: 35px; 
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-back::after {
    content: 'CTAM BENEFICIOS';
    position: absolute;
    bottom: 30px;
    font-size: 0.7rem;
    opacity: 0.4;
    letter-spacing: 3px;
}

/* RESPONSIVE */
@media (min-width: 1600px) {
    .grid-promos { grid-template-columns: repeat(5, 1fr); } /* Fuerza 5 exactas en pantallas muy grandes */
}

@media (max-width: 1400px) {
    .grid-promos { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
}

@media (max-width: 600px) {
    .card-promo { height: 400px; }
    .promo-content .big-offer { font-size: 3rem; }
}






/********************************************/
/********* INICIO NUEVA PUBLICIDAD *********/
/******************************************/


@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');
.banner-publicidad {
  display: block;
  background: #151a27;
  color: #fff;
  padding: 1.5rem;
  font-family: 'Poppins', 'Poppins';
  margin: 1rem auto;
  max-width: 1200px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.banner-publicidad:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.banner-contenido {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.texto-banner {
  max-width: 600px;
}

.subtitulo {
  font-size: 1rem;
  letter-spacing: 2px;
  color: #ccc;
  text-transform: uppercase;
}

.titulo {
  font-size: 2rem;
  font-weight: 700;
  margin: 0.5rem 0;
}

.ver-productos {
  color: #fff;
  text-decoration: underline;
  font-size: 0.8rem;
  margin-top: 1rem;
  display: inline-block;
}


@keyframes flotar {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.imagen-banner img {
  max-height: 200px;
  object-fit: contain;
  animation: desplazamiento-lateral 5s ease-in-out infinite;
  
}

@keyframes desplazamiento-lateral {
  0%, 100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(5px);
  }
}

.texto-banner {
  animation: desplazamiento-lateral 5s ease-in-out infinite;
}




/*****************************************/
/********* FIN NUEVA PUBLICIDAD *********/
/***************************************/



/********************************************/
/*********** INICIO PROMOCIONES ************/
/******************************************/



@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');
.banner-promociones {
  display: block;
  background: #570b0b;
  color: #fff;
  padding: 1.5rem;
  font-family: 'Poppins', 'Poppins';
  margin: 1rem auto;
  max-width: 1200px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.banner-promociones:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}


@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;700;800&display=swap');

/* Contenedor General - AHORA OCUPA TODO EL ANCHO */
.seccion-banners-global {
  padding: 40px 2%; /* Espacio mínimo a los costados */
  max-width: 100%;  /* Quitamos el límite de 1200px */
  width: 100%;
  box-sizing: border-box;
  font-family: 'Poppins', 'Poppins';
}

/* El Grid que organiza los 3 banners */
.contenedor-publicidad-grid {
  display: grid;
  /* Forzamos 3 columnas en pantallas grandes, pero permitimos que se ajusten */
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); 
  gap: 25px; 
  width: 100%;
  margin: 0 auto;
}

/* Estilo Base de la Tarjeta (Banner) */
.banner-card {
  display: block;
  text-decoration: none;
  border-radius: 25px; /* Bordes más modernos y redondeados */
  overflow: hidden;
  padding: 2.5rem; /* Más aire interno */
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  min-height: 220px; /* Un poco más de altura */
  position: relative;
  display: flex;
  align-items: center;
}

.banner-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}


/* Colores Diferenciados con Gradientes Premium */
.publicidad { 
    background: linear-gradient(135deg, #6f2486 0%, #bc30e3 100%); 
    color: white; 
}
.promociones { 
    background: linear-gradient(135deg, #1a2a6c 0%, #b21f1f 100%); /* Acá podés cambiar los colores */
    color: white; 
}
.comercios { 
    background: linear-gradient(135deg, #004e92 0%, #000428 100%); 
    color: white; 
}

/* Contenido Interno */

.banner-contenido {
  display: flex;
  align-items: center;
  justify-content: space-between;

  flex-wrap: wrap;
}

.texto-banner {
  max-width: 600px;
}

.subtitulo {
  font-size: 1rem;
  letter-spacing: 2px;
  color: #ccc;
  text-transform: uppercase;
}

.titulo {
  font-size: 2rem;
  font-weight: 700;
  margin: 0.5rem 0;
}

.ver-productos {
  color: #fff;
  text-decoration: underline;
  font-size: 0.8rem;
  margin-top: 1rem;
  display: inline-block;
}



@keyframes flotar {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.imagen-banner img {
  max-height: 200px;
  object-fit: contain;
  animation: desplazamiento-lateral 5s ease-in-out infinite;
  
}

@keyframes desplazamiento-lateral {
  0%, 100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(5px);
  }
}

.texto-banner {
  animation: desplazamiento-lateral 5s ease-in-out infinite;
  width: 100%;
}

.texto-banner {
  flex: 1;
  padding-right: 20px;
}

.subtitulo {
  font-size: 0.85rem;
  letter-spacing: 3px;
  font-weight: 700;
  opacity: 0.9;
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}

.titulo {
  font-size: 2rem; /* Títulos más grandes e imponentes */
  font-weight: 800;
  margin: 0;
  line-height: 1.1;
}

/* Imágenes */
.imagen-banner img {
  width: 130px; /* Tamaño un poco más grande */
  height: 130px;
  object-fit: contain;
  filter: drop-shadow(5px 10px 15px rgba(0,0,0,0.4));
  animation: flotar 4s ease-in-out infinite;
}

/* Animación sutil mejorada */
@keyframes flotar {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(3deg); }
}

/* Ajustes para Tablets y Monitores Medianos */
@media (max-width: 1024px) {
  .titulo { font-size: 1.6rem; }
  .imagen-banner img { width: 100px; height: 100px; }
}

/* Ajuste para móviles */
@media (max-width: 600px) {
  .seccion-banners-global { padding: 20px 5%; }
  .banner-contenido {
    flex-direction: column;
    text-align: center;
  }
  .texto-banner { padding-right: 0; margin-bottom: 1.5rem; }
  .titulo { font-size: 1.8rem; }
}


/*****************************************/
/************ FIN PROMOCIONES ***********/
/***************************************/















/********************************************/
/*********** INICIO PROMOCIONES ************/
/******************************************/


@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');
.banner-comercios {
  display: block;
  background: #092529;
  color: #fff;
  padding: 1.5rem;
  font-family: 'Poppins', 'Poppins';
  margin: 1rem auto;
  max-width: 1200px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.banner-comercios:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.banner-contenido {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}



.texto-banner {
  max-width: 600px;
}


.subtitulo {
  font-size: 1rem;
  letter-spacing: 2px;
  color: #ccc;
  text-transform: uppercase;
}

.titulo {
  font-size: 2rem;
  font-weight: 700;
  margin: 0.5rem 0;
}

.ver-productos {
  color: #fff;
  text-decoration: underline;
  font-size: 0.8rem;
  margin-top: 1rem;
  display: inline-block;
}



@keyframes flotar {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.imagen-banner img {
  max-height: 200px;
  object-fit: contain;
  animation: desplazamiento-lateral 5s ease-in-out infinite;
  
}

@keyframes desplazamiento-lateral {
  0%, 100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(5px);
  }
}

.texto-banner {
  animation: desplazamiento-lateral 5s ease-in-out infinite;
}


/* Color modificable para todos los textos del banner */
.texto-color-custom {
  --texto-color: #d8cece; /* Puedes cambiar este valor */
}

.texto-color-custom .subtitulo,
.texto-color-custom .titulo,
.texto-color-custom .ver-productos {
  color: #ccc;
}

/*****************************************/
/************* FIN COMERCIOS ************/
/***************************************/







/**************************************/
/********* INICIO PUBLICIDAD *********/
/************************************/

.promo-section {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem;
  
  flex-wrap: wrap;
}

.promo-link {
  text-decoration: none;
  color: inherit;
  flex: 1 1 30%;
  max-width: 32%;
  min-width: 280px;
}

.promo-card {
  background: #ececec;
  border-radius: 12px;
  padding: 1rem;
  color: #D5B981;
  text-align: center;
  box-shadow: 0 0 15px #131f36;
  height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  
}

.promo-card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px #2f1638, 0 4px 10px #2f1638;

}

.promo-card h3 {
  font-family: 'Poppins', 'Poppins';
  font-weight: 700;  /* Negrita */
  font-size: 1.4rem;
  margin: 0;
  letter-spacing: 1px;  /* Espaciado entre letras */
  color: #133066;  /* Blanco para destacar */
  
}


.promo-card img {
  max-width: 100%;
  max-height: 120px;
  margin: 0 auto;
  object-fit: contain;
  display: block;
  animation: float 3s ease-in-out infinite;
}


.promo-desc {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.promo-desc .cuotas {
  background: #6f2486;
  color: rgb(255, 255, 255);
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  font-weight: bold;
  font-size: 0.9rem;
  line-height: 1.2;
  word-wrap: break-word;
  font-family: 'Poppins', 'Poppins';
  
}

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



/**************************************/
/*********** FIN PUBLICIDAD **********/
/************************************/














/*******************************/
/********* Curriculum **********/
/*******************************/

    .cv-section {
        padding: 60px 0;
        background-color: #f1f4f9;
        font-family: 'Poppins', 'Poppins';
    }

    .cv-card {
        background: white;
        border-radius: 35px;
        overflow: hidden;
        box-shadow: 0 20px 40px rgba(0,0,0,0.08);
        border: none;
    }

    /* Columna izquierda con el gradiente de CTAM */
    .cv-info-column {
        background: linear-gradient(135deg, #6f2486 0%, #00d1b2 100%);
        height: 100%;
        min-height: 250px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .badge-cv {
        background: rgba(255,255,255,0.2);
        padding: 5px 12px;
        border-radius: 50px;
        font-size: 10px;
        font-weight: 700;
        letter-spacing: 1px;
    }

    .cv-label {
        font-size: 11px;
        font-weight: 700;
        color: #888;
        margin-bottom: 8px;
        display: block;
    }

    .cv-input {
        width: 100%;
        padding: 12px 15px;
        border-radius: 12px;
        border: 2px solid #f1f4f9;
        background: #f8f9fa;
        outline: none;
        transition: 0.3s;
    }

    .cv-input:focus {
        border-color: #6f2486;
        background: white;
    }

    /* Estilo del cargador de archivos (File Upload) */
    .file-upload-wrapper {
        position: relative;
        width: 100%;
    }

    .file-input {
        position: absolute;
        width: 100%;
        height: 100%;
        opacity: 0;
        cursor: pointer;
        z-index: 2;
    }

    .file-label {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 15px;
        padding: 20px;
        border: 2px dashed #d1d9e6;
        border-radius: 15px;
        background: #fdfaff;
        color: #6f2486;
        font-weight: 600;
        transition: 0.3s;
    }

    .file-input:hover + .file-label {
        border-color: #00d1b2;
        background: #f0fff2;
    }

    .cv-btn {
        background: #6f2486;
        color: white;
        border: none;
        padding: 15px 40px;
        border-radius: 50px;
        font-weight: 700;
        transition: 0.3s;
        box-shadow: 0 10px 20px rgba(111, 36, 134, 0.2);
    }

    .cv-btn:hover {
        background: #4a185a;
        transform: translateY(-3px);
    }

    @media (max-width: 991px) {
        .cv-info-column { text-align: center; align-items: center; }
    }






/* RESET Y FONDO */
    .info-section-ctam {
        background-color: #f8f9fc;
        padding: 60px 20px;
        font-family: 'Poppins', 'Poppins';
    }

    .pyramid-title {
        color: #6f2486; /* Púrpura CTAM */
        text-align: center;
        font-weight: 800;
        margin-bottom: 40px;
        text-transform: uppercase;
    }

    /* CONTENEDOR FLEX: La clave del centrado */
    .pyramid-grid {
        display: flex;
        flex-wrap: wrap;       /* Permite que las tarjetas bajen */
        justify-content: center; /* CENTRA las tarjetas que sobran abajo */
        gap: 20px;             /* Espacio entre ellas */
        max-width: 1100px;
        margin: 0 auto;
    }

    /* LA TARJETA: Tamaño fijo para que no se deformen */
    .info-card-p {
        background: white;
        padding: 30px 20px;
        border-radius: 25px;
        text-align: center;
        border: 1px solid #eee;
        box-shadow: 0 10px 20px rgba(0,0,0,0.02);
        
        /* Forzamos que ocupen el 30% para que entren 3 arriba */
        flex: 0 1 calc(31% - 10px); 
        min-width: 300px; /* Evita que se vuelvan flacas */
        display: flex;
        flex-direction: column;
        align-items: center;
        transition: 0.3s;
    }

    .info-card-p:hover {
        transform: translateY(-5px);
        border-color: #00d1b2; /* Cian CTAM */
    }

    /* ICONOS CON GRADIENTE */
    .p-icon-box {
        width: 60px;
        height: 60px;
        background: linear-gradient(135deg, #6f2486 0%, #00d1b2 100%);
        border-radius: 18px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 24px;
        margin-bottom: 15px;
    }

    .info-card-p h3 {
        color: #333;
        font-weight: 700;
        font-size: 1.15rem;
        margin-bottom: 10px;
    }

    .info-card-p p {
        color: #666;
        font-size: 0.9rem;
        margin-bottom: 5px;
        line-height: 1.4;
    }

    .p-social i {
        margin: 0 5px;
        color: #6f2486;
        font-size: 18px;
    }

    /* RESPONSIVE: En móviles se ponen una abajo de otra */
    @media (max-width: 768px) {
        .info-card-p {
            flex: 1 1 100%;
        }
    }

















/**********************************/
/********* VENCIMIENTOS **********/
/********************************/

     /* Tarjeta contenedora horizontal */
    .vencimiento-modern-row {
        border-radius: 20px;
        border: 1px solid #eaeaea;
        transition: transform 0.4s ease, box-shadow 0.4s ease;
        position: relative;
    }

    /* Franjas de color a la izquierda para enmarcar la tarjeta completa */
    .card-line-purple { border-left: 6px solid #6f2486; }
    .card-line-teal { border-left: 6px solid #00d1b2; }

    .vencimiento-modern-row:hover {
        transform: translateY(-5px) scale(1.01);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08) !important;
        border-right-color: #d1d5db;
        border-top-color: #d1d5db;
        border-bottom-color: #d1d5db;
    }

    /* Íconos */
    .v-icon-modern {
        width: 70px;
        height: 70px;
        min-width: 70px;
        border-radius: 18px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 2rem;
        transition: transform 0.3s ease;
    }
    
    .vencimiento-modern-row:hover .v-icon-modern {
        transform: scale(1.1) rotate(5deg);
    }

    /* Línea divisoria central para PC */
    .v-divider {
        height: 60px;
        width: 2px;
        background-color: #eaeaea; /* Línea sólida gris clara */
        border-radius: 5px;
    }

    /* =================================================== */
    /* LOS NUEVOS RECUADROS DE COLOR PARA LAS FECHAS       */
    /* =================================================== */
    .v-date-box-modern {
        display: inline-block;
        border-radius: 16px;
        transition: all 0.3s ease;
        padding: 15px 30px;
    }
    
    .box-solid-purple {
        background-color: rgba(111, 36, 134, 0.05); /* Fondo lila clarito */
        border: 3px solid #6f2486; /* Borde violeta CTAM grueso */
    }
    
    .box-solid-teal {
        background-color: rgba(0, 209, 178, 0.05); /* Fondo celeste clarito */
        border: 3px solid #00d1b2; /* Borde celeste grueso */
    }

    .vencimiento-modern-row:hover .v-date-box-modern {
        transform: scale(1.05); /* Se agranda un poquito al pasar el mouse */
    }

    /* TIPOGRAFÍA GIGANTE ADAPTATIVA */
    .v-day-text-gigante {
        font-size: clamp(2.8rem, 5vw, 4.5rem);
        font-weight: 900;
        line-height: 1;
        font-family: 'Poppins', sans-serif;
        letter-spacing: -1px;
    }

    /* Textos */
    .v-title { 
        font-family: 'Poppins', sans-serif; 
        font-size: 1.4rem; 
    }

    /* MEDIA QUERIES PARA CELULARES */
    @media (max-width: 767px) {
        .v-icon-modern {
            width: 55px;
            height: 55px;
            min-width: 55px;
            font-size: 1.5rem;
        }
        .v-title {
            font-size: 1.2rem;
        }
        /* Ajuste de la caja de color en celulares */
        .v-date-box-modern {
            padding: 10px 15px;
            width: 100%; 
            margin-top: 10px;
        }
    }
/*************************************/
/********* FIN VENCIMIENTOS**********/
/***********************************/










/************************************/
/********* Tarjetas Index **********/
/****************************** ****/



/* Contenedor padre */
.ctam-services-section {
    padding: 60px 20px;
    background: #010311;
}

.title-services {
    text-align: center; color: white; margin-bottom: 40px; font-weight: 800;
}

/* El Grid que evita que se estiren las tarjetas */
.grid-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* La tarjeta: Altura fija, no se estira */
.card-service {
    background: #161a21;
    border-radius: 24px;
    overflow: hidden;
    height: 480px; /* <--- ALTURA FIJA: Nunca se va a deformar */
    display: flex;
    flex-direction: column;
    border: 1px solid #2a2a2a;
    transition: 0.3s;
}

.card-service:hover {
    transform: translateY(-10px);
    border-color: #6f2486;
    box-shadow: 0 10px 30px rgba(111, 36, 134, 0.3);
}

/* Imagen fija */
.card-img-top {
    height: 250px; /* <--- FOTO FIJA: No cambia */
    position: relative;
}

.card-img-top img {
    width: 100%; height: 100%; object-fit: cover;
}

.badge-tech {
    position: absolute; top: 15px; right: 15px;
    background: #6f2486; color: white;
    padding: 5px 12px; border-radius: 20px; font-size: 10px; font-weight: bold;
}

/* Cuerpo: lo que empuja el botón */
.card-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Ocupa el resto del espacio */
}

.card-content h3 { color: white; margin-bottom: 10px; }
.card-content p { color: #a0a0a0; font-size: 0.9rem; }

/* Botón: siempre pegado al fondo gracias al flex-grow del padre */
.btn-wpp-action {
    margin-top: auto; /* <--- Esto hace que el botón siempre esté abajo */
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #2a2a2a;
    color: white !important;
    padding: 12px 20px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    transition: 0.3s;
}

.btn-wpp-action:hover {
    background: #6f2486;
}








.promo-section { padding: 40px 0; }

.swiperPromo {
    border-radius: 10px;
    overflow: hidden;
    height: 450px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.promo-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* EFECTO DE MOVIMIENTO EN LA IMAGEN */
.promo-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Esto hace que la foto se adapte sin deformarse */
    object-position: center right; /* Esto obliga a que se priorice el lado derecho si se corta */
}

@keyframes zoomImage {
    from { transform: scale(1); }
    to { transform: scale(1.15); }
}

/* CAPA OSCURA Y CRISTAL */
.promo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.2) 100%);
    z-index: 2;
    display: flex;
    align-items: center;
    padding: 0 5%;
}

.promo-glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px); /* Efecto de vidrio esmerilado */
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 30px;
    border-radius: 20px;
    max-width: 500px;
    color: white;
}

.promo-badge {
    background: #bc30e3;
    padding: 5px 15px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 15px;
}

.promo-glass-card h1 { font-size: 38px; margin: 15px 0; font-weight: 800; }

.countdown-container { margin-bottom: 20px; }
.timer { font-family: monospace; font-size: 20px; color: #00d1b2; font-weight: bold; }

.btn-promo-wpp {
    background: #25D366;
    color: white !important;
    padding: 12px 25px;
    border-radius: 10px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    transition: 0.3s;
}

.btn-promo-wpp:hover { background: #128C7E; transform: translateY(-3px); }











/*******************************/
/********* Footer CSS **********/
/*******************************/
.footer {
    position: relative;
    margin-top: 45px;
    padding-top: 90px;
    background: #101318;
}

.footer .footer-contact,
.footer .footer-link,
.footer .footer-newsletter {
    position: relative;
    margin-bottom: 45px;
    color: #999999;
}

.footer .footer-contact h2,
.footer .footer-link h2,
.footer .footer-newsletter h2{
    position: relative;
    margin-bottom: 30px;
    font-size: 22px;
    font-weight: 700;
    color: #6f2486;
}

.footer .footer-link a {
    display: block;
    margin-bottom: 10px;
    color: #999999;
    transition: .3s;
}

.footer .footer-link a::before {
    position: relative;
    content: "\f105";
    font-family: 'Poppins', 'Poppins';
    font-weight: 900;
    margin-right: 10px;
}

.footer .footer-link a:hover {
    color: #6f2486;
    letter-spacing: 1px;
}

.footer .footer-contact p i {
    width: 25px;
}

.footer .footer-social {
    position: relative;
    margin-top: 20px;
}

.footer .footer-social a {
    display: inline-block;
}

.footer .footer-social a i {
    margin-right: 15px;
    font-size: 18px;
    color: #6f2486;
}

.footer .footer-social a:last-child i {
    margin: 0;
}

.footer .footer-social a:hover i {
    color: #999999;
}

.footer .footer-newsletter .form {
    position: relative;
    width: 100%;
}

.footer .footer-newsletter input {
    height: 60px;
    border: 2px solid #101318;
    border-radius: 0;
}

.footer .footer-newsletter .btn {
    position: absolute;
    top: 8px;
    right: 8px;
    height: 44px;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 600;
    color: #101318;
    background: none;
    border-radius: 0;
    border: 2px solid #101318;
    transition: .3s;
}

.footer .footer-newsletter .btn:hover {
    color: #6f2486;
    background: #101318;
}

.footer .copyright {
    padding: 0 30px;
}

.footer .copyright .row {
    background: #ffffff;
    padding-top: 25px;
    padding-bottom: 25px;
}

.footer .copyright p {
    margin: 0;
    color: #454545;
}

.footer .copyright .col-md-6:last-child p {
    text-align: right;
}   

.footer .copyright p a {
    color: #101318;
    font-weight: 700;
}

.footer .copyright p a:hover {
    color: #6f2486;
}

@media (max-width: 767.98px) {
    .footer .copyright p,
    .footer .copyright .col-md-6:last-child p {
        margin: 5px 0;
        text-align: center;
    }
    
}









/* Galería mejorada */
.portfolio .portfolio-wrap {
    overflow: hidden;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #000;
}

.portfolio .portfolio-wrap:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.portfolio .portfolio-wrap img {
    width: 100%;
    height: 250px; /* Ajustar altura de las imágenes */
    object-fit: cover;
    transition: opacity 0.3s ease;
    border-radius: 10px;
}

.portfolio .portfolio-item {
    position: relative;
    margin-bottom: 20px;
    overflow: hidden;
}

/* Hacer que las imágenes sean responsivas */
@media (max-width: 768px) {
    .portfolio .row {
        display: grid;
        grid-template-columns: repeat(2, 1fr); /* Dos columnas en formato mosaico */
        gap: 10px; /* Espacio entre las imágenes */
    }

    .portfolio .portfolio-wrap img {
        height: 180px; /* Ajustar altura de las imágenes */
        padding: 2px;
    }

    .portfolio .section-header h2 {
        font-size: 1.5rem; /* Ajustar tamaño del título */
    }
}

/* Agregar espacio entre las imágenes en pantallas grandes */
@media (min-width: 992px) {
    .portfolio .portfolio-wrap {
        margin-bottom: 20px;
        padding: 2px;
        background-color: #592069;
    }
}



/* ========================================= */
/* CORRECCIÓN DEFINITIVA NAVBAR RESPONSIVO   */
/* ========================================= */
@media (max-width: 991.98px) {
    /* 1. Convertimos la barra horizontal en una columna */
    .navbar-nav {
        flex-direction: column !important;
        width: 100%;
        align-items: flex-start !important; /* Fuerza todo hacia la izquierda */
    }

    .navbar-collapse {
        background: #101318;
        max-height: 75vh;
        overflow-y: auto;
        border-bottom: 4px solid #6f2486;
    }

    /* 2. Enlaces principales alineados a la izquierda */
    .navbar-dark .navbar-nav .nav-link {
        width: 100% !important;
        text-align: left !important; /* <-- Cambio clave: todo a la izquierda */
        padding: 15px 30px !important; 
        height: auto !important;
        border-bottom: 1px solid rgba(255,255,255,0.05);
        justify-content: flex-start !important;
    }

    /* 3. Contenedor de la lista desplegable */
    .navbar .dropdown-menu {
        position: static !important; 
        float: none !important;
        width: 100% !important;
        background-color: #151921 !important; 
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        margin: 0 !important;
        border-radius: 0 !important;
    }

    /* 4. Sub-ítems (Telefonía, Internet) a la izquierda y con sangría */
    .navbar .dropdown-item {
        padding: 15px 20px 15px 50px !important; /* <-- El 50px le da el margen interno izquierdo */
        text-align: left !important; /* <-- Cambio clave: todo a la izquierda */
        color: #d8cece !important;
        border-bottom: 1px dashed rgba(255, 255, 255, 0.05) !important;
        font-size: 13px !important;
        white-space: normal !important; 
    }

    .navbar .dropdown-item:hover {
        background-color: #6f2486 !important;
        color: #ffffff !important;
    }
}