/* ==========================================
   CTA SECTION
   Legacy Protection Services
   Scale matched to all sections
========================================== */

.cta-section {
    position: relative;
    padding: clamp(48px, 6vw, 80px) 0;
    background: #F0F2F5;  /* Same subtle grey as other sections */
    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;  /* Matches intro-badge */
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.25rem 0.9rem;  /* Matches intro-badge */
    border-radius: 40px;  /* Matches intro-badge */
    margin-bottom: 0.75rem;  /* Matches intro-badge */
    border: 1px solid rgba(214, 154, 59, 0.2);
}

.cta-badge i {
    font-size: 0.65rem;  /* Slightly smaller */
    color: var(--color-primary);
}

.cta-title {
    font-family: var(--font-heading);
    font-size: clamp(1.3rem, 2.5vw, 1.7rem);  /* Matches section-title exactly */
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-black);
    margin-bottom: 0.75rem;  /* Matches section-title */
}

.cta-text {
    font-size: 0.9rem;  /* Matches intro-text */
    line-height: 1.65;  /* Matches intro-text */
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;  /* Matches intro-actions gap */
    margin-bottom: 1.5rem;
}

.cta-actions .btn {
    padding: 0.6rem 1.25rem;  /* Matches intro-actions .btn */
    font-size: 0.85rem;  /* Matches intro-actions .btn */
}

.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;  /* Reduced from 0.75rem - matches badge scale */
    color: var(--color-text-light);
}

.cta-meta span i {
    color: var(--color-primary);
    font-size: 0.65rem;  /* Reduced from 0.7rem */
}

/* ========== ENHANCED RESPONSIVENESS ========== */

/* Tablet landscape & smaller desktops */
@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 portrait */
@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 {
        flex-direction: column;
        align-items: center;
        max-width: 280px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .cta-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .cta-meta {
        flex-direction: column;
        align-items: center;
        gap: 0.6rem;
    }
}

/* 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 {
        gap: 0.6rem;
        margin-bottom: 1.25rem;
    }
    
    .cta-actions .btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .cta-meta {
        gap: 0.4rem;
    }
    
    .cta-meta span {
        font-size: 0.6rem;
    }
    
    .cta-meta span i {
        font-size: 0.55rem;
    }
}

/* 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%;
    }
}

/* Large screens */
@media (min-width: 1400px) {
    .cta-content {
        max-width: 800px;
    }
}

/* Touch device optimization - no hover effects needed for CTA */