/* SYS footer — reference composition: white sky, marquee, full mountain, content over darker lower area. */

.sys-footer {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    min-height: 100vh;
    background-color: #ffffff;
    overflow-x: hidden;
}

.sys-footer-marquee {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    padding-top: 4.5rem;
    overflow: hidden;
    pointer-events: none;
}

.sys-footer-marquee-text {
    color: rgba(55, 65, 81, 0.12);
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1;
}

.sys-footer-art {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

.sys-footer-art-img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center 18%;
}

.sys-footer-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0) 28%,
        rgba(11, 46, 26, 0.18) 52%,
        rgba(11, 46, 26, 0.42) 78%,
        rgba(11, 46, 26, 0.58) 100%
    );
}

.sys-footer-content {
    position: relative;
    z-index: 5;
    width: 100%;
    padding-top: 10rem;
    padding-bottom: 1.5rem;
}

.sys-footer-brand {
    margin-bottom: 2rem;
}

.sys-footer-logo {
    display: block;
    width: auto;
    height: auto;
    max-width: min(58vw, 17.5rem);
    max-height: 8.5rem;
    object-fit: contain;
}

.sys-footer-desc {
    margin: 0 auto;
    max-width: 36rem;
    padding: 0 1rem;
    font-size: 0.8125rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.92);
}

.sys-footer-columns {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.75rem;
    width: 100%;
    max-width: 56rem;
    margin: 0 auto 0.5rem;
}

.sys-footer-columns h3 {
    margin: 0 0 0.65rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: #fff;
}

.sys-footer-columns ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sys-footer-columns li {
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
    margin: 0 0 0.45rem;
    font-size: 0.875rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.88);
}

.sys-footer-columns li svg {
    flex-shrink: 0;
    width: 0.85rem;
    height: 0.85rem;
    margin-top: 0.2rem;
}

.sys-footer-columns a {
    color: inherit;
    text-decoration: none;
}

.sys-footer-columns a:hover {
    color: #fff;
    text-decoration: underline;
}

.sys-footer-bottom {
    z-index: 5;
    width: 100%;
}

.sys-footer-bottom-inner {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem 1rem;
    text-align: center;
}

.sys-footer-copy {
    font-size: 0.75rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.85);
}

.sys-footer-payments {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.75rem;
}

.sys-footer-payments img {
    height: 1.35rem;
    width: auto;
}

@media (min-width: 768px) {
    .sys-footer-content {
        padding-top: 12rem;
    }

    .sys-footer-logo {
        max-width: 19rem;
        max-height: 9.5rem;
    }

    .sys-footer-columns {
        grid-template-columns: 1fr 1fr;
        gap: 2rem 2.5rem;
        max-width: 44rem;
    }

    .sys-footer-columns > :last-child {
        grid-column: 1 / -1;
        max-width: 22rem;
    }

    .sys-footer-bottom-inner {
        flex-direction: row;
        text-align: left;
        padding: 0.85rem 2rem 1.15rem;
    }
}

@media (min-width: 1024px) {
    .sys-footer-marquee {
        padding-top: 5.5rem;
    }

    .sys-footer-content {
        padding-top: 14rem;
        padding-bottom: 2rem;
    }

    .sys-footer-logo {
        max-width: 22rem;
        max-height: 11rem;
    }

    .sys-footer-columns {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 2.5rem 3.5rem;
        max-width: 58rem;
    }

    .sys-footer-columns > :last-child {
        grid-column: auto;
        max-width: none;
    }

    .sys-footer-columns h3 {
        font-size: 1.2rem;
    }

    .sys-footer-payments img {
        height: 1.75rem;
    }
}

@media (max-width: 767px) {
    .sys-footer {
        min-height: 0;
    }

    .sys-footer-content {
        padding-top: 7.5rem;
    }

    .sys-footer-logo {
        max-height: 5rem;
        max-width: 13.5rem;
    }

    .sys-footer-marquee {
        padding-top: 2.25rem;
    }

    .sys-footer-overlay {
        background: linear-gradient(
            180deg,
            rgba(11, 46, 26, 0.18) 0%,
            rgba(11, 46, 26, 0.42) 38%,
            rgba(11, 46, 26, 0.72) 100%
        );
    }
}
