﻿/* ========================================
   FINAL CTA SECTION — _cta.css
   All styles scoped exclusively to the
   final CTA section.
   ======================================== */


/* ── Section wrapper ───────────────────── */
.final-cta {
    padding: 9rem 0;
    background: linear-gradient(145deg, var(--dark-burgundy) 0%, var(--burgundy) 55%, var(--wine) 100%);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}


/* ── Diamond background pattern ─────────── */
.final-cta__pattern {
    position: absolute;
    inset: 0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><polygon points="12,2 22,12 12,22 2,12" fill="none" stroke="%23D4AF37" stroke-width="0.3" opacity="0.15"/></svg>');
    background-size: 72px 72px;
    pointer-events: none;
}


/* ── Decorative glow orbs ───────────────── */
.final-cta__orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.final-cta__orb--left {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    top: -150px;
    left: -150px;
}

.final-cta__orb--right {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
    bottom: -100px;
    right: -100px;
}


/* ── Content wrapper ────────────────────── */
.cta-content {
    position: relative;
    z-index: 2;
    max-width: 780px;
    margin: 0 auto;
}


/* ── Label pill ─────────────────────────── */
.cta-label {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold);
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.28);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    margin-bottom: 2rem;
}

    .cta-label i {
        font-size: 0.8rem;
    }


/* ── Heading ────────────────────────────── */
.cta-heading {
    font-family: 'Playfair Display', serif;
    font-size: 3.4rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.cta-heading__accent {
    background: linear-gradient(135deg, var(--gold), var(--light-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


/* ── Sub copy ───────────────────────────── */
.cta-sub {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.8;
    margin-bottom: 3rem;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}


/* ── Two CTA buttons ────────────────────── */
.cta-actions {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    flex-wrap: wrap;
    margin-bottom: 3.5rem;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 1.1rem 2.6rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

    /* Shimmer sweep */
    .cta-btn::after {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
        transition: left 0.5s ease;
    }

    .cta-btn:hover::after {
        left: 100%;
    }

/* Primary — gold fill */
.cta-btn--primary {
    background: linear-gradient(135deg, var(--gold), var(--light-gold));
    color: var(--dark-burgundy);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.35);
}

    .cta-btn--primary:hover {
        transform: translateY(-4px);
        box-shadow: 0 16px 45px rgba(212, 175, 55, 0.45);
    }

/* Secondary — ghost outline */
.cta-btn--secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.35);
}

    .cta-btn--secondary:hover {
        transform: translateY(-4px);
        border-color: rgba(212, 175, 55, 0.6);
        color: var(--gold);
        box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
    }


/* ── Trust feature strip ────────────────── */
.cta-features {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
    row-gap: 1rem;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0 1.8rem;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.88rem;
    font-weight: 500;
}

    .cta-feature i {
        color: var(--gold);
        font-size: 0.9rem;
        flex-shrink: 0;
    }

.cta-feature-divider {
    width: 1px;
    height: 16px;
    background: rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}


/* ── Bottom guarantee line ──────────────── */
.trust-guarantee {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    width: 100%;
    justify-content: center;
}

    .trust-guarantee i {
        color: var(--gold);
        font-size: 1rem;
        flex-shrink: 0;
    }

    .trust-guarantee span {
        font-size: 0.88rem;
        color: rgba(255, 255, 255, 0.6);
        line-height: 1.5;
    }

        .trust-guarantee span strong {
            color: rgba(255, 255, 255, 0.9);
            font-weight: 700;
        }


/* ── Responsive ─────────────────────────── */
@media (max-width: 1100px) {
    .cta-heading {
        font-size: 3rem;
    }
}

@media (max-width: 968px) {
    .final-cta {
        padding: 7rem 0;
    }

    .cta-heading {
        font-size: 2.6rem;
    }

    /* 2-column grid for trust features on tablet */
    .cta-features {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.8rem 0;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 2.5rem;
    }

    .cta-feature {
        padding: 0.4rem 1rem;
        justify-content: flex-start;
    }

    .cta-feature-divider {
        display: none;
    }
}

@media (max-width: 768px) {
    .cta-heading {
        font-size: 2.2rem;
    }

    .cta-sub {
        font-size: 1.05rem;
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .cta-btn {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }

    .trust-guarantee {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    /* Keep 2 columns on mobile too */
    .cta-features {
        grid-template-columns: 1fr 1fr;
        max-width: 100%;
        gap: 0.6rem 0;
    }

    .cta-feature {
        padding: 0.3rem 0.8rem;
        font-size: 0.82rem;
    }
}

@media (max-width: 480px) {
    .final-cta {
        padding: 5rem 0;
    }

    .cta-heading {
        font-size: 1.9rem;
    }

    .cta-sub {
        font-size: 1rem;
    }

    /* Single column on very small screens */
    .cta-features {
        grid-template-columns: 1fr;
        max-width: 260px;
        gap: 0.4rem 0;
    }

    .cta-feature {
        justify-content: flex-start;
    }
}
