

.form-container {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0px 0px 10px rgb(224 224 224);
    line-height: 1.6;
}

/* Стили для группированных секций */
.grouped-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0px;
    margin-bottom: 0px;
    padding-bottom: 0px;
    border-bottom: 1px solid #eee;
}

.group-title {
    font-size: 16px;
    color: #34495e;
    font-weight: 600;
    margin-bottom: 10px;
    grid-column: span 1;
}

.group-content {
    grid-column: span 1;
}

/* Остальные стили остаются как были */
.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(67px, 1fr));
    gap: 5px;
    margin-bottom:10px;
}

.options-grid.vertical {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.option-label {
    display: block;
    position: relative;
    cursor: pointer;
}

.option-input {
    position: absolute;
    opacity: 0;
    height: 0;
    width: 0;
}

.option-button {
    display: block;
    padding: 0px 5px;
    text-align: center;
    background: #fff;
    border: 1px solid #bdc3c7;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 14px;
    max-width: 210px;
    color: #2c3e50;
}

.option-label:hover .option-button {
    background: #d6eaf8;
    border-color: #3498db;
}

.option-input:checked + .option-button {
    background: #3498db;
    color: white;
    border-color: #3498db;
    font-weight: 500;
}

.submit-btn {
    display: block;
    width: 100%;
    max-width: 210px;
    margin: 30px auto 0;
    padding: 12px;
    background: #ffa800;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.submit-btn:hover {
    background: #ffa800;
}

.contact-section {
    margin-top: 0px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 5px;
    font-weight: 500;
}

.form-input, .form-textarea {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    width: 100%;
    box-sizing: border-box;
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.required {
    color: red;
}


