/* ─── AQUA MALACCA — Footer responsive (front page #siteFooter) ─── */

@media (max-width: 1280px) {
    .site-footer__inner {
        padding: 52px 80px 36px 52px;
    }

    .site-footer__top {
        gap: 48px 72px;
        grid-template-columns: minmax(460px, 1.1fr) minmax(320px, 400px);
    }

    .site-footer__nav {
        gap: 28px 40px;
        padding: 44px 0 36px;
    }

    .site-footer__top-btn {
        right: 32px;
    }
}

@media (max-width: 1024px) {
    .site-footer {
        height: auto;
        min-height: auto;
    }

    .site-footer__inner {
        padding: 48px 32px 32px;
        justify-content: flex-start;
        gap: 8px;
    }

    .site-footer__top {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .site-footer__newsletter {
        justify-self: stretch;
        max-width: none;
        padding-top: 0;
        width: 100%;
    }

    .site-footer__nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 32px 24px;
        padding: 36px 0 32px;
    }

    .site-footer__bar {
        grid-template-columns: 1fr;
        gap: 24px;
        text-align: center;
    }

    .site-footer__social {
        justify-content: center;
    }

    .site-footer__legal {
        justify-content: center;
        flex-wrap: wrap;
        gap: 16px 24px;
    }

    .site-footer__tagline {
        text-align: center;
    }

    .site-footer__bottom {
        width: 100%;
    }

    .site-footer__meta {
        text-align: center;
        margin-top: 20px;
        padding-top: 16px;
        border-top: 1px solid rgba(255, 255, 255, 0.06);
    }

    .site-footer__copy {
        margin-inline: auto;
        max-width: 360px;
    }

    .site-footer__top-btn {
        top: 24px;
        right: 24px;
        flex-direction: row;
        gap: 10px;
    }

    .site-footer__top-text {
        writing-mode: horizontal-tb;
        transform: none;
    }

    html[dir="rtl"] .site-footer__top-btn {
        right: auto;
        left: 24px;
    }

    .site-footer__orb--1 {
        width: 360px;
        height: 360px;
    }

    .site-footer__orb--2 {
        width: 280px;
        height: 280px;
    }

    .site-footer__orb--3 {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 768px) {
    .site-footer__inner {
        padding: 40px 20px 28px;
    }

    .site-footer__top {
        gap: 32px;
    }

    .site-footer__brand {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .site-footer__logo {
        margin-bottom: 28px;
    }

    .site-footer__headline {
        font-size: clamp(32px, 8.5vw, 44px);
        margin-bottom: 22px;
        max-width: none;
    }

    .site-footer__divider {
        max-width: none;
        width: 100%;
        justify-content: center;
    }

    .site-footer__desc {
        max-width: none;
        font-size: 12.5px;
        line-height: 1.75;
        margin-bottom: 24px;
    }

    .site-footer__cta {
        width: 100%;
        justify-content: center;
        padding: 12px 16px;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.04);
        border: 1px solid rgba(255, 255, 255, 0.08);
    }

    .site-footer__newsletter-title {
        font-size: 9px;
        letter-spacing: 0.22em;
        text-align: center;
    }

    .site-footer__newsletter-desc {
        text-align: center;
        font-size: 11.5px;
        margin-bottom: 16px;
    }

    .site-footer__input {
        font-size: 14px;
        padding: 14px 52px 14px 16px;
    }

    .site-footer__nav {
        grid-template-columns: 1fr 1fr;
        gap: 28px 16px;
        padding: 28px 0 24px;
    }

    .site-footer__col-title {
        font-size: 9px;
        letter-spacing: 0.16em;
        margin-bottom: 14px;
    }

    .site-footer__links {
        gap: 10px;
    }

    .site-footer__links a {
        font-size: 11.5px;
    }

    .site-footer__bar {
        gap: 20px;
        padding-top: 22px;
        width: 100%;
        box-sizing: border-box;
    }

    .site-footer__bottom {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    .site-footer__social {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        width: 100%;
    }

    .site-footer__social-label {
        margin-right: 0;
        margin-bottom: 4px;
        display: block;
        width: 100%;
        text-align: center;
    }

    .site-footer__social a {
        justify-content: center;
    }

    .site-footer__legal {
        gap: 12px 20px;
        width: 100%;
        justify-content: center;
    }

    .site-footer__legal a {
        font-size: 10px;
        white-space: nowrap;
    }

    .site-footer__tagline {
        font-size: 8px;
        letter-spacing: 0.14em;
        line-height: 1.7;
        max-width: min(100%, 320px);
        margin-inline: auto;
        width: 100%;
        box-sizing: border-box;
    }

    .site-footer__meta {
        margin-top: 20px;
        padding-top: 18px;
        border-top: 1px solid rgba(255, 255, 255, 0.06);
        text-align: center;
        width: 100%;
        box-sizing: border-box;
    }

    .site-footer__copy {
        font-size: 9px;
        line-height: 1.65;
        max-width: 300px;
        margin-inline: auto;
        word-break: break-word;
    }

    html[lang="fa"] .site-footer__copy {
        letter-spacing: 0;
        text-transform: none;
    }

    .site-footer__top-btn {
        top: 16px;
        right: 16px;
    }

    .site-footer__top-text {
        display: none;
    }

    .site-footer__top-icon {
        width: 40px;
        height: 40px;
    }

    html[dir="rtl"] .site-footer__top-btn {
        left: 16px;
    }

    html[dir="rtl"] .site-footer__input {
        padding: 14px 16px 14px 52px;
    }

    html[dir="rtl"] .site-footer__submit {
        right: auto;
        left: 8px;
    }
}

@media (max-width: 480px) {
    .site-footer__inner {
        padding: 36px 16px 24px;
    }

    .site-footer__headline {
        font-size: clamp(28px, 9.5vw, 36px);
    }

    .site-footer__nav {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .site-footer__col {
        padding-bottom: 4px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .site-footer__col:last-child {
        border-bottom: none;
    }

    .site-footer__social a {
        font-size: 10px;
    }

    .site-footer__legal {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .site-footer__meta {
        margin-top: 16px;
        padding-top: 16px;
    }

    .site-footer__copy {
        font-size: 8.5px;
        max-width: 260px;
    }

    .site-footer__orb--1,
    .site-footer__orb--2,
    .site-footer__orb--3 {
        opacity: 0.55;
    }
}

@media (max-width: 360px) {
    .site-footer__inner {
        padding-inline: 14px;
    }

    .site-footer__cta-icon {
        width: 40px;
        height: 40px;
    }

    .site-footer__cta-label {
        font-size: 9px;
        letter-spacing: 0.16em;
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-footer {
        background-size: cover !important;
    }

    .site-footer__bar > *,
    .site-footer__social a,
    .site-footer__tagline-word-inner,
    .site-footer__copy {
        opacity: 1 !important;
        transform: none !important;
    }
}
