/* ==========================================
   SECTION: CTA Banner
   ========================================== */

.cta-banner {
    background: var(--warg-blue-navy);
    position: relative;
    padding: 100px 20px;
    text-align: center;
    overflow: hidden;
}

/* Geometric pattern overlay */
.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(30, 111, 204, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(30, 111, 204, 0.06) 0%, transparent 40%),
        radial-gradient(circle at 60% 80%, rgba(30, 111, 204, 0.05) 0%, transparent 40%);
    pointer-events: none;
}

/* Diagonal lines pattern */
.cta-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 40px,
        rgba(255, 255, 255, 0.015) 40px,
        rgba(255, 255, 255, 0.015) 41px
    );
    pointer-events: none;
}

.cta-banner-inner {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.cta-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.15;
    color: #FFFFFF;
    margin: 0;
}

.cta-subtitle {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    max-width: 520px;
}

/* WhatsApp CTA Button */
.cta-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #25D366;
    color: #FFFFFF;
    padding: 18px 40px;
    border-radius: var(--radius-btn, 50px);
    font-size: 1.05rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 8px;
}

.cta-whatsapp svg {
    width: 22px;
    height: 22px;
    fill: #FFFFFF;
}

.cta-whatsapp:hover {
    background: #1EBE5A;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.35);
}

/* Pulse animation */
.cta-whatsapp {
    animation: ctaPulse 2.5s ease-in-out infinite;
}

@keyframes ctaPulse {
    0%, 100% { box-shadow: 0 4px 16px rgba(37, 211, 102, 0.2); }
    50% { box-shadow: 0 4px 24px rgba(37, 211, 102, 0.4); }
}

.cta-whatsapp:hover {
    animation: none;
}

/* Contact info */
.cta-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.cta-contact span {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

.cta-contact a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
}

.cta-contact a:hover {
    color: #FFFFFF;
}

/* Scroll animation */
.cta-banner-inner {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-banner-inner.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ------------------------------------------
   Responsive
   ------------------------------------------ */
@media (max-width: 768px) {
    .cta-banner {
        padding: 72px 20px;
    }

    .cta-title {
        font-size: clamp(1.6rem, 5vw, 2.2rem);
    }

    .cta-subtitle {
        font-size: 1rem;
    }

    .cta-banner-inner {
        gap: 20px;
    }

    .cta-whatsapp {
        width: 100%;
        justify-content: center;
        padding: 16px 32px;
        min-height: 44px;
    }

    .cta-contact span {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .cta-banner {
        padding: 52px 16px;
    }

    .cta-title {
        font-size: 1.4rem;
    }

    .cta-subtitle {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .cta-banner-inner {
        gap: 16px;
    }

    .cta-whatsapp {
        padding: 14px 24px;
        font-size: 0.95rem;
        gap: 10px;
    }

    .cta-whatsapp svg {
        width: 20px;
        height: 20px;
    }

    .cta-contact {
        gap: 6px;
        margin-top: 4px;
    }

    .cta-contact span {
        font-size: 0.75rem;
    }
}
