/* =========================================================
   WEBCLINICHQ FOOTER
   Bright + Gradient Theme
========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&family=Inter:wght@400;500;600;700&display=swap');


/* =========================================================
   VARIABLES + BASE
========================================================= */

.site-footer {

    --footer-bg: #FAFAFD;
    --footer-bg-tint: #F4F1FC;
    --footer-card: #FFFFFF;

    --footer-text: #17181D;
    --footer-muted: #5B6472;
    --footer-faint: #8A91A0;

    --footer-purple: #7C4DFF;
    --footer-purple-dark: #6236CC;
    --footer-teal: #17A398;
    --footer-coral: #F2935C;
    --footer-pink: #C46AAA;
    --footer-navy: #120B2E;

    --footer-gradient: linear-gradient(115deg, #6236CC 0%, #7C4DFF 36%, #C46AAA 68%, #F2935C 100%);
    --footer-border: rgba(124, 77, 255, .14);

    --footer-font-display: 'Fraunces', Georgia, serif;
    --footer-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;

    position: relative;
    margin-top: 0;
    padding-top: clamp(52px, 6vw, 80px);
    font-family: var(--footer-font-sans);
    color: var(--footer-text);
    overflow: hidden;
    isolation: isolate;

    background:
        radial-gradient(circle at 6% 55%, rgba(124, 77, 255, .08), transparent 32%),
        radial-gradient(circle at 94% 70%, rgba(242, 147, 92, .09), transparent 30%),
        radial-gradient(circle at 60% 100%, rgba(23, 163, 152, .06), transparent 34%),
        linear-gradient(180deg, #FFFFFF 0%, var(--footer-bg-tint) 100%);

}

.site-footer *,
.site-footer *::before,
.site-footer *::after {
    box-sizing: border-box;
}

.site-footer .footer-container {
    width: min(calc(100% - 48px), 1280px);
    margin: 0 auto;
}


/* =========================================================
   DECORATIVE TOP LINE
========================================================= */

.site-footer::before {

    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    z-index: 3;

    background:
        linear-gradient(
            90deg,
            #6236CC,
            #7C4DFF,
            #C46AAA,
            #F2935C,
            #C46AAA,
            #7C4DFF,
            #6236CC
        );

    background-size: 200% 100%;
    animation: footerGradient 8s linear infinite;

}

@keyframes footerGradient {
    0%   { background-position: 0 0; }
    100% { background-position: 200% 0; }
}


/* =========================================================
   MAIN FOOTER (bright)
========================================================= */

.site-footer .footer-main {
    position: relative;
    z-index: 2;
    padding: 0 0 clamp(40px, 5vw, 60px);
}

.site-footer .footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr .95fr;
    gap: clamp(32px, 4.5vw, 70px);
}


/* ---------- Brand ---------- */

.site-footer .footer-brand {
    max-width: 390px;
}

.site-footer .footer-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.site-footer .footer-logo img {
    display: block;
    width: 165px;
    height: auto;
    object-fit: contain;
}

.site-footer .footer-brand-text {
    max-width: 360px;
    margin: 22px 0 22px;
    color: var(--footer-muted);
    font-size: 15px;
    line-height: 1.75;
}

.site-footer .footer-talk-link {

    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--footer-text);
    font-size: 14.5px;
    font-weight: 700;
    text-decoration: none;
    transition: color .25s ease, gap .3s ease;

}

.site-footer .footer-talk-link span {

    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--footer-gradient);
    color: #fff;
    font-size: 14px;
    box-shadow: 0 8px 18px rgba(124, 77, 255, .28);
    transition: transform .3s ease;

}

.site-footer .footer-talk-link:hover {
    color: var(--footer-purple);
    gap: 14px;
}

.site-footer .footer-talk-link:hover span {
    transform: translate(2px, -2px);
}


/* ---------- Socials ---------- */

.site-footer .footer-socials {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 28px;
}

.site-footer .footer-socials a {

    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--footer-purple-dark);
    text-decoration: none;

    background: #fff;
    border: 1px solid var(--footer-border);
    box-shadow: 0 6px 16px rgba(60, 30, 120, .06);

    transition: transform .3s ease, color .3s ease, border-color .3s ease, background .3s ease, box-shadow .3s ease;

}

.site-footer .footer-socials svg {
    width: 17px;
    height: 17px;
}

.site-footer .footer-socials a:hover {
    color: #fff;
    background: var(--footer-gradient);
    border-color: transparent;
    box-shadow: 0 12px 24px rgba(124, 77, 255, .3);
    transform: translateY(-3px);
}


/* ---------- Columns ---------- */

.site-footer .footer-column h3 {

    position: relative;
    margin: 4px 0 24px;
    padding-bottom: 14px;
    color: var(--footer-text);
    font-family: var(--footer-font-sans);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;

}

.site-footer .footer-column h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 3px;
    border-radius: 3px;
    background: var(--footer-gradient);
}

.site-footer .footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 13px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer .footer-column li {
    margin: 0;
    padding: 0;
}

.site-footer .footer-column li a {

    position: relative;
    display: inline-block;
    color: var(--footer-muted);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.45;
    text-decoration: none;
    transition: color .25s ease, transform .25s ease;

}

.site-footer .footer-column li a::before {

    content: "";
    position: absolute;
    left: -14px;
    top: 50%;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--footer-gradient);
    opacity: 0;
    transform: translateY(-50%) scale(.5);
    transition: opacity .25s ease, transform .25s ease;

}

.site-footer .footer-column li a:hover {
    color: var(--footer-purple-dark);
    transform: translateX(8px);
}

.site-footer .footer-column li a:hover::before {
    opacity: 1;
    transform: translateY(-50%) scale(1);
}


/* ---------- Contact block ---------- */

.site-footer .footer-contact-block {

    margin-top: 30px;
    padding: 16px 18px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid var(--footer-border);
    box-shadow: 0 8px 22px rgba(60, 30, 120, .05);

}

.site-footer .footer-contact-block span {
    display: block;
    margin-bottom: 6px;
    color: var(--footer-faint);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .16em;
}

.site-footer .footer-contact-block a {
    color: var(--footer-purple-dark);
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    word-break: break-word;
    transition: color .25s ease;
}

.site-footer .footer-contact-block a:hover {
    color: var(--footer-coral);
}


/* =========================================================
   FOOTER BOTTOM
========================================================= */

.site-footer .footer-bottom {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, .7);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border-top: 1px solid var(--footer-border);
}

.site-footer .footer-bottom-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.site-footer .footer-copyright {
    margin: 0;
    color: var(--footer-faint);
    font-size: 12.5px;
    font-weight: 400;
}

.site-footer .footer-legal {
    display: flex;
    align-items: center;
    gap: 14px;
}

.site-footer .footer-legal a {
    color: var(--footer-muted);
    font-size: 12.5px;
    font-weight: 500;
    text-decoration: none;
    transition: color .25s ease;
}

.site-footer .footer-legal a:hover {
    color: var(--footer-purple);
}

.site-footer .footer-legal span {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--footer-pink);
    opacity: .6;
}


/* ---------- Back to top ---------- */

.site-footer .footer-back-top {

    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #fff;
    font-size: 17px;
    text-decoration: none;
    background: var(--footer-gradient);
    box-shadow: 0 10px 22px rgba(124, 77, 255, .3);
    transition: transform .3s ease, box-shadow .3s ease;

}

.site-footer .footer-back-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 28px rgba(124, 77, 255, .4);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1050px) {

    .site-footer .footer-grid {
        grid-template-columns: 1.4fr 1fr 1fr;
        gap: 44px;
    }

    .site-footer .footer-brand {
        grid-column: 1 / -1;
        max-width: 600px;
    }


}



/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .site-footer {
        padding-top: 40px;
    }

    .site-footer .footer-container {
        width: calc(100% - 32px);
    }


    /* Main grid: 2 columns */
    .site-footer .footer-main {
        padding-bottom: 36px;
    }

    .site-footer .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 34px 22px;
    }

    .site-footer .footer-brand {
        grid-column: 1 / -1;
        max-width: 100%;
    }

    .site-footer .footer-logo img {
        width: 150px;
    }

    .site-footer .footer-brand-text {
        margin-top: 18px;
        font-size: 14.5px;
        line-height: 1.7;
    }

    .site-footer .footer-column--services {
        grid-column: 1 / -1;
    }

    .site-footer .footer-column--services ul {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px 22px;
    }

    .site-footer .footer-column h3 {
        margin-bottom: 18px;
        padding-bottom: 12px;
    }

    .site-footer .footer-column ul {
        gap: 12px;
    }

    .site-footer .footer-column li a {
        font-size: 13.5px;
    }

    .site-footer .footer-column li a:hover {
        transform: none;
    }

    .site-footer .footer-contact-block {
        margin-top: 24px;
        padding: 14px;
    }

    .site-footer .footer-contact-block a {
        font-size: 12.5px;
    }

    /* Bottom bar */
    .site-footer .footer-bottom-inner {
        min-height: auto;
        padding: 18px 0;
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: center;
        gap: 14px 16px;
    }

    .site-footer .footer-copyright {
        grid-column: 1;
        grid-row: 1;
    }

    .site-footer .footer-back-top {
        grid-column: 2;
        grid-row: 1 / span 2;
        width: 44px;
        height: 44px;
    }

    .site-footer .footer-legal {
        grid-column: 1;
        grid-row: 2;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 420px) {

    .site-footer .footer-container {
        width: calc(100% - 28px);
    }


    .site-footer .footer-socials a {
        width: 38px;
        height: 38px;
    }

    .site-footer .footer-legal {
        flex-wrap: wrap;
        gap: 10px;
    }

    .site-footer .footer-column--services ul {
        gap: 11px 14px;
    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .site-footer::before {
        animation: none;
    }

    .site-footer * {
        transition-duration: .01ms !important;
    }

}