/* =========================================================
   FAMS FOOTER + BACK TO TOP
========================================================= */

/* =========================================================
   FOOTER
========================================================= */

.fams-footer {
    position: relative;
    overflow: hidden;

    padding: 80px 0 25px;

    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(226, 105, 34, .12),
            transparent 22%
        ),
        linear-gradient(
            145deg,
            var(--fams-primary-dark),
            var(--fams-primary)
        );

    color: var(--fams-white);
}

.fams-footer::before {
    content: '';

    position: absolute;

    width: 380px;
    height: 380px;

    left: -190px;
    bottom: -240px;

    border-radius: 50%;

    border: 1px solid rgba(255, 255, 255, .05);
}


/* BRAND */

.footer-brand {
    position: relative;
    z-index: 2;
}

.footer-logo-link {
    display: inline-block;

    margin-bottom: 22px;
}

.footer-logo {
    display: block;

    width: 195px;
    max-width: 100%;
    height: auto;
}

.footer-brand p {
    max-width: 350px;

    margin-bottom: 24px;

    color: rgba(255, 255, 255, .62);

    font-size: 13px;

    line-height: 1.8;
}


/* SOCIAL */

.footer-social {
    display: flex;

    gap: 9px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;

    border: 1px solid rgba(255, 255, 255, .13);

    color: var(--fams-white);

    font-size: 12px;

    transition:
        background .3s ease,
        border-color .3s ease,
        transform .3s ease;
}

.footer-social a:hover {
    background: var(--fams-accent);

    border-color: var(--fams-accent);

    color: var(--fams-white);

    transform: translateY(-3px);
}


/* COLUMNS */

.footer-column {
    position: relative;
    z-index: 2;
}

.footer-column h4 {
    position: relative;

    margin-bottom: 24px;

    padding-bottom: 11px;

    color: var(--fams-white);

    font-size: 17px;
}

.footer-column h4::after {
    content: '';

    position: absolute;

    left: 0;
    bottom: 0;

    width: 35px;
    height: 2px;

    background: var(--fams-accent);
}

.footer-column ul {
    margin: 0;
    padding: 0;

    list-style: none;
}

.footer-column li {
    margin-bottom: 11px;
}

.footer-column li a {
    display: inline-flex;
    align-items: center;

    color: rgba(255, 255, 255, .64);

    font-size: 12px;

    transition:
        color .3s ease,
        transform .3s ease;
}

.footer-column li a::before {
    content: '\f105';

    margin-right: 8px;

    color: var(--fams-accent);

    font-family: 'Font Awesome 6 Free';

    font-weight: 900;

    font-size: 10px;
}

.footer-column li a:hover {
    color: var(--fams-white);

    transform: translateX(4px);
}


/* CONTACT / CTA */

.footer-contact p {
    margin-bottom: 20px;

    color: rgba(255, 255, 255, .62);

    font-size: 13px;

    line-height: 1.7;
}

.footer-enquiry-btn {
    display: inline-flex;
    align-items: center;

    gap: 10px;

    padding: 13px 20px;

    background: var(--fams-accent);

    color: var(--fams-white);

    font-family: 'Nunito', sans-serif;

    font-size: 12px;

    font-weight: 800;

    transition:
        background .3s ease,
        transform .3s ease,
        box-shadow .3s ease;
}

.footer-enquiry-btn:hover {
    background: var(--fams-white);

    color: var(--fams-primary);

    transform: translateY(-3px);

    box-shadow:
        0 12px 28px rgba(0, 0, 0, .14);
}


/* BOTTOM */

.footer-divider {
    position: relative;
    z-index: 2;

    margin: 52px 0 22px;

    border-top: 1px solid rgba(255, 255, 255, .09);
}

.footer-bottom {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;
}

.footer-bottom p {
    margin: 0;

    color: rgba(255, 255, 255, .48);

    font-size: 11px;
}

.footer-bottom-links {
    display: flex;

    gap: 20px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, .48);

    font-size: 11px;

    transition: color .3s ease;
}

.footer-bottom-links a:hover {
    color: var(--fams-accent);
}


/* =========================================================
   BACK TO TOP
========================================================= */

.back-to-top {
    position: fixed;

    right: 22px;
    bottom: 22px;

    z-index: 999;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 44px;
    height: 44px;

    padding: 0;

    border: 0;

    background: var(--fams-accent);

    color: var(--fams-white);

    font-size: 13px;

    cursor: pointer;

    opacity: 0;
    visibility: hidden;

    transform: translateY(14px);

    box-shadow:
        0 12px 30px rgba(226, 105, 34, .28);

    transition:
        opacity .3s ease,
        visibility .3s ease,
        transform .3s ease,
        background .3s ease;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;

    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--fams-primary-dark);
}

