html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}



/* Estilos base */
body {
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
    /*margin-bottom: 60px;*/
}

/* Mega Menu Logic */
/*.mega-menu {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) translateX(-50%);
    transition: all 0.3s ease;
    pointer-events: none;
}

.group:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) translateX(-50%);
    pointer-events: auto;
}*/

/* Mega Menu Logic */
.mega-menu {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.group:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* Full-width mega menus */
.mega-menu-full {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    top: auto !important;
}

.group:hover .mega-menu-full {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* Menu Item Hover Effects */
.menu-item-hover {
    position: relative;
    transition: all 0.2s ease;
}

    .menu-item-hover::after {
        content: '';
        position: absolute;
        bottom: -2px;
        left: 0;
        width: 0;
        height: 2px;
        background: linear-gradient(90deg, #0018CD, #00D4AA);
        transition: width 0.3s ease;
    }

    .menu-item-hover:hover::after {
        width: 100%;
    }

/* Submenu Item Hover */
.submenu-item {
    transition: all 0.2s ease;
    border-radius: 12px;
}

    .submenu-item:hover {
        background: linear-gradient(135deg, rgba(0, 24, 205, 0.05) 0%, rgba(0, 212, 170, 0.05) 100%);
        transform: translateX(4px);
    }

        .submenu-item:hover .submenu-icon {
            background: linear-gradient(135deg, #0018CD 0%, #00D4AA 100%);
            color: white;
            transform: scale(1.1);
        }

/* Icon Container */
.submenu-icon {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Language Menu */
.lang-menu {
    display: none;
}

.group:hover .lang-menu {
    display: block;
}

/* Promo Card Gradient */
.promo-gradient {
    background: linear-gradient(135deg, #14193D 0%, #0018CD 50%, #00D4AA 100%);
}

/* Custom Scrollbar for Mobile Menu */
.custom-scroll::-webkit-scrollbar {
    width: 4px;
}

.custom-scroll::-webkit-scrollbar-track {
    background: #f1f5f9;
}

.custom-scroll::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 2px;
}

/* Mobile Accordion */
.mobile-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
}

    .mobile-accordion-content.open {
        max-height: 1000px;
    }

.mobile-accordion-icon {
    transition: transform 0.3s ease;
}

.mobile-accordion-btn.active .mobile-accordion-icon {
    transform: rotate(180deg);
}

/* Glassmorphism effect for navbar */
.nav-glass {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* Badge pulse animation */
.badge-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: .7;
    }
}






/* Efecto de Marketing Card */
.marketing-card-gradient {
    background: linear-gradient(135deg, #14193D 0%, #0018CD 100%);
}


/* Utilidades JS */
.hidden-custom {
    display: none;
}

/* Tabs AML */
.tab-active {
    background-color: white;
    border-color: white;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transform: scale(1.05);
    z-index: 10;
}

.tab-inactive {
    background-color: rgba(255, 255, 255, 0.5);
    border-color: transparent;
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Accordion FAQ */
.accordion-content {
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
}

.accordion-content.open {
    max-height: 200px;
    opacity: 1;
}

/* Language Menu */
.lang-menu {
    display: none;
}

.group:hover .lang-menu {
    display: block;
}

/* Estilos críticos para el Ticker JS */
.ticker-container {
    overflow-x: hidden; /* Ocultar barra de scroll nativa */
    overflow-y: hidden;
    white-space: nowrap;
    position: relative;
    cursor: grab; /* Manita abierta para indicar interactividad */
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
}

.ticker-container:active {
    cursor: grabbing; /* Manita cerrada al agarrar */
}

.ticker-track {
    display: inline-flex;
    gap: 2rem; /* Espaciado entre tarjetas */
    /* IMPORTANTE: No usar animation CSS aquí para evitar conflicto con JS */
}


<!-- SCRIPT DE TABS -->
.active-tab {
    background-color: #eff6ff; /* bg-blue-50 */
    border-left-color: #2563eb; /* border-blue-600 */
}

/* Utilidad para ocultar scrollbar manteniendo funcionalidad */
.hide-scroll::-webkit-scrollbar {
    display: none;
}

.hide-scroll {
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}

/* Animación de desplazamiento infinito */
@keyframes logo-marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.animate-logo-marquee {
    animation: logo-marquee 40s linear infinite;
}

/* Pausar animación al pasar el mouse */
.group:hover .animate-logo-marquee {
    animation-play-state: paused;
}

/* Degradado lateral para efecto de desvanecimiento */
.fade-mask {
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.glass-panel {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.bg-grid-pattern {
    background-image: linear-gradient(to right, rgba(20, 25, 61, 0.05) 1px, transparent 1px), linear-gradient(to bottom, rgba(20, 25, 61, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
}