
.contacts-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 20px 40px; 
}

.page-title {
    font-size: 2.2rem;
    color: #2c3e50;
    text-align: center;
    margin: 0 0 30px 0;
    font-weight: 300;
    letter-spacing: 1px;
}


.contacts-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 70px;
    align-items: start;
}

@media (max-width: 992px) {
    .contacts-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}


.left-column {
    padding-right: 30px;
}

.text-block {
    line-height: 1.1;
    color: #4a4a4a;
    font-size: 1rem;
}

.text-block h2 {
    color: #2c3e50;
    margin: 0 0 25px 0;
    font-size: 1.6rem;
    font-weight: 400;
    position: relative;
    padding-bottom: 10px;
}

.text-block h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 1px;
    background: #b8b8b8;
}

.text-block h3 {
    color: #34495e;
    margin: 30px 0 15px 0;
    font-size: 1.2rem;
    font-weight: 400;
}

.text-block p {
    margin-bottom: 20px;
    line-height: 1.5;
}


.right-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
}


.action-block {
    border: 1px solid #e8e8e8;
    padding: 30px;
    transition: border-color 0.3s ease;
    background: #fff;
}

.action-block:hover {
    border-color: #b8b8b8;
}

.action-header {
    margin-bottom: 15px; 
    position: relative;
    
}

.action-header h3 {
    font-size: 1.4rem;
    color: #2c3e50;
    margin: 0;
    font-weight: 400;
    letter-spacing: 0.5px;
}


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


.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 1rem; 
    font-family: inherit; 
    text-decoration: none;
    border: 1px solid #2c3e50;
    color: #2c3e50;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 400;
    line-height: 1.5; 
}

.btn:hover {
    background: #2c3e50;
    color: white;
}

.btn-large {
    padding: 16px 40px;
    font-size: 1rem; 
}

.btn-primary {
    border-color: #2c3e50;
    color: #2c3e50;
}

.btn-primary:hover {
    background: #2c3e50;
    color: white;
}

.btn-secondary {
    border-color: #7f8c8d;
    color: #7f8c8d;
}

.btn-secondary:hover {
    background: #7f8c8d;
    color: white;
    border-color: #7f8c8d;
}


.action-note {
    font-size: 0.85rem;
    color: #7f8c8d;
    font-style: italic;
    line-height: 1.5;
    margin: 0;
}


.contact-info {
    border-top: 1px solid #e8e8e8;
    padding-top: 30px;
    margin-top: 10px;
}

.contact-info h4 {
    font-size: 1.1rem;
    color: #2c3e50;
    margin: 0 0 20px 0;
    font-weight: 400;
}

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #4a4a4a;
    font-size: 0.95rem;
}

.contact-item i {
    color: #7f8c8d;
    font-size: 1rem;
    width: 20px;
    text-align: center;
}


.map-section {
    margin-top: 50px; 
}

.map-section h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #2c3e50;
    font-size: 1.8rem;
    font-weight: 300;
    letter-spacing: 1px;
}

.map-container {
    height: 450px;
    overflow: hidden;
    width: 100%; 
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}


.cooperation-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cooperation-modal.show {
    display: flex;
    opacity: 1;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.modal-header {
    padding: 25px 30px;
    border-bottom: 1px solid #e8e8e8;
    position: relative;
}

.modal-header h3 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin: 0;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #7f8c8d;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.close-modal:hover {
    color: #2c3e50;
}

.modal-body {
    padding: 30px;
    overflow-y: auto;
    max-height: calc(90vh - 130px);
}


.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 400;
    color: #4a4a4a;
    font-size: 0.9rem;
}

.form-group label.required::after {
    content: ' *';
    color: #e74c3c;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    font-size: 0.95rem;
    transition: border-color 0.3s ease;
    background: #fff;
    color: #4a4a4a;
}

.form-control:focus {
    outline: none;
    border-color: #7f8c8d;
}

textarea.form-control {
    min-height: 100px;
    resize: vertical;
    font-family: inherit;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.radio-group label {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 10px 0;
    border-bottom: 1px solid #f5f5f5;
}

.radio-group input[type="radio"] {
    margin-right: 10px;
}

.file-info {
    display: block;
    margin-top: 8px;
    font-size: 0.85rem;
    color: #7f8c8d;
    line-height: 1.4;
}

.btn-submit {
    width: 100%;
    padding: 14px;
    background: #2c3e50;
    color: white;
    border: none;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 400;
}

.btn-submit:hover {
    background: #34495e;
}


.success-message {
    background: #f8f9fa;
    color: #27ae60;
    padding: 15px;
    margin: 15px 0;
    border-left: 3px solid #27ae60;
    text-align: center;
}

.error-message {
    background: #f8f9fa;
    color: #e74c3c;
    padding: 15px;
    margin: 15px 0;
    border-left: 3px solid #e74c3c;
}


@media (max-width: 768px) {
    .contacts-container {
        padding: 15px 15px 30px; 
    }
    
    .page-title {
        font-size: 1.8rem;
        margin-bottom: 30px; 
    }
    
    .left-column {
        padding-right: 0;
    }
    
    .action-block {
        padding: 25px;
    }
    
    .modal-content {
        width: 95%;
        max-width: 100%;
        margin: 20px;
    }
    
    .modal-header,
    .modal-body {
        padding: 20px;
    }
}