/* ==========================================================================
   Site footer redesign — scoped under #footer.site-footer
   ========================================================================== */

.contact-lines {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
}

.contact-lines li + li {
    margin-top: 8px;
}

.contact-lines a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.contact-lines i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #eaf4fb;
    color: #2f8dbf;
    font-size: 13px;
    flex: 0 0 auto;
}

.contact-lines a:hover i {
    background: #40a2da;
    color: #fff;
}

/* --- Footer shell ------------------------------------------------------ */

#footer.site-footer {
    --ft-bg: #162229;
    --ft-bg-deep: #0f191f;
    --ft-surface: rgba(255, 255, 255, .05);
    --ft-border: rgba(255, 255, 255, .10);
    --ft-text: rgba(255, 255, 255, .72);
    --ft-muted: rgba(255, 255, 255, .46);
    --ft-heading: #ffffff;
    --ft-accent: #40a2da;
    --ft-accent-soft: rgba(64, 162, 218, .16);
    position: relative;
    overflow: hidden;
    margin-top: 60px;
    padding: 0;
    background:
        radial-gradient(900px 380px at 12% 0%, rgba(64, 162, 218, .12), transparent 65%),
        linear-gradient(180deg, var(--ft-bg) 0%, var(--ft-bg-deep) 100%);
    color: var(--ft-text);
    font-family: 'Fira Sans', 'Open Sans', Arial, sans-serif;
    font-size: 14px;
    line-height: 1.65;
}

body.home #footer.site-footer {
    margin-top: 0;
}

#footer.site-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--ft-accent) 0%, #1d6fa5 45%, transparent 90%);
}

#footer.site-footer *,
#footer.site-footer *::before,
#footer.site-footer *::after {
    box-sizing: border-box;
}

/* --- Main area --------------------------------------------------------- */

#footer.site-footer .footer-main {
    padding: 56px 0 16px;
}

#footer.site-footer .footer-col {
    margin-bottom: 36px;
}

#footer.site-footer .widget {
    margin-bottom: 0;
}

#footer.site-footer .widget-title,
#footer.site-footer .footer-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 18px;
    color: var(--ft-heading);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .11em;
    text-transform: uppercase;
    line-height: 1.3;
}

#footer.site-footer .widget-title::before,
#footer.site-footer .footer-heading::before {
    content: "";
    width: 4px;
    height: 15px;
    border-radius: 2px;
    background: var(--ft-accent);
    flex: 0 0 auto;
}

#footer.site-footer .widget-body p {
    margin: 0 0 14px;
    color: var(--ft-text);
    font-size: 13.5px;
    line-height: 1.75;
}

#footer.site-footer .widget-body p:last-child {
    margin-bottom: 0;
}

#footer.site-footer a {
    color: var(--ft-text);
    text-decoration: none;
    transition: color .18s ease;
}

#footer.site-footer a:hover,
#footer.site-footer a:focus {
    color: #fff;
    text-decoration: none;
}

#footer.site-footer :focus-visible {
    outline: 2px solid var(--ft-accent);
    outline-offset: 2px;
}

/* --- Brand column ------------------------------------------------------ */

#footer.site-footer .footer-brand {
    display: inline-block;
    margin: 0 0 16px;
}

#footer.site-footer .footer-brand img {
    display: block;
    height: 52px;
    width: auto;
}

#footer.site-footer .footer-tagline {
    max-width: 310px;
    margin: 0 0 20px;
    color: var(--ft-text);
    font-size: 13.5px;
    line-height: 1.7;
}

#footer.site-footer .footer-services {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

#footer.site-footer .footer-services li {
    padding: 5px 12px;
    border: 1px solid var(--ft-border);
    border-radius: 999px;
    background: var(--ft-surface);
    color: var(--ft-text);
    font-size: 12px;
    line-height: 1.4;
}

#footer.site-footer .footer-partners {
    margin-top: 24px;
}

#footer.site-footer .footer-partners-label {
    display: block;
    margin-bottom: 8px;
    color: var(--ft-muted);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
}

#footer.site-footer .footer-partner {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    border: 1px solid var(--ft-border);
    border-radius: 10px;
    background: var(--ft-surface);
    color: #fff;
    font-size: 13px;
    transition: border-color .18s ease, background-color .18s ease, transform .18s ease;
}

#footer.site-footer .footer-partner i {
    color: var(--ft-accent);
    font-size: 11px;
}

#footer.site-footer .footer-partner:hover {
    border-color: rgba(64, 162, 218, .55);
    background: var(--ft-accent-soft);
    color: #fff;
    transform: translateY(-1px);
}

/* --- Contact column ---------------------------------------------------- */

#footer.site-footer .contact-lines {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0 0 22px;
}

#footer.site-footer .contact-lines li + li {
    margin-top: 0;
}

#footer.site-footer .contact-lines a {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--ft-text);
}

#footer.site-footer .contact-lines a:hover {
    color: #fff;
}

#footer.site-footer .contact-lines i {
    width: 36px;
    height: 36px;
    background: var(--ft-accent-soft);
    color: var(--ft-accent);
    font-size: 14px;
}

#footer.site-footer .contact-lines a:hover i {
    background: var(--ft-accent);
    color: #fff;
}

#footer.site-footer .follow-me-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    float: none;
    font-size: 15px;
}

#footer.site-footer .follow-me-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--ft-border);
    border-radius: 50%;
    background: var(--ft-surface);
    color: var(--ft-text);
    transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

#footer.site-footer .follow-me-icons i {
    float: none;
    margin: 0;
    font-size: 15px;
}

#footer.site-footer .follow-me-icons a:hover {
    border-color: var(--ft-accent);
    background: var(--ft-accent);
    color: #fff;
    transform: translateY(-2px);
}

/* --- Bottom bar -------------------------------------------------------- */

#footer.site-footer .footer-bottom {
    border-top: 1px solid var(--ft-border);
    background: rgba(0, 0, 0, .22);
    padding: 18px 0;
}

#footer.site-footer .footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px 24px;
    flex-wrap: wrap;
}

#footer.site-footer .footer-copy,
#footer.site-footer .footer-meta {
    margin: 0;
    color: var(--ft-muted);
    font-size: 12.5px;
    line-height: 1.6;
}

#footer.site-footer .footer-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

#footer.site-footer .footer-meta a {
    color: var(--ft-text);
    border-bottom: 1px solid transparent;
    transition: color .18s ease, border-color .18s ease;
}

#footer.site-footer .footer-meta a:hover {
    color: #fff;
    border-bottom-color: var(--ft-accent);
}

#footer.site-footer .footer-meta .sep {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--ft-muted);
    flex: 0 0 auto;
}

/* --- Scroll to top ----------------------------------------------------- */

.scrollToTop {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1030;
    display: none;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(180deg, #4fb2e8 0%, #2f8dbf 100%);
    box-shadow: 0 10px 24px rgba(12, 70, 98, .35);
    color: #fff;
    font-size: 16px;
    line-height: 46px;
    text-align: center;
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease;
}

.scrollToTop:hover,
.scrollToTop:focus {
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(12, 70, 98, .45);
}

/* --- Responsive -------------------------------------------------------- */

@media (max-width: 991px) {
    #footer.site-footer {
        margin-top: 44px;
    }

    #footer.site-footer .footer-main {
        padding: 44px 0 4px;
    }

    #footer.site-footer .footer-col {
        margin-bottom: 30px;
    }
}

@media (max-width: 767px) {
    #footer.site-footer .footer-main {
        padding: 36px 0 0;
    }

    #footer.site-footer .footer-brand img {
        height: 46px;
    }

    #footer.site-footer .footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    #footer.site-footer .footer-meta {
        gap: 8px 12px;
    }

    .scrollToTop {
        right: 16px;
        bottom: 16px;
        width: 42px;
        height: 42px;
        line-height: 42px;
    }
}