/* /public_html/_stage-fh/home/footer/footer.css */

/* =========================
   Section - Footer
========================= */

.fh-footer {
    --fh-footer-bg: #081a32;
    --fh-footer-bg-2: #050f22;
    --fh-footer-card: #0f223d;
    --fh-footer-ink: #f7fff9;
    --fh-footer-muted: rgba(239, 250, 244, 0.70);
    --fh-footer-soft: rgba(239, 250, 244, 0.54);
    --fh-footer-pink: #e96f83;
    --fh-footer-pink-dark: #ff9aaa;
    --fh-footer-green: #55d7a7;
    --fh-footer-line: rgba(255, 255, 255, 0.12);

    position: relative;

    width: 100%;
    padding: 82px 0 22px;

    color: var(--fh-footer-ink);

    overflow: hidden;

    background: transparent;
}

.fh-footer::before {
    content: "";
    position: absolute;
    inset: 96px 0 0;
    z-index: 0;

    background:
        radial-gradient(circle at 14% 0%, rgba(67, 108, 170, 0.13), transparent 30%),
        radial-gradient(circle at 86% 0%, rgba(85, 215, 167, 0.06), transparent 34%),
        linear-gradient(180deg, var(--fh-footer-bg), var(--fh-footer-bg-2));

    pointer-events: none;
}

.fh-footer::after {
    content: "";
    position: absolute;
    left: -150px;
    bottom: -150px;
    z-index: 0;

    width: 340px;
    height: 340px;

    border-radius: 999px;

    background:
        radial-gradient(circle, rgba(58, 95, 150, 0.16), transparent 68%);

    pointer-events: none;
}

.fh-footer__curve {
    position: absolute;
    inset: 0 0 auto;
    z-index: 0;

    height: 116px;

    pointer-events: none;
    overflow: hidden;
}

.fh-footer__curve::before,
.fh-footer__curve::after {
    content: "";
    position: absolute;
    left: 0;

    width: 100%;

    pointer-events: none;
}

.fh-footer__curve::before {
    top: 0;
    height: 116px;

    background:
        linear-gradient(180deg, #0d2340 0%, var(--fh-footer-bg) 72%, var(--fh-footer-bg) 100%);

    -webkit-mask:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath d='M0 72 C120 32 230 28 360 60 C490 92 610 94 740 58 C880 20 1010 24 1140 62 C1270 100 1360 84 1440 46 L1440 120 L0 120 Z' fill='black'/%3E%3C/svg%3E") center top / 100% 100% no-repeat;
            mask:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath d='M0 72 C120 32 230 28 360 60 C490 92 610 94 740 58 C880 20 1010 24 1140 62 C1270 100 1360 84 1440 46 L1440 120 L0 120 Z' fill='black'/%3E%3C/svg%3E") center top / 100% 100% no-repeat;
}

.fh-footer__curve::after {
    top: 22px;
    height: 86px;

    opacity: 0.58;

    background:
        linear-gradient(90deg, rgba(85, 215, 167, 0.18), rgba(72, 112, 176, 0.24), rgba(85, 215, 167, 0.08));

    -webkit-mask:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'%3E%3Cpath d='M0 66 C165 34 270 88 435 58 C620 24 740 20 910 52 C1085 86 1250 86 1440 48 L1440 100 L0 100 Z' fill='black'/%3E%3C/svg%3E") center top / 100% 100% no-repeat;
            mask:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'%3E%3Cpath d='M0 66 C165 34 270 88 435 58 C620 24 740 20 910 52 C1085 86 1250 86 1440 48 L1440 100 L0 100 Z' fill='black'/%3E%3C/svg%3E") center top / 100% 100% no-repeat;
}

.fh-footer > .fh-home-container {
    position: relative;
    z-index: 2;
}

.fh-footer__shell {
    position: relative;
    z-index: 1;

    padding: 24px 24px 18px;

    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.09);

    background:
        linear-gradient(180deg, #102441, #0a1a31);

    box-shadow:
        0 18px 44px rgba(0, 0, 0, 0.24);

    overflow: hidden;
}

.fh-footer__shell::before {
    content: "FH";
    position: absolute;
    left: 26px;
    top: -28px;

    color: rgba(255, 255, 255, 0.035);

    font-size: 116px;
    font-weight: 900;
    line-height: 1;

    direction: ltr;
}

.fh-footer__main {
    position: relative;
    z-index: 1;

    display: grid;
    grid-template-columns: 1.15fr 0.8fr 0.8fr 0.8fr;
    gap: 24px;
}

.fh-footer__brand,
.fh-footer__col {
    position: relative;
}

.fh-footer__col {
    padding-inline-start: 20px;
}

.fh-footer__col::before {
    content: "";
    position: absolute;
    inset-block: 4px 4px;
    inset-inline-start: 0;

    width: 1px;

    border-radius: 999px;

    background:
        linear-gradient(
            180deg,
            transparent,
            rgba(255, 255, 255, 0.12),
            rgba(85, 215, 167, 0.18),
            transparent
        );
}

.fh-footer__logo-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.fh-footer__logo {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;

    display: grid;
    place-items: center;

    border-radius: 17px;

    background: #1b2f4d;

    box-shadow:
        0 8px 18px rgba(0, 0, 0, 0.16);

    overflow: hidden;
}

.fh-footer__logo img {
    width: 100%;
    height: 100%;
    padding: 7px;

    display: block;

    object-fit: contain;
    object-position: center;
}

.fh-footer__brand-name {
    margin: 0;

    color: var(--fh-footer-ink);

    font-size: 17px;
    font-weight: 900;
    line-height: 1.6;
}

.fh-footer__brand-sub {
    margin: 1px 0 0;

    color: var(--fh-footer-green);

    font-size: 10.5px;
    font-weight: 750;
    line-height: 1.6;
}

.fh-footer__desc {
    max-width: 360px;
    margin: 12px 0 0;

    color: var(--fh-footer-muted);

    font-size: 11.4px;
    font-weight: 600;
    line-height: 2.05;
    word-spacing: 0.04em;
}

.fh-footer__badge {
    width: fit-content;
    margin-top: 13px;
    padding: 8px 11px;

    display: inline-flex;
    align-items: center;
    gap: 7px;

    border-radius: 999px;
    border: 1px solid rgba(85, 215, 167, 0.16);

    background: #182b48;
    color: rgba(239, 250, 244, 0.82);

    font-size: 9.8px;
    font-weight: 700;
    line-height: 1;
}

.fh-footer__badge span {
    width: 7px;
    height: 7px;

    border-radius: 999px;

    background: var(--fh-footer-green);

    box-shadow:
        0 0 0 5px rgba(85, 215, 167, 0.12);
}

.fh-footer__col-title {
    position: relative;

    margin: 0 0 13px;

    color: var(--fh-footer-ink);

    font-size: 12.2px;
    font-weight: 900;
    line-height: 1.7;
}

.fh-footer__col-title::after {
    content: "";

    display: block;

    width: 28px;
    height: 3px;
    margin-top: 6px;

    border-radius: 999px;

    background:
        linear-gradient(
            90deg,
            var(--fh-footer-green),
            rgba(85, 215, 167, 0.12)
        );
}

.fh-footer__links {
    display: grid;
    gap: 8px;
}

.fh-footer__links a {
    width: fit-content;

    color: var(--fh-footer-muted);

    text-decoration: none;

    font-size: 10.8px;
    font-weight: 650;
    line-height: 1.8;

    transition:
        color 0.18s ease,
        transform 0.18s ease;
}

.fh-footer__links a:hover {
    color: var(--fh-footer-green);

    transform: translateX(-2px);
}

.fh-footer__support-text {
    margin: 0;

    color: var(--fh-footer-muted);

    font-size: 10.8px;
    font-weight: 600;
    line-height: 1.95;
}

.fh-footer__support-logos {
    margin-top: 10px;

    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.fh-footer__support-logo {
    width: 38px;
    height: 38px;

    display: grid;
    place-items: center;

    border: 0;
    border-radius: 0;

    background: transparent;
    color: var(--fh-footer-green);

    text-decoration: none;

    box-shadow: none;

    transition:
        transform 180ms ease,
        opacity 180ms ease;
}

.fh-footer__support-logo:hover {
    transform: translateY(-2px);
    opacity: 0.82;
}

.fh-footer__support-logo img {
    width: 28px;
    height: 28px;

    display: block;

    object-fit: contain;
    object-position: center;
}

.fh-footer__licenses {
    display: grid;
    grid-template-columns: repeat(3, 64px);
    gap: 8px;
}

.fh-footer__license {
    height: 72px;
    padding: 7px 6px;

    display: grid;
    place-items: center;

    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);

    background: #f7fff9;
    color: #102441;

    text-align: center;
    text-decoration: none;

    font-size: 9.2px;
    font-weight: 900;
    line-height: 1.5;

    box-shadow:
        0 8px 18px rgba(0, 0, 0, 0.16);

    overflow: hidden;
}

.fh-footer__license a {
    width: 100%;
    height: 100%;

    display: grid;
    place-items: center;

    color: inherit;
    text-decoration: none;
}

.fh-footer__license img {
    max-width: 100%;
    max-height: 100%;

    display: block;

    object-fit: contain;
    object-position: center;
}

.fh-footer__license--enamad {
    padding: 5px;

    background: #ffffff;
}

.fh-footer__bottom {
    position: relative;
    z-index: 1;

    margin-top: 20px;
    padding-top: 14px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;

    border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.fh-footer__copy,
.fh-footer__made {
    margin: 0;

    color: rgba(239, 250, 244, 0.58);

    font-size: 9.8px;
    font-weight: 650;
    line-height: 1.8;
}

.fh-footer__made strong {
    color: var(--fh-footer-pink-dark);

    font-weight: 850;
}

@media (max-width: 900px) {
    .fh-footer {
        padding: 62px 0 18px;
    }

    .fh-footer::before {
        inset: 72px 0 0;
    }

    .fh-footer__curve {
        height: 82px;
    }

    .fh-footer__curve::before {
        height: 82px;
    }

    .fh-footer__curve::after {
        top: 15px;
        height: 62px;
        opacity: 0.48;
    }

    .fh-footer__shell {
        padding: 20px 14px 14px;

        border-radius: 28px;
    }

    .fh-footer__shell::before {
        left: 10px;
        top: -16px;

        font-size: 84px;
    }

    .fh-footer__main {
        grid-template-columns: 1fr;
        gap: 0;

        text-align: right;
    }

    .fh-footer__logo-row {
        justify-content: flex-start;
    }

    .fh-footer__brand,
    .fh-footer__col {
        padding: 0 0 16px;
    }

    .fh-footer__col {
        padding-top: 16px;
        padding-inline-start: 0;

        border-top: 1px solid rgba(255, 255, 255, 0.10);
    }

    .fh-footer__col::before {
        inset: auto 0 auto auto;
        top: -2px;

        width: 38px;
        height: 3px;

        border-radius: 999px;

        background:
            linear-gradient(
                90deg,
                var(--fh-footer-green),
                rgba(85, 215, 167, 0.10)
            );
    }

    .fh-footer__col-title {
        margin-bottom: 11px;
    }

    .fh-footer__col-title::after {
        display: none;
    }

    .fh-footer__desc {
        max-width: 320px;
        margin: 10px 0 0;

        font-size: 10.8px;
        line-height: 2;
    }

    .fh-footer__badge {
        margin: 12px 0 0;
    }

    .fh-footer__links {
        width: 100%;

        grid-template-columns: repeat(2, minmax(0, 1fr));
        justify-items: stretch;
        gap: 8px 10px;
    }

    .fh-footer__links a {
        width: 100%;
        min-height: 34px;
        padding: 0 10px;

        display: flex;
        align-items: center;

        border-radius: 13px;
        border: 1px solid rgba(255, 255, 255, 0.08);

        background: rgba(255, 255, 255, 0.035);

        font-size: 10.4px;
    }

    .fh-footer__support-logos {
        justify-content: flex-start;
    }

    .fh-footer__licenses {
        justify-content: start;
        margin-inline: 0;
    }

   .fh-footer__bottom {
    margin-top: 0;
    padding-top: 12px;

    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    align-items: center;
    gap: 4px;

    text-align: center;
}
.fh-footer__made {
    order: 1;

    width: 100%;

    text-align: center;
}

.fh-footer__copy {
    order: 2;

    width: 100%;

    text-align: center;
}
}