/* ============================================================
   TS FAST AUTO LOGISTICS, LLC — BOTTOM CTA SECTION
   File: assets/css/cta-bottom.css
   Purpose: Final conversion block above the footer
   Depends on: style.css (design tokens)
   ============================================================ */

/* ------------------------------------------------------------
   1. SECTION WRAPPER
   ------------------------------------------------------------ */
.cta-bottom {
    padding: var(--space-16) 0;
    background-color: var(--color-bg-alt);
    border-top: 1px solid var(--color-border);
    position: relative;
    overflow: hidden;
}

/* Subtle radial glow (amber light / blue dark) */
.cta-bottom::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle,
            var(--glow-soft) 0%,
            transparent 60%);
    pointer-events: none;
    z-index: 0;
}


.cta-bottom-inner {
    position: relative;
    z-index: 1;
    max-width: 820px;
    margin: 0 auto;
    padding: 0 var(--gutter);
    text-align: center;
}

/* ------------------------------------------------------------
   2. HEADING + SUBTEXT
   ------------------------------------------------------------ */
.cta-bottom h2 {
    /* One step below the page h1 (48px) to keep the heading hierarchy */
    font-size: 2.5rem;
    font-weight: var(--fw-extrabold);
    color: var(--color-heading);
    line-height: var(--lh-tight);
    letter-spacing: var(--ls-tight);
    margin-bottom: var(--space-4);
}

.cta-bottom h2 .accent {
    color: var(--color-heading-accent);
}

.cta-bottom p {
    font-size: var(--fs-md);
    color: var(--color-text-muted);
    line-height: var(--lh-relaxed);
    margin: 0 auto var(--space-8);
    max-width: 620px;
}

/* ------------------------------------------------------------
   3. CTA BUTTONS ROW
   ------------------------------------------------------------ */
.cta-bottom-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-3);
    margin-bottom: var(--space-8);
}

/* ------------------------------------------------------------
   4. TRUST ROW (Google / BBB / Trustpilot mini cards)
   ------------------------------------------------------------ */
.cta-trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-6);
    padding-top: var(--space-6);
    border-top: 1px solid var(--color-border);
}

.cta-trust-item {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    text-align: left;
}

.cta-trust-item .trust-brand-mini {
    font-size: var(--fs-sm);
    font-weight: var(--fw-extrabold);
    color: var(--color-heading);
    letter-spacing: var(--ls-tight);
}

.cta-trust-item .trust-detail {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.cta-trust-item .trust-stars-mini {
    color: var(--color-star);
    font-size: var(--fs-xs);
    letter-spacing: 1px;
}

.cta-trust-item .trust-count-mini {
    font-size: var(--fs-xs);
    color: var(--color-text-muted);
    font-weight: var(--fw-medium);
}

/* Separator dot between trust items */
.cta-trust-sep {
    display: inline-block;
    width: 1px;
    height: 24px;
    background-color: var(--color-border);
}

/* ------------------------------------------------------------
   5. OPTIONAL SMALL NOTE
   ------------------------------------------------------------ */
.cta-note {
    margin-top: var(--space-5);
    font-size: var(--fs-xs);
    color: var(--color-text-muted);
    font-weight: var(--fw-medium);
}

.cta-note strong {
    color: var(--color-primary);
    font-weight: var(--fw-bold);
}

/* ------------------------------------------------------------
   6. RESPONSIVE
   ------------------------------------------------------------ */
@media (max-width: 900px) {
    .cta-bottom {
        padding: var(--space-12) 0;
    }

    .cta-bottom h2 {
        font-size: var(--fs-3xl);
    }
}

@media (max-width: 640px) {

    .cta-bottom h2 {
        font-size: var(--fs-2xl);
    }

    .cta-bottom p {
        font-size: var(--fs-base);
    }

    .cta-bottom-buttons {
        flex-direction: column;
        align-items: stretch;
        margin-bottom: var(--space-6);
    }

    .cta-bottom-buttons .btn {
        width: 100%;
    }

    .cta-trust {
        flex-direction: column;
        gap: var(--space-4);
        align-items: center;
    }

    .cta-trust-sep {
        display: none;
    }
}