/* ===== СТИЛИ СТРАНИЦЫ КОНТАКТОВ ===== */

/* Основной контент */
.main-content {
    min-height: calc(100vh - 200px);
    padding: 30px 0 60px;
    background: #fff;
}

.content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 25px;
    margin-top: 1px; /* Добавляем отступ сверху */
    font-size: 13px;
}

.breadcrumbs a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumbs a:hover {
    color: #e31e24;
}

.breadcrumbs .separator {
    color: #ccc;
}

.breadcrumbs .current {
    color: #e31e24;
}

/* Заголовок страницы */
.page-title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 30px;
    text-transform: uppercase;
}

/* Секция контактов с картой */
.contacts-section {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-bottom: 50px;
}

/* Карта */
.map-container {
    height: 450px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: relative;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Контактная информация */
.contacts-info {
    background: #f9f9f9;
    border-radius: 12px;
    padding: 30px;
    height: fit-content;
}

.contacts-subtitle {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 25px;
    text-transform: uppercase;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-icon {
    width: 45px;
    height: 45px;
    background: #e31e24;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    flex-shrink: 0;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-label {
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-value {
    font-size: 15px;
    color: #333;
    font-weight: 500;
    line-height: 1.5;
}

.contact-value.link {
    color: #e31e24;
    text-decoration: none;
    transition: opacity 0.3s;
}

.contact-value.link:hover {
    opacity: 0.7;
}

/* Социальные сети в контактах */
.contacts-social {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid #ddd;
}

.social-label {
    display: block;
    font-size: 13px;
    color: #666;
    margin-bottom: 12px;
}

.social-links-row {
    display: flex;
    gap: 10px;
}

.social-links-row .social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    text-decoration: none;
    transition: transform 0.3s, opacity 0.3s;
}

.social-links-row .social-link:hover {
    transform: translateY(-3px);
    opacity: 0.9;
}

.social-links-row .social-link.vk { background: #4a76a8; }
.social-links-row .social-link.telegram { background: #0088cc; }
.social-links-row .social-link.whatsapp { background: #25d366; }

/* Секция обратной связи */
.feedback-section {
    background: #f9f9f9;
    border-radius: 16px;
    padding: 40px;
}

.feedback-section .section-title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.section-description {
    font-size: 15px;
    color: #666;
    margin-bottom: 30px;
}

/* Форма обратной связи */
.feedback-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 15px;
    color: #333;
    background: #fff;
    transition: all 0.3s;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #e31e24;
    box-shadow: 0 0 0 4px rgba(227, 30, 36, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #aaa;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Чекбокс */
.checkbox-group {
    margin-top: 10px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    user-select: none;
}

.checkbox-label input {
    display: none;
}

.checkmark {
    width: 22px;
    height: 22px;
    border: 2px solid #ddd;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
    transition: all 0.2s;
}

.checkbox-label input:checked + .checkmark {
    background: #e31e24;
    border-color: #e31e24;
}

.checkbox-label input:checked + .checkmark::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #fff;
    font-size: 12px;
}

.checkbox-text {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.checkbox-text a {
    color: #e31e24;
    text-decoration: none;
}

.checkbox-text a:hover {
    text-decoration: underline;
}

/* Кнопка отправки */
.submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 40px;
    background: #e31e24;
    color: #fff;
    border: none;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    align-self: flex-start;
    margin-top: 10px;
}

.submit-btn:hover {
    background: #c62828;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(227, 30, 36, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Сообщение об успешной отправке */
.success-message {
    background: #4caf50;
    color: #fff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    font-size: 16px;
    display: none;
}

.success-message.show {
    display: block;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Адаптивность */
@media (max-width: 992px) {
    .contacts-section {
        grid-template-columns: 1fr;
    }
    
    .map-container {
        height: 350px;
    }
    
    .contacts-info {
        order: -1;
    }
}

@media (max-width: 768px) {
    .main-content {
        padding: 20px 0 40px;
        padding-top: 40px; /* Добавляем отступ как на других страницах */
    }
    
    .page-title {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .feedback-section {
        padding: 25px;
    }
    
    .feedback-section .section-title {
        font-size: 20px;
    }
    
    .submit-btn {
        width: 100%;
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    .contact-value {
        font-size: 14px;
    }
}