/* ============================
   CTA SECTION
   ============================ */
.cta-section {
    position: relative;
    padding: 6rem 1.5rem;
    text-align: center;
    color: var(--color-white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 550px;
    overflow: hidden;
    border-bottom-right-radius: 120px;
    border-bottom-left-radius: 120px;
}

.cta-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(180deg, rgba(86, 71, 62, 0.5) 0.05%, rgba(86, 71, 62, 0.5) 74.62%);
}

.cta-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    transition: opacity 1.2s ease-in-out;
}

.cta-bg-image.bg-before {
    background-image: url('/img/cta_before.webp');
    opacity: 1;
}

.cta-bg-image.bg-after {
    background-image: url('/img/cta_after.webp');
    opacity: 0;
}

.cta-section.hover .cta-bg-image.bg-before {
    opacity: 0;
}

.cta-section.hover .cta-bg-image.bg-after {
    opacity: 1;
}

.cta-content {
    max-width: 800px;
    position: relative;
    z-index: 10;
    margin: 0 auto;
}

.cta-title {
    color: var(--color-white);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.cta-description {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.cta-btn {
    display: inline-block;
    background-color: var(--color-bg-secondary);
    color: var(--color-primary);
    border: 2px solid var(--color-bg-secondary);
    font-weight: 600;
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
    border-radius: 50px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.cta-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* ============================
   RESPONSIVE - Tablet
   ============================ */
@media (max-width: 1023px) {
    .cta-section {
        height: 450px;
        padding: 4rem 2rem;
        border-bottom-right-radius: 80px;
        border-bottom-left-radius: 80px;
    }

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

    .cta-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .cta-btn {
        font-size: 1rem;
        padding: 0.7rem 1.8rem;
    }
}

/* ============================
   RESPONSIVE - Mobile
   ============================ */
@media (max-width: 575px) {
    .cta-section {
        height: 400px;
        padding: 3rem 1rem;
        border-bottom-right-radius: 50px;
        border-bottom-left-radius: 50px;
    }

    .cta-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .cta-description {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .cta-btn {
        font-size: 0.95rem;
        padding: 0.65rem 1.5rem;
    }
}
