/**
 * Homepage S09 — Final CTA band only.
 * Global site footer styles live in findi360-design-system.css (Batch 4 / Batch 9).
 */

/* ── Final CTA ── */
.fi-final-cta {
    position: relative;
    overflow: clip;
    padding: 0;
    background: var(--fd-gradient-cta-band);
}

.fi-final-cta__glow,
.fi-final-cta__lines {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.fi-final-cta__glow {
    background: radial-gradient(ellipse 70% 55% at 18% 20%, rgba(217, 154, 22, 0.09) 0%, transparent 60%);
}

.fi-final-cta__lines {
    background: repeating-linear-gradient(
        115deg,
        transparent,
        transparent 28px,
        rgba(168, 106, 0, 0.035) 28px,
        rgba(168, 106, 0, 0.035) 29px
    );
    mask-image: linear-gradient(90deg, transparent, #000 28%, #000 72%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 28%, #000 72%, transparent);
    opacity: 0.85;
}

.fi-final-cta__layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: var(--fd-grid-split-60-40);
    gap: var(--fd-space-5, 20px);
    align-items: start;
    width: 100%;
    min-width: 0;
}

.fi-final-cta__copy {
    display: flex;
    flex-direction: column;
    gap: 0;
    min-width: 0;
}

.fi-final-cta__head-copy {
    max-width: var(--fd-measure-lead, 48rem);
}

.fi-final-cta__title {
    margin: 0;
    font-family: var(--fd-font-heading, 'Inter', system-ui, sans-serif);
    font-size: var(--fd-text-h1);
    font-weight: var(--fd-font-weight-heading, 800);
    line-height: var(--fd-line-height-heading, 1.12);
    letter-spacing: var(--fd-letter-tight, -0.03em);
    color: var(--fd-text-strong, var(--fd-black, #0e0e0e));
}

.fi-final-cta__highlight {
    color: var(--fd-accent-deep, var(--fd-gold-deep, #a86a00));
}

.fi-final-cta__support {
    margin: 0;
    max-width: var(--fd-measure-prose, 40rem);
    font-size: var(--fd-text-body-lg);
    line-height: var(--fd-line-height-body, 1.55);
    color: var(--fd-text-primary, var(--fd-charcoal, #202020));
}

.fi-final-cta__btn {
    margin-top: 0;
    align-self: flex-start;
}

.fi-final-cta__visual {
    display: grid;
    place-items: end center;
    width: min(100%, 280px);
    max-width: 100%;
    margin-inline: 0 0;
    margin-left: auto;
    aspect-ratio: var(--fd-slot-cta-ratio, 4 / 5);
    overflow: hidden;
    min-height: 0;
}

.fi-final-cta__mascot {
    width: 92%;
    height: auto;
    max-width: 100%;
    max-height: 96%;
    object-fit: contain;
    object-position: center bottom;
    opacity: 0.94;
    filter: var(--fd-art-shadow-filter);
}

@media (max-width: 1023px) {
    .fi-final-cta__layout {
        align-items: start;
        gap: var(--fd-space-4, 16px);
    }

    .fi-final-cta__visual.fd-art-slot--cta {
        order: 2;
        width: min(100%, var(--fd-slot-cta-max, 220px));
        max-width: min(100%, var(--fd-slot-cta-max, 220px));
        margin-inline: auto;
    }

    .fi-final-cta__copy {
        order: 1;
    }
}

@media (max-width: 639px) {
    .fi-final-cta__btn {
        width: 100%;
        justify-content: center;
    }
}

/* ── S09 + footer to the homepage mockup, 11 Sep 2026: deep-gold band, the ask, footer folded in. ── */
.fi-final-cta {
    background:
        radial-gradient(ellipse 70% 90% at 85% 20%, rgba(255, 236, 190, 0.35) 0%, transparent 60%),
        linear-gradient(180deg, #d9a924 0%, #c8931a 55%, #b6820f 100%);
    color: #111111;
}
.fi-final-cta__title { color: #111111; }
.fi-final-cta__highlight { color: #fdfbf7; }
.fi-final-cta__support { color: rgba(17, 17, 17, 0.82); }
.fi-final-cta__secondary { margin: 10px 0 0; font-size: 0.86rem; color: rgba(17, 17, 17, 0.72); }
.fi-final-cta .fi-final-cta__btn {
    background: #111111;
    color: #fdfbf7;
    border-color: #111111;
    box-shadow: 0 10px 24px rgba(17, 17, 17, 0.25);
}
.fi-final-cta .fi-final-cta__btn:hover { background: #2a2a2a; border-color: #2a2a2a; }
.fi-final-cta__mascot { filter: drop-shadow(0 14px 24px rgba(17, 17, 17, 0.22)); }

/* Homepage only: the shared footer folds into the deep-gold S09 band
   (11 Sep 2026 decision) — recolour only, structure/sizing now come from
   the base rules in findi360-design-system.css (redesigned 14 Sep 2026).
   The old fixed-size white chip around the lockup is gone — that rule was
   also the one accidentally leaking onto every OTHER page's footer at
   full 800x320, since this file only loads on the homepage. */
.fi-site-footer--rich {
    background: linear-gradient(180deg, #b6820f 0%, #9e6f0b 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    color: #fdfbf7;
}
.fi-site-footer--rich .fi-site-footer__heading { color: rgba(253, 251, 247, 0.72); }
.fi-site-footer--rich .fi-site-footer__link,
.fi-site-footer--rich a { color: #fdfbf7; }
.fi-site-footer--rich .fi-site-footer__link:hover { color: #ffffff; text-decoration: underline; }
.fi-site-footer--rich .fi-site-footer__tagline,
.fi-site-footer--rich .fi-site-footer__legal,
.fi-site-footer--rich .fi-site-footer__meta { color: rgba(253, 251, 247, 0.8); }
.fi-site-footer--rich .fi-site-footer__contact-link { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.3); color: #fdfbf7; }
.fi-site-footer--rich .fi-site-footer__lockup { filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.25)); }
