.footer {
    width: 100%;
    padding: 120px 24px 16px;
    box-sizing: border-box;
}

.footer__container {
    margin: 0;
    padding: 36px 40px 28px;
    border: 1px solid rgba(225, 241, 255, 0.08);
    border-radius: 20px;
    background: linear-gradient(90deg, rgba(79, 70, 229, 0.12) 0%, rgba(40, 148, 236, 0.12) 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    gap: 28px;
    color: rgb(225, 241, 255);
}

.footer__brand {
    display: flex;
    align-items: center;
}

.footer__brand-name {
    font-size: 40px;
    line-height: 1;
    letter-spacing: 0.02em;
}

.footer__nav-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 48px 32px;
    width: 100%;
}

.footer__nav-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}

.footer__nav-title {
    margin: 0 0 4px;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(225, 241, 255, 0.4);
}

.footer__nav-link {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: rgba(225, 241, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s ease;
    width: max-content;
}

.footer__nav-link:hover {
    color: rgb(225, 241, 255);
}

/* === Subscribe column === */
.footer__subscribe-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
    max-width: 420px;
}

.footer__subscribe-desc {
    margin: 0 0 4px;
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    line-height: 1.5;
    color: rgba(225, 241, 255, 0.55);
}

.footer__subscribe-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__subscribe-row {
    display: flex;
    gap: 8px;
    align-items: stretch;
}

.footer__subscribe-input {
    flex: 1;
    min-width: 0;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid rgba(225, 241, 255, 0.12) !important;
    background: rgba(225, 241, 255, 0.04) !important;
    color: rgb(225, 241, 255) !important;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    line-height: 1.2;
    outline: none;
    transition: border-color 0.2s ease, background 0.2s ease;
    box-sizing: border-box;
}

.footer__subscribe-input::placeholder {
    color: rgba(225, 241, 255, 0.4) !important;
}

.footer__subscribe-input:focus {
    border-color: rgba(40, 148, 236, 0.5) !important;
    background: rgba(225, 241, 255, 0.06) !important;
}

.footer__subscribe-button {
    padding: 10px 18px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(90deg, #4F46E5 0%, #2894EC 100%);
    color: #fff;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: filter 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
}

.footer__subscribe-button:hover {
    filter: brightness(1.1);
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.3);
}

.footer__subscribe-consent {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 4px;
}

.footer__subscribe-consent .checkbox + .checkbox__label {
    width: 18px;
    height: 18px;
    min-width: 18px;
    min-height: 18px;
    max-height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
    cursor: pointer;
}

.footer__subscribe-consent .checkbox__span {
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    line-height: 1.5;
    color: rgba(225, 241, 255, 0.65);
}

.footer__subscribe-consent .checkbox__span a {
    color: rgb(225, 241, 255);
    text-decoration: underline;
    text-decoration-color: rgba(79, 70, 229, 0.5);
    text-underline-offset: 3px;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.footer__subscribe-consent .checkbox__span a:hover {
    color: #2894EC;
    text-decoration-color: rgba(40, 148, 236, 0.7);
}

.footer__subscribe-status {
    font-family: 'Roboto', sans-serif;
    font-size: 12px;
    min-height: 16px;
    color: rgba(225, 241, 255, 0.6);
    transition: color 0.2s ease;
}

.footer__subscribe-status.is-success {
    color: #4ade80;
}

.footer__subscribe-status.is-error {
    color: #ff3b5c;
}

/* === Divider === */
.footer__divider {
    width: 100%;
    height: 1px;
    background: rgba(225, 241, 255, 0.08);
}

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

.footer__bottom-left {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    color: rgba(225, 241, 255, 0.5);
}

.footer__legal-inline {
    color: rgba(225, 241, 255, 0.5);
}

.footer__bottom-sep {
    color: rgba(225, 241, 255, 0.25);
}

.footer__copyright {
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    color: rgba(225, 241, 255, 0.5);
}

.footer__lang {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
}

.footer__lang-link {
    color: rgba(225, 241, 255, 0.55);
    text-decoration: none;
    transition: color 0.2s ease;
    cursor: pointer;
}

a.footer__lang-link:hover {
    color: rgb(225, 241, 255);
}

.footer__lang-link--active {
    color: rgb(225, 241, 255);
    font-weight: 500;
    cursor: default;
}

.footer__lang-sep {
    color: rgba(225, 241, 255, 0.25);
}

@media (max-width: 1024px) {
    .footer {
        padding-top: 100px;
    }

    .footer__container {
        padding: 32px 28px 24px;
        gap: 24px;
    }

    .footer__brand-name {
        font-size: 32px;
    }

    .footer__nav-grid {
        gap: 28px;
    }

    .footer__subscribe-col {
        flex-basis: 100%;
        max-width: none;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 80px 12px 12px;
    }

    .footer__container {
        padding: 28px 20px 20px;
        gap: 22px;
        text-align: center;
    }

    .footer__brand {
        justify-content: center;
    }

    .footer__nav-grid {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }

    .footer__nav-col {
        align-items: center;
        width: 100%;
    }

    .footer__nav-link {
        width: auto;
    }

    .footer__subscribe-col {
        align-items: center;
    }

    .footer__subscribe-form {
        width: 100%;
        max-width: 360px;
    }

    .footer__subscribe-row {
        flex-direction: column;
    }

    .footer__subscribe-button {
        width: 100%;
    }

    .footer__subscribe-consent {
        text-align: left;
    }

    .footer__bottom {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .footer__bottom-left {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer__brand-name {
        font-size: 28px;
    }
}
