/* Стили для секции */
.contact-form-section {
    width: 100%;
}

.contact-form-grid {
    display: flex;
    flex-wrap: wrap; /* Для адаптивности */
    gap: 30px; /* Пространство между колонками */
    align-items: flex-start; /* Выравниваем по верху, если контент разной высоты */
}

/* Левая колонка - Контакты */
.contact-info-column {
    flex: 1;
    background-color: #9acd32; /* Ярко-зеленый фон */
    color: #fff; /* Белый текст */
    padding: 35px 30px;
    border-radius: 12px;
    min-width: 300px;
}
.contact-info-column h2 {
    font-size: 2.2em;
    font-weight: bold;
    margin-top: 0;
    margin-bottom: 15px;
}
.contact-info-column p {
    font-size: 0.95em;
    line-height: 1.6;
    margin-bottom: 20px;
}
.contact-details a {
    display: block;
    color: #fff;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: 500;
    margin-bottom: 8px;
    transition: opacity 0.3s ease;
}
.contact-details a:hover {
    opacity: 0.8;
}
.company-address {
    margin-top: 25px;
    font-size: 0.8em;
    line-height: 1.5;
    opacity: 0.9;
}
.company-address p {
    margin-bottom: 5px;
}

/* Правая колонка - Форма заявки */
.application-form-column {
    flex: 1.2; /* Форма чуть шире */
    background-color: #fff; /* Белый фон */
    padding: 35px 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.07);
    min-width: 300px;
}
.application-form-column h2 {
    font-size: 1.8em;
    font-weight: bold;
    color: #000;
    margin-top: 0;
    margin-bottom: 25px;
    text-align: left; /* Заголовок формы слева */
}

.myobox-application-form .form-group-contact {
    margin-bottom: 20px;
}
.myobox-application-form input[type="text"],
.myobox-application-form input[type="email"],
.myobox-application-form input[type="tel"],
.myobox-application-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #d0d0d0; /* Рамка поля */
    border-radius: 20px; /* Сильное скругление полей */
    font-size: 0.95em;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
    background-color: #fff; /* Белый фон поля */
}
.myobox-application-form input[type="text"]:focus,
.myobox-application-form input[type="email"]:focus,
.myobox-application-form input[type="tel"]:focus,
.myobox-application-form textarea:focus {
    border-color: #9acd32; /* Зеленая рамка при фокусе */
    outline: none;
}
.myobox-application-form textarea {
    resize: vertical; /* Разрешаем изменять размер только по вертикали */
    min-height: 80px;
}

.phone-input-group-contact {
    position: relative;
    display: flex;
    align-items: center;
}
.phone-input-group-contact .phone-flag-contact {
    position: absolute;
    left: 15px;
    font-size: 1.2em;
    pointer-events: none;
}
.phone-input-group-contact .phone-code-contact {
    position: absolute;
    left: 45px; /* Отступ для флага и кода страны */
    font-size: 0.95em;
    color: #555;
    pointer-events: none;
}
.phone-input-group-contact input[type="tel"] {
    padding-left: 85px; /* Отступ для флага и кода страны +1 (XXX) */
}


.form-submit-contact-wrapper {
    text-align: left; /* Кнопка слева */
    margin-top: 25px;
}
.submit-contact-form-button {
    background-color: #9acd32; /* Ярко-зеленая кнопка */
    color: #fff;
    border: none;
    padding: 12px 35px;
    border-radius: 25px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 3px 10px rgba(154, 205, 50, 0.4);
}
.submit-contact-form-button:hover {
    background-color: #8cbf2a;
    transform: translateY(-2px);
}

/* Адаптивность */
@media (max-width: 800px) {
    .contact-form-grid {
        flex-direction: column;
    }
    .contact-info-column,
    .application-form-column {
        min-width: 100%; /* Колонки занимают всю ширину */
    }
    .contact-info-column {
        margin-bottom: 30px; /* Отступ, если форма под контактами */
        text-align: center; /* Можно центрировать текст в левой колонке */
    }
    .contact-details a {
        /* Можно выровнять по центру, если текст тоже по центру */
    }
    .application-form-column h2 {
        text-align: center; /* Заголовок формы по центру */
    }
    .form-submit-contact-wrapper {
        text-align: center; /* Кнопку по центру */
    }
}

@media (max-width: 480px) {
    .contact-info-column h2 { font-size: 1.8em; }
    .application-form-column h2 { font-size: 1.6em; }
    .contact-info-column, .application-form-column { padding: 25px 20px; }
}