.footer {
    width: 100%;
    background: #fff;
}

.footer,
.footer *,
.footer *::before,
.footer *::after {
    box-sizing: border-box;
}

.footer-stack {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.footer-cta-strip {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 56px 0;
    background: #252691;
}

.footer-cta-inner {
    width: 100%;
    max-width: var(--content-max-width);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.footer-cta-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    min-width: min(100%, 448px);
    flex: 1 1 320px;
}

.footer-cta-label {
    font-family: var(--second-family);
    font-weight: 600;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #7b7ecc;
}

.footer-cta-title-wrap {
    padding-top: 4px;
}

.footer-cta-title {
    font-family: var(--second-family);
    font-weight: 700;
    font-size: 24px;
    line-height: 30px;
    color: #fff;
}

.footer-cta-desc {
    margin: 0;
    max-width: 377px;
    width: 100%;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #a0a3e8;
}

.footer-cta-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 12px;
}

.footer-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 99px;
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
}

.footer-cta-btn-primary {
    background: #fff;
    color: #252691;
}

.footer-cta-btn-outline {
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.footer-partners-strip {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 32px 0;
    background: #f6f6fa;
    border-top: 1px solid #e2e2ec;
    border-bottom: 1px solid #e2e2ec;
}

.footer-partners-inner {
    width: 100%;
    max-width: var(--content-max-width);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.footer-partners-heading-wrap {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-partners-heading {
    font-family: var(--second-family);
    font-weight: 600;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    text-align: center;
    color: #717188;
}

.footer-partners-logos {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.footer-partners-track {
    display: flex;
    align-items: center;
    gap: 40px;
    width: max-content;
    animation: home-partners-marquee 26s linear infinite;
}

.footer-partner-logo {
    flex: 0 0 179.53px;
    width: 179.53px;
    height: 84.87px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--second-family);
    font-size: 16px;
    font-weight: 600;
    color: #717188;
    background: #fff;
}

.footer-partner-logo img {
    width: 100%;
    max-width: 180px;
    height: 81px;
    object-fit: contain;
}

@keyframes home-partners-marquee {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(calc(-50% - 20px), 0, 0);
    }
}

@media (max-width: 900px) {
    .footer-partners-track {
        gap: 28px;
        animation-duration: 22s;
    }

    .footer-partner-logo {
        flex-basis: 156px;
        width: 156px;
        height: 74px;
    }
}

@media (max-width: 600px) {
    .footer-partners-track {
        gap: 20px;
        animation-duration: 18s;
    }

    .footer-partner-logo {
        flex-basis: 132px;
        width: 132px;
        height: 64px;
    }
}

@media (max-width: 480px) {
    .footer-partners-track {
        gap: 16px;
        animation-duration: 16s;
    }

    .footer-partner-logo {
        flex-basis: 118px;
        width: 118px;
        height: 58px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .footer-partners-track {
        animation: none;
    }
}

.footer-main {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 32px 0 0;
    background: #17171a;
}

.footer-container {
    width: 100%;
    max-width: var(--content-max-width);
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.footer-column-main {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 40px;
    width: 100%;
}

.footer-col {
    box-sizing: border-box;
    flex: 0 1 278px;
    width: 278px;
    max-width: 100%;
    min-width: 0;
}

.footer-brand-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding-bottom: 5px;
}

.footer-logo-row {
    display: inline-flex;
    align-items: center;
}

.footer-logo-text {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 31px;
    line-height: 28px;
    color: #fff;
}

.footer-logo-dot {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 31px;
    line-height: 28px;
    color: #ff191e;
}

.footer-intro {
    margin: 0;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 14px;
    line-height: 22.75px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-messengers {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: flex-start;
}

.footer-messenger {
    padding: 6px 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.1);
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 12px;
    line-height: 16px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.footer-section-contacts {
    padding-bottom: 0;
}

.footer-section-hours {
    padding-bottom: 62.5px;
    gap: 15.4px;
}

.footer-section-title {
    font-family: var(--second-family);
    font-weight: 600;
    font-size: 13px;
    line-height: 16px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
}

.footer-section-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
}

.footer-section-link-wrap {
    padding-top: 2.5px;
    padding-bottom: 1.5px;
}

.footer-section-link {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-section-link:hover {
    color: rgba(255, 255, 255, 0.9);
}

.footer-contact-rows {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-contact-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.footer-contact-row-address {
    align-items: flex-start;
}

.footer-contact-icon-img {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    margin-top: 2px;
    display: block;
}

.footer-contact-icon-svg {
    flex-shrink: 0;
    margin-top: 2px;
    display: block;
}

.footer-contact-text {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: rgba(255, 255, 255, 0.7);
}

a.footer-contact-text:hover {
    color: rgba(255, 255, 255, 0.9);
}

.footer-hours-text {
    margin: 0;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 14px;
    line-height: 22.75px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 24px;
    padding-bottom: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-credits {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 13px;
    line-height: 16px;
    color: rgba(255, 255, 255, 0.4);
}

.footer-credits-link {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s ease;
}

.footer-credits-link:hover {
    color: rgba(255, 255, 255, 0.85);
}

.footer-privacy {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 13px;
    line-height: 24px;
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
}

.footer-privacy:hover {
    color: rgba(255, 255, 255, 0.65);
}

/* Responsive footer */
.footer-cta-inner,
.footer-partners-inner,
.footer-container {
    box-sizing: border-box;
}

.footer-cta-title,
.footer-partners-heading,
.footer-section-title,
.footer-contact-text,
.footer-hours-text,
.footer-credits,
.footer-privacy {
    overflow-wrap: anywhere;
}

@media (max-width: 1280px) {
    .footer-cta-inner,
    .footer-partners-inner,
    .footer-container {
        padding-left: 24px;
        padding-right: 24px;
    }

    .footer-cta-strip {
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .footer-partners-strip {
        padding-top: 28px;
        padding-bottom: 28px;
    }

    .footer-column-main {
        flex-wrap: nowrap;
        align-items: flex-start;
        gap: 28px;
    }

    .footer-col {
        flex: 1 1 0;
        width: auto;
        min-width: 0;
    }
}

@media (max-width: 1000px) {
    .footer-column-main {
        flex-wrap: wrap;
        gap: 20px;
    }

    .footer-col {
        flex: 1 1 calc(50% - 10px);
        width: calc(50% - 10px);
    }

    .footer-col-brand,
    .footer-col-nav {
        order: 1;
    }

    .footer-col-contacts,
    .footer-col-hours {
        order: 2;
    }
}

@media (max-width: 900px) {
    .footer-cta-inner {
        gap: 20px;
    }

    .footer-cta-text {
        min-width: 0;
    }

    .footer-cta-title {
        font-size: 22px;
        line-height: 1.3;
    }

    .footer-main {
        padding-top: 28px;
    }
}

@media (max-width: 700px) {
    .footer-cta-inner,
    .footer-partners-inner,
    .footer-container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .footer-col {
        flex: 1 1 100%;
        width: 100%;
    }

    .footer-column-main {
        gap: 24px;
    }

    .footer-section-hours {
        padding-bottom: 0;
    }

    .footer-bottom-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

@media (max-width: 600px) {
    .footer-cta-strip {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .footer-cta-actions {
        width: 100%;
    }

    .footer-cta-btn {
        width: 100%;
    }

    .footer-partners-strip {
        padding-top: 24px;
        padding-bottom: 24px;
    }

    .footer-logo-text,
    .footer-logo-dot {
        font-size: 27px;
        line-height: 1;
    }
}

@media (max-width: 480px) {
    .footer-cta-inner,
    .footer-partners-inner,
    .footer-container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .footer-cta-title {
        font-size: 20px;
    }

    .footer-intro,
    .footer-hours-text {
        font-size: 13px;
        line-height: 1.55;
    }

    .footer-contact-row {
        gap: 6px;
    }
}