/* ================================================================
   Quest / CTA block  (BEM prefix: qcta-)
   ================================================================ */

.qcta-section {
    min-height: 20rem;
    margin-block: clamp(4.375rem, 6vw, 5.625rem);
    padding: 5rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: transparent;
    position: relative;
    isolation: isolate;
    overflow: clip;
}

.qcta-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

/* ── Icon badge ───────────────────────────────────────────────── */

.qcta-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: #161b35;
    border: 1px solid rgba(158, 107, 255, 0.22);
    margin-bottom: 2rem;
    flex-shrink: 0;

    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.5s ease 0s, transform 0.5s ease 0s;
}

.qcta-badge.is-visible {
    opacity: 1;
    transform: scale(1);
}

/* ── Headline ─────────────────────────────────────────────────── */

.qcta-headline {
    margin: 0 0 1.5rem;
    font-size: clamp(2.8rem, 5vw, 4rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.15;
    max-width: 51.25rem;
    text-align: center;

    opacity: 0;
    transform: translateY(1.25rem);
    transition: opacity 0.6s ease 0.15s, transform 0.6s ease 0.15s;
}

.qcta-headline.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.qcta-headline__accent {
    display: block;
    background: var(--soxy-accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    text-shadow: 0 0 26px rgba(var(--soxy-global-accent-rgb), 0.18);
}

/* ── Description ──────────────────────────────────────────────── */

.qcta-desc {
    margin: 0 auto 2.5rem;
    max-width: 36.25rem;
    font-size: 1.05rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.55);
    text-align: center;
    font-family: 'Mulish', sans-serif;

    opacity: 0;
    transform: translateY(1rem);
    transition: opacity 0.6s ease 0.3s, transform 0.6s ease 0.3s;
}

.qcta-desc.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Button ───────────────────────────────────────────────────── */

.qcta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    background: linear-gradient(135deg, rgba(158, 107, 255, 0.96) 0%, rgba(139, 92, 246, 0.82) 100%);
    color: #ffffff;
    font-weight: 700;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    text-decoration: none;
    letter-spacing: 0.01em;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.28);
    opacity: 0;
    transform: translateY(0.75rem);
    transition: opacity 0.5s ease 0.45s,
                transform 0.5s ease 0.45s,
                box-shadow 0.2s ease;
}

.qcta-btn.is-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease 0.45s,
                transform 0.2s ease,
                box-shadow 0.2s ease;
}

.qcta-btn .fa-arrow-right {
    font-size: 0.875rem;
    flex-shrink: 0;
}

.qcta-btn.is-visible:hover {
    transform: scale(1.05);
    box-shadow: 0 0.5rem 1.875rem rgba(139, 92, 246, 0.45);
    color: #ffffff;
}

/* ── Responsive ───────────────────────────────────────────────── */

@media (max-width: 36rem) {
    .qcta-section {
        padding: 3.5rem 1.5rem;
    }

    .qcta-headline {
        font-size: 2.2rem;
    }

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