/* ==========================================================================
   COMPONENT: CTA FORM BLOCK (LIVING HOPE CONSULTATION FORM)
   ========================================================================== */

.cta-form-block {
    position: relative;
    width: 100%;
    margin: 0 !important;
    margin-bottom: 0 !important;
    padding: 20px 0 340px 0;
    background-color: var(--color-surface, #F7F2EE);
    /* DESKTOP: DÃ¹ng áº£nh ná»n Desktop */
    background-image: var(--bg-desktop, none);
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: cover;
    box-sizing: border-box;
    overflow: hidden;
    display: block;
}

[class*="wp-block-carbon-fields-cta"],
.wp-block-carbon-fields-cta-contact-box {
    margin: 0 !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
}

/* Lá»›p phá»§ mÃ n gradient má» nháº¹ */
.cta-form-block__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(247, 242, 238, 0.65) 0%, rgba(247, 242, 238, 0.15) 45%, rgba(0, 0, 0, 0) 100%);
    z-index: 1;
    pointer-events: none;
}

.cta-form-block__container {
    position: relative;
    z-index: 2;
    max-width: 1200px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    box-sizing: border-box !important;
}

/* KHá»I FORM CÄ‚N GIá»®A */
.cta-form-block__wrapper {
    max-width: 650px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* TIÃŠU Äá»€ SECTION */
.cta-form-block__title {
    font-family: var(--font-heading, 'Cormorant SC', serif);
    font-size: var(--fs-h2, 32px);
    font-weight: 500;
    line-height: 1.2;
    color: var(--text-title, #456967);
    margin: 0 0 8px 0;
    letter-spacing: 1px;
}

/* ÄOáº N MÃ” Táº¢ */
.cta-form-block__desc {
    font-family: var(--font-body, 'Nunito Sans', sans-serif);
    font-size: var(--fs-body, 16px);
    font-weight: 400;
    line-height: 1.5;
    color: var(--text-primary, #333333);
    margin: 0 0 18px 0;
    max-width: 620px;
}

/* NÃšT Báº¤M CONTACT US (Ná»€N XANH Äáº¬M ÄÃšNG CHUáº¨N) */
.cta-form-block__action {
    margin-top: 2px;
    display: flex;
    justify-content: center;
    width: 100%;
}

.cta-form-block__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 34px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    cursor: pointer;
    background-color: var(--color-primary-second, #456967) !important;
    color: #ffffff !important;
    border-radius: 6px;
    text-decoration: none !important;
    border: none;
    box-shadow: 0 4px 14px rgba(69, 105, 103, 0.2);
    transition: all 0.3s ease;
}

.cta-form-block__btn:hover,
.cta-form-block__btn:focus,
.cta-form-block__btn:active {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(69, 105, 103, 0.3);
    background-color: #365351 !important;
    color: #ffffff !important;
    text-decoration: none !important;
}

/* ==========================================================================
   RESPONSIVE MOBILE (< 768px) - Tá»° Äá»”I SANG áº¢NH MOBILE
   ========================================================================== */
@media (max-width: 768px) {
    .cta-form-block {
        /* Tá»° Äá»˜NG CHUYá»‚N SANG áº¢NH Ná»€N MOBILE */
        background-image: var(--bg-mobile, var(--bg-desktop, none));
        background-position: center center;
        padding: 20px 0 200px 0;
    }

    .cta-form-block__title {
        font-size: var(--fs-h2, 28px);
        margin-bottom: 8px;
    }

    .cta-form-block__desc {
        font-size: var(--fs-body, 16px);
        line-height: var(--lh-body, 1.6);
        margin-bottom: 16px;
    }

    .cta-form-block__btn {
        width: auto;
        min-width: 170px;
    }
}
