/* -------------------------------------- */
/* Final Call To Action CSS Layout        */
/* -------------------------------------- */

.cta-section {
    background-color: #FAF9F6; /* Elegant warm off-white background alternating with Testimonials */
    color: #0A0A0A;
    padding: 95px 0;
    position: relative;
    z-index: 10;
    width: 100%;
    overflow: hidden;
    border-top: 1px solid rgba(0, 0, 0, 0.03);
}

/* Subtle background accent grid lines */
.cta-grid-bg {
    position: absolute;
    inset: 0;
    opacity: 0.012;
    pointer-events: none;
    z-index: 0;
    background-image: linear-gradient(to right, #000 1px, transparent 1px), 
                      linear-gradient(to bottom, #000 1px, transparent 1px);
    background-size: 40px 40px;
}

.cta-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

.cta-grid-wrapper {
    display: grid;
    grid-template-columns: 7.2fr 4.8fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 5;
}

.cta-left-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.cta-chip {
    align-self: flex-start !important;
    background-color: rgba(234, 161, 15, 0.08) !important;
    border: 1px solid rgba(234, 161, 15, 0.25) !important;
    color: #b45309 !important;
    margin-bottom: 12px;
}

.cta-chip .badge-dot {
    background-color: #b45309 !important;
}

.cta-title {
    font-family: var(--font-primary);
    font-size: 2.2rem;
    font-weight: 900;
    color: #0A0A0A;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin: 0;
}

/* Gold Heading Span */
.cta-title span {
    background: linear-gradient(135deg, var(--color-gold-start), var(--color-gold-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.cta-desc {
    font-family: var(--font-primary);
    font-size: 0.78rem;
    font-weight: 500;
    color: #55585d;
    line-height: 1.55;
    margin: 14px 0 0 0;
    max-width: 520px;
}

/* Right side actions flex */
.cta-right-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
}

/* Explore showcase outlined button */
.btn-explore-showcase {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    background-color: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-radius: 12px;
    padding: 14px 26px;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #0A0A0A;
    text-decoration: none;
    letter-spacing: 0.08em;
    transition: var(--transition-smooth);
}

.btn-explore-showcase:hover {
    background-color: #0A0A0A;
    color: var(--color-white);
    border-color: #0A0A0A;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.btn-explore-showcase .circle-arrow-btn {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.5rem;
    color: inherit;
    transition: var(--transition-smooth);
}

.btn-explore-showcase:hover .circle-arrow-btn {
    border-color: rgba(255, 255, 255, 0.2);
}

/* Primary consultation action button */
.btn-primary-consult {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--color-gold-start), var(--color-gold-end));
    color: var(--color-black);
    border: none;
    border-radius: 12px;
    padding: 14px 30px;
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0.08em;
    box-shadow: 0 4px 15px rgba(234, 161, 15, 0.15);
    transition: var(--transition-smooth);
}

.btn-primary-consult:hover {
    opacity: 0.95;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(234, 161, 15, 0.25);
}

.btn-primary-consult:active {
    transform: translateY(0) scale(0.98);
}

/* Scroll reveal setups */
.reveal-cta {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-cta.active {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Responsive breakdowns */
@media (max-width: 992px) {
    .cta-grid-wrapper {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .cta-right-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 576px) {
    .cta-section {
        padding: 55px 0 !important; /* Tightened section spacing */
    }

    .cta-title {
        font-size: 1.45rem !important; /* Compact heading size for mobile view */
        line-height: 1.2;
    }

    .cta-desc {
        font-size: 0.72rem !important;
        margin-top: 10px;
    }

    .cta-right-actions {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 10px; /* Aligned spacing gaps */
    }

    .btn-explore-showcase,
    .btn-primary-consult {
        width: 100%;
        height: 48px; /* Fixed height for identical sizes */
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0 !important; /* Reset padding to prevent offset heights */
        border-radius: 30px !important; /* Premium capsule layout button style */
        font-size: 0.68rem !important;
        box-sizing: border-box;
    }
}
