/**
 * Block: Final CTA
 *
 * Centered card with eyebrow, big display heading, lede paragraph,
 * and a row of outline buttons. Reuses .gc-btn / .gc-btn--outline from
 * hero.css + ecosystem.css.
 *
 * @package GuildCommerceTheme
 * @since   1.5.0
 */

/* ----------------------------------------------------------------- *
 * Section frame
 * ----------------------------------------------------------------- */

.gc-fcta {
    background: linear-gradient(
        180deg,
        rgba(252, 178, 64, 0.04) 0%,
        rgba(82, 66, 53, 0.06) 100%
    );
    padding-block: clamp(3rem, 8vw, 6rem);
    padding-inline: var(--gc-content-pad, 1.25rem);
}

.gc-fcta__inner {
    max-width: var(--gc-content-max, 1200px);
    margin: 0 auto;
}

/* ----------------------------------------------------------------- *
 * Card
 * ----------------------------------------------------------------- */

.gc-fcta__card {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
    padding: clamp(2rem, 5vw, 3.5rem) clamp(1.5rem, 5vw, 3rem);
    text-align: center;

    background: #FFFFFF;
    border: 1px solid rgba(82, 66, 53, 0.10);
    border-radius: 1.25rem;
    box-shadow:
        0 1px 2px rgba(82, 66, 53, 0.04),
        0 12px 32px -16px rgba(82, 66, 53, 0.18);

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

/* Soft accent ring (honey wash above the card) */
.gc-fcta__card::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    pointer-events: none;
    background:
        radial-gradient(
            60% 80% at 50% 0%,
            rgba(252, 178, 64, 0.18) 0%,
            rgba(252, 178, 64, 0) 60%
        );
    z-index: 0;
}

.gc-fcta__card > * {
    position: relative;
    z-index: 1;
}

/* ----------------------------------------------------------------- *
 * Typography
 * ----------------------------------------------------------------- */

.gc-fcta__eyebrow {
    display: inline-block;
    font-family: var(--gc-font-display, "Inter Tight", system-ui, sans-serif);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(82, 66, 53, 0.70);
    margin: 0;
}

.gc-fcta__title {
    font-family: var(--gc-font-display, "Inter Tight", system-ui, sans-serif);
    font-size: clamp(1.75rem, 4.5vw, 3rem);
    line-height: 1.1;
    letter-spacing: -0.01em;
    font-weight: 700;
    color: var(--gc-mocha, #524235);
    margin: 0;
    text-wrap: balance;
}

.gc-fcta__lede {
    font-family: var(--gc-font-body, "DM Sans", system-ui, sans-serif);
    font-size: clamp(1rem, 1.4vw, 1.125rem);
    line-height: 1.55;
    color: rgba(82, 66, 53, 0.78);
    max-width: 60ch;
    margin: 0 auto;
    text-wrap: pretty;
}

/* ----------------------------------------------------------------- *
 * Button row
 * ----------------------------------------------------------------- */

.gc-fcta__buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

/* Tighten outline buttons inside the card so a row of 4 reads as a group */
.gc-fcta__buttons .gc-btn {
    flex: 0 0 auto;
}

@media (max-width: 480px) {
    .gc-fcta__buttons {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .gc-fcta__buttons .gc-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ----------------------------------------------------------------- *
 * Reduced motion
 * ----------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
    .gc-fcta__card {
        box-shadow: 0 1px 2px rgba(82, 66, 53, 0.06);
    }
}
