/* =========================================================
   QBIT FOOTER
   ========================================================= */

.qbit-footer {
    margin-top: 50px;
    background: #fff;
    color: #44515e;
}

/* =========================================================
   CONTENIDO PRINCIPAL
   ========================================================= */

.qbit-footer-main {
    padding: 48px 0 40px;
    border-top: 1px solid #dce4ec;
    background: #f8fafc;
}

.qbit-footer .container-xxl {
    width: 100%;
    max-width: 1360px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

.qbit-footer-grid {
    display: grid;
    grid-template-columns:
        minmax(250px, 1.35fr)
        minmax(150px, .75fr)
        minmax(190px, .95fr)
        minmax(260px, 1.1fr);
    gap: 52px;
}

/* =========================================================
   MARCA
   ========================================================= */

.qbit-footer-logo {
    display: inline-block;
    margin-bottom: 17px;
}

.qbit-footer-logo img {
    display: block;
    width: 205px;
    height: auto;
}

.qbit-footer-description {
    max-width: 300px;
    margin: 0 0 21px;
    color: #667482;
    font-size: 13px;
    line-height: 1.6;
}

.qbit-footer-brand-links {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.qbit-footer-brand-links a {
    width: fit-content;
    color: #48647f;
    font-size: 12px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.qbit-footer-brand-links svg {
    width: 17px;
    height: 17px;
}

.qbit-footer-brand-links a:hover {
    color: #0872cf;
}

/* =========================================================
   SECCIONES
   ========================================================= */

.qbit-footer-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.qbit-footer-section h2 {
    margin: 3px 0 16px;
    color: #173b63;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 650;
}

.qbit-footer-section > a:not(.qbit-footer-whatsapp) {
    position: relative;
    margin-bottom: 9px;
    color: #5a6876;
    font-size: 12.5px;
    line-height: 1.35;
    text-decoration: none;
}

.qbit-footer-section > a:not(.qbit-footer-whatsapp)::before {
    position: absolute;
    top: 50%;
    left: -10px;
    width: 3px;
    height: 0;
    border-radius: 2px;
    background: #08aee8;
    content: "";
    transform: translateY(-50%);
    transition: height .12s ease;
}

.qbit-footer-section > a:not(.qbit-footer-whatsapp):hover {
    color: #0872cf;
}

.qbit-footer-section > a:not(.qbit-footer-whatsapp):hover::before {
    height: 15px;
}

/* =========================================================
   ATENCIÓN
   ========================================================= */

.qbit-footer-contact-row {
    width: 100%;
    padding: 8px 0;
    border-bottom: 1px solid #e7ecf1;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 11.5px;
}

.qbit-footer-contact-row > span {
    color: #88939e;
}

.qbit-footer-contact-row a {
    color: #0872cf;
    text-decoration: none;
    text-align: right;
}

.qbit-footer-contact-row a:hover {
    color: #697582;
}

.qbit-footer-email-row {
    flex-direction: column;
    gap: 3px;
}

.qbit-footer-email-row a {
    text-align: left;
}

/* =========================================================
   HORARIO
   ========================================================= */

.qbit-footer-hours {
    margin-top: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.qbit-footer-hours-icon {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border-radius: 50%;
    background: #edf6ff;
    color: #0872cf;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qbit-footer-hours-icon svg {
    width: 18px;
    height: 18px;
}

.qbit-footer-hours strong,
.qbit-footer-hours small {
    display: block;
}

.qbit-footer-hours strong {
    margin-bottom: 2px;
    color: #40505f;
    font-size: 11.5px;
    font-weight: 600;
}

.qbit-footer-hours small {
    color: #7f8b96;
    font-size: 10.5px;
}

/* =========================================================
   WHATSAPP
   ========================================================= */

.qbit-footer-whatsapp {
    width: 100%;
    min-height: 39px;
    margin-top: 17px;
    padding: 8px 12px;
    border: 1px solid #cbd7e2;
    border-radius: 6px;
    background: #fff;
    color: #0872cf;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 11.5px;
    font-weight: 600;
    text-decoration: none;
}

.qbit-footer-whatsapp:hover {
    border-color: #aebdca;
    background: #f2f5f8;
    color: #697582;
}

/* =========================================================
   ACCESOS DIRECTOS
   ========================================================= */

.qbit-footer-shortcuts {
    border-top: 1px solid #e1e7ed;
    border-bottom: 1px solid #e1e7ed;
    background: #fff;
}

.qbit-footer-shortcuts-inner {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.qbit-footer-shortcuts-inner > a {
    min-height: 74px;
    padding: 14px 22px;
    border-right: 1px solid #e8edf2;
    color: #405264;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.qbit-footer-shortcuts-inner > a:first-child {
    border-left: 1px solid #e8edf2;
}

.qbit-footer-shortcuts-inner > a:hover {
    background: #f7f9fb;
    color: #0872cf;
}

.qbit-footer-shortcut-icon {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    border-radius: 8px;
    background: #edf6ff;
    color: #0872cf;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qbit-footer-shortcut-icon svg {
    width: 20px;
    height: 20px;
}

.qbit-footer-shortcuts strong,
.qbit-footer-shortcuts small {
    display: block;
}

.qbit-footer-shortcuts strong {
    margin-bottom: 2px;
    font-size: 12px;
    font-weight: 600;
}

.qbit-footer-shortcuts small {
    color: #89949e;
    font-size: 10.5px;
}

/* =========================================================
   PARTE INFERIOR
   ========================================================= */

.qbit-footer-bottom {
    padding: 18px 0;
    background: #07346f;
    color: rgba(255,255,255,.72);
    font-size: 10.5px;
}

.qbit-footer-bottom-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.qbit-footer-copyright {
    color: #fff;
    font-weight: 500;
}

.qbit-footer-native-info {
    text-align: right;
}

.qbit-footer-native-info a,
.qbit-footer-legal a {
    color: #a9dcff;
}

.qbit-footer-legal {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255,255,255,.12);
    color: rgba(255,255,255,.64);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 991.98px) {

    .qbit-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 35px 45px;
    }

    .qbit-footer-shortcuts-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {

    .qbit-footer-main {
        padding: 34px 0 28px;
    }

    .qbit-footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .qbit-footer-shortcuts-inner {
        grid-template-columns: 1fr;
    }

    .qbit-footer-shortcuts-inner > a,
    .qbit-footer-shortcuts-inner > a:first-child {
        border-left: 0;
        border-right: 0;
        border-bottom: 1px solid #e8edf2;
    }

    .qbit-footer-bottom-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .qbit-footer-native-info {
        text-align: left;
    }
}

/* QBIT VISUAL 3.3 START */

/* =========================================================
   FOOTER MÁS COMPACTO
   ========================================================= */

.qbit-footer {
    margin-top: 34px;
}

.qbit-footer-main {
    padding-top: 34px;
    padding-bottom: 30px;
}

.qbit-footer-grid {
    grid-template-columns:
        minmax(220px, 1.15fr)
        minmax(145px, .72fr)
        minmax(180px, .88fr)
        minmax(245px, 1.05fr);

    gap: 38px;
}

/* Logo más contenido */

.qbit-footer-logo {
    margin-bottom: 13px;
}

.qbit-footer-logo img {
    width: 165px;
}

.qbit-footer-description {
    max-width: 275px;
    margin-bottom: 16px;
    font-size: 12.5px;
}

/* Secciones más compactas */

.qbit-footer-section h2 {
    margin-bottom: 13px;
}

.qbit-footer-section > a:not(.qbit-footer-whatsapp) {
    margin-bottom: 7px;
    font-size: 12px;
}

/* Atención */

.qbit-footer-contact-row {
    padding-top: 6px;
    padding-bottom: 6px;
}

.qbit-footer-hours {
    margin-top: 11px;
}

.qbit-footer-whatsapp {
    margin-top: 12px;
}

/* Accesos inferiores un poco menores */

.qbit-footer-shortcuts-inner > a {
    min-height: 64px;
    padding-top: 11px;
    padding-bottom: 11px;
}

.qbit-footer-shortcut-icon {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
}

/* Parte inferior */

.qbit-footer-bottom {
    padding-top: 13px;
    padding-bottom: 13px;
}

.qbit-footer-bottom-row {
    min-height: 20px;
}

.qbit-footer-native-info {
    display: none;
}

/* QBIT VISUAL 3.3 END */


/* QBIT FOOTER TYPOGRAPHY 4.33B START */
/* =========================================================
   ESCALA TIPOGRAFICA FOOTER QBIT
   Conserva layout. Solo mejora legibilidad.
   ========================================================= */


/* ---------------------------------------------------------
   MARCA
   --------------------------------------------------------- */

.qbit-footer-description {
    font-size: 14px !important;
    line-height: 1.6 !important;
}

.qbit-footer-brand-links a {
    font-size: 13.5px !important;
    line-height: 19px !important;
}


/* ---------------------------------------------------------
   SECCIONES
   --------------------------------------------------------- */

.qbit-footer-section h2 {
    font-size: 15px !important;
    line-height: 20px !important;
    font-weight: 650 !important;
}

.qbit-footer-section > a:not(.qbit-footer-whatsapp) {
    font-size: 14px !important;
    line-height: 20px !important;
}


/* ---------------------------------------------------------
   ATENCION
   --------------------------------------------------------- */

.qbit-footer-contact-row {
    font-size: 13.5px !important;
    line-height: 19px !important;
}

.qbit-footer-contact-row > span,
.qbit-footer-contact-row a {
    font-size: inherit !important;
    line-height: inherit !important;
}


/* ---------------------------------------------------------
   HORARIO
   --------------------------------------------------------- */

.qbit-footer-hours strong {
    font-size: 13.5px !important;
    line-height: 18px !important;
    font-weight: 600 !important;
}

.qbit-footer-hours small {
    font-size: 12.5px !important;
    line-height: 17px !important;
}


/* ---------------------------------------------------------
   WHATSAPP
   --------------------------------------------------------- */

.qbit-footer-whatsapp {
    font-size: 13.5px !important;
    line-height: 19px !important;
    font-weight: 600 !important;
}


/* ---------------------------------------------------------
   ACCESOS DIRECTOS
   --------------------------------------------------------- */

.qbit-footer-shortcuts strong {
    font-size: 14px !important;
    line-height: 19px !important;
    font-weight: 600 !important;
}

.qbit-footer-shortcuts small {
    font-size: 12.5px !important;
    line-height: 17px !important;
}


/* ---------------------------------------------------------
   PARTE INFERIOR / COPYRIGHT / LEGAL
   --------------------------------------------------------- */

.qbit-footer-bottom {
    font-size: 12.5px !important;
    line-height: 18px !important;
}

.qbit-footer-copyright,
.qbit-footer-legal {
    font-size: 12.5px !important;
    line-height: 18px !important;
}


/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 575.98px) {

    .qbit-footer-section h2 {
        font-size: 15px !important;
    }

    .qbit-footer-section > a:not(.qbit-footer-whatsapp),
    .qbit-footer-description {
        font-size: 14px !important;
    }

    .qbit-footer-contact-row,
    .qbit-footer-whatsapp {
        font-size: 13.5px !important;
    }

    .qbit-footer-shortcuts strong {
        font-size: 14px !important;
    }

    .qbit-footer-shortcuts small,
    .qbit-footer-hours small,
    .qbit-footer-bottom {
        font-size: 12.5px !important;
    }

}

/* QBIT FOOTER TYPOGRAPHY 4.33B END */


/* QBIT ICONS FOOTER 4.34A START */

.qbit-footer-brand-links svg {
    width: 19px !important;
    height: 19px !important;
}

.qbit-footer-hours-icon {
    width: 38px !important;
    height: 38px !important;
    flex: 0 0 38px !important;
}

.qbit-footer-hours-icon svg {
    width: 20px !important;
    height: 20px !important;
}

.qbit-footer-shortcut-icon {
    width: 40px !important;
    height: 40px !important;
    flex: 0 0 40px !important;
}

.qbit-footer-shortcut-icon svg {
    width: 22px !important;
    height: 22px !important;
}

/* QBIT ICONS FOOTER 4.34A END */
