﻿.business-consultation-form {
    max-width: 1000px;
    margin: 0 auto;
}


/* =========================================
   HEADER
========================================= */

.consultation-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 55px;
}
.form-label {
    display: inline-block;
    margin-bottom: 12px;
    color: #f1731c;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}

.consultation-header h1 {
    margin: 0 0 18px;
    color: #222;
    font-size: 38px;
    line-height: 1.25;
    font-weight: 600;
}

.consultation-header p {
    margin: 0;
    color: #777;
    font-size: 16px;
    line-height: 1.8;
}


/* =========================================
   QUESTION CARD
========================================= */

.form-card {
    display: grid;
    grid-template-columns: 65px 1fr;
    gap: 25px;
    margin-bottom: 25px;
    padding: 35px;
    background: #fff;
    border: 1px solid #e9e3dc;
}

.question-number {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1731c;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.question-content h3 {
    margin: 5px 0 25px;
    color: #56260f;
    font-size: 19px;
    line-height: 1.5;
    font-weight: 600;
}

.question-content h3 > span:first-child {
    color: #b58a55;
}

.sub-label {
    display: block;
    margin-top: 5px;
    color: #999;
    font-size: 13px;
    font-weight: 400;
}


/* =========================================
   RADIO / CHECKBOX
========================================= */

.radio-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.option-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding: 14px 16px;
    border: 1px solid #e8e8e8;
    background: #fff;
    cursor: pointer;
    transition: all .25s ease;
}

.option-item:hover {
    border-color: #ffc836;
    background: #f1f1f1;
}

.option-item input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.option-item input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.check-mark {
    width: 20px;
    height: 20px;
    border: 1px solid #b58a55;
    border-radius: 3px;
    background: #fff;
    margin-right: 10px;
    position: relative;
    flex-shrink: 0;
}

/* Checkbox được chọn */
.option-item input[type="checkbox"]:checked + .check-mark {
    background: #b58a55;
    border-color: #b58a55;
}

/* Dấu check ✓ */
.option-item input[type="checkbox"]:checked + .check-mark::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}



/* Radio */

.radio-mark {
    position: relative;
    width: 19px;
    height: 19px;
    min-width: 19px;
    margin-top: 1px;
    border: 1px solid #bcbcbc;
    border-radius: 50%;
}

.option-item input:checked + .radio-mark {
    border-color: #b58a55;
}

.option-item input:checked + .radio-mark::after {
    content: "";
    position: absolute;
    width: 9px;
    height: 9px;
    top: 4px;
    left: 4px;
    border-radius: 50%;
    background: #b58a55;
}

.option-item:has(input:checked) {
    border-color: #c8aa83;
    background: #fdf9f4;
}


/* Checkbox */

.check-mark {
    position: relative;
    width: 19px;
    height: 19px;
    min-width: 19px;
    margin-top: 1px;
    border: 1px solid #bcbcbc;
}

.checkbox-item input:checked + .check-mark {
    border-color: #b58a55;
    background: #b58a55;
}

.checkbox-item input:checked + .check-mark::after {
    content: "\f00c";
    position: absolute;
    top: 1px;
    left: 3px;
    color: #fff;
    font-family: "Font Awesome 6 Free";
    font-size: 12px;
    font-weight: 900;
}


/* =========================================
   CHECKBOX GRID
========================================= */

.checkbox-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}


/* =========================================
   FORM INPUTS
========================================= */

.form-group {
    width: 100%;
}

.form-group label {
    display: block;
    margin-bottom: 9px;
    color: #333;
    font-size: 14px;
    font-weight: 600;
}

.form-group label span {
    color: red;
}

.form-group input,
.form-group textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #ddd;
    background: #fff;
    padding: 14px 16px;
    color: #333;
    font-family: inherit;
    font-size: 15px;
    outline: none;
    transition: all .25s ease;
}

.form-group input {
    height: 52px;
}

.form-group textarea {
    min-height: 160px;
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #aaa;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #b58a55;
    box-shadow: 0 0 0 3px rgba(181, 138, 85, .08);
}


/* =========================================
   LOCATION DETAILS
========================================= */

.location-details {
    display: none;
    margin-top: 25px;
    padding: 25px;
    background: #faf7f2;
    border: 1px solid #eadbc9;
}

.location-details.active {
    display: block;
}

/*.location-details .form-group + .form-group {
    margin-top: 20px;
}*/

.input-with-unit {
    display: flex;
    align-items: stretch;
}

.input-with-unit input {
    flex: 1;
}

.input-with-unit span {
    display: flex;
    align-items: center;
    padding: 0 18px;
    background: #eee9e2;
    color: #666;
    font-size: 14px;
}


/* =========================================
   GRID
========================================= */

.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.form-grid-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}


/* =========================================
   CONTACT SECTION
========================================= */

.contact-section {
    margin-top: 45px;
    padding: 45px;
    background: #f1f1f1;
}

.contact-heading {
    margin-bottom: 30px;
}

.contact-heading h2 {
    margin: 0 0 10px;
    color: #292929;
    font-size: 28px;
    font-weight: 600;
}

.contact-heading p {
    margin: 0;
    color: #777;
    font-size: 15px;
    line-height: 1.7;
}


/* =========================================
   PREFERRED CONTACT
========================================= */

.preferred-contact {
    margin-top: 28px;
}

.preferred-label {
    display: block;
    margin-bottom: 12px;
    color: #333;
    font-size: 14px;
    font-weight: 600;
}

.contact-methods {
    display: flex;
    gap: 10px;
}

.contact-option {
    min-width: 120px;
    justify-content: center;
}


/* =========================================
   SUBMIT
========================================= */

.submit-area {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e5ddd4;
    text-align: center;
}

.consultation-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 56px;
    padding: 0 32px;
    border: 0;
    background: #ffc836;
    color: #56260f;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .7px;
    cursor: pointer;
    transition: all .3s ease;
    margin-top: 20px;
}

.consultation-submit:hover {
    background: #96703f;
    transform: translateY(-1px);
}

.consultation-submit i {
    font-size: 13px;
}

.submit-area p {
    max-width: 650px;
    margin: 15px auto 0;
    color: #999;
    font-size: 12px;
    line-height: 1.6;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 767px) {

    .consultation-header {
        margin-bottom: 35px;
        padding: 0 15px;
    }

    .consultation-header h1 {
        font-size: 28px;
    }

    .consultation-header p {
        font-size: 14px;
    }

    .form-card {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 25px 20px;
        margin-bottom: 18px;
    }

    .question-number {
        width: 42px;
        height: 42px;
    }

    .question-content h3 {
        margin-top: 0;
        font-size: 17px;
    }

    .checkbox-grid {
        grid-template-columns: 1fr;
    }

    .form-grid-2,
    .form-grid-3 {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .contact-section {
        padding: 30px 20px;
    }

    .contact-methods {
        flex-direction: column;
    }

    .contact-option {
        justify-content: flex-start;
        width: 100%;
        box-sizing: border-box;
    }

    .consultation-submit {
        width: 100%;
        padding: 0 15px;
        font-size: 12px;
    }

}