.sw-footer {
    background: var(--sw-dark);
    color: rgba(255,248,240,0.85);
    padding: 56px 0 0;
    position: relative;
}

.sw-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 0;
    border-top: 1.5px solid rgba(126,200,184,0.25);
    border-bottom: 1.5px solid rgba(126,200,184,0.25);
    padding-top: 3px;
}

.sw-footer__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 48px;
}

.sw-footer__logo {
    display: block;
    text-decoration: none;
    margin-bottom: 16px;
}

.sw-footer__logo span {
    font-family: var(--sw-font-ui);
    font-weight: 700;
    font-size: 22px;
    color: #FFF8F0;
    letter-spacing: -0.5px;
}

.sw-footer__logo span em {
    color: var(--sw-mint);
    font-style: normal;
}

.sw-footer__desc {
    font-family: var(--sw-font-body);
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255,248,240,0.7);
    margin-bottom: 24px;
    max-width: 280px;
}

.sw-footer__social {
    display: flex;
    gap: 12px;
}

.sw-footer__social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid rgba(255,248,240,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,248,240,0.85);
    transition: all 0.25s;
    text-decoration: none;
}

.sw-footer__social a:hover {
    border-color: var(--sw-mint);
    color: var(--sw-mint);
    background: rgba(126,200,184,0.08);
}

.sw-footer__social svg {
    width: 16px;
    height: 16px;
}

.sw-footer__heading {
    font-family: var(--sw-font-ui);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: var(--sw-mint);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.sw-footer__heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 24px;
    height: 0;
    border-top: 1px solid var(--sw-mint);
    border-bottom: 1px solid var(--sw-mint);
    padding-top: 2px;
}

.sw-footer__heading svg {
    display: none;
}

.sw-footer__links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.sw-footer__links li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sw-footer__links a {
    font-family: var(--sw-font-ui);
    font-size: 13px;
    font-weight: 500;
    color: rgba(255,248,240,0.85);
    text-decoration: none;
    transition: color 0.2s;
    display: inline-block;
}

.sw-footer__links a:hover {
    color: #FFF8F0;
}

.sw-footer__bottom {
    margin-top: 48px;
    padding: 20px 0;
    position: relative;
}

.sw-footer__bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 0;
    border-top: 1px solid rgba(255,248,240,0.06);
    border-bottom: 1px solid rgba(255,248,240,0.06);
    padding-top: 2px;
}

.sw-footer__bottom-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sw-footer__copy {
    font-family: var(--sw-font-ui);
    font-size: 11px;
    color: rgba(255,248,240,0.5);
    letter-spacing: 0.3px;
}

.sw-footer__legal {
    display: flex;
    gap: 20px;
}

.sw-footer__legal a {
    font-family: var(--sw-font-ui);
    font-size: 11px;
    color: rgba(255,248,240,0.5);
    text-decoration: none;
    transition: color 0.2s;
}

.sw-footer__legal a:hover {
    color: rgba(255,248,240,0.75);
}

body.sw-dark .sw-footer {
    background: #151224;
}

body.sw-dark .sw-footer::before {
    border-top-color: rgba(126,200,184,0.15);
    border-bottom-color: rgba(126,200,184,0.15);
}

@media (max-width: 768px) {
    .sw-footer {
        padding: 40px 0 0;
    }

    .sw-footer__container {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 0 20px;
    }

    .sw-footer__brand {
        padding-bottom: 24px;
        margin-bottom: 8px;
        border-bottom: 1px solid rgba(255,248,240,0.06);
    }

    .sw-footer__desc {
        max-width: 100%;
    }

    .sw-footer__col {
        border-bottom: 1px solid rgba(255,248,240,0.06);
    }

    .sw-footer__heading {
        padding: 16px 0;
        margin-bottom: 0;
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .sw-footer__heading::after {
        display: none;
    }

    .sw-footer__heading svg {
        display: block;
        width: 14px;
        height: 14px;
        color: rgba(255,248,240,0.5);
        transition: transform 0.3s;
        flex-shrink: 0;
    }

    .sw-footer__heading.is-open svg {
        transform: rotate(180deg);
    }

    .sw-footer__links-wrap {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .sw-footer__links-wrap.is-open {
        max-height: 300px;
    }

    .sw-footer__links {
        padding-bottom: 16px;
    }

    .sw-footer__bottom-inner {
        flex-direction: column;
        gap: 12px;
        text-align: center;
        padding: 0 20px;
    }

    .sw-footer__legal {
        gap: 16px;
    }
}
