

.contacts-body {
    display: flex;
    justify-content: center;
}

.big-grid {
    height: 100%;
    width: 80rem;
    margin: 3rem 6rem;
    display: grid;
    grid-template-columns: 50% 50%;
    grid-template-rows: 40% 60%;
    row-gap: 1rem;
    column-gap: 3rem;
    margin-left: 3rem; /*из-за gap*/
}

.box1 {
    grid-column: 1;
    grid-row: 1/3;
    height: 100%;
    width: 100%;
    /* background-color: rgb(146, 141, 141); */
}

.box2 {
    grid-column: 2;
    grid-row: 1/2;
    height: 100%;
    width: 100%;
    /* background-color: rgb(16, 177, 198); */
}

.box3 {
    grid-column: 2;
    grid-row: 2/3;
    /* height: 100%; */
    width: 100%;
    /* background-color: rgb(242, 161, 161); */
}

.order-form {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 2rem;
    background: white;
    border-radius: 23px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    border: solid;
    border-color: teal;
}

.order-form h2
 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.order-form input {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    box-sizing: border-box;
    background-color: #f4f4f4;
}

.form-input {
    padding: 4px 7px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    width: 100%;
    background-color: #f4f4f4;
}

.form-field-3 {
    position: absolute;
    left: -9999px;
    opacity: 0;
}

.order-form button {
    width: 100%;
    background: #5a7650;
    color: white;
    border: none;
    padding: 0.8rem;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s;
    box-sizing: border-box;
}

.policy_label {
    display: flex;
    margin: 0.4rem 0rem;
    margin-bottom: 0rem;
    align-items: center;
}

.policy_link {
    color: #5d5e99;
    text-decoration: underline;
}

input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    background-color: #f4f4f4;
    cursor: pointer;
    position: relative;
    display: inline-block;
    vertical-align: middle;
    margin: 0.3rem;
}

input[type="checkbox"]:checked {
    background-color: #f4f4f4;
    border-color: #e4e4e4;
}

input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 11px;
    top: 4px;
    width: 6px;
    height: 13px;
    border: solid #006412;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.alert-success {
    color: #155724;
    margin-top: 0.25rem;
    margin-bottom: 0.5rem;
}

.alert-error {
    color: #721c24;
    margin-top: 0.25rem;
    margin-bottom: 0.5rem;
}



/* контакты */
.contact-info {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 2rem;
    background: white;
    border-radius: 23px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    border: solid;
    border-color: lightgray;
}

h1.font-sans.text-3xl.font-semibold {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.map {
    overflow: hidden;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background: white;
    border-radius: 23px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    border: solid;
    border-color: rgb(147 169 255);
}


@media (max-width: 1000px) {
    .big-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: 1.5rem 1rem;
        max-width: 620px;
    }
    
    .box3 {
        height: 20rem;
    }

    input,
    textarea,
    select {
        font-size: 16px !important;
    }
}