.km-style-1-wrapper {
    width: 100%;
    margin: 0 auto;
    background: transparent;
    box-sizing: border-box;
}

/* NhÃ³m input (2 field xáº¿p dá»c) */
.km-form-input-group {
    display: flex;
    flex-direction: column;
    gap: 13px;
    /* 12-14px */
}

.km-style-1-form .km-form-field {
    position: relative;
    margin-bottom: 0;
}

/* Input wrap vá»›i fake placeholder */
.km-input-wrap {
    position: relative;
    width: 100%;
}

.km-style-1-form input[type="text"],
.km-style-1-form input[type="tel"],
.km-style-1-form input[type="email"],
.km-style-1-form select,
.km-style-1-form textarea {
    width: 100%;
    height: 48px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0 16px;
    color: #334155;
    font-size: 14px;
    outline: none;
    margin: 0;
    box-sizing: border-box;
    box-shadow: none;
    appearance: none;
    -webkit-appearance: none;
}

.km-style-1-form select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
    cursor: pointer;
}

/* Cập nhật padding cho input có fake placeholder để nhường chỗ cho text bay lên */
.km-style-1-form .km-input-wrap input {
    padding-top: 20px;
    padding-bottom: 4px;
}

/* Fake placeholder overlay - Vinhomes style */
.km-fake-placeholder {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    font-size: 0.875rem;
    color: #94a3b8;
    line-height: 1;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    transform-origin: left top;
}

.km-fake-placeholder .km-req {
    color: #E53935;
    margin-left: 2px;
}

/* Hiệu ứng bay lên khi input được focus HOẶC đã có giá trị */
.km-style-1-form .km-input-wrap input:focus+.km-fake-placeholder,
.km-input-wrap.has-value .km-fake-placeholder {
    top: 12px;
    transform: translateY(0);
    font-size: 11px;
    opacity: 1;
    visibility: visible;
}

/* Đổi màu label thành xanh khi đang focus */
.km-style-1-form .km-input-wrap input:focus+.km-fake-placeholder {
    color: #2e438f;
}

/* Hover: khÃ´ng cÃ³ hiá»‡u á»©ng - khÃ´ng cáº§n style */

/* Focus: cÃ³ hiá»‡u á»©ng (Ã¡p dá»¥ng cho cáº£ focus thá»§ cÃ´ng vÃ  programmatic) */
.km-style-1-form input:focus,
.km-style-1-form input:focus-visible,
.km-style-1-form textarea:focus,
.km-style-1-form textarea:focus-visible {
    border-color: #2e438f;
    box-shadow: 0 0 0 3px rgba(46, 67, 143, 0.1);
    outline: none;
}

/* Validation error message */
.km-field-error {
    margin-top: 6px;
    font-size: 0.875rem;
    color: #E53935;
    line-height: 1.2;
    display: none;
}

.km-form-field.has-error .km-field-error {
    display: block;
}

.km-form-field.has-error .km-input-wrap input {
    border-color: #E53935 !important;
    margin: 0;
}



.km-form-field.has-error .km-input-wrap input:focus,
.km-form-field.has-error .km-input-wrap input:focus-visible {
    border-color: #2e438f !important;
    outline: none;
}


.km-style-1-form textarea {
    min-height: 80px;
    resize: vertical;
    padding-top: 12px;
    padding-bottom: 12px;
}

/* NÃºt CTA chÃ­nh */
.km-form-cta {
    margin-top: 16px;
}

.km-cta-btn {
    margin: 0;
    width: 100%;
    height: 52px;
    background: #2e438f;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: math-auto;
}

.km-cta-btn:hover {
    background: #1e2f6f;
}

.km-cta-btn:active {
    background: #1e2f6f;
}

.km-cta-btn:disabled {
    background: #94a3b8;
    cursor: not-allowed;
    transform: none;
}

/* Divider "Hoáº·c" */
.km-form-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 15px 0 13px;
    /* 14-16px trÃªn, 12-14px dÆ°á»›i */
}

.km-divider-line {
    flex: 1;
    height: 1px;
    background: #e2e8f0;
}

.km-divider-text {
    font-size: 13px;
    color: #94a3b8;
    white-space: nowrap;
}

/* HÃ ng 2 nÃºt phá»¥ */
.km-form-secondary-buttons {
    display: flex;
    gap: 13px;
    /* 12-14px */
}

.km-secondary-btn {
    flex: 1;
    height: 56px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 7px 12px;
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #334155;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    cursor: pointer;
}

.km-secondary-btn:hover {
    background: #ECF1FF !important;
}

/* NÃºt Gá»i trá»±c tiáº¿p */
.km-btn-call {
    gap: 11px;
    /* 10-12px */
}

.km-btn-call .ti-phone {
    font-size: 19px;
    /* 18-20px */
    color: #2e438f;
    flex-shrink: 0;
}

.km-btn-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    /* 1.15-1.25 */
    text-align: left;
}

.km-btn-text-line1 {
    font-weight: 600;
    font-size: 14px;
}

.km-btn-text-line2 {
    font-size: 14px;
    color: #2e438f;
}

/* NÃºt Chat qua Zalo */
.km-btn-zalo {
    gap: 11px;
    /* 10-12px */
}

.km-zalo-icon {
    width: 20px;
    /* 18-20px */
    height: 20px;
    flex-shrink: 0;
    object-fit: contain;
    display: block;
}

.km-btn-text-single {
    font-weight: 600;
    font-size: 14px;
}

/* Old submit button (kept for backward compatibility) */
.km-form-submit {
    text-align: center;
    margin-top: 30px;
}

/* .km-submit-btn {
    border-radius: 20px;
    padding: 12px 24px !important;
    border: 1px solid #ffffff36 !important;
    background: linear-gradient(180deg, rgb(9 116 169 / 31%) 0%, rgba(245, 167, 100, 0) 100%);
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease !important;
    box-shadow: none !important;
} */



.km-submit-btn:disabled {
    background: #555;
    cursor: not-allowed;
    transform: none;
}

.km-form-response {
    margin-top: 15px;
    font-size: 14px;
}

.km-form-response.success {
    color: #27ae60;
    background: none;
}

.km-form-response.error {
    color: #e74c3c;
}

.recaptcha-field {
    display: flex;
    justify-content: center;
}

/* Inline Email Only Form */
.km-form-inline-fields {
    display: flex;
    gap: 10px;
    align-items: flex-end;
    flex-wrap: wrap;
}

.km-email-only-form .km-form-field {
    flex: 1;
    min-width: 200px;
    margin-bottom: 0;
}

.km-email-only-form .km-submit-btn {
    margin-top: 0;
    padding: 12px 30px;
}

/* Form in sidebar (light background) */
.km-sidebar-content .km-style-1-wrapper {
    max-width: 100%;
    padding: 0;
}

.km-sidebar-content .km-form-label {
    color: #334155;
}

.km-sidebar-content .km-style-1-form input[type="text"],
.km-sidebar-content .km-style-1-form input[type="tel"],
.km-sidebar-content .km-style-1-form input[type="email"],
.km-sidebar-content .km-style-1-form textarea {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #334155;
    margin-bottom: 0;
    box-shadow: none;
}

.km-sidebar-content .km-style-1-form input::placeholder,
.km-sidebar-content .km-style-1-form textarea::placeholder {
    color: #94a3b8;
}

.km-sidebar-content .km-style-1-form input:focus,
.km-sidebar-content .km-style-1-form textarea:focus {
    border-color: #2e438f;
    box-shadow: 0 0 0 3px rgba(46, 67, 143, 0.1);
}

/* Field cÃ³ error trong sidebar: mÃ u Ä‘á» */
.km-sidebar-content .km-form-field.has-error .km-input-wrap input {
    border-color: #E53935 !important;
}

/* Field cÃ³ error trong sidebar NHÆ¯NG Ä‘ang focus: mÃ u xanh */
.km-sidebar-content .km-form-field.has-error .km-input-wrap input:focus,
.km-sidebar-content .km-form-field.has-error .km-input-wrap input:focus-visible {
    border-color: #2e438f !important;
    box-shadow: 0 0 0 3px rgba(46, 67, 143, 0.1) !important;
}

.km-sidebar-content .km-cta-btn {
    background: #2e438f;
    color: #ffffff;
}

.km-sidebar-content .km-cta-btn:hover {
    background: #1e2f6f;
}

.km-sidebar-content .km-secondary-btn {
    background: #fff;
    border-color: #2e438f;
    color: #2e438f;
}

.km-sidebar-content .km-submit-btn {
    border: 1px solid rgba(46, 67, 143, 0.3) !important;
    background: linear-gradient(180deg, rgba(46, 67, 143, 0.1) 0%, rgba(46, 67, 143, 0) 100%) !important;
    color: #2e438f !important;
}

.km-sidebar-content .km-submit-btn:hover {
    background: linear-gradient(180deg, rgba(46, 67, 143, 0.2) 0%, rgba(46, 67, 143, 0.05) 100%) !important;
}

/* Responsive */
@media (max-width: 480px) {
    .km-form-inline-fields {
        flex-direction: column;
        align-items: stretch;
    }

    .km-email-only-form .km-form-field {
        width: 100%;
        margin-bottom: 15px;
    }

    .km-form-secondary-buttons {
        display: flex;
        gap: 10px;
        margin-top: 15px;
    }

    .km-secondary-btn {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 8px 12px;
        border: 1px solid #2e438f;
        border-radius: 8px;
        text-decoration: none !important;
        transition: all 0.3s ease;
    }

    .km-btn-call {
        background: #2e438f;
        color: #fff !important;
    }

    .km-btn-call:hover {
        background: #1e2f6f;
        transform: translateY(-2px);
    }

    .km-btn-zalo {
        background: #fff;
        color: #2e438f !important;
    }

    .km-btn-zalo:hover {
        background: #f8fafc;
        transform: translateY(-2px);
    }

    .km-zalo-icon {
        width: 20px;
        height: 20px;
        margin-right: 8px;
        object-fit: contain;
    }

    .km-btn-text-single {
        font-weight: 600;
        font-size: 14px;
    }

    @media (max-width: 480px) {
        .km-form-secondary-buttons {
            flex-direction: column;
        }
    }

    .km-btn-text-line1,
    .km-btn-text-line2 {
        font-size: 13px;
        color: #fff;
    }

    .km-btn-text-single {
        font-size: 13px;
    }
}

.section-subtitle.has-text-centered {
    margin-bottom: 12px;
    font-size: 1.125rem;
    line-height: 1.625rem;
    letter-spacing: -.38px;
    font-weight: 700;
}

.list-style__type:not(:last-child) {
    margin-bottom: 20px;
}

.list-style__type li {
    position: relative;
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 12px;
    color: #aab7ca;
    font-size: .875rem;
    line-height: 20px;
}

.list-style__type li {
    color: #aab7ca;
    list-style: none;
}

.list-style__type li:before {
    display: none !important;
}

.list-style__type li i {
    font-size: 18px;
    color: #16a34a;
    margin-top: 1px;
    flex-shrink: 0;
}