.sfl-footer,
.sfl-footer * {
    box-sizing: border-box;
}

.sfl-footer {
    --sfl-bg: #1c1c1c;
    --sfl-text: #ffffff;
    --sfl-muted: #7f7f7f;
    --sfl-link: #ffffff;
    --sfl-divider: #262626;
    --sfl-accent: #00dbe9;
    --sfl-font: Lexend, sans-serif;
    position: relative;
    width: 100%;
    padding: 64px 0 32px;
    background: var(--sfl-bg);
    color: var(--sfl-text);
    font-family: var(--sfl-font);
    direction: ltr;
    text-align: left;
}

.sfl-footer__wrap {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 120px;
}

.sfl-footer__logo {
    display: inline-flex;
    margin-bottom: 32px;
    text-decoration: none;
}

.sfl-footer__logo img {
    display: block;
    height: 30px;
    width: auto;
}

.sfl-footer__main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 48px;
    align-items: start;
    margin-bottom: 40px;
}

.sfl-footer__cols {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 24px 32px;
}

.sfl-footer__col-head {
    display: none;
}

.sfl-footer__col-title {
    margin: 0 0 20px;
    color: var(--sfl-muted);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.3;
}

.sfl-footer__links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sfl-footer__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--sfl-link);
    font-size: 12px;
    font-weight: 300;
    line-height: 1.35;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.sfl-footer__link:hover {
    opacity: 0.7;
    color: var(--sfl-link);
}

.sfl-footer__link--heading {
    margin-top: 4px;
    font-weight: 500;
    cursor: pointer;
    opacity: 1;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font-family: inherit;
    text-align: left;
}

.sfl-footer__link--heading:hover {
    opacity: 1;
}

.sfl-footer__heading-chevron {
    flex-shrink: 0;
    opacity: 0.8;
    transition: transform 0.2s ease;
}

.sfl-footer__group {
    display: grid;
    gap: 0;
}

.sfl-footer__group-body {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    transition:
        grid-template-rows 0.38s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.28s ease,
        margin 0.38s cubic-bezier(0.22, 1, 0.36, 1);
    margin: 0;
}

.sfl-footer__group.is-open .sfl-footer__group-body {
    grid-template-rows: 1fr;
    opacity: 1;
    margin-top: 12px;
}

.sfl-footer__group-body-inner {
    overflow: hidden;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sfl-footer__group.is-open .sfl-footer__heading-chevron {
    transform: rotate(180deg);
}

.sfl-footer__link--icon {
    font-weight: 400;
}

.sfl-footer__link-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
    flex-shrink: 0;
}

.sfl-footer__link--primary {
    color: var(--sfl-accent);
    font-weight: 500;
}

.sfl-footer__link--primary:hover {
    color: var(--sfl-accent);
    opacity: 0.85;
}

.sfl-footer__aside {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
    min-width: 180px;
    padding-top: 2px;
}

.sfl-footer__portal--mobile {
    display: none;
}

.sfl-footer__contact {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    text-align: right;
    line-height: 1.7;
}

.sfl-footer__email {
    color: var(--sfl-text);
    font-size: 14px;
    font-weight: 300;
    text-decoration: none;
}

.sfl-footer__email:hover {
    opacity: 0.7;
    color: var(--sfl-text);
}

.sfl-footer__phone {
    margin: 0;
    color: var(--sfl-text);
    font-size: 14px;
    font-weight: 300;
    white-space: nowrap;
}

.sfl-footer__social {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 4px;
}

.sfl-footer__social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 33px;
    height: 33px;
    border-radius: 999px;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.sfl-footer__social-link:hover {
    opacity: 0.6;
}

.sfl-footer__social-link img {
    display: block;
    width: 33px;
    height: 33px;
    object-fit: contain;
}

.sfl-footer__divider {
    width: 100%;
    height: 0.5px;
    margin-bottom: 24px;
    background: var(--sfl-divider);
}

.sfl-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.sfl-footer__copy {
    margin: 0;
    color: var(--sfl-text);
    font-size: 12px;
    font-weight: 300;
    letter-spacing: 0.48px;
    line-height: 1.4;
}

.sfl-footer__certs {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sfl-footer__certs img {
    display: block;
    height: 50px;
    width: auto;
}

@media (max-width: 1200px) {
    .sfl-footer__wrap {
        padding: 0 40px;
    }

    .sfl-footer__cols {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 28px 24px;
    }
}

@media (max-width: 900px) {
    .sfl-footer__main {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .sfl-footer__aside {
        align-items: flex-start;
    }

    .sfl-footer__contact,
    .sfl-footer__social {
        align-items: flex-start;
        justify-content: flex-start;
        text-align: left;
    }
}

@media (max-width: 768px) {
    .sfl-footer {
        padding: 35px 0 28px;
    }

    .sfl-footer__wrap {
        padding: 0 20px;
    }

    .sfl-footer__logo {
        margin-bottom: 20px;
    }

    .sfl-footer__logo img {
        height: 26px;
    }

    .sfl-footer__main {
        margin-bottom: 24px;
        gap: 18px;
    }

    .sfl-footer__cols {
        display: block;
    }

    .sfl-footer__col {
        border-bottom: 0.5px solid rgba(255, 255, 255, 0.15);
    }

    .sfl-footer__col-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 16px 0;
        border: 0;
        background: transparent;
        color: var(--sfl-muted);
        font-family: inherit;
        font-size: 14px;
        font-weight: 500;
        text-align: left;
        cursor: pointer;
    }

    .sfl-footer__chevron {
        width: 8px;
        height: 8px;
        border-right: 1.5px solid currentColor;
        border-bottom: 1.5px solid currentColor;
        transform: rotate(45deg);
        transition: transform 0.25s ease;
    }

    .sfl-footer__col.is-open .sfl-footer__chevron {
        transform: rotate(-135deg);
    }

    .sfl-footer__col-title {
        display: none;
    }

    .sfl-footer__col-body {
        display: grid;
        grid-template-rows: 0fr;
        opacity: 0;
        overflow: hidden;
        transition:
            grid-template-rows 0.4s cubic-bezier(0.22, 1, 0.36, 1),
            opacity 0.28s ease;
    }

    .sfl-footer__col-body > * {
        overflow: hidden;
        min-height: 0;
    }

    .sfl-footer__col.is-open .sfl-footer__col-body {
        grid-template-rows: 1fr;
        opacity: 1;
    }

    .sfl-footer__group-body {
        padding-left: 2px;
    }

    .sfl-footer__links {
        gap: 12px;
        padding: 4px 0 16px;
    }

    .sfl-footer__link {
        font-size: 13px;
    }

    .sfl-footer__portal--mobile {
        display: inline-flex;
        margin-bottom: 8px;
        color: var(--sfl-accent);
        font-size: 16px;
        font-weight: 500;
        line-height: 1.3;
        text-decoration: none;
    }

    .sfl-footer__aside {
        width: 100%;
        align-items: flex-end;
        padding-top: 8px;
    }

    .sfl-footer__contact {
        align-items: flex-end;
        text-align: right;
    }

    .sfl-footer__email,
    .sfl-footer__phone {
        display: none;
    }

    .sfl-footer__social {
        justify-content: flex-end;
    }

    .sfl-footer__divider {
        margin-bottom: 18px;
    }

    .sfl-footer__bottom {
        align-items: flex-end;
        gap: 12px;
    }

    .sfl-footer__copy {
        font-size: 11px;
        letter-spacing: 0;
    }

    .sfl-footer__certs img {
        height: 42px;
    }
}
