/* ===== COMMON FOOTER ===== */

footer {
    background: var(--navy-dark);
    color: #7a99bb;
    border-top: 1px solid rgba(255,255,255,.05);
    padding: 0;
}

.ft {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 48px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 64px 48px 48px;
}

.fli {
    height: 42px;
    width: auto;
    max-width: 230px;
    object-fit: contain;
    margin-bottom: 14px;
    opacity: .9;
    display: block;
}

.fd {
    font-size: .85rem;
    line-height: 1.8;
    color: #6b88a8;
    margin-bottom: 20px;
}

.fct {
    font-size: .84rem;
    line-height: 2.1;
    color: #6b88a8;
}

.fct div,
.fct a {
    color: #6b88a8;
    font-size: .84rem;
    line-height: 2.1;
    display: block;
    transition: .2s;
}

.fct a:hover {
    color: var(--orange2);
}

.fsoc {
    display: flex;
    gap: 8px;
    margin-top: 18px;
    flex-wrap: wrap;
}

.fss {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.08);
    color: #7a99bb;
    padding: 7px 14px;
    border-radius: 4px;
    font-family: 'Space Mono', monospace;
    font-size: .65rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: .2s;
}

.fss:hover {
    background: var(--orange);
    color: #fff;
    border-color: var(--orange);
}

.fcol h4 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1rem;
    letter-spacing: 2px;
    color: var(--white);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.fcol h4::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--orange);
    opacity: .4;
}

.fcol ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.fcol ul li {
    position: relative;
}

.fcol ul li a {
    font-size: .85rem;
    color: #6b88a8;
    transition: .2s;
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}

.fcol ul li a::before {
    content: "›";
    color: var(--orange);
}

.fcol ul li a:hover {
    color: var(--orange2);
    padding-left: 4px;
}

.fb {
    border-top: 1px solid rgba(255,255,255,.06);
    text-align: center;
    padding: 22px 48px;
    font-family: 'Space Mono', monospace;
    font-size: .65rem;
    color: #3d5470;
    max-width: 1200px;
    margin: 0 auto;
}

.fb a {
    color: #6b88a8;
    text-decoration: none;
    transition: .2s;
}

.fb a:hover {
    color: var(--orange2);
}

@media(max-width: 1024px) {
    .ft {
        grid-template-columns: 1fr 1fr;
    }
}

@media(max-width: 768px) {
    .ft {
        grid-template-columns: 1fr;
        padding: 44px 20px 34px;
        gap: 28px;
    }

    .fb {
        padding: 18px 20px;
        line-height: 1.8;
    }
}

/* ===== SMOOTH BACK TO TOP BUTTON ===== */

.smooth-back-to-top-button {
    position: fixed;
    bottom: 32px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background-color: #235e98;
    box-shadow: 0 8px 24px rgba(27,58,107,.25);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: .3s ease;
    cursor: pointer;
}

.smooth-back-to-top-button.btn-right-side {
    right: 32px;
}

.smooth-back-to-top-button.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.smooth-back-to-top-button::after {
    content: '↑';
    position: absolute;
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    top: 9px;
    left: 0;
    right: 0;
    text-align: center;
}

.smooth-back-to-top-button:hover {
    background-color: var(--orange);
    transform: translateY(-4px);
}

.smooth-back-to-top-button svg.progress-circle {
    position: absolute;
    inset: 0;
    transform: rotate(-90deg);
}

.smooth-back-to-top-button .progress-bg {
    fill: none;
    stroke: rgba(255,255,255,.25);
    stroke-width: 3;
}

.smooth-back-to-top-button .progress-bar {
    fill: none;
    stroke: #f46e21;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-dasharray: 125.6;
    stroke-dashoffset: 125.6;
    transition: stroke-dashoffset .1s linear;
}

.smooth-back-to-top-button:hover .progress-bar {
    stroke: #ffffff;
}

@media(max-width: 768px) {
    .smooth-back-to-top-button {
        width: 42px;
        height: 42px;
        bottom: 22px;
    }

    .smooth-back-to-top-button.btn-right-side {
        right: 18px;
    }

    .smooth-back-to-top-button::after {
        font-size: 22px;
        top: 8px;
    }

    .smooth-back-to-top-button svg.progress-circle {
        width: 42px;
        height: 42px;
    }
}