/* ============================================================
   SITE FOOTER (BIVACO AGENCY FOOTER)
============================================================ */
.site-footer-agency {
    position: relative;
    background: #061126;
    color: #a0aec0;
    font-family: inherit;
    overflow: hidden;
}

.footer-top-main {
    padding: 60px 0 50px 0;
    position: relative;
    z-index: 2;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2.2fr 1fr 1.2fr 1.2fr 1fr 1.8fr;
    gap: 30px;
}

/* Col 1: Brand */
.footer-col-brand {
    position: relative;
}

.footer-logo {
    margin-bottom: 16px;
}

.brand-logo-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-b-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: linear-gradient(135deg, #0052ff 0%, #00a9ec 100%);
    color: #ffffff;
    font-size: 22px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0, 169, 236, 0.4);
}

.logo-text {
    font-size: 24px;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 1px;
}

.logo-tagline {
    font-size: 12px;
    color: #00a9ec;
    font-weight: 600;
    margin-top: 4px;
    margin-bottom: 0;
}

.footer-brand-desc {
    font-size: 14px;
    line-height: 1.6;
    color: #8c9ba5;
    margin-bottom: 24px;
}

/* Trust features row */
.footer-trust-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.trust-feat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
}

.feat-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(0, 169, 236, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feat-text {
    font-size: 11px;
    color: #cbd5e1;
    line-height: 1.3;
}

/* Globe graphic at bottom left */
.footer-globe-bg {
    margin-top: 20px;
    width: 100%;
    height: 120px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    opacity: 0.8;
}

.globe-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Footer Column Titles */
.footer-title {
    font-size: 16px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    position: relative;
}

.footer-title-line {
    display: block;
    width: 25px;
    height: 2px;
    background: #00a9ec;
    border-radius: 2px;
    margin-top: 6px;
}

/* Footer Links List */
.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links-list li a {
    color: #94a3b8;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.25s ease, padding-left 0.25s ease;
    display: inline-block;
}

.footer-links-list li a:hover {
    color: #00a9ec;
    padding-left: 4px;
}

/* Contact Column */
.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.contact-item-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #00a9ec;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}

.contact-item-text {
    font-size: 14px;
    color: #cbd5e1;
    line-height: 1.4;
}

.contact-item-text.link-text {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-item-text.link-text:hover {
    color: #00a9ec;
}

/* Social Box */
.footer-social-box {
    padding-top: 12px;
}

.social-box-title {
    font-size: 12px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.social-btn-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-social-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #00a9ec;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.25s ease, background 0.25s ease;
}

.footer-social-btn:hover {
    background: #008cd0;
    transform: scale(1.1);
}

/* Bottom Bar */
.footer-bottom-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 0;
    background: #040a17;
    position: relative;
    z-index: 2;
}

.footer-bottom-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.copyright-text {
    font-size: 13px;
    color: #64748b;
}

.footer-policy-links {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
}

.footer-policy-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-policy-links a:hover {
    color: #00a9ec;
}

.policy-divider {
    color: #334155;
}

/* Cert Badges */
.footer-cert-badges {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cert-badge {
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    padding: 4px 10px;
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.03);
}

.iso-badge {
    color: #ffffff;
    font-size: 11px;
}

.iso-badge .cert-title {
    font-weight: 800;
}

.iso-badge .cert-num {
    font-weight: 700;
    color: #cbd5e1;
}

.iso-badge .cert-sub {
    font-size: 9px;
    color: #64748b;
}

.google-badge {
    color: #ffffff;
    font-size: 11px;
}

.badge-text {
    color: #cbd5e1;
}

.aws-badge {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.1;
    padding: 3px 8px;
}

.aws-text {
    color: #ff9900;
    font-weight: 800;
    font-size: 12px;
}

.aws-sub {
    color: #64748b;
    font-size: 9px;
}

/* Responsive Rules */
@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr 1fr 1.5fr;
    }
}

@media (max-width: 991.98px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 35px 20px;
    }

    .footer-col-brand {
        grid-column: span 3;
    }

    .footer-col-contact {
        grid-column: span 3;
    }
}

@media (max-width: 575.98px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-col-brand,
    .footer-col-contact {
        grid-column: span 1;
    }

    .footer-bottom-flex {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}
/* BIVACO MOBILE FOOTER V40 — accordion presentation */
@media (max-width: 767.98px) {
    .site-footer-agency .footer-top-main { padding: 30px 0 0 !important; }
    .site-footer-agency .footer-grid {
        display: block !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
    .site-footer-agency .footer-col-brand { margin-bottom: 18px !important; }
    .site-footer-agency .footer-logo { margin-bottom: 10px !important; }
    .site-footer-agency .footer-brand-desc {
        font-size: 10px !important;
        line-height: 1.55 !important;
        margin-bottom: 14px !important;
    }
    .site-footer-agency .footer-trust-features { display: none !important; }
    .site-footer-agency .footer-col:not(.footer-col-brand) {
        margin: 0 !important;
        border-top: 1px solid rgba(255,255,255,.10) !important;
    }
    .site-footer-agency .footer-title {
        position: relative !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        min-height: 46px !important;
        margin: 0 !important;
        padding: 0 28px 0 0 !important;
        font-size: 11px !important;
        line-height: 1.3 !important;
        cursor: pointer !important;
        user-select: none !important;
    }
    .site-footer-agency .footer-title::after {
        content: '⌄' !important;
        position: absolute !important;
        right: 2px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        color: #b9d9ff !important;
        font-size: 16px !important;
        transition: transform .2s ease !important;
    }
    .site-footer-agency .footer-col.is-open .footer-title::after {
        transform: translateY(-50%) rotate(180deg) !important;
    }
    .site-footer-agency .footer-title-line { display: none !important; }
    .site-footer-agency .footer-links-list,
    .site-footer-agency .footer-contact-list,
    .site-footer-agency .footer-col-contact .footer-social-box {
        display: none !important;
        padding: 0 0 12px !important;
        margin: 0 !important;
    }
    .site-footer-agency .footer-col.is-open .footer-links-list,
    .site-footer-agency .footer-col.is-open .footer-contact-list,
    .site-footer-agency .footer-col-contact.is-open .footer-social-box {
        display: block !important;
    }
    .site-footer-agency .footer-links-list li { margin: 0 !important; }
    .site-footer-agency .footer-links-list a,
    .site-footer-agency .footer-links-list span,
    .site-footer-agency .contact-item-text {
        font-size: 10px !important;
        line-height: 1.5 !important;
    }
    .site-footer-agency .contact-item { margin-bottom: 8px !important; }
    .site-footer-agency .footer-bottom-bar { padding: 12px 16px !important; }
    .site-footer-agency .footer-bottom-flex { gap: 8px !important; }
    .site-footer-agency .copyright-text,
    .site-footer-agency .footer-policy-links a { font-size: 8px !important; }
    .site-footer-agency .footer-cert-badges { gap: 5px !important; transform: scale(.82); transform-origin: center top; }
}
