.cx-footer {
    --cx-navy: #163178;
    --cx-navy-2: #2449b0;
    --cx-ink: #1d2433;
    --cx-muted: #5d6677;
    --cx-line: #e3e8f2;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #f5f8ff 0%, #eef2fb 100%);
    font-family: "Nunito", sans-serif;
    color: var(--cx-muted);
}

.cx-footer::before {
    content: "";
    position: absolute;
    top: -180px;
    right: -120px;
    width: 460px;
    height: 460px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(36, 73, 176, 0.12) 0%, rgba(36, 73, 176, 0) 70%);
    pointer-events: none;
}

.cx-footer .container {
    position: relative;
    z-index: 1;
}

/* Highlighted stats band */
.cx-footer__stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    padding-top: 64px;
}

.cx-stat {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 26px 30px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--cx-navy) 0%, var(--cx-navy-2) 100%);
    box-shadow: 0 18px 40px -18px rgba(22, 49, 120, 0.55);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cx-stat::after {
    content: "";
    position: absolute;
    right: -40px;
    bottom: -60px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
}

.cx-stat:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 48px -18px rgba(22, 49, 120, 0.65);
}

.cx-stat__icon {
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 26px;
}

.cx-stat__body {
    position: relative;
    z-index: 1;
    min-width: 0;
}

.cx-stat__value {
    display: block;
    color: #fff;
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.cx-stat__label {
    display: block;
    margin-top: 6px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

/* Main columns */
.cx-footer__main {
    padding: 56px 0 44px;
}

.cx-footer__brand img {
    max-width: 180px;
    height: auto;
}

.cx-footer__about {
    margin: 18px 0 22px;
    color: var(--cx-muted);
    font-size: 15px;
    line-height: 1.7;
}

.cx-footer__stores {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cx-footer__stores img {
    height: 44px;
    width: auto;
}

.cx-footer__heading {
    margin-bottom: 20px;
    color: var(--cx-ink);
    font-size: 17px;
    font-weight: 800;
}

.cx-footer__links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.cx-footer__links li + li {
    margin-top: 12px;
}

.cx-footer__links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--cx-muted);
    font-size: 15px;
    font-weight: 600;
    transition: color 0.2s ease, transform 0.2s ease;
}

.cx-footer__links a::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--cx-line);
    transition: background 0.2s ease;
}

.cx-footer__links a:hover {
    color: var(--cx-navy);
    transform: translateX(3px);
}

.cx-footer__links a:hover::before {
    background: var(--cx-navy);
}

/* Contact card */
.cx-contact {
    padding: 30px;
    border: 1px solid var(--cx-line);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 12px 32px -20px rgba(22, 49, 120, 0.35);
}

.cx-contact__eyebrow {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(22, 49, 120, 0.08);
    color: var(--cx-navy);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.cx-contact__title {
    margin: 12px 0 6px;
    color: var(--cx-ink);
    font-size: 22px;
    font-weight: 800;
}

.cx-contact__text {
    margin-bottom: 18px;
    color: var(--cx-muted);
    font-size: 14px;
    line-height: 1.6;
}

.cx-contact__actions {
    display: grid;
    gap: 10px;
}

.cx-contact__btn {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 12px 16px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--cx-navy) 0%, var(--cx-navy-2) 100%);
    color: #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* !important needed: main.css forces `a:hover { color: var(--theme) !important }` site-wide */
.cx-contact__btn:hover {
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -12px rgba(22, 49, 120, 0.7);
}

.cx-contact__btn-icon {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.16);
    font-size: 15px;
}

.cx-contact__btn-text {
    overflow-wrap: anywhere;
    font-size: 19px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.cx-social {
    display: flex;
    gap: 10px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.cx-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--cx-line);
    border-radius: 12px;
    background: #fff;
    color: var(--cx-navy);
    font-size: 16px;
    transition: all 0.2s ease;
}

.cx-social a:hover {
    border-color: var(--cx-navy);
    background: var(--cx-navy);
    color: #fff !important;
}

/* Bottom bar */
.cx-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding: 22px 0;
    border-top: 1px solid var(--cx-line);
    font-size: 14px;
}

.cx-footer__bottom p {
    margin: 0;
    color: var(--cx-muted);
}

.cx-footer__bottom-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.cx-footer__bottom-links a {
    color: var(--cx-muted);
    font-weight: 600;
}

.cx-footer__bottom-links a:hover {
    color: var(--cx-navy);
}

@media (max-width: 991px) {
    .cx-footer__main > [class*="col-"] + [class*="col-"] {
        margin-top: 32px;
    }
}

@media (max-width: 767px) {
    .cx-footer__stats {
        grid-template-columns: 1fr;
        padding-top: 44px;
    }

    .cx-stat {
        padding: 22px;
    }

    .cx-stat__icon {
        flex-basis: 54px;
        width: 54px;
        height: 54px;
        font-size: 22px;
    }

    .cx-footer__bottom {
        justify-content: center;
        text-align: center;
    }
}
