/*Avarius Capital – Sdílené styly FOOTER + Scroll-top*/

.footer {
    position: relative;
    background: radial-gradient(ellipse 60% 80% at 50% 100%, var(--hero-center) 0%, var(--hero-edge) 100%);
    color: var(--white);
    padding: 50px 0 24px;
}

.footer-main {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 40px;
}

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

.footer-logo img {
    width: 148px;
    height: auto;
}

.footer-offices {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.footer-office b {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    line-height: 100%;
    letter-spacing: 0%;
    color: var(--white);
    display: block;
    margin-bottom: 16px;
}

.footer-office p {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0%;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.6);
    padding-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-copyright {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 16px;
    font-weight: 400;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--gold);
}

/*========== SCROLL TO TOP ==========*/
.scroll-top {
    position: fixed;
    bottom: 28px;
    right: 24px;
    z-index: 100;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.3s, transform 0.3s;
    pointer-events: none;
}

.scroll-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.circle-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.circle-btn:hover {
    background: var(--goldLight);
}

.circle-btn svg {
    color: var(--navy);
}

/*========== RESPONSIVE ==========*/
@media (max-width: 1023px) {
    .footer-links {
        display: none;
    }

    .footer-main {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 768px) {
    .footer-offices {
        flex-direction: row;
        gap: 64px;
    }

    .footer-main {
        flex-direction: row;
        align-items: flex-start;
        gap: 64px;
    }

    .footer-bottom {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

@media (min-width: 1024px) {
    .footer-main {
        padding: 0 40px 20px;
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
        gap: 80px;
        justify-content: space-between;
    }

    .footer-logo {
        align-items: flex-start;
    }

    .footer-offices {
        flex-direction: row;
        gap: 100px;
    }

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }

    .footer-links {
        flex-direction: row;
        gap: 32px;
    }

    .footer-links a {
        font-size: 18px;
    }
}
