﻿@media (min-width: 768px) {
    .fintech-footer {
        left: 80px !important;
        width: calc(100vw - 80px) !important;
        max-width: calc(100vw - 80px) !important;
    }

    .fintech-footer-doc {
/*        left: 80px !important;
        width: calc(100vw - 80px) !important;
        max-width: calc(100vw - 80px) !important;*/
    }

    .fintech-subfooter {
        bottom: 0px !important;
        left: 80px !important;
        width: calc(100vw - 80px) !important;
        max-width: calc(100vw - 80px) !important;
        
    }

    .fintech-subfooter__container {
        display: flex;
        width: 100%;
        padding: 10px 10px!important;
    }
}

.fintech-footer,
.fintech-footer * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.fintech-footer {
    position: fixed;
    left: 0;
    bottom: -1px;
    width: 100vw;
    max-width: 100vw;
    height: 64px;
    background-color: #ffffff;
    border-top: 1px solid #e5e7eb;
    border-bottom: none;
    z-index: 9999;
    z-index: 1030;
}

.fintech-footer {
    padding-bottom: env(safe-area-inset-bottom);
}

.fintech-footer__nav {
    display: flex;
    width: 100%;
    max-width: 100%;
    height: 100%;
    overflow: hidden; /* ← añade esto */
}

.fintech-footer__item {
    flex: 1 1 0%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #0f172a;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.2px;
    text-align: center;
}

.fintech-footer__icon {
    width: 23px;
    height: 23px;
    margin-bottom: 4px;
}

.fintech-footer__item.active {
    color: #0f172a;
}

@media (hover: hover) {
    .fintech-footer__item:hover {
        background-color: #f8fafc;
    }
}

body {
    /*padding-bottom: 64px;*/
    padding-bottom: calc(64px + 40px);
}



/*(external)*/
.fintech-footer-doc,
.fintech-footer-doc * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.fintech-footer-doc {
    position: fixed;
    left: 0;
    bottom: -1px;
    width: 100vw;
    max-width: 100vw;
    height: 64px;
    background-color: #ffffff;
    border-top: 1px solid #e5e7eb;
    border-bottom: none;
    z-index: 9999;
    z-index: 1030;
}

.fintech-footer-doc {
    padding-bottom: env(safe-area-inset-bottom);
}



/* ========================================
   BOTÓN CENTRAL TIPO TIKTOK
   ======================================== */
.fintech-footer__item--primary {
    position: relative;
    flex: 0 0 70px; /* ancho fijo del botón central */
    display: flex;
    align-items: center;
    justify-content: center;
}

    /* círculo */
    .fintech-footer__item--primary::before {
        content: "";
        position: absolute;
        width: 58px;
        height: 58px;
        background: #0f172a;
        border-radius: 50%;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        box-shadow: 0 6px 18px rgba(0,0,0,0.25);
        z-index: 1;
    }

    /* icono */
    .fintech-footer__item--primary .fintech-footer__icon {
        width: 26px;
        height: 26px;
        margin: 0;
        position: relative;
        z-index: 2;
        filter: brightness(0) invert(1);
    }

    /* evitar hover blanco */
    .fintech-footer__item--primary:hover {
        background: transparent !important;
    }



/* ============================
   SUB FOOTER (TOTALES)
   ============================ */
.fintech-subfooter {
    position: fixed;
    left: 0;
    bottom: 64px;
    /*bottom: 0px;*/
    width: 100vw;
    background: #1e293b;
    color: white;
    border-top: 1px solid #334155;
    z-index: 9998;
    z-index: 1030;
}

.fintech-subfooter__container {
    display: flex;
    width: 100%;
    padding: 10px 0; /* quitamos padding lateral para ocupar TODO */
}

.fintech-subfooter__item {
    flex: 1 1 0%;
    min-width: 0;
    text-align: right; /* 🔥 CAMBIO IMPORTANTE */
    font-family: 'Inter', system-ui, sans-serif;
    padding: 0px 10px;
    border-right: 1px solid #334155;
}

    .fintech-subfooter__item:last-child {
        border-right: none;
    }

    .fintech-subfooter__item small {
        display: block;
        font-size: 11px;
        opacity: 0.75;
        font-weight: 400;
        margin-bottom: 2px;
    }

    .fintech-subfooter__item strong {
        font-size: 18px; /* 🔥 MÁS GRANDE */
        font-weight: 700;
    }

@media (max-width: 768px) {
    .hideInMobile {
        display: none;
    }
}
