/* ============================================
   Секция контактов
   ============================================ */
.contacts-section {
    max-width: 1280px;
    margin: 80px auto;
    padding: 0 80px;
    box-sizing: border-box;
}

.contacts-section .container-fluid {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    box-sizing: border-box;
}

.contacts-inner {
    display: flex;
    gap: 30px;
    align-items: stretch;
}

/* Левая колонка - Контактная информация */
.contacts-info {
    flex: 1;
    background: #FFFFFF;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contacts-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

.contacts-icon {
    width: 21px;
    height: 22px;
}

.contacts-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 16px;
    line-height: 120%;
    color: #152333;
    margin: 0;
}

.contacts-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 25px;
    line-height: 120%;
    color: #152333;
    margin: 25px 0 0 0;
}

.contacts-details {
    margin-top: 25px;
}

.contacts-row {
    display: flex;
    gap: 30px;
    margin-bottom: 60px;
}

.contacts-row:last-child {
    margin-bottom: 0;
}

.contact-item {
    flex: 1;
}

.contact-label {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 12px;
    line-height: 120%;
    color: #91A2B8;
    margin-bottom: 10px;
}

.contact-value {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 16px;
    line-height: 120%;
    color: #152333;
    text-decoration: none !important;
    transition: color 0.3s ease;
    display: inline-block;
}

.contact-value:hover,
.contact-value:focus,
.contact-value:active,
.contact-value:visited {
    color: #E60012;
    text-decoration: none !important;
}

.contact-social {
    display: flex;
    gap: 10px;
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #152333;
    border-radius: 5px;
    transition: opacity 0.3s ease;
}

.social-icon:hover {
    opacity: 0.8;
}

.social-icon img {
    width: 20px;
    height: 20px;
}

.contacts-link {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 16px;
    line-height: 120%;
    color: #152333;
    text-decoration: none !important;
    margin-top: 25px;
    transition: color 0.3s ease;
}

.contacts-link:hover,
.contacts-link:focus {
    color: #E60012 !important;
    text-decoration: none !important;
}

.contacts-link img {
    width: 15px;
    height: 15px;
}

/* Правая колонка - Форма обратного звонка */
.callback-form-wrapper {
    flex: 1;
    background: #91A2B8;
    border-radius: 5px;
    padding: 40px;
    box-sizing: border-box;
}

.callback-form {
    width: 100%;
}

.callback-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 25px;
    line-height: 120%;
    color: #FFFFFF;
    margin: 0 0 15px 0;
    text-align: center;
}

.callback-description {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 14px;
    line-height: 120%;
    color: #FFFFFF;
    margin: 0 0 25px 0;
    text-align: center;
}

.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid rgba(21, 35, 51, 0.2);
    border-radius: 5px;
    background: #FFFFFF;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 120%;
    color: #152333;
    box-sizing: border-box;
    transition: border-color 0.3s ease, color 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #152333;
    color: #152333;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #91A2B8;
}

/* Поле телефона - серый цвет по умолчанию, черный при вводе */
#callback-phone {
    color: #91A2B8;
}

#callback-phone::placeholder {
    color: #91A2B8;
}

/* Когда поле содержит реальное значение (не только маску) - черный цвет */
#callback-phone.has-value {
    color: #152333;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
    margin-bottom: 15px;
}

.form-checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 0;
    flex-wrap: wrap;
}

.form-checkbox {
    position: absolute;
    opacity: 0;
    width: 18px;
    height: 18px;
    margin: 0;
    cursor: pointer;
    z-index: 1;
}

.form-checkbox-label {
    position: relative;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 11px;
    line-height: 140%;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    padding-left: 28px;
    flex: 1;
    min-width: 200px;
    display: inline-block;
}

.form-checkbox-label a {
    text-decoration: none !important;
    color: rgba(255, 255, 255, 0.7) !important;
    transition: color 0.3s ease;
    display: inline;
    white-space: nowrap;
}

.form-checkbox-label a:hover,
.form-checkbox-label a:focus,
.form-checkbox-label a:active,
.form-checkbox-label a:visited {
    color: #E60012;
    text-decoration: none !important;
}

.form-checkbox-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 4px;
    background: transparent;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-checkbox:checked + .form-checkbox-label::before {
    background: #152333;
    border-color: #152333;
}

.form-checkbox:checked + .form-checkbox-label::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 4px;
    width: 5px;
    height: 8px;
    border: solid #FFFFFF;
    border-width: 0 1.5px 1.5px 0;
    transform: rotate(45deg);
    box-sizing: border-box;
}

.callback-buttons {
    display: flex;
    gap: 5px;
    align-items: center;
    flex-wrap: nowrap;
    flex-shrink: 0;
    margin-left: auto;
}

/* Стили кнопок формы используются из секции компании */
.callback-buttons .btn-order-company {
    color: #FFFFFF;
}

.callback-buttons:hover .btn-order-company,
.callback-buttons:hover .btn-arrow-company {
    box-shadow: 0 0 20px rgba(21, 35, 51, 0.6), 0 0 40px rgba(21, 35, 51, 0.4);
    transform: translateY(-2px);
}

.callback-buttons:hover .btn-order-company {
    color: #FFFFFF;
}

.callback-buttons:hover .btn-arrow-company {
    box-shadow: 0 0 20px rgba(230, 0, 18, 0.6), 0 0 40px rgba(230, 0, 18, 0.4);
}

/* Стрелка уже белая изначально, фильтр не нужен */

/* Мобильная версия */
@media (max-width: 768px) {
    .contacts-section {
        margin-top: 25px;
        padding: 0 10px;
    }
    
    .contacts-section .container-fluid {
        padding: 0 10px;
    }
    
    .contacts-inner {
        flex-direction: column;
        gap: 20px;
    }
    
    .contacts-header {
        margin-top: 0;
    }
    
    .contacts-title {
        font-family: 'Montserrat', sans-serif;
        font-weight: 700;
        font-style: normal;
        font-size: 20px;
        line-height: 120%;
        margin-top: 20px;
    }
    
    .contacts-details {
        margin-top: 20px;
    }
    
    .contacts-row {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 20px;
    }
    
    .callback-form-wrapper {
        padding: 30px 15px;
    }
    
    .callback-title {
        font-size: 25px;
    }
    
    .callback-description {
        font-size: 14px;
        margin-bottom: 30px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 10px;
    }
    
    .callback-buttons {
        width: 100%;
        margin-left: 0;
    }
    
    .callback-buttons .btn-order-company {
        flex: 1;
    }
    
    .form-checkbox-wrapper {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .form-checkbox-label {
        display: inline-block;
        min-width: auto;
        padding-left: 28px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .form-checkbox-label a {
        white-space: nowrap;
        display: inline;
    }
    
    .btn-callback-submit {
        flex: 1;
    }
}
