/* ==========================================
   CTA SECTION
   Legacy Protection Services
   Scale matched to all sections
========================================== */

.cta-section {
    position: relative;
    padding: clamp(48px, 6vw, 80px) 0;
    background: #F0F2F5;
    overflow: hidden;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(214, 154, 59, 0.12);
    color: var(--color-primary-dark);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.25rem 0.9rem;
    border-radius: 40px;
    margin-bottom: 0.75rem;
    border: 1px solid rgba(214, 154, 59, 0.2);
}

.cta-badge i {
    font-size: 0.65rem;
    color: var(--color-primary);
}

.cta-title {
    font-family: var(--font-heading);
    font-size: clamp(1.3rem, 2.5vw, 1.7rem);
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-black);
    margin-bottom: 0.75rem;
}

.cta-text {
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--color-text-light);
    margin: 0 auto 1.5rem;
    max-width: 550px;
}

.cta-actions {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.cta-actions .btn {
    padding: 0.6rem 1.25rem;
    font-size: 0.85rem;
    white-space: nowrap;
}

.cta-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.cta-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.7rem;
    color: var(--color-text-light);
    white-space: nowrap;
}

.cta-meta span i {
    color: var(--color-primary);
    font-size: 0.65rem;
}

/* ==========================================
   LARGE TABLET / SMALL DESKTOP
========================================== */

@media (max-width: 1100px) {
    .cta-content {
        max-width: 600px;
    }

    .cta-text {
        font-size: 0.85rem;
        max-width: 500px;
    }

    .cta-meta span {
        font-size: 0.65rem;
    }
}

/* ==========================================
   TABLET / MOBILE
========================================== */

@media (max-width: 768px) {
    .cta-content {
        max-width: 100%;
    }

    .cta-title {
        font-size: clamp(1.2rem, 4vw, 1.5rem);
    }

    .cta-text {
        font-size: 0.85rem;
        padding: 0 1rem;
    }

    .cta-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        width: 100%;
        max-width: 520px;
        margin-left: auto;
        margin-right: auto;
    }

    .cta-actions .btn {
        width: 100%;
        min-height: 44px;
        padding: 11px 12px;
        font-size: 0.8rem;
        justify-content: center;
        text-align: center;
        white-space: nowrap;
    }

    .cta-meta {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        gap: 0.75rem;
        padding-bottom: 0.75rem;
        margin-top: 0.5rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }

    .cta-meta::-webkit-scrollbar {
        height: 4px;
    }

    .cta-meta::-webkit-scrollbar-track {
        background: rgba(0, 0, 0, 0.05);
        border-radius: 10px;
    }

    .cta-meta::-webkit-scrollbar-thumb {
        background: var(--color-primary);
        border-radius: 10px;
    }

    .cta-meta span {
        flex-shrink: 0;
        font-size: 0.7rem;
        padding: 0.25rem 0.5rem;
        background: rgba(214, 154, 59, 0.05);
        border-radius: 30px;
    }
}

/* ==========================================
   MOBILE LANDSCAPE
========================================== */

@media (max-width: 640px) {
    .cta-section {
        padding: clamp(40px, 5vw, 60px) 0;
    }

    .cta-badge {
        font-size: 0.65rem;
        padding: 0.2rem 0.8rem;
    }

    .cta-badge i {
        font-size: 0.6rem;
    }

    .cta-title {
        font-size: 1.2rem;
    }

    .cta-text {
        font-size: 0.8rem;
        margin-bottom: 1.25rem;
    }

    .cta-actions {
        margin-bottom: 1.25rem;
    }

    .cta-meta {
        gap: 0.6rem;
    }

    .cta-meta span {
        font-size: 0.65rem;
    }

    .cta-meta span i {
        font-size: 0.6rem;
    }
}

/* ==========================================
   MOBILE PORTRAIT
========================================== */

@media (max-width: 480px) {
    .cta-section {
        padding: clamp(35px, 5vw, 50px) 0;
    }

    .cta-title {
        font-size: 1.15rem;
    }

    .cta-text {
        font-size: 0.75rem;
        line-height: 1.6;
    }

    .cta-badge {
        font-size: 0.6rem;
    }

    .cta-actions {
        max-width: 100%;
    }

    .cta-actions .btn {
        min-height: 42px;
        padding: 10px 8px;
        font-size: 0.72rem;
    }

    .cta-meta {
        gap: 0.5rem;
    }

    .cta-meta span {
        font-size: 0.6rem;
        padding: 0.2rem 0.45rem;
    }

    .cta-meta span i {
        font-size: 0.55rem;
    }
}

/* ==========================================
   LARGE SCREENS
========================================== */

@media (min-width: 1400px) {
    .cta-content {
        max-width: 800px;
    }
}