/* override.css - Consolidated CSS for Channel Manager page */
/*actualizado para la ver 19 de la nueva Home, aún por subir a PROD*/
/* actualizado a la ver 24 de la nueva channel manager */
/* actualizado para la ver 7.4 de la nueva pasarela de pagos, aún por subir a PROD */


/* ======== variables.css ======== */
/* =========================== */
/* ===== Color System ===== */
:root {
    /* ===== COLORES PRINCIPALES DE LA GUÍA DE ESTILO ===== */
    /* Verdes - Gama cromática principal */
    --color-verde-pino: #107F73;
    --color-turquesa: #11b4a3;
    /* Color principal de AvaiBook */

    /* Grises - Neutrales */
    --color-gris-susurro: #EEEEEE;
    --color-gris-tenue: #626262;
    --color-cervino: #545454;

    /* Colores destacados */
    --color-pradera-claro: #E9F2F1;
    --color-buganvilla: #CE4676;

    /* ===== SISTEMA DE COLORES EXISTENTE (mantener compatibilidad) ===== */
    /* Primary Colors */
    --color-primary-50: #e0f7f5;
    --color-primary-100: #b3ebe6;
    --color-primary-200: #80ded6;
    --color-primary-300: #4dd0c6;
    --color-primary-400: #26c4b6;
    --color-primary-500: #11b3a2;
    --color-primary-600: #0c8f7e;
    --color-primary-700: #09695a;
    --color-primary-800: #064035;
    --color-primary-900: #031915;

    /* Neutral Colors */
    --color-gray-50: #fafafa;
    --color-gray-100: #f4f4f5;
    --color-gray-200: #e4e4e7;
    --color-gray-300: #d4d4d8;
    --color-gray-400: #a1a1aa;
    --color-gray-500: #71717a;
    --color-gray-600: #52525b;
    --color-gray-700: #3f3f46;
    --color-gray-800: #27272a;
    --color-gray-900: #18181b;

    /* Secondary Colors - Para iconos y elementos destacados */
    --color-purple-600: #9333ea;
    /* Color principal de los elementos secundarios para elementos, sobre todo background de tarjetas, contenedores, etc*/
    --color-purple-100: #f3e8ff;
    --color-green-600: #16a34a;
    --color-green-100: #dcfce7;
    --color-sky-600: #0284c7;
    /* Color principal de los elementos secundarios para elementos, sobre todo background de tarjetas, contenedores, etc*/
    --color-sky-100: #e0f2fe;
    --color-pink-600: #db2777;
    --color-pink-100: #fce7f3;
    --color-buganvilla-600: #CE4676;
    --color-buganvilla-100: #F9E6EB;
    --color-limon-600: #dffa45;
    --color-limon-100: #e7f789;

    /* Shadow Colors */
    --ab-shadow-color: rgba(100, 116, 139, 0.12);
}

/* escogemos nuestro color corporativo para el titulo destacado */
.AB-text-primary {
    --tw-text-opacity: 1;
    color: #11b3a2;
}

/* escogemos nuestro color corporativo para el texto general */
.AB-text-general {
    --tw-text-opacity: 1;
    color: var(--color-gray-700);
}

/* escogemos nuestro color corporativo para titulos generales */

.AB-text-title {
    --tw-text-opacity: 1;
    color: var(--color-gray-900);
}

/* espacio propio en los botones */
.AB-py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

/* padding propio en las FAQ */
.AB-p-5 {
    padding: 1.25rem;
}


/* == UTILIDAD: Clase para cuando surgen problemas o incompatibilidades de centrado de titulos == */


.AB-section-title-container {
    /* Centra el texto por si la clase 'align_center' de Betheme falla o no está */
    text-align: center;
    margin-bottom: 3rem;

    /* Limita el ancho del título para mejorar la legibilidad y el centrado visual en textos largos */
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

/* ======== layout.css ======== */
/* =========================== */

/*************  channel manager *************/

/* Container */
.AB-container {
    width: 100% !important;
    max-width: 1280px !important;
    margin: 0 auto !important;
    padding: 40px 1rem !important;
}

/* Hero Section */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 75vh;
    background-color: var(--color-primary-50);
}

/*el contenido no es visible en la pantalla, pero sigue estando en el DOM accesible, lo que permite a lectores de pantalla leerlo
 y a los motores de búsqueda indexarlo. Si usaramos display none, el contenido no sería accesible. */
.AIO-only {

    border: 0 !important;
    clip: rect(0 0 0 0) !important;
    height: 1px !important;
    margin: -1px !important;
    overflow: hidden !important;
    padding: 0 !important;
    position: absolute !important;
    width: 1px !important;
    white-space: nowrap !important;
}

.hero__title {
    font-size: 2.25rem;
    line-height: 1.2;
    font-weight: 700;
    color: var(--color-gray-900);
}

.hero__subtitle {
    margin-top: 1rem;
    font-size: 1.125rem;
    color: var(--color-gray-700);
}

/* Feature Grid */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
}

.feature-item {
    background-color: #fff;
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: transform .3s ease, box-shadow .3s ease;
}

.feature-item:hover {
    transform: translateY(-0.25rem);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/********** Partners - Carrusel optimizado para WordPress y local *************/
.AB-partners-container {
    width: 100% !important;
    overflow: hidden !important;
    position: relative !important;
    background: #0b4943 !important;
}

.AB-partners-wrapper {
    display: flex !important;
    align-items: center !important;
    animation: scrollPartners 35s linear infinite !important;
    width: max-content !important;
    gap: 2rem !important;
    padding: 1rem !important;
    will-change: transform !important;
}

.AB-partner-item {
    flex: 0 0 auto !important;
    width: 175px !important;
    height: 100px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    /* padding: 10px !important; */
}

.AB-partner-item img {
    max-width: 100% !important;
    max-height: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    filter: grayscale(100%) !important;
    transition: filter 0.3s ease !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.AB-partner-item img:hover {
    filter: grayscale(0%) !important;
}


/* reglas para banner OTA-partners más estrecho */


.AB-partners-section h2.AB-partners-title,
section h2.AB-partners-title {
    font-size: 2.25rem !important;
    /* Tamaño base reducido */
    font-weight: 800;
    color: #ffffff !important;
    margin-bottom: 0.75rem !important;
    line-height: 1.2 !important;
}

.AB-partners-section p.AB-partners-description,
section p.AB-partners-description {
    font-size: 1.125rem !important;
    color: #e5e7eb !important;
    max-width: 64rem !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

@keyframes scrollPartners {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-175px * 5 - 2rem * 5));
    }
}

@-webkit-keyframes scrollPartners {
    0% {
        -webkit-transform: translateX(0);
    }

    100% {
        -webkit-transform: translateX(calc(-175px * 5 - 2rem * 5));
    }
}

/* Ajuste para el carrusel */
#AB-partners-carousel {
    display: flex !important;
    align-items: center !important;
    overflow-x: auto !important;
    scroll-behavior: smooth !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 2rem !important;
    padding: 1rem !important;
    width: 100% !important;
}

/* Ajustes para los contenedores de logos */
.AB-snap-center.AB-shrink-0 {
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 175px !important;
    height: auto !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

/* Ajustes para las imágenes */
.AB-h-12.AB-w-auto.AB-object-contain {
    height: 48px !important;
    width: auto !important;
    max-width: 100% !important;
    object-fit: contain !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Ocultar scrollbar pero mantener funcionalidad */
#AB-partners-carousel::-webkit-scrollbar {
    display: none !important;
}

#AB-partners-carousel {
    -ms-overflow-style: none !important;
    scrollbar-width: none !important;
}

/* margen estrellas y titulo en opiniones */
.AB-espacio-estrellas {
    margin-top: 8px;
}

/* Responsive ajustments */
@media (max-width: 768px) {
    .AB-partners__grid {
        gap: 1rem !important;
        padding: 0.5rem !important;
    }

    .AB-partners__logo {
        width: 120px !important;
        height: 48px !important;
    }
}

/* ======== forms.css ======== */
/* =========================== */

/* Form Variables */
:root {
    --form-border-color: #e5e7eb;
    --form-focus-border-color: var(--color-primary-500);
    --form-bg: #ffffff;
}

/* Form Styles */
form {
    max-width: 600px;
    margin: 0 auto 3rem;
    background: var(--form-bg);
    padding: 2rem;
    border: 1px solid var(--form-border-color);
    border-radius: 0.5rem;
}

form label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

form input,
form select,
form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--form-border-color);
    border-radius: 0.375rem;
    margin-bottom: 1rem;
    font-size: 1rem;
}

form input:focus,
form select:focus,
form textarea:focus {
    outline: none;
    border-color: var(--form-focus-border-color);
    box-shadow: 0 0 0 2px rgba(17, 179, 162, 0.25);
}

form button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--color-primary-500);
    color: #fff;
    font-weight: 600;
    border: none;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: background-color .3s ease;
}

form button:hover {
    background-color: var(--color-primary-600);
}

/* ======== demo-modal.css ======== */
/* ================================ */
/* Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    position: relative;
    background: #fff;
    padding: 0;
    border-radius: 0.5rem;
    max-width: 90%;
    max-height: 90%;
    overflow: hidden;
}

.modal-content iframe {
    width: 560px;
    height: 315px;
    border: none;
}

.modal-close {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* ======== animations.css ======== */
/* ================================ */

/* Fade In Up Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* *** colores elementos circulares ****  */

.AB-border-primary {
    --tw-bg-opacity: 1;
    background-color: #47998d !important;
    border-color: white !important;

}

.AB-bg-white-2 {
    --tw-bg-opacity: 1;
    background-color: #39a698 !important;
    border-color: white !important;
    /* box-shadow: 0 10px 15px -3px #d990b7 !important; */
}

/* AB-border-primary-2 */
.AB-border-primary-2 {
    --tw-bg-opacity: 1;
    background-color: #39a698 !important;
    border-color: white !important;
}

/* AB-border-primary-3 */
.AB-border-primary-3 {
    --tw-bg-opacity: 1;
    background-color: #11b4a3 !important;
    border-color: white !important;
}

/* AB-border-primary-4 */
.AB-border-primary-4 {
    --tw-bg-opacity: 1;
    background-color: #5abcb0 !important;
    border-color: white !important;
}

/* anterior centrado
Círculo principal con icono 
.w-48.h-48.rounded-full {
    aspect-ratio: 1 !important;
    /* Mantiene la forma circular 
    min-width: 12rem !important;
    /* 48/4 = 12rem 
    min-height: 12rem !important;
    transform-origin: center !important;
}

/* Ajuste del contenedor del icono 
.absolute.w-24.h-24.bg-white.rounded-full {
    aspect-ratio: 1 !important;
    min-width: 6rem !important;
    /* 24/4 = 6rem 
    min-height: 6rem !important;
    transform: translate(-50%, -50%) !important;
    /* Mejor posicionamiento 
    top: 20% !important;
    /* Ajusta la posición vertical 
    left: 0 !important;
}*/



/* Circulo contenedor de referencia */
.proceso-circulo-contenedor {
    position: relative !important;
    display: flex !important;
    justify-content: center !important;
}

/* Círculo inferior usando la nueva referencia */
.proceso-circulo-inferior {
    position: absolute !important;

    /* Solo nos preocupamos por la posición vertical */
    bottom: 0 !important;
    transform: translateY(50%) !important;
    /* Lo empuja hacia abajo la mitad de su altura */

    /* Mantenemos sus estilos visuales por si acaso */
    width: 2rem;
    /* Equivalente a w-8 de Tailwind */
    height: 2rem;
    /* Equivalente a h-8 de Tailwind */
}


/* Color buganvilla para iconos */
.AB-text-buganvilla {
    color: var(--color-buganvilla) !important;
}

/* Ajuste específico del icono de enchufe */
.fas.fa-plug.AB-text-buganvilla {
    transform: translate(55%, 25%) !important;
    margin-top: 0.5rem !important;
    font-size: 2.5rem !important;
    z-index: 20 !important;
    margin-top: 0.5rem !important;
}

/* Clase personalizada de rotación para los iconos en los círculos */

.AB-icon-rotate {
    /* transform: rotate(180deg) !important; pendiente de arreglar el js para que se anime bien*/
    transition: transform 1.5s ease-out !important;
    will-change: transform !important;
    /* optimicación de rendimiento */
}

.feature-visible .AB-icon-rotate {
    transform: rotate(0deg) !important;
}

/* ======== main.css ======== */
/* =========================== */
/* Main.css - Consolidated CSS for Channel Manager page */
/* Typography Importing Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&display=swap');

:root {
    font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
}

body {
    margin: 0;
    background-color: var(--color-gray-50);
    color: var(--color-gray-900);
}

a {
    color: var(--color-primary-500);
    text-decoration: none;
    transition: color .2s;
}

a:hover {
    color: var(--color-primary-600);
}

button {
    font-family: inherit;
}

img {
    max-width: 100%;
    display: block;
}

/* ==== Scroll reveal para feature-item y testimonio-item (movido desde HTML) ==== */
.feature-item,
.testimonio-item {
    min-height: 100px;
    /* Reserva espacio */
    opacity: 0;
    visibility: visible;
    /* Mantener layout */
    transform: translateY(18px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
    /* Unificado 700ms */
    will-change: opacity, transform;
}

.feature-item.feature-visible,
.testimonio-item.testimonio-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {

    .feature-item,
    .testimonio-item {
        transition: opacity 0.65s ease-out, transform 0.65s ease-out;
        /* Lig. más rápida en móvil */
    }
}


/* -------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------- */
/*     Componentes: landing pasarela de pagos                                 */
/* -------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------- */


/* ======================== Sección de Imagen ======================== */

/* Contenedor principal de la sección de imagen.
   Permite añadir espaciado vertical sin afectar a otros elementos. */
.AB-img-section {
    padding-top: 2rem;
    padding-bottom: 2rem;
    width: 100%;
}

/* Wrapper para la imagen.
   Utiliza flexbox para centrar la imagen horizontalmente. */
.AB-img-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Clase de utilidad para hacer cualquier imagen responsive.
   Reemplaza a la clase 'scale-with-grid' de BeTheme. */
.AB-img-responsive {
    max-width: 100%;
    height: auto;
    display: block;
    /* Elimina espacio extra debajo de la imagen */
}

/* ======================== Sección opiniones ======================== */
.AB-opiniones-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.AB-opiniones-izq {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.AB-estrellas-numero {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 40px;
    color: #fbbf24;
}

.AB-numero-opiniones {
    font-size: 30px;
    color: #4b5563;
}

.AB-opiniones-der {
    display: flex;
    align-items: center;
    gap: 24px;
}

.AB-opiniones-der img {
    display: inline-block;
    width: 300px;
    height: 60px;
}

@media (max-width: 767px) {
    .AB-opiniones-row {
        flex-direction: column !important;
        align-items: center !important;
        gap: 1.5rem !important;
        text-align: center;
    }

    .AB-opiniones-izq {
        align-items: center !important;
    }

    .AB-opiniones-der.AB-trust img {
        width: 150px !important;
    }

    .AB-opiniones-der.AB-cap img {
        width: 140px !important;
    }

    .AB-opiniones-der {
        margin: 0 auto !important;
    }

    .AB-tit-opiniones {
        font-size: 17px !important;

    }

    .AB-estrellas-numero,
    .AB-numero-opiniones {
        font-size: 20px !important;
    }
}



/* ======== SECCIÓN DE FUNCIONALIDADES con pestañas tabs ======== */


/* --- Contenedor Principal de la Sección --- */
.pagos-feature-showcase {
    font-family: inherit;
    /* Hereda la fuente de tu body */
    padding: 4rem 1rem;
    /* Equivalente a py-20 */
    background-color: var(--color-gris-susurro);
}

/* --- Títulos de la Sección (estilo de ejemplos) --- */
.pagos-section-title {
    font-size: 2.25rem;
    /* text-3xl o text-4xl */
    font-weight: 700;
    color: var(--color-cervino);
    margin-bottom: 0.75rem;
}

.pagos-section-subtitle {
    font-size: 1.25rem;
    /* text-xl o text-2xl */
    color: var(--color-gris-tenue);
    max-width: 42rem;
    /* max-w-3xl */
    margin: 0 auto 3.5rem auto;
}

/* --- Sistema de Pestañas (con  estilo de sombras y bordes) --- */
.pagos-tabs-container {
    border-radius: 0.75rem;
    /* rounded-xl */
    overflow: hidden;
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
}

/* FORZAR RESPONSIVE - REGLA DE EMERGENCIA */
@media screen and (max-width: 768px) {
    section .pagos-tabs-container .pagos-tabs-nav {
        flex-direction: column !important;
        display: flex !important;
    }

    section .pagos-tabs-container .pagos-tabs-nav a.pagos-tab-link {
        width: 100% !important;
        justify-content: flex-start !important;
        text-align: left !important;
    }
}

.pagos-tabs-nav {
    display: flex;
    background-color: #ffffff;
    border-bottom: 1px solid var(--color-gray-200);
}

a.pagos-tab-link {
    flex-grow: 1;
    padding: 1.25rem 1rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-gris-tenue);
    text-decoration: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    white-space: nowrap;
}

a.pagos-tab-link:hover {
    background-color: var(--color-pradera-claro);
    color: var(--color-turquesa);
}

/* --- Estilos específicos para cada pestaña --- */
/* Pestaña Seguridad - Verde (usando colores de la guía) */
a.pagos-tab-link[href="#devoluciones-automaticas"]:hover {
    background-color: var(--color-pradera-claro);
    color: var(--color-turquesa);
}

a.pagos-tab-link[href="#devoluciones-automaticas"].activo {
    color: var(--color-turquesa);
    font-weight: 700;
    border-bottom-color: var(--color-turquesa);
    background-color: var(--color-pradera-claro);
}

/* Pestaña Flexibilidad - Azul Sky */
a.pagos-tab-link[href="#herramienta-integrada"]:hover {
    background-color: var(--color-buganvilla-100);
    color: var(--color-buganvilla-600);
}

a.pagos-tab-link[href="#herramienta-integrada"].activo {
    color: var(--color-buganvilla-600);
    font-weight: 700;
    border-bottom-color: var(--color-buganvilla-600);
    background-color: var(--color-buganvilla-100);
}

/* Pestaña Automatización - Morado Purple */
a.pagos-tab-link[href="#comunicaciones-automatizadas"]:hover {
    background-color: var(--color-purple-100);
    color: var(--color-purple-600);
}

a.pagos-tab-link[href="#comunicaciones-automatizadas"].activo {
    color: var(--color-purple-600);
    font-weight: 700;
    border-bottom-color: var(--color-purple-600);
    background-color: var(--color-purple-100);
}

/* --- Paneles de Contenido --- */
.pagos-tabs-content-wrapper {
    background-color: #ffffff;
    padding: 2.5rem;
}

.pagos-tab-content {
    display: none;
    /* Oculto por defecto */
    animation: fadeIn 0.5s ease;
}

.pagos-tab-content.activo {
    display: grid;
    /* Usamos grid para las tarjetas */
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* -- COMPONENTE: Seguridad y formas de pago en pasarela (AB-info-box) --*/


/* Contenedor principal de la sección */
.AB-info-section {
    padding: 60px 20px;
    width: 100%;
}

/* La caja blanca central */
.AB-info-box {
    background-color: white;
    border-radius: 24px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.07), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    padding: 40px;
    max-width: 1248px;
    margin: 0 auto;

    /* Centrado de todo el contenido interno */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Estilos para el logo superior de partners */
.AB-info-box__brand-logo img {
    max-width: 100%;
    height: auto;
    /* Mantiene la proporción */
    margin-bottom: 24px;
}

/* Estilo para el titular principal */
.AB-info-box__heading {
    font-size: 28px;
    font-weight: 700;
    color: var(--color-gray-900);
    margin-bottom: 24px;
    line-height: 1.3;
}

/* Contenedor del icono (PSD2) 
.AB-info-box__icon-wrapper {
    margin-bottom: 24px;
} */

/* Tamaño controlado del icono (PSD2) */
.AB-info-box__icon {
    max-width: 100px !important;
    height: auto;
}

/* Estilo para el texto de descripción */
.AB-info-box__description p {
    font-size: 16px;
    color: var(--color-gray-700);
    line-height: 1.7;
    max-width: 650px;
    /* Líneas de texto no muy largas para fácil lectura */
    margin: 0;
    /* Reseteamos el margen del párrafo */
}

.AB-info-box__description strong {
    color: var(--color-gray-700);
    font-weight: 600;
}

/* --- Responsive para móviles --- */
@media (max-width: 767px) {
    .AB-info-box {
        padding: 30px 20px;
    }

    .AB-info-box__heading {
        font-size: 24px;
    }
}

/* --- Tarjeta de Característica Individual  --- */
.pagos-feature-card {
    padding: 0.5rem;
    border-radius: 0.75rem;
    /* rounded-xl */
    border: 1px solid var(--color-gray-200);
    box-shadow: 0 4px 6px -1px var(--ab-shadow-color), 0 2px 4px -2px var(--ab-shadow-color);
    /* shadow-md */
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pagos-feature-card:hover {
    transform: scale(1.03) translateY(-5px);
    box-shadow: 0 10px 15px -3px var(--ab-shadow-color), 0 4px 6px -4px var(--ab-shadow-color);
    /* shadow-xl */
}

.pagos-feature-card h4 {
    font-size: 1.25rem;
    /* text-xl */
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.pagos-feature-card p {
    color: var(--color-gris-tenue);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.pagos-feature-card ul {
    list-style-type: none;
    padding-left: 0;
    color: var(--color-gris-tenue);
}

.pagos-feature-card ul li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.5rem;
}

.pagos-feature-card ul li::before {
    content: '\f058';
    /* Icono de check-circle de Font Awesome */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 3px;
    font-size: 1.1rem;
}

/* --- Estilos específicos por sección --- */
/* Sección Seguridad - Verde (usando colores de la guía) */
#devoluciones-automaticas .pagos-feature-card {
    background: linear-gradient(to bottom right, var(--color-pradera-claro), #ffffff);
}

#devoluciones-automaticas .pagos-feature-card h4 {
    color: var(--color-verde-pino);
}

#devoluciones-automaticas .pagos-feature-card ul li::before {
    color: var(--color-turquesa);
}

/* Sección Flexibilidad - Azul Sky */
#herramienta-integrada .pagos-feature-card {
    background: linear-gradient(to bottom right, var(--color-buganvilla-100), #ffffff);
}

#herramienta-integrada .pagos-feature-card h4 {
    color: var(--color-buganvilla-600);
}

#herramienta-integrada .pagos-feature-card ul li::before {
    color: var(--color-buganvilla-600);
}

/* Sección Automatización - Morado Purple */
#comunicaciones-automatizadas .pagos-feature-card {
    background: linear-gradient(to bottom right, var(--color-purple-100), #ffffff);
}

#comunicaciones-automatizadas .pagos-feature-card h4 {
    color: var(--color-purple-600);
}

#comunicaciones-automatizadas .pagos-feature-card ul li::before {
    color: var(--color-purple-600);
}

/* -------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------- */
/*                    Componentes: landing HOME   ver4                        */
/* -------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------- */


/* ======== HERO SECTION ======== */
.hero-blob {
    position: absolute;
    width: 20rem;
    height: 20rem;
    background: linear-gradient(135deg, var(--color-primary-200), var(--color-primary-300));
    border-radius: 50%;
    opacity: 0.3;
    z-index: 0;
}

/* ======== SECCIÓN ALL-IN-ONE ======== */

.AB-all-in-one-section {

    background-color: var(--color-gris-susurro);
    padding-top: 2rem;
    padding-bottom: 2rem;
    margin-bottom: 40px;
    border-radius: 20px;
}

/* ======== CLASES AIO ======== */

/* AIO (AI Optimization) - Estilos para optimización de búsquedas de IA */

/* Clase para contenido visible solo para lectores de pantalla y sistemas de inteligencia artificial 
   Este contenido está oculto visualmente pero permanece accesible para tecnologías asistivas 
   y motores de búsqueda basados en inteligencia artificial como ChatGPT, Claude, Perplexity, etc. */
.AIO-only {
    display: none !important;
    visibility: hidden !important;
}

/* Contenido estructurado para IA - no visible pero indexable */
.ai-context {
    display: none;
    visibility: hidden;
}

/* Metadatos específicos para AIO */
[data-ai-context] {
    /* Estos atributos ayudan a los sistemas de IA a entender el contexto */
}

[data-ai-keywords] {
    /* Keywords específicas para el contenido */
}

[data-ai-value-prop] {
    /* Proposiciones de valor claras */
}

[data-ai-benefit] {
    /* Beneficios específicos del producto */
}

[data-ai-feature] {
    /* Características del producto */
}

/* Mejoras de legibilidad para IA */
.ai-enhanced-content {
    /* Contenido optimizado para comprensión de IA */
    line-height: 1.6;
    word-spacing: 0.1em;
}

/* Estructura semántica mejorada */
.ai-structured-list {
    /* Listas con mejor estructura semántica */
}

.ai-structured-list li {
    margin-bottom: 0.5rem;
}

/* Contenido de esquema JSON-LD (invisible) */
.schema-ld {
    display: none;
}

/* ======== COLORES Y VARIABLES ADICIONALES ======== */
.bg-cta {
    background-color: var(--color-buganvilla) !important;
    padding: 0.75rem 2rem !important;
    font-size: 1rem !important;
    border-radius: 9999px !important;
    color: white !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    display: inline-block !important;
    transition: all 0.3s ease !important;
    margin-bottom: 0 !important;
}

.bg-cta:hover {
    background-color: #b23a68 !important;
    transform: translateY(-1px) !important;
}

.AB-animated-cta {
    background-color: var(--color-buganvilla) !important;
    padding: 0.75rem 2rem !important;
    font-size: 1rem !important;
    border-radius: 9999px !important;
    color: white !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    display: inline-block !important;
    transition: all 0.3s ease !important;
    margin-bottom: 0 !important;
}

.AB-animated-cta:hover {
    background-color: #b23a68 !important;
    transform: translateY(-3px) !important;
}

.hero-button {
    background-color: white !important;
    color: var(--color-buganvilla) !important;
    padding: 0.75rem 2rem !important;
    border-radius: 9999px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    display: inline-block !important;
    font-size: 1rem !important;
    transition: all 0.3s ease !important;
}

.hero-button:hover {
    background-color: rgba(var(--color-primary-50-rgb, 224, 247, 245), 0.5) !important;
    transform: translateY(-3px) !important;
}

.AB-bg-primary {
    background-color: var(--color-turquesa) !important;
}

.border-cta {
    border-color: var(--color-buganvilla) !important;
}

.text-cta {
    color: var(--color-buganvilla) !important;
}

.hover\:bg-cta:hover {
    background-color: var(--color-buganvilla) !important;
}

.bg-teal-900 {
    background-color: #0b4943 !important;
}

.bg-teal-800 {
    background-color: #064f44 !important;
}

.border-teal-700 {
    border-color: #0a5d52 !important;
}

.border-teal-800 {
    border-color: #064f44 !important;
}

/* ======== LAYOUT Y GRID ESPECÍFICO ======== */
.AB-software-hero {
    /* background: linear-gradient(135deg, var(--color-pradera-claro) 0%, #ffffff 100%); */
    position: relative;
    overflow: hidden;
}

.AB-products-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

@media (min-width: 768px) {
    .AB-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .AB-products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
    }
}

/* ======== TARJETAS DE PRODUCTO ======== */
.AB-product-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 0px 10px 1px rgba(0, 0, 0, 0.1), 0 0px 10px 10px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid var(--color-gray-200);
    display: flex;
    flex-direction: column;
}

.AB-product-card:hover {
    transform: translateY(-0.25rem);
    box-shadow: 0 0px 12px 10px #11b3a260, 0 0px 3px 0 #11b3a260;
}

.AB-product-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-gray-800);
    margin-bottom: 0.75rem;
}

.AB-product-card p {
    color: var(--color-gris-tenue);
    line-height: 1.6;
    font-size: 0.875rem;
    flex-grow: 1;
}

.AB-product-card a {
    margin-top: auto;
}

.AB-product-icon {
    margin-bottom: 1rem;
    color: var(--color-turquesa);
}

/* ======== SECCIÓN DE BENEFICIOS CLAVE ver circulos======== */
.AB-benefits-section {
    background-color: #ffffff;
    padding: 4rem 0;
}

.AB-benefits-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
    text-align: center;
}

@media (min-width: 768px) {
    .AB-benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .AB-benefits-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.AB-benefit-item {
    text-align: center;
}

.AB-benefit-icon {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 0 10px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
}

.AB-benefit-icon i {
    font-size: 2.5rem;
    color: var(--color-turquesa);
}

.AB-benefit-title {
    font-weight: 700;
    color: var(--color-gray-800);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}


/* ======== SECCIONES EXPLICACIONES ALTERNADAS version nueva======== */

/* ===================================================================== */
/* == SECCIÓN EXPLICACIONES (LAYOUT CROQUIS) - CÓDIGO CSS DEFINITIVO  == */
/* ===================================================================== */

/* --- Estilos base de la sección (Conservados) --- */
.AB-feature-section {
    padding: 2rem 0;
}

.AB-bg-light {
    background: linear-gradient(135deg, var(--color-pradera-claro) 0%, #ffffff 100%);
}

/* --- Título de la sección --- */
.AB-section-title-container {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.AB-section-title-container h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-gray-900);
    line-height: 1.2;
}

@media (min-width: 768px) {
    .AB-section-title-container h2 {
        font-size: 2.5rem;
    }
}

/* --- Rejilla de columnas (Flexbox) --- */
.AB-feature-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
    /* CLAVE 2: ALINEAMOS LOS ELEMENTOS AL INICIO, no los estiramos */
    align-items: flex-start;
}

/* Modificador para alternar el orden */
.AB-feature-grid.reverse {
    flex-direction: row-reverse;
}

/* Responsive para móvil */
@media (max-width: 767px) {
    .AB-feature-grid {
        gap: 3rem;
    }

    .AB-feature-grid.reverse {
        flex-direction: column;
    }
}

/* --- Columna de contenido (Texto + CTA) --- */
.AB-feature-content {
    flex: 1;
    min-width: 320px;
    display: flex;
    flex-direction: column;
    /* CLAVE 3: Aseguramos que la columna ocupe la misma altura que la de la imagen */
    height: 100%;
}

.AB-feature-content p {
    color: var(--color-gray-700);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.AB-feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.AB-feature-list li {
    color: var(--color-gray-700);
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.AB-feature-list li::before {
    content: "✓";
    color: var(--color-turquesa);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.AB-cta-wrapper {
    /* CLAVE 4: La magia del 'margin-top: auto' sigue funcionando para empujar el botón al final */
    margin: 0 auto;
    padding-top: 1.5rem;
}

/* --- Columna de la imagen --- */
.AB-feature-image {
    flex: 1;
    min-width: 320px;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.AB-feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ======== SECCIÓN DE BENEFICIOS CLAVE, 3 versiones alternativas======== */

/* --- Estilos para la animación de aparición al hacer scroll  --- */
.AB-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    will-change: opacity, transform;
    /* Optimización para animaciones */
}

.AB-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Estructura de Rejilla Común (para Propuestas 1 y 3) --- */
.AB-benefits-grid-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin: 10px auto 0 auto;
    max-width: var(--container-width, 1180px);
}

@media (min-width: 768px) {
    .AB-benefits-grid-container {
        grid-template-columns: repeat(2, 1fr);
        margin-top: 20px;
    }
}

/* --- UTILIDADES comunes: --- */
/* Efecto de elevación en hover  */
.AB-hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.AB-hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.AB-feature-card .icon-container,
.AB-3d-card .icon-container,
.AB-animated-card .icon-container

/* Añadimos la futura Alt 6 */
    {
    color: #47998d;
    margin-bottom: 1rem;
    max-width: 64px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Propuesta 1: TARJETAS CON BORDE (Versión final) --- */
.AB-feature-card {
    background-color: #f8fbfb;
    border: 1px solid #e0e0e0;
    border-left: 4px solid #47998d;
    padding: 2rem 1.5rem;
    border-radius: 8px;
    height: 100%;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: auto 15px;
}

/* ubtítulos para las tarjetas */
.AB-card-subtitle {
    font-size: 0.875rem;
    color: var(--color-gris-tenue);
    line-height: 1.5;
    margin-top: 0.5rem;
}


.AB-feature-card .AB-h4 {
    margin-top: 1rem;
}

/* --- Propuesta 2: LISTA NUMERADA (Versión final) --- */
.AB-numbered-item-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.AB-numbered-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    border-radius: 12px;
    background-color: #f8fbfb;
    border: 1px solid #eaf0f0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    height: 100%;
    /* MUY IMPORTANTE: Asegura que si un texto ocupa 2 líneas, todas las tarjetas tengan la misma altura */
}

.AB-numbered-item .number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #11b4a3;
    line-height: 1;
}

.AB-numbered-item .text-lg {
    margin-bottom: 0;
}

/* --- Propuesta 3: tarjetas volteadas --- */


.AB-flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s ease;
    transform-style: preserve-3d;
    cursor: pointer;
}

.AB-colorful-item.flipped .AB-flip-card-inner {
    transform: rotateY(180deg);
}

.AB-flip-card-front,
.AB-flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 0.75rem;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.AB-flip-card-front {
    background: #ffffff;
    border: 2px solid var(--color-gris-susurro);
}

.AB-flip-card-back {
    background: linear-gradient(135deg, var(--color-pradera-claro), #ffffff);
    transform: rotateY(180deg);
    border: 2px solid var(--color-turquesa);
}

.AB-flip-card-front .icon-wrapper {
    width: 4rem;
    height: 4rem;
    margin-bottom: 1.5rem;
    background: var(--color-pradera-claro);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.AB-flip-card-front .icon-wrapper svg {
    width: 2rem;
    height: 2rem;
}

.AB-flip-card-front .AB-h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-cervino);
    margin: 0;
}

.AB-flip-card-back .AB-card-description {
    font-size: 1rem;
    color: var(--color-cervino);
    line-height: 1.6;
    text-align: center;
}

.AB-colorful-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background-color: #ffffff;
    padding: 1.25rem;
    border-radius: 12px;
    border: 1px solid #e7e7e7;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: auto 15px;
    min-height: 280px;
    min-width: 300px;

    perspective: 1000px;
    height: 250px;
    margin-bottom: 1rem;
}

.AB-colorful-item .icon-wrapper {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.AB-colorful-item .AB-h4 {
    margin-bottom: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

/* Paleta de colores para Propuesta 3 */


.AB-colorful-item.color-1 .icon-wrapper {
    background-color: rgba(var(--color-verde-pino-rgb), 0.1);
    color: var(--color-verde-pino);
}

.AB-colorful-item.color-2 .icon-wrapper {
    background-color: rgba(var(--color-sky-600-rgb), 0.1);
    color: var(--color-sky-600);
}


.AB-colorful-item.color-3 .icon-wrapper {
    background-color: rgba(var(--color-buganvilla-rgb), 0.1);
    color: var(--color-buganvilla);
}

.AB-colorful-item.color-4 .icon-wrapper {
    background-color: rgba(var(--color-purple-600-rgb), 0.1);
    color: var(--color-purple-600);
}

/* ======== SECCIÓN DE BENEFICIOS CLAVE, versiones extras (4-5-6)======= */

/* --- Alternativa 4: Pestañas Interactivas --- */
.AB-interactive-tabs-container {
    display: grid;
    gap: 3rem;
    align-items: start;
    max-width: var(--container-width, 1180px);
    margin: 40px auto 60px auto; /* Más espacio abajo para equilibrar */
    padding: 2rem;
}

@media (min-width: 768px) {
    .AB-interactive-tabs-container {
        grid-template-columns: 1fr 1.2fr; /* Dos columnas en desktop */
    }
}

@media (max-width: 768px) {
    .AB-interactive-tabs-container {
        grid-template-columns: 1fr;
    }
    .AB-tabs-content {
        height: 350px;
    }
}

.AB-tabs-nav {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.AB-tab-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff;
}

.AB-tab-item:hover {
    background-color: #f8f9fa;
    transform: translateY(-2px);
}

.AB-tab-item.active {
    border-color: var(--color-verde-pino);
    background-color: var(--color-pradera-claro);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.AB-tab-item .icon-container {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-verde-pino);
}

.AB-tab-item .text-content h4 {
    margin: 0 0 0.25rem 0;
    font-size: 1.1rem;
}

.AB-tab-item p {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
}

.AB-tabs-content {
    position: relative;
    border-radius: 12px;
    height: 400px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    min-height: 400px;
    background: #ffffff;
}

.AB-home-tab-pane {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out, transform 0.8s ease-in-out;
    transform: translateY(20px);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.AB-home-tab-pane.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.AB-home-tab-pane img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Estilos para el texto descriptivo debajo de la imagen */
.AB-home-tab-pane-title {
    margin-top: 1rem;
    padding: 1.5rem 2rem; /* Espaciado para el subtítulo */
    background-color: #f8f9fa;
    border-radius: 8px;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--color-gray-700);
    text-align: center;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}




.AB-tabs-nav {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.AB-home-tab-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff;


}

.AB-home-tab-item:hover {
    background-color: #f8fbfb;
    transform: translateY(-3px);
}

.AB-home-tab-item.active {
    border-color: #47998d;
    background-color: #f0fafa;
    box-shadow: 0 4px 15px -3px rgba(71, 153, 141, 0.2);
}

.AB-home-tab-item .icon-container {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    color: #47998d;
}

.AB-home-tab-item .AB-h4 {
    margin: 0 0 0.25rem 0;
    font-size: 1.1rem;
}

.AB-home-tab-item p {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
}

.AB-home-tabs-content {
    position: relative;
    border-radius: 12px;
    height: 400px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    min-height: 400px;
    /* Aumentar altura mínima para incluir texto */
    border-radius: 0.75rem;
    background: #ffffff;
}

.AB-home-tab-pane {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    min-height: 400px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out, transform 0.8s ease-in-out;
    transform: translateY(20px);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.AB-home-tab-pane.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.AB-home-tab-pane img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Estilos para el texto descriptivo debajo de la imagen */
.AB-home-tab-pane-title {
    margin-top: 1rem;
    padding: 2rem 1.5rem; /* Aumentado el espaciado para el subtítulo */
    background-color: #f8f9fa;
    border-radius: 8px;
    font-size: 1rem; /* Aumentado el tamaño de fuente */
    line-height: 1.6; /* Mejorado el interlineado */
    color: var(--color-gray-700);
    text-align: center;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- Alternativa 5: Grid de Tarjetas 3D --- */
.AB-3d-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    perspective: 1000px;
    /* IMPORTANTE: Activa el espacio 3D para los hijos */
}

.AB-3d-card {
    position: relative;
    background-color: #f8fbfb;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 2rem;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    transform-style: preserve-3d;
    /* Permite que los hijos se muevan en 3D */
    overflow: hidden;
    /* Para el efecto de brillo */
}

.AB-3d-card:hover {
    transform: translateZ(20px) rotateX(5deg) rotateY(-5deg);
    box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.2);
}

.AB-3d-card-content {
    text-align: center;
}


/* Efecto de brillo */
.AB-3d-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 70%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: skewX(-25deg);
    transition: left 0.7s ease;
}

.AB-3d-card:hover::before {
    left: 150%;
}

/* Alternativa 6: Tarjetas con Animación de Entrada (en Scroll) */

/* --- Alternativa 6: Tarjetas con Animación de Entrada (en Scroll) --- */

.AB-animated-grid-container {
    display: grid;
    /* Usa auto-fit para que las tarjetas se ajusten automáticamente */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: var(--container-width, 1180px);
    margin: 40px auto;
    perspective: 1200px;
    /* Activa el espacio 3D para la animación de las tarjetas */
}

.AB-animated-card {
    position: relative;
    background-color: #f8fbfb;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 2rem;
    overflow: hidden;
    /* Oculta el brillo hasta que se active */
    transform-style: preserve-3d;

    /* --- ESTADO INICIAL (antes de la animación) --- */
    opacity: 0;
    transform: translateY(40px) rotateX(-15deg);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);

    /* --- TRANSICIÓN con delay progresivo --- */
    /* Una transición más rápida y fluida */
    transition: transform 1s cubic-bezier(0.25, 0.8, 0.25, 1),
        opacity 0.8s ease-out,
        box-shadow 1s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* --- DELAYS PROGRESIVOS PARA EFECTO EN CADENA --- */
.AB-animated-card:nth-child(1) {
    transition-delay: 0ms;
    /* Primera tarjeta: aparece inmediatamente */
}

.AB-animated-card:nth-child(2) {
    transition-delay: 1000ms;
    /* Segunda tarjeta: 1 segundo después */
}

.AB-animated-card:nth-child(3) {
    transition-delay: 2000ms;
    /* Tercera tarjeta: 2 segundos después */
}

.AB-animated-card:nth-child(4) {
    transition-delay: 3000ms;
    /* Cuarta tarjeta: 3 segundos después */
}


/* --- ESTADO FINAL (cuando JS añade la clase .is-in-view) --- */
.AB-animated-card.is-in-view {
    opacity: 1;
    transform: translateY(0) rotateX(0deg);
    box-shadow: 0 15px 25px -5px rgba(0, 0, 0, 0.1);
}

/* --- HOVER SUTIL (después de la animación) --- */
/* Solo se aplica cuando la tarjeta ya es visible */
.AB-animated-card.is-in-view:hover {
    transform: translateY(-6px);
    /* Un ligero levantamiento */
    box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.15);
}

/* --- EFECTO DE BRILLO (se anima una sola vez) --- */
.AB-animated-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 70%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transform: skewX(-25deg);
    transition: left 1s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* El brillo se desliza cuando la tarjeta se vuelve visible */
.AB-animated-card.is-in-view::before {
    left: 150%;
}

/* Contenido interno de la tarjeta */
.AB-animated-card-content {
    text-align: center;
}

/* Estilos comunes del icono (puedes usar la versión unificada sugerida arriba) */
.AB-animated-card .icon-container {
    color: #47998d;
    margin-bottom: 1rem;
    max-width: 64px;
    margin-left: auto;
    margin-right: auto;
}

/* ======== BOTONES OUTLINE para la nueva home y otras======== */
.AB-btn-outline {
    display: inline-block;
    padding: 0.75rem 2rem;
    margin-bottom: 0;
    border: 2px solid var(--color-buganvilla);
    color: var(--color-buganvilla);
    font-weight: 600;
    border-radius: 9999px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.AB-btn-outline:hover {
    background-color: var(--color-buganvilla);
    color: #ffffff;
    transform: translateY(-1px);
}

/* ======== LOGOS DE PLATAFORMAS ======== */
.AB-platforms-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    align-items: center;
    justify-items: center;
    max-width: 24rem;
    margin: 0 auto;
}

.AB-platform-logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.AB-platform-logo img {
    height: 3rem;
    width: auto;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.AB-platform-logo img:hover {
    opacity: 1;
}

.AB-platform-placeholder {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #ffffff;
}

/* ======== SECCIÓN DE PARTNERS PRINCIPALES ======== */
.AB-main-partners {
    background-color: var(--color-gray-50);
    padding: 4rem 0;
    text-align: center;
}

.AB-main-partners h2 {
    /* Estilos base para el título (móvil) */
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-gray-900);
    margin-bottom: 2rem;
    line-height: 1.2;
}

/* Contenedor principal de logos */
.AB-main-partners-logos {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Grid principal para organizar los logos */
.AB-main-partners-grid {
    display: grid;
    align-items: center;
    justify-items: center;
    margin-bottom: 1.5rem;
    /* Estilos base (Mobile First): 2 columnas */
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

/* Estilo individual para cada logo */
.AB-partner-logo {
    /* Estilos base para logos (móvil), como los tenías */
    max-width: 80px;
    max-height: 60px;
    width: 100%;
    /* Usamos 100% para que se ajuste al max-width */
    height: auto;
    object-fit: contain;
    filter: grayscale(80%);
    opacity: 0.8;
    transition: all 0.3s ease;
    padding: 0.5rem;
}

.AB-partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

/* Responsive para tablets y pantallas más grandes */
@media (min-width: 768px) {
    .AB-main-partners h2 {
        /* Se restaura el tamaño de fuente para pantallas más grandes */
        font-size: 2rem;
        margin-bottom: 3rem;
    }

    .AB-main-partners-grid {
        /* 3 columnas como querías para tablets y escritorio */
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
        margin-bottom: 2rem;
    }

    .AB-partner-logo {
        /* Tamaños de logo para tablets y escritorio */
        max-width: 120px;
        max-height: 95px;
    }
}

/* ======== SECCIÓN elemento final CTA resumido ======== */

.cta-final {
    max-width: 800px;
    margin: 65px auto;
    padding: 45px;
    background-image: linear-gradient(to bottom right, rgba(13, 148, 136, 0.05), #fff, rgba(13, 148, 136, 0.1));
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    /* Sintaxis corregida */
}

/* ======== SECCIÓN DE COMPLIANCE ======== */
.AB-compliance-section {

    padding: 3rem 0;
}

.AB-compliance-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
}

.AB-compliance-badge {
    text-align: center;
}

.AB-pci-badge {
    width: 6rem;
    height: 6rem;
    background-color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.25rem;
}

.AB-pci-badge span {
    color: #ffffff;
    font-weight: bold;
    font-size: 0.75rem;
    line-height: 1.2;
    text-align: center;
}

.AB-psd2-badge {
    width: 6rem;
    height: 6rem;
    border: 2px solid var(--color-gray-400);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.AB-psd2-badge span {
    font-weight: bold;
    font-size: 0.75rem;
    line-height: 1.2;
    text-align: center;
    color: var(--color-gray-600);
}



/* ======== ANIMACIONES ======== */
.AB-fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.AB-fade-in.AB-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ======== RESPONSIVE ADICIONAL ======== */
@media (max-width: 767px) {
    .AB-feature-content h2 {
        font-size: 1.75rem;
    }

    .AB-products-grid {
        gap: 1rem;
    }

    .AB-product-card {
        padding: 1.5rem;
    }

    .AB-benefits-grid {
        gap: 1.5rem;
    }

    .AB-feature-grid {
        gap: 2rem;
    }

    .AB-platforms-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .AB-main-partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .AB-compliance-grid {
        gap: 2rem;
    }
}

/* ================================================== */
/* ======== TODOS LOS Responsive & Dark Mode ======== */
/* ================================================= */

/* Animations.css responsive */
@media (max-width: 768px) {
    html {
        font-size: 17px;
    }

    .hero-blob {
        width: 16rem;
        height: 16rem;
    }

    .play-button {
        width: 55px;
        height: 55px;
    }

    .play-icon {
        width: 24px;
        height: 24px;
    }

    /* Ajustar velocidad de transición para móvil */
    .feature-item {
        transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    }
}

/* Animations.css hover override */
@media (hover: none) {
    .feature-item:active {
        transform: translateY(-2px);
        transition: transform 0.2s ease;
    }
}

/* Forms.css responsive */
@media (max-width: 640px) {
    .form-container {
        padding: 1rem;
    }

    .progress-step {
        width: 32px;
        height: 32px;
        font-size: 0.875rem;
    }

    .progress-step-text {
        font-size: 0.625rem;
        bottom: -20px;
    }

    .hbspt-form .hs-fieldtype-intl-phone {
        flex-direction: column;
    }

    .hbspt-form .hs-fieldtype-intl-phone select.hs-input {
        width: 100%;
        margin-right: 0;
        margin-bottom: var(--space-2);
        border-radius: var(--radius-md);
    }

    .hbspt-form .hs-fieldtype-intl-phone input[type="tel"].hs-input {
        border-radius: var(--radius-md);
    }
}

/* Main.css responsive typography */
@media (min-width: 768px) {
    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2.25rem;
    }
}

/* Dark mode variables */
@media (prefers-color-scheme: dark) {
    :root {
        --color-text: var(--color-gray-100);
        --color-text-light: var(--color-gray-300);
        --color-text-lighter: var(--color-gray-500);
        --color-background: var(--color-gray-900);
        --color-surface: var(--color-gray-800);
    }
}

/* Dark mode main.css */
@media (prefers-color-scheme: dark) {

    .card,
    .testimonial-card {
        background: var(--color-surface);
        color: var(--color-text);
    }

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        color: black;
    }

    p {
        color: var(--color-gray-900);
    }
}

/* --- Pasarela de pago Responsive para Móviles --- */
@media (max-width: 768px) {
    .pagos-section-title {
        font-size: 1.5rem;
    }

    .pagos-tabs-container .pagos-tabs-nav {
        flex-direction: column !important;
        gap: 0;
    }

    .pagos-tabs-container {
        border-radius: 0.5rem !important;
        margin: 0 1rem !important;
        max-width: calc(100% - 2rem) !important;
    }

    .pagos-tabs-nav a.pagos-tab-link {
        justify-content: flex-start !important;
        border-bottom: 1px solid var(--color-gray-200) !important;
        border-left: 3px solid transparent !important;
        font-size: 0.80rem !important;
        flex-grow: unset !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Móvil - Pestaña Seguridad - Verde (usando colores de la guía) */
    .pagos-tabs-nav a.pagos-tab-link[href="#seguridad-y-confianza"].activo {
        border-bottom-color: var(--color-gray-200) !important;
        border-left-color: var(--color-turquesa) !important;
        background-color: var(--color-pradera-claro) !important;
    }

    /* Móvil - Pestaña Flexibilidad - Azul Sky */
    .pagos-tabs-nav a.pagos-tab-link[href="#flexibilidad-operativa"].activo {
        border-bottom-color: var(--color-gray-200) !important;
        border-left-color: var(--color-sky-600) !important;
        background-color: var(--color-sky-100) !important;
    }

    /* Móvil - Pestaña Automatización - Morado Purple */
    .pagos-tabs-nav a.pagos-tab-link[href="#automatizacion-financiera"].activo {
        border-bottom-color: var(--color-gray-200) !important;
        border-left-color: var(--color-purple-600) !important;
        background-color: var(--color-purple-100) !important;
    }

    .pagos-tabs-content-wrapper,
    .pagos-tab-content {
        padding: 1.5rem !important;
    }

    .pagos-tab-content.activo {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
}

/* ========== RESPONSIVE TABLETS (769px - 1024px) ========== */
@media (min-width: 769px) and (max-width: 1024px) {
    .pagos-tabs-container {
        margin: 0 2rem !important;
    }

    .pagos-tabs-nav a.pagos-tab-link {
        padding: 1rem 0.75rem !important;
        font-size: 0.95rem !important;
    }

    .pagos-tabs-content-wrapper {
        padding: 2rem !important;
    }
}

/* ----------------------------------------------------------------------------------------- */
/*           FOOTER (UNIFICADO Y CORREGIDO v2  para landings con overrride.css (html puro)   */
/* ----------------------------------------------------------------------------------------- */

/* ======== FOOTER ======== */
.AB-footer-new {
    background-color: #0b4943;
    color: #ffffff;
    padding: 3rem 0 2rem 0;
}

.AB-footer-new-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .AB-footer-new-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .AB-footer-new-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.AB-footer-new h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.AB-footer-new ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.AB-footer-new ul li {
    margin-bottom: 0.75rem;
}

.AB-footer-new ul li a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.AB-footer-new ul li a:hover {
    color: var(--color-turquesa);
}

.AB-footer-new-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.AB-footer-new-social a {
    color: #ffffff;
    font-size: 1.25rem;
    transition: color 0.3s ease;
}

.AB-footer-new-social a:hover {
    color: var(--color-turquesa);
}

.AB-footer-new-copyright {
    border-top: 1px solid #064f44;
    margin-top: 2rem;
    padding-top: 2rem;
    text-align: center;
}

.AB-footer-new-copyright p {
    font-size: 0.875rem;
    margin: 0;
}

.AB-footer-new-copyright a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.AB-footer-new-copyright a:hover {
    color: var(--color-turquesa);
}

.AB-footer-new select {
    background-color: #064f44;
    border: 1px solid #0a5d52;
    border-radius: 0.25rem;
    padding: 0.5rem 0.75rem;
    color: #ffffff;
    margin-bottom: 1rem;
}

/* ========================================================================
   1. ESTRUCTURA DE REJILLA
   ======================================================================== */

/* Para el nuevo footer: que las columnas del grid ocupen el mismo ancho y no floten */
.AB-footer-new .AB-footer-new-grid>.column,
.AB-footer-new .AB-footer-new-grid>div {
    width: 100%;
    float: none;
}

.container:after,
.column.one:after,
.clearfix:after {
    content: "";
    display: table;
    clear: both;
}

/* ========================================================================
   2. UTILIDADES (CLAVE DE LA CORRECCIÓN)
   ======================================================================== */
/* Estas clases son usadas en footer.php y no estaban definidas */
.text-center {
    text-align: center !important;
}

.mt-4 {
    margin-top: 1.5rem !important;
}

.pt-4 {
    padding-top: 1.5rem !important;
}

.mr-2 {
    margin-right: 0.5rem !important;
}

.ml-2 {
    margin-left: 0.5rem !important;
}

/* ========================================================================
   3. ESTILOS GENERALES Y PERSONALIZACIONES
   ======================================================================== */
#Footer {
    border-top: none !important;
}

#Footer h4 {
    font-size: 26px;
    color: #ffffff;
    font-weight: 500;
}

/* Controlamos el tamaño de los logos directamente */
.iconos_portales img {
    /* max-width: 160px; */
    height: auto;
    margin-bottom: 20px;
}

.contenedor_tercio img {
    /* max-width: 90px; */
    height: auto;
    vertical-align: middle;
}

/* Estilos del footer secundario (oscuro) */
.widgets_wrapper_second .container {
    max-width: 100%;
    background-color: #1F1F1F !important;
    zoom: 0.8;
}

.contenedor_secundario {
    max-width: 75%;
    margin-left: 14%;
}

.widgets_wrapper_second .social {
    margin-top: 45px !important;
    justify-content: center !important;
}

.widgets_wrapper_second .social li {
    display: inline-block;
    font-size: 160% !important;
    margin-right: 2% !important;
}

.widgets_wrapper_second .social li a {
    color: #65666C !important;
}

.widgets_wrapper_second ul:nth-of-type(1) li,
.widgets_wrapper_second ul:nth-of-type(2) li {
    font-size: 120%;
    margin: 0 0 8px 0;
}

/* Área de copyright y otros */
#Footer .footer_copy .column.one-second {
    margin: 10px 0;
    float: none;
    display: inline-block;
    vertical-align: bottom;
    width: 40%;
}

#Footer .footer_copy .one {
    padding-top: 15px;
    margin-bottom: 10px;
}

.footer-copy-center #Footer .footer_copy .copyright {
    font-size: 14px;
    margin: 0;
    font-family: "Raleway";
}

#Footer .financiadapor {
    text-align: left;
}

#Footer .financiadapor p {
    font-size: 12px;
    padding: 0;
    margin: 0;
}

#Footer .financiadapor img {
    max-height: 68px;
}

#Footer .financiadapor.derecha {
    text-align: right;
}

/* ========================================================================
   ESTILOS ADICIONALES NECESARIOS PARA EL FOOTER
   ======================================================================== */

/* Widgets wrapper principal */
.widgets_wrapper {
    background-color: #0b4943 !important;
    padding: 2rem 0 !important;
}

.widgets_wrapper .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Estilos para el footer_copy */
.footer_copy {
    background-color: #0b4943 !important;
    padding: 1rem 0 !important;
    color: #ffffff !important;
}

.footer_copy .copyright {
    color: #ffffff !important;
}

.footer_copy .copyright a {
    color: #ffffff !important;
    text-decoration: none;
}

.footer_copy .copyright a:hover {
    color: #11b4a3 !important;
}

/* Redes sociales */
.social {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    /* display: flex !important; */
    gap: 1rem !important;
}

.social li {
    list-style: none !important;
}

.social li a {
    color: #ffffff !important;
    font-size: 1.5rem !important;
    text-decoration: none !important;
}

.social li a:hover {
    color: #11b4a3 !important;
}

/* Banderitas */
.banderitas {
    display: flex !important;
    gap: 0.5rem !important;
    margin-top: 1rem !important;
}

.banderitas a img {
    max-width: 24px !important;
    height: auto !important;
}

/* Utilidades adicionales para el footer */
.hidden-xs {
    display: block !important;
}

.visible-xs {
    display: none !important;
}

.p-y-0 {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.p-y-1 {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
}

.m-b-1 {
    margin-bottom: 0.5rem !important;
}

.m-t-1 {
    margin-top: 0.5rem !important;
}

.m-r-1 {
    margin-right: 0.5rem !important;
}

.m-x-3 {
    margin-left: 1rem !important;
    margin-right: 1rem !important;
}

.mb-0 {
    margin-bottom: 0 !important;
}

.mb-3 {
    margin-bottom: 1rem !important;
}

.white {
    color: #ffffff !important;
}

/* Widget wrapper secundario */
.widgets_wrapper_second {
    background-color: #1F1F1F !important;
    padding: 2rem 0 !important;
}

.widgets_wrapper_second h4 {
    color: #ffffff !important;
    font-size: 1.2rem !important;
    margin-bottom: 1rem !important;
}

.widgets_wrapper_second ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.widgets_wrapper_second ul li {
    margin-bottom: 0.5rem !important;
}

.widgets_wrapper_second ul li a {
    color: #ffffff !important;
    text-decoration: none !important;
}

.widgets_wrapper_second ul li a:hover {
    color: #11b4a3 !important;
}

/* Kit Digital footer */
.widgets_wrapper_kit {
    background-color: #f8f9fa !important;
    padding: 1rem 0 !important;
    text-align: center !important;
}

.widgets_wrapper_kit p {
    margin: 0 0 1rem 0 !important;
    color: #6c757d !important;
}

.widgets_wrapper_kit img {
    max-height: 60px !important;
    height: auto !important;
}

/* Responsive */
@media (max-width: 767px) {
    .hidden-xs {
        display: none !important;
    }

    .visible-xs {
        display: block !important;
    }

    .widgets_wrapper,
    .widgets_wrapper_second {
        padding: 1rem 0 !important;
    }

    .column.one-second {
        width: 100% !important;
        margin-bottom: 1rem !important;
    }
}

/* ========================================================================
   4. LAYOUT FULL-WIDTH Y MÓVIL
   ======================================================================== */
.layout-full-width .mcb-column-inner {
    padding: 0;
}

.layout-full-width #Header .container {
    max-width: 1230px !important;
}

.layout-full-width #Footer .widgets_wrapper .container {
    max-width: 74% !important;
}

.layout-full-width #Footer img:not([src$=".svg"]) {
    width: 65%;
}

.layout-full-width #Footer .column.three-fifth img:not([src$=".svg"]) {
    width: 20%;
    display: inline;
}

.layout-full-width #Footer .widgets_wrapper_second .column.three-fifth img:not([src$=".svg"]) {
    width: 35%;
}

.layout-full-width #Footer .banderitas {
    display: flex;
    justify-content: center;
}

/* Móvil */
.widgets_wrapper ul li:not(:last-child) {
    border-bottom: 0.25px solid rgba(128, 128, 128, 0.25);
}

.widgets_wrapper ul li a {
    display: block;
}

#Footer .banderitas a img {
    max-width: 24px !important;
}

/* Wrappers */
@media only screen and (max-width: 767px) {

    .content_wrapper .section_wrapper,
    .container,
    .four.columns .widget-area {
        max-width: 700px !important;
        padding-left: 0;
        padding-right: 0;
    }

    #Subheader {
        display: none;
    }

    .video-wrapper {
        display: none;
    }
}

/* Botones */
.bg-cta {
    --tw-bg-opacity: 1;
    background-color: rgb(206 38 118 / var(--tw-bg-opacity, 1));
}

/* RESPONSIVE PARA ALTERNATIVA 4 - PESTAÑAS INTERACTIVAS */
@media (max-width: 768px) {
    .AB-home-interactive-tabs-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1rem;
    }

    .AB-home-tabs-content {
        height: 350px;
    }

    .AB-tab-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

/* ==========================================================*/
/* ======== ESTILOS NUEVO FOOTER v3 septiembre 2025======== */
/* ========================================================*/

/* cabecera del footer logo y selector idiomas */
.AB-top-footer-new {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 35px;
}

/****** Estilos para el selector de idioma ********/
.language-switcher-new {
    position: relative;
    display: inline-block;
}

.lang-selector-active a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.lang-selector-active a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.lang-selector-active i {
    font-size: 12px;
    transition: transform 0.3s;
}

.language-switcher-new.open .lang-selector-active i {
    transform: rotate(180deg);
}



/* --- Columna 4: Banderas, logo y redes --- */
.footer-top-right {
    display: flex;
    justify-content: center;
    margin-top: -30px;
    align-items: center;
    margin-bottom: 20px;
}

.footer-sales-contact {
    margin-bottom: 8px;
    text-align: center;
}


/* Ajuste para la cuarta columna */


.language-switcher a {
    margin-left: 8px;
}

.language-switcher img {
    width: 24px;
    height: auto;
}

.footer-logo {
    max-width: 240px !important;
    
}

.social-icons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.social-icons a {
    font-size: 20px;
}

/* --- Ajuste de ancho para columnas 3 y 4 --- */
.footer-col-3 {
    width: 20%;
}

.footer-col-4 {
    width: 30%;
    display: flex;
    flex-direction: column;
    align-items: center; /* Centra horizontalmente el contenido de la columna */
    text-align: center; /* Asegura que el texto dentro también se centre */
}

/* --- Estilos para el nuevo selector de idiomas --- */
.footer-top-right .language-switcher-new {
    position: relative !important;
    margin: 15px 0 !important;
    min-width: 150px !important;
    display: block !important;
    overflow: visible !important;
}

.footer-top-right {
    overflow: visible !important;
}

.footer-top-right .lang-selector-active .lang-selector-toggle {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 8px 12px !important;
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    color: #fff !important;
    text-decoration: none !important;
    gap: 8px !important;
    background-color: transparent !important;
}

.footer-top-right .lang-selector-active .lang-selector-toggle:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
}

.footer-top-right .lang-selector-active .lang-selector-toggle img {
    width: 18px !important;
    height: auto !important;
}

.footer-top-right .lang-selector-active .lang-selector-toggle .fa-chevron-down {
    margin-left: auto !important;
    font-size: 12px !important;
    transition: transform 0.3s ease !important;
}

.footer-top-right .language-switcher-new.open .lang-selector-toggle .fa-chevron-down {
    transform: rotate(180deg) !important;
}

.footer-top-right .lang-selector-dropdown {
    display: none !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    background-color: #0b4943 !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 4px !important;
    list-style: none !important;
    margin: 5px 0 0 !important;
    padding: 0 !important;
    z-index: 99999 !important;
    min-width: 150px !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3) !important;
    overflow: visible !important;
}

.footer-top-right .language-switcher-new.open .lang-selector-dropdown {
    display: block !important;
}

.footer-top-right .lang-selector-dropdown li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.footer-top-right .lang-selector-dropdown li a {
    display: flex !important;
    align-items: center !important;
    padding: 8px 16px !important;
    color: #fff !important;
    text-decoration: none !important;
    gap: 8px !important;
    white-space: nowrap !important;
}

.footer-top-right .lang-selector-dropdown li a:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
}

.footer-top-right .lang-selector-dropdown li a img {
    width: 18px !important;
    height: auto !important;
}


/* --- Footer Bottom --- */
.AB-footer-new-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
    text-align: center;
    font-size: 13px;
}

.AB-footer-new-bottom .copyright {
    margin-right: 15px;
}

.AB-footer-new-bottom a {
    margin: 0 10px;
}

/* Grid del nuevo footer: 1, 2 y 4 columnas */
.AB-footer-new-v3 .AB-footer-new-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
}

@media (min-width: 768px) {
    .AB-footer-new-v3 .AB-footer-new-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (min-width: 1024px) {
    .AB-footer-new-v3 .AB-footer-new-grid {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}

/* Forzar el grid del nuevo footer para que siempre muestre 4 columnas en desktop */
.AB-footer-new-v3 .AB-footer-new-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
}

@media (min-width: 768px) {
    .AB-footer-new-v3 .AB-footer-new-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (min-width: 1024px) {
    .AB-footer-new-v3 .AB-footer-new-grid {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}


/* ======== ESTILOS NUEVO FOOTER ======== */

.AB-colum-footer-new-4 {
    text-align: center;
    padding-left: 20px;
    padding-right: 20px;
}


.AB-footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9em;
    margin-top: 30px;
}


.AB-footer-bottom a {
    margin-left: 20px; /* Espacio entre los enlaces de texto legal */
}

/* ===================================================================== */
/* ESTILOS ESPECÍFICOS PARA EL NUEVO FOOTER V3 CON DROPDOWN DE IDIOMAS */
/* ===================================================================== */

/* Estilos base para AB-footer-new-v3 */
.AB-footer-new-v3 {
    background-color: #0b4943; /* Verde oscuro de fondo */
    color: #fff;
   
}

.AB-footer-new-v3 .AB-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.AB-footer-new-v3 h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: none;
    color: #fff;
}

.AB-footer-new-v3 ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.AB-footer-new-v3 ul li {
    margin-bottom: 12px;
}

.AB-footer-new-v3 a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.AB-footer-new-v3 a:hover {
    color: var(--color-turquesa);
}

/* Grid específico para AB-footer-new-v3 */
.AB-footer-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
}

@media (min-width: 768px) {
    .AB-footer-new-v3 .AB-footer-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (min-width: 1024px) {
    .AB-footer-new-v3 .AB-footer-grid {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}

/* Estilos específicos para el selector de idiomas con dropdown */
.AB-footer-new-v3 .language-switcher-new {
    position: relative !important;
    display: inline-block !important;
    margin-bottom: 16px;
}

.AB-footer-new-v3 .lang-selector-active {
    position: relative !important;
}

.AB-footer-new-v3 .lang-selector-toggle {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 8px 12px !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    transition: background-color 0.3s !important;
    text-decoration: none !important;
    color: #fff !important;
}

.AB-footer-new-v3 .lang-selector-toggle:hover {
    background: rgba(255, 255, 255, 0.2) !important;
}

.AB-footer-new-v3 .lang-selector-toggle img {
    width: 18px !important;
    height: 12px !important;
    border-radius: 2px !important;
}

.AB-footer-new-v3 .lang-selector-toggle span {
    font-size: 14px !important;
    font-weight: 500 !important;
}

.AB-footer-new-v3 .lang-selector-toggle i {
    font-size: 12px !important;
    transition: transform 0.3s !important;
}

.AB-footer-new-v3 .language-switcher-new.open .lang-selector-toggle i {
    transform: rotate(180deg) !important;
}

.AB-footer-new-v3 .lang-selector-dropdown {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    min-width: 150px !important;
    background: #fff !important;
    border-radius: 6px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(-10px) !important;
    transition: all 0.3s ease !important;
    z-index: 99999 !important;
    list-style: none !important;
    padding: 8px 0 !important;
    margin: 4px 0 0 0 !important;
    display: block !important;
}

.AB-footer-new-v3 .language-switcher-new.open .lang-selector-dropdown {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    display: block !important;
}

.AB-footer-new-v3 .lang-selector-dropdown li {
    margin: 0 !important;
    padding: 0 !important;
}

.AB-footer-new-v3 .lang-selector-dropdown a {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 8px 16px !important;
    color: #333 !important;
    text-decoration: none !important;
    transition: background-color 0.3s !important;
}

.AB-footer-new-v3 .lang-selector-dropdown a:hover {
    background: #f5f5f5 !important;
    color: #333 !important;
}

.AB-footer-new-v3 .lang-selector-dropdown img {
    width: 18px !important;
    height: 12px !important;
    border-radius: 2px !important;
}

.AB-footer-new-v3 .lang-selector-dropdown span {
    font-size: 14px !important;
    font-weight: 500 !important;
}
