/* Site footer — formal corporate style */
footer.footer.site-footer-modern {
    --sf-primary: var(--primary-color, #2563a8);
    --sf-bg: #141820;
    --sf-bg-elevated: #1c2129;
    --sf-text: rgba(255, 255, 255, 0.92);
    --sf-text-muted: rgba(255, 255, 255, 0.62);
    --sf-border: rgba(255, 255, 255, 0.1);
    --sf-radius: 6px;

    background: var(--sf-bg) !important;
    padding: 0 !important;
    border-top: 3px solid var(--sf-primary);
    font-family: 'Cairo', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 15px;
    line-height: 1.55;
}

.site-footer-modern .site-footer-modern__inner {
    padding: 36px 0 18px;
}

.site-footer-modern .site-footer-modern__grid {
    row-gap: 1.5rem;
}

footer.footer.site-footer-modern .footer_logo,
.site-footer-modern .footer_logo {
    margin-bottom: 14px;
    padding: 0 !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

footer.footer.site-footer-modern .footer_logo img,
.site-footer-modern .footer_logo img,
footer.footer.site-footer-modern .footer_logo a,
.site-footer-modern .footer_logo a {
    display: block;
    max-height: 48px;
    width: auto;
    height: auto;
    object-fit: contain;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
    filter: none !important;
    -webkit-filter: none !important;
    -webkit-box-shadow: none !important;
}

footer.footer.site-footer-modern .footer_logo img:focus,
footer.footer.site-footer-modern .footer_logo img:focus-visible,
.site-footer-modern .footer_logo img:focus,
.site-footer-modern .footer_logo img:focus-visible {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}

.site-footer-modern .site-footer-modern__about {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--sf-text-muted) !important;
    margin: 0;
    max-width: 340px;
}

.site-footer-modern h4.site-footer-modern__title,
footer.footer.site-footer-modern h4 {
    font-size: 14px !important;
    font-weight: 600 !important;
    letter-spacing: 0.04em !important;
    text-transform: none !important;
    color: #fff !important;
    margin: 0 0 14px !important;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--sf-border);
    line-height: 1.3 !important;
    text-align: left !important;
}

.site-footer-modern ul.links {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 0;
}

footer.footer.site-footer-modern ul.links li a,
.site-footer-modern ul.links li a {
    display: block;
    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    color: var(--sf-text-muted) !important;
    text-decoration: none;
    padding: 8px 0;
    border-bottom: 1px solid var(--sf-border);
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.site-footer-modern ul.links li:last-child a {
    border-bottom: none;
}

.site-footer-modern ul.links li a:hover {
    color: #fff !important;
    padding-left: 4px;
    border-bottom-color: var(--sf-border);
}

.site-footer-modern .social_icons {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
}

.site-footer-modern .social_icons li {
    background: none !important;
    width: auto !important;
    height: auto !important;
}

.site-footer-modern .social_icons li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid var(--sf-border) !important;
    border-radius: var(--sf-radius);
    background: var(--sf-bg-elevated) !important;
    line-height: 0;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.site-footer-modern .social_icons li a:hover {
    transform: none;
    box-shadow: none;
    border-color: var(--sf-primary) !important;
    background: color-mix(in srgb, var(--sf-primary) 12%, var(--sf-bg-elevated)) !important;
}

.site-footer-modern .social_icons li a img {
    display: block;
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.site-footer-modern .contact_us {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.site-footer-modern .contact_box {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border: none;
    border-bottom: 1px solid var(--sf-border);
    border-radius: 0;
    background: transparent;
    transition: none;
}

.site-footer-modern .contact_box:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.site-footer-modern .contact_box:hover {
    background: transparent;
    border-color: var(--sf-border);
}

footer.footer.site-footer-modern .contact_us .contact_box .icon i,
.site-footer-modern .contact_us .contact_box .icon i {
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.site-footer-modern .contact_box .icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--sf-radius);
    background: var(--sf-bg-elevated) !important;
    border: 1px solid var(--sf-border);
}

.site-footer-modern .contact_box .icon i {
    font-size: 15px !important;
    color: var(--sf-primary) !important;
}

.site-footer-modern .contact_box .icon .fa-whatsapp {
    color: #25d366 !important;
}

.site-footer-modern .contact_box:has(.fa-whatsapp) .icon {
    background: var(--sf-bg-elevated) !important;
}

.site-footer-modern .contact_box .content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    padding-top: 2px;
}

footer.footer.site-footer-modern .contact_box .content h6,
.site-footer-modern .contact_box .content h6 {
    font-size: 11px !important;
    font-weight: 600 !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
    color: var(--sf-text-muted) !important;
    margin: 0 !important;
    text-align: left !important;
}

.site-footer-modern .contact_box .content span,
.site-footer-modern .contact_box .content .site-footer-modern__link {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.45;
    color: var(--sf-text) !important;
}

.site-footer-modern .contact_box .content a.site-footer-modern__link {
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-footer-modern .contact_box .content a.site-footer-modern__link:hover {
    color: var(--sf-primary) !important;
    text-decoration: underline;
}

.site-footer-modern .site-footer-modern__visual {
    border-radius: var(--sf-radius);
    overflow: hidden;
    /* border: 1px solid var(--sf-border); */
    line-height: 0;
}

.site-footer-modern .site-footer-modern__visual img {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0.85;
}

.site-footer-modern .site-footer-modern__bottom {
    margin-top: 20px;
    padding-top: 14px;
    border-top: 1px solid var(--sf-border);
    text-align: center;
}

.site-footer-modern .site-footer-modern__bottom p {
    margin: 0;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.01em;
    color: var(--sf-text-muted) !important;
}

@media (max-width: 991px) {
    .site-footer-modern .site-footer-modern__inner {
        padding: 28px 0 16px;
    }

    .site-footer-modern .site-footer-modern__about {
        max-width: none;
    }
}

@media (max-width: 767px) {
    .site-footer-modern .site-footer-modern__bottom {
        margin-top: 16px;
    }
}
