.spna-site-footer,
.spna-site-footer * {
    box-sizing: border-box;
}

.spna-site-footer {
    width: 100vw;
    max-width: 100vw;
    display: block;
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
    margin-bottom: 0;
    margin-top: 86px;
    position: relative;
    isolation: isolate;
    background: transparent;
    color: #ffffff;
    font-family: inherit;
    line-height: 1.8;
    direction: rtl;
    overflow-x: hidden;
    overflow-x: clip;
}

.spna-site-footer::before {
    content: "";
    position: absolute;
    inset: 0 calc((100vw - 100%) / -2);
    z-index: -1;
    background: #214a83;
}

.spna-site-footer a {
    color: inherit;
    text-decoration: none;
}

.spna-site-footer .screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.spna-site-footer__inner {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    padding: 0;
}

.spna-site-footer-card {
    min-height: 122px;
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 28px;
    align-items: center;
    padding: 26px 36px;
    background: linear-gradient(180deg, #1889ff 0%, #164989 100%);
    border-radius: 14px 14px 0 0;
    box-shadow: 0 -10px 24px rgba(20, 118, 243, 0.16);
    transform: translateY(-64px);
    margin-bottom: -42px;
}

.spna-site-footer-card__brand {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 28px;
    border-left: 1px solid rgba(255, 255, 255, 0.65);
}

.spna-site-footer-card__logo {
    display: block;
    width: min(310px, 100%);
    height: auto;
}

.spna-site-footer-card p {
    margin: 0;
    color: #ffffff;
    font-size: 13px;
    text-align: justify;
}

.spna-site-footer-contact {
    display: grid;
    grid-template-columns: minmax(150px, 0.8fr) minmax(170px, 0.9fr) minmax(430px, 1.8fr);
    gap: 18px;
    padding: 0;
    margin: 0 0 28px;
    list-style: none;
    color: #ffffff;
    font-size: 15px;
    font-weight: 800;
}

.spna-site-footer-contact li {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    text-align: center;
    color: #ffffff;
    white-space: nowrap;
}

.spna-site-footer-contact img {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
}

.spna-site-footer-contact a,
.spna-site-footer-contact span {
    color: #ffffff !important;
}

.spna-site-footer-contact__address {
    justify-content: flex-start;
    text-align: right;
}

.spna-site-footer-newsletter {
    width: min(920px, 100%);
    height: 48px;
    margin: 0 auto 34px;
    display: grid;
    grid-template-columns: 1fr 320px;
    border: 4px solid #ffffff;
    border-radius: 24px;
    overflow: hidden;
    background: #ffffff;
}

.spna-site-footer-newsletter input,
.spna-site-footer-newsletter button {
    min-width: 0;
    border: 0;
    font: inherit;
}

.spna-site-footer-newsletter input {
    padding: 0 26px;
    color: #1f2937;
    outline: none;
}

.spna-site-footer-newsletter button {
    cursor: pointer;
    color: #ffffff;
    background: #214a83;
    font-weight: 700;
}

.spna-site-footer-newsletter .np-input1 {
    direction: rtl;
    text-align: right;
    background: #ffffff;
    color: #1f2937;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.spna-site-footer-newsletter .np-input1::placeholder {
    color: #6b7280;
    direction: rtl;
    text-align: right;
}

.spna-site-footer-newsletter .np-input1:focus {
    background: #ffffff;
    border: 0;
    box-shadow: none;
}

.spna-site-footer-newsletter .np-submit-btn1 {
    width: auto;
    min-width: 0;
    border-radius: 0;
    background: #214a83;
    box-shadow: none;
}

.spna-site-footer-newsletter-message {
    width: min(920px, 100%);
    margin: -20px auto 28px;
}

.spna-site-footer-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    margin-bottom: 30px;
    text-align: center;
}

.spna-site-footer-nav h2 {
    margin: 0 0 12px;
    color: #ffffff !important;
    font-size: 20px;
    line-height: 1.5;
}

.spna-site-footer-nav a {
    display: block;
    padding: 3px 0;
    color: #ffffff !important;
    font-size: 14px;
}

.spna-site-footer-credentials {
    display: grid;
    grid-template-columns: minmax(360px, 520px) 1fr;
    align-items: center;
    gap: 34px;
    margin-bottom: 0;
    direction: ltr;
}

.spna-site-footer-trust-box {
    min-height: 82px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: center;
    gap: 18px;
    padding: 12px 24px;
    border-radius: 14px 14px 0 0;
    background: #e0e3e6;
    direction: rtl;
}

.spna-site-footer-trust-box img {
    display: block;
    width: 100%;
    max-height: 58px;
    object-fit: contain;
}

.spna-site-footer-social {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 19px;
}

.spna-site-footer-social a {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0.72;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.spna-site-footer-social a:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.spna-site-footer-social img {
    display: block;
    width: 20px;
    height: 20px;
}

.spna-site-footer__bottom {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin: 0 calc((100vw - 100%) / -2);
    padding: 12px calc((100vw - 100%) / 2);
    background: #1476f3;
    color: #ffffff;
    font-size: 12px;
    text-align: center;
}

.spna-site-footer__bottom span {
    margin: 0;
    width: 100%;
}

@media (max-width: 820px) {
    .spna-site-footer-card,
    .spna-site-footer-contact,
    .spna-site-footer-credentials {
        grid-template-columns: 1fr;
    }

    .spna-site-footer-nav {
        display: none;
    }

    .spna-site-footer-card {
        gap: 18px;
        padding: 24px 22px;
        text-align: center;
    }

    .spna-site-footer-card__brand {
        justify-content: center;
        padding-left: 0;
        padding-bottom: 18px;
        border-left: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.55);
    }

    .spna-site-footer-card p {
        text-align: center;
    }

    .spna-site-footer-newsletter {
        height: auto;
        grid-template-columns: 1fr;
        border-radius: 16px;
    }

    .spna-site-footer-newsletter input,
    .spna-site-footer-newsletter button {
        min-height: 44px;
        text-align: center;
    }

    .spna-site-footer__bottom {
        flex-direction: column;
        text-align: center;
    }

    .spna-site-footer-credentials {
        gap: 20px;
    }

    .spna-site-footer-social {
        order: -1;
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 460px) {
    .spna-site-footer-card__brand {
        flex-direction: column;
    }

    .spna-site-footer-trust-box {
        gap: 10px;
        padding: 10px 14px;
    }
}
