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

.ajf-site-footer {
    --ajf-sfw-decor-color: rgba(214,167,75,.16);
    --ajf-sfw-dot-color: rgba(214,167,75,.28);
    position: relative;
    overflow: hidden;
    padding: 36px 0 0;
    background: linear-gradient(180deg, #fcfbf8 0%, #ffffff 100%);
    color: #354057;
}

.ajf-site-footer__container {
    position: relative;
    z-index: 3;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 48px;
}

.ajf-site-footer__cta {
    position: relative;
    overflow: hidden;
    min-height: 365px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 58px 40px 52px;
    border: 1px solid rgba(234,226,215,.92);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 18px 46px rgba(16,39,83,.06);
}

.ajf-site-footer__cta-content {
    position: relative;
    z-index: 4;
    text-align: center;
    max-width: 760px;
}

.ajf-site-footer__cta-icon {
    position: absolute;
    left: 170px;
    top: 50%;
    transform: translateY(-50%);
    width: 112px;
    height: 112px;
    border-radius: 999px;
    background: rgba(247,244,238,.72);
    color: #D28F1A;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 46px;
    box-shadow: 0 0 0 20px rgba(214,167,75,.035);
    z-index: 3;
}

.ajf-site-footer__cta-icon svg {
    width: 46px;
    height: 46px;
    fill: currentColor;
}

.ajf-site-footer__cta-title {
    margin: 0 0 22px;
    color: #061126;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 56px;
    line-height: 1.08;
    font-weight: 700;
    letter-spacing: -.03em;
    text-wrap: balance;
}

.ajf-site-footer__cta-title .is-highlight {
    color: #B33029;
}

.ajf-site-footer__cta-subtitle {
    color: #5B6472;
    font-family: Inter, Arial, sans-serif;
    font-size: 20px;
    line-height: 1.55;
    max-width: 700px;
    margin: 0 auto 34px;
    text-wrap: balance;
}

.ajf-site-footer__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 34px;
    flex-wrap: wrap;
}

.ajf-site-footer__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-width: 300px;
    min-height: 56px;
    padding: 15px 28px;
    border-radius: 7px;
    font-family: Inter, Arial, sans-serif;
    font-size: 16px;
    font-weight: 800;
    text-decoration: none;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.ajf-site-footer__button--primary {
    background: #061126;
    color: #fff;
    box-shadow: 0 12px 28px rgba(6,17,38,.16);
}

.ajf-site-footer__button--secondary {
    background: #fff;
    color: #061126;
    border: 1.5px solid rgba(6,17,38,.55);
}

.ajf-site-footer__button:hover,
.ajf-site-footer__button:focus-visible {
    transform: translateY(-2px);
}

.ajf-site-footer__cta-phoenix {
    position: absolute;
    right: 110px;
    top: 10px;
    width: 360px;
    opacity: .14;
    z-index: 2;
    pointer-events: none;
}

.ajf-site-footer__cta-phoenix img {
    width: 100%;
    height: auto;
    display: block;
}

.ajf-site-footer__cta::before,
.ajf-site-footer__cta::after {
    content: "";
    position: absolute;
    pointer-events: none;
    border-radius: 999px;
    border: 1px solid var(--ajf-sfw-decor-color);
    z-index: 1;
}

.ajf-site-footer__cta::before {
    width: 250px;
    height: 250px;
    left: -100px;
    bottom: -74px;
    box-shadow: 0 0 0 16px rgba(214,167,75,.035), 0 0 0 32px rgba(214,167,75,.018), 0 0 0 48px rgba(214,167,75,.01);
}

.ajf-site-footer__cta::after {
    width: 210px;
    height: 210px;
    right: 38px;
    top: 92px;
    box-shadow: 0 0 0 16px rgba(214,167,75,.035), 0 0 0 32px rgba(214,167,75,.018);
}

.ajf-site-footer__top-separator,
.ajf-site-footer__bottom-separator {
    display: block;
    width: 100%;
    height: 1px;
    margin: 38px 0 0;
    background: rgba(214,167,75,.42);
}

.ajf-site-footer__main {
    display: flex;
    gap: 58px;
    padding: 40px 0 42px;
    align-items: flex-start;
}

.ajf-site-footer__brand {
    flex: 0 0 470px;
    padding-right: 54px;
    border-right: 1px solid rgba(214,167,75,.42);
}

.ajf-site-footer__brand-head {
    display: flex;
    align-items: center;
    gap: 26px;
    margin-bottom: 30px;
}

.ajf-site-footer__logo img {
    width: 116px;
    height: 116px;
    display: block;
    border-radius: 999px;
    object-fit: cover;
}

.ajf-site-footer__brand-name {
    display: flex;
    flex-direction: column;
    color: #061126;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 25px;
    font-weight: 700;
    letter-spacing: .24em;
    line-height: 1.08;
    text-transform: uppercase;
}

.ajf-site-footer__brand-bottom {
    color: #D6A74B;
    font-family: Inter, Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .42em;
    margin-top: 8px;
}

.ajf-site-footer__description {
    color: #5B6472;
    font-family: Inter, Arial, sans-serif;
    font-size: 17px;
    line-height: 1.55;
    max-width: 420px;
    margin-bottom: 30px;
}

.ajf-site-footer__mini-features {
    display: flex;
    align-items: flex-start;
    gap: 24px;
}

.ajf-site-footer__mini-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #354057;
    font-family: Inter, Arial, sans-serif;
    font-size: 12px;
    line-height: 1.25;
    font-weight: 700;
    max-width: 120px;
}

.ajf-site-footer__mini-feature-icon {
    color: #D6A74B;
    font-size: 28px;
    display: inline-flex;
    flex: 0 0 auto;
}

.ajf-site-footer__mini-feature-icon svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
}

.ajf-site-footer__nav {
    flex: 1 1 auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(140px, 1fr));
    gap: 48px;
}

.ajf-site-footer__col-title {
    position: relative;
    color: #061126;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 23px;
    line-height: 1.1;
    font-weight: 700;
    margin: 0 0 32px;
}

.ajf-site-footer__col-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -14px;
    width: 32px;
    height: 3px;
    border-radius: 999px;
    background: rgba(214,167,75,.9);
}

.ajf-site-footer__links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 17px;
}

.ajf-site-footer__links a {
    color: #354057;
    text-decoration: none;
    font-family: Inter, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.3;
    transition: color .2s ease, transform .2s ease;
    display: inline-block;
}

.ajf-site-footer__links a:hover,
.ajf-site-footer__links a:focus-visible {
    color: #D28F1A;
    transform: translateX(3px);
}

.ajf-site-footer__bottom-separator {
    margin: 0;
}

.ajf-site-footer__bottom {
    position: relative;
    z-index: 3;
    background: #fff;
}

.ajf-site-footer__bottom-inner {
    display: grid;
    grid-template-columns: minmax(300px, 1fr) minmax(360px, 1fr) minmax(300px, 1fr);
    align-items: center;
    gap: 28px;
    min-height: 86px;
    padding-top: 18px;
    padding-bottom: 18px;
}

.ajf-site-footer__payments {
    display: flex;
    align-items: center;
    gap: 28px;
}

.ajf-site-footer__trust {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-right: 30px;
    border-right: 1px solid rgba(6,17,38,.12);
}

.ajf-site-footer__trust-icon {
    color: #D6A74B;
    font-size: 36px;
    display: inline-flex;
}

.ajf-site-footer__trust-icon svg {
    width: 36px;
    height: 36px;
    fill: currentColor;
}

.ajf-site-footer__trust span {
    display: flex;
    flex-direction: column;
}

.ajf-site-footer__trust strong,
.ajf-site-footer__payment-methods strong,
.ajf-site-footer__follow-text {
    color: #061126;
    font-family: Inter, Arial, sans-serif;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.25;
}

.ajf-site-footer__trust small {
    color: #5B6472;
    font-family: Inter, Arial, sans-serif;
    font-size: 13px;
    line-height: 1.25;
}

.ajf-site-footer__payment-methods {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ajf-site-footer__payment-badges {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.ajf-site-footer__payment-badge {
    min-width: 42px;
    min-height: 22px;
    padding: 3px 8px;
    border: 1px solid rgba(6,17,38,.10);
    border-radius: 5px;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: Inter, Arial, sans-serif;
    font-size: 11px;
    line-height: 1;
    font-weight: 900;
    box-shadow: 0 2px 8px rgba(16,39,83,.05);
}

.ajf-site-footer__copyright {
    text-align: center;
    color: #354057;
    font-family: Inter, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.7;
}

.ajf-site-footer__copyright div:nth-child(2) {
    color: #5B6472;
}

.ajf-site-footer__copyright div:nth-child(2)::first-letter {
    color: #D28F1A;
}

.ajf-site-footer__social {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
}

.ajf-site-footer__social-link {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background: #fff;
    color: #061126;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(16,39,83,.08);
    transition: transform .2s ease, color .2s ease, box-shadow .2s ease;
}

.ajf-site-footer__social-link:hover,
.ajf-site-footer__social-link:focus-visible {
    color: #D28F1A;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(214,167,75,.16);
}

.ajf-site-footer__social-link svg {
    width: 17px;
    height: 17px;
    fill: currentColor;
}

.ajf-site-footer__decor {
    position: absolute;
    pointer-events: none;
    z-index: 1;
}

.ajf-site-footer__decor--left-arc {
    left: -112px;
    top: 168px;
    width: 220px;
    height: 220px;
    border-radius: 999px;
    border: 1px solid var(--ajf-sfw-decor-color);
    box-shadow: 0 0 0 16px rgba(214,167,75,.035), 0 0 0 32px rgba(214,167,75,.016);
}

.ajf-site-footer__decor--right-arc {
    right: -92px;
    top: 200px;
    width: 180px;
    height: 180px;
    border-radius: 999px;
    border: 1px solid var(--ajf-sfw-decor-color);
    box-shadow: 0 0 0 16px rgba(214,167,75,.035), 0 0 0 32px rgba(214,167,75,.016);
}

.ajf-site-footer__decor--dots {
    top: 108px;
    left: 52px;
    width: 120px;
    height: 96px;
    background-image: radial-gradient(var(--ajf-sfw-dot-color) 1.3px, transparent 1.3px);
    background-size: 14px 14px;
    opacity: .62;
}

.ajf-site-footer--hide-decor .ajf-site-footer__decor,
.ajf-site-footer--hide-decor .ajf-site-footer__cta::before,
.ajf-site-footer--hide-decor .ajf-site-footer__cta::after {
    display: none;
}

.ajf-site-footer--phoenix-float .ajf-site-footer__cta-phoenix img {
    animation: ajfSfwPhoenix 7.5s ease-in-out infinite;
}

.ajf-site-footer--glow .ajf-site-footer__cta-icon,
.ajf-site-footer--glow .ajf-site-footer__trust-icon,
.ajf-site-footer--glow .ajf-site-footer__mini-feature-icon {
    animation: ajfSfwGlow 5.2s ease-in-out infinite;
}

.ajf-site-footer--reveal .ajf-site-footer__cta,
.ajf-site-footer--reveal .ajf-site-footer__main,
.ajf-site-footer--reveal .ajf-site-footer__bottom-inner {
    opacity: 0;
    transform: translateY(24px);
}

.ajf-site-footer--reveal.ajf-in-view .ajf-site-footer__cta,
.ajf-site-footer--reveal.ajf-in-view .ajf-site-footer__main,
.ajf-site-footer--reveal.ajf-in-view .ajf-site-footer__bottom-inner {
    opacity: 1;
    transform: translateY(0);
    transition: opacity .8s ease, transform .8s ease;
}

.ajf-site-footer--reveal.ajf-in-view .ajf-site-footer__main {
    transition-delay: .14s;
}

.ajf-site-footer--reveal.ajf-in-view .ajf-site-footer__bottom-inner {
    transition-delay: .24s;
}

@keyframes ajfSfwPhoenix {
    0%,100% { transform: translate3d(0,0,0) scale(1); filter: drop-shadow(0 0 0 rgba(214,167,75,0)); }
    50% { transform: translate3d(0,-8px,0) scale(1.012); filter: drop-shadow(0 0 18px rgba(214,167,75,.16)); }
}

@keyframes ajfSfwGlow {
    0%,100% { filter: drop-shadow(0 0 0 rgba(214,167,75,0)); }
    50% { filter: drop-shadow(0 0 12px rgba(214,167,75,.28)); }
}

@media (max-width: 1240px) {
    .ajf-site-footer__cta-title { font-size: 46px; }
    .ajf-site-footer__cta-icon { left: 58px; width: 92px; height: 92px; }
    .ajf-site-footer__cta-phoenix { right: 30px; width: 300px; }
    .ajf-site-footer__main { flex-direction: column; gap: 34px; }
    .ajf-site-footer__brand {
        flex-basis: auto !important;
        width: 100%;
        border-right: none;
        border-bottom: 1px solid rgba(214,167,75,.42);
        padding-right: 0;
        padding-bottom: 32px;
    }
    .ajf-site-footer__nav { width: 100%; }
    .ajf-site-footer__bottom-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .ajf-site-footer__payments,
    .ajf-site-footer__social {
        justify-content: center;
    }
}

@media (max-width: 900px) {
    .ajf-site-footer__nav {
        grid-template-columns: repeat(2, minmax(0,1fr));
        gap: 34px;
    }
    .ajf-site-footer__cta-icon {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        margin: 0 auto 20px;
    }
    .ajf-site-footer__cta {
        display: block;
        text-align: center;
    }
    .ajf-site-footer__cta-phoenix {
        width: 260px;
        right: -30px;
        top: 20px;
    }
}

@media (max-width: 767px) {
    .ajf-site-footer {
        padding-top: 20px;
    }
    .ajf-site-footer__container {
        padding-left: 18px;
        padding-right: 18px;
    }
    .ajf-site-footer__cta {
        min-height: 0;
        padding: 34px 20px 30px;
        border-radius: 18px;
    }
    .ajf-site-footer__cta-title {
        font-size: 34px;
    }
    .ajf-site-footer__cta-subtitle {
        font-size: 16px;
        margin-bottom: 24px;
    }
    .ajf-site-footer__button {
        min-width: 100%;
        min-height: 52px;
    }
    .ajf-site-footer__cta-buttons {
        gap: 14px;
    }
    .ajf-site-footer__cta-phoenix {
        width: 220px;
        opacity: .10;
    }
    .ajf-site-footer__top-separator {
        margin-top: 24px;
    }
    .ajf-site-footer__main {
        padding: 28px 0 30px;
    }
    .ajf-site-footer__brand-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    .ajf-site-footer__logo img {
        width: 94px;
        height: 94px;
    }
    .ajf-site-footer__brand-name {
        font-size: 21px;
    }
    .ajf-site-footer__brand-bottom {
        font-size: 11px;
        letter-spacing: .30em;
    }
    .ajf-site-footer__description {
        font-size: 15px;
    }
    .ajf-site-footer__mini-features {
        flex-direction: column;
        gap: 14px;
    }
    .ajf-site-footer__mini-feature {
        max-width: none;
    }
    .ajf-site-footer__nav {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .ajf-site-footer__links {
        gap: 12px;
    }
    .ajf-site-footer__payments {
        flex-direction: column;
        gap: 16px;
    }
    .ajf-site-footer__trust {
        border-right: none;
        padding-right: 0;
    }
    .ajf-site-footer__social {
        flex-wrap: wrap;
        gap: 12px;
    }
    .ajf-site-footer__follow-text {
        width: 100%;
    }
    .ajf-site-footer__decor--dots {
        left: 18px;
        top: 64px;
        transform: scale(.72);
    }
}

@media (prefers-reduced-motion: reduce) {
    .ajf-site-footer--phoenix-float .ajf-site-footer__cta-phoenix img,
    .ajf-site-footer--glow .ajf-site-footer__cta-icon,
    .ajf-site-footer--glow .ajf-site-footer__trust-icon,
    .ajf-site-footer--glow .ajf-site-footer__mini-feature-icon {
        animation: none !important;
    }
    .ajf-site-footer__button,
    .ajf-site-footer__links a,
    .ajf-site-footer__social-link {
        transition: none !important;
        transform: none !important;
    }
    .ajf-site-footer--reveal .ajf-site-footer__cta,
    .ajf-site-footer--reveal .ajf-site-footer__main,
    .ajf-site-footer--reveal .ajf-site-footer__bottom-inner,
    .ajf-site-footer--reveal.ajf-in-view .ajf-site-footer__cta,
    .ajf-site-footer--reveal.ajf-in-view .ajf-site-footer__main,
    .ajf-site-footer--reveal.ajf-in-view .ajf-site-footer__bottom-inner {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}
