.kotia-checkout-footer {
    background: #111111;
    color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Arial, sans-serif;
    padding: 64px 20px 28px;
}

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

.kotia-checkout-footer__inner {
    margin: 0 auto;
    max-width: 1180px;
}

.kotia-checkout-footer__grid {
    display: grid;
    gap: 42px;
    grid-template-columns: minmax(0, 1.2fr) minmax(140px, 0.7fr) minmax(0, 1fr) minmax(0, 1.1fr);
}

.kotia-checkout-footer__brand-link {
    align-items: center;
    color: #ffffff;
    display: inline-flex;
    gap: 12px;
    margin-bottom: 18px;
    text-decoration: none;
}

.kotia-checkout-footer__logo {
    background: #ffffff;
    border-radius: 999px;
    display: block;
    height: 42px;
    object-fit: contain;
    width: 42px;
}

.kotia-checkout-footer__brand-name {
    color: #ffffff;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.2;
}

.kotia-checkout-footer__text {
    color: rgba(255, 255, 255, 0.72);
    font-size: 15px;
    line-height: 1.75;
    margin: 0;
    max-width: 360px;
}

.kotia-checkout-footer__heading {
    color: #f4b400;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.16em;
    line-height: 1.3;
    margin: 0 0 18px;
    text-transform: uppercase;
}

.kotia-checkout-footer__links,
.kotia-checkout-footer__contact,
.kotia-checkout-footer__legal {
    list-style: none;
    margin: 0;
    padding: 0;
}

.kotia-checkout-footer__links,
.kotia-checkout-footer__contact {
    display: grid;
    gap: 12px;
}

.kotia-checkout-footer a {
    color: rgba(255, 255, 255, 0.74);
    text-decoration: none;
    transition: color 160ms ease, opacity 160ms ease;
}

.kotia-checkout-footer a:hover,
.kotia-checkout-footer a:focus-visible {
    color: #f4b400;
}

.kotia-checkout-footer__contact-label {
    color: #ffffff;
    display: block;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 3px;
}

.kotia-checkout-footer__contact-value {
    color: rgba(255, 255, 255, 0.74);
    font-size: 14px;
    line-height: 1.65;
}

.kotia-checkout-footer__form {
    display: grid;
    gap: 10px;
    margin-top: 20px;
}

.kotia-checkout-footer__field-row {
    display: flex;
    gap: 10px;
}

.kotia-checkout-footer__label,
.kotia-checkout-footer__honeypot {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

.kotia-checkout-footer__input {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    color: #ffffff;
    flex: 1 1 auto;
    font: inherit;
    font-size: 14px;
    height: 46px;
    min-width: 0;
    outline: none;
    padding: 0 17px;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.kotia-checkout-footer__input::placeholder {
    color: rgba(255, 255, 255, 0.46);
}

.kotia-checkout-footer__input:focus {
    border-color: #f4b400;
    box-shadow: 0 0 0 3px rgba(244, 180, 0, 0.18);
}

.kotia-checkout-footer__button {
    background: #f4b400;
    border: 0;
    border-radius: 999px;
    color: #111111;
    cursor: pointer;
    flex: 0 0 auto;
    font: inherit;
    font-size: 14px;
    font-weight: 800;
    height: 46px;
    padding: 0 20px;
    transition: background-color 160ms ease, transform 160ms ease;
}

.kotia-checkout-footer__button:hover,
.kotia-checkout-footer__button:focus-visible {
    background: #d99a00;
}

.kotia-checkout-footer__button:active {
    transform: translateY(1px);
}

.kotia-checkout-footer__button:disabled {
    cursor: wait;
    opacity: 0.68;
}

.kotia-checkout-footer__message {
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
    line-height: 1.5;
    margin: 0;
    min-height: 20px;
}

.kotia-checkout-footer__message.is-success {
    color: #f4b400;
}

.kotia-checkout-footer__message.is-error {
    color: #ffb4a8;
}

.kotia-checkout-footer__divider {
    background: rgba(255, 255, 255, 0.13);
    height: 1px;
    margin: 44px 0 24px;
}

.kotia-checkout-footer__bottom {
    align-items: center;
    color: rgba(255, 255, 255, 0.62);
    display: flex;
    font-size: 14px;
    gap: 24px;
    justify-content: space-between;
}

.kotia-checkout-footer__copyright {
    line-height: 1.6;
    margin: 0;
}

.kotia-checkout-footer__legal {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

@media (max-width: 960px) {
    .kotia-checkout-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .kotia-checkout-footer {
        padding: 48px 20px 26px;
    }

    .kotia-checkout-footer__grid {
        gap: 34px;
        grid-template-columns: 1fr;
    }

    .kotia-checkout-footer__field-row {
        flex-direction: column;
    }

    .kotia-checkout-footer__button {
        width: 100%;
    }

    .kotia-checkout-footer__bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }
}
