/* Start custom CSS *//* ==========================================================================
   СТРАНИЦА КОНТАКТОВ (ДВУХКОЛОНОЧНЫЙ МАКЕТ С ЯНДЕКС.КАРТОЙ)
   ========================================================================== */

.steel-tech-contacts-page {
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 20px 15px !important;
    box-sizing: border-box !important;
    
    /* Двухколоночный макет на ПК */
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: stretch !important;                    /* Колонки будут одинаковой высоты */
    gap: 40px !important;
}

/* 1. ЛЕВАЯ КОЛОНКА: ДАННЫЕ */
.contacts-info-column {
    width: 45% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
}

.contacts-main-title {
    font-family: var(--font-family-headings) !important;
    color: var(--color-dark-charcoal) !important;
    font-size: 42px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    margin-bottom: 20px !important;
    text-align: left !important;
}

.contacts-lead-text {
    font-family: var(--font-family-text) !important;
    color: #5A626A !important;
    font-size: 15px !important;
    line-height: 1.6 !important;
    margin-bottom: 30px !important;
    text-align: left !important;
}

/* Сетка карточек контактов */
.contact-details-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    width: 100% !important;
    margin-bottom: 30px !important;
}

/* Индивидуальная карточка контакта */
.contact-detail-card {
    background-color: #ffffff !important;
    border: 1px solid var(--color-border-gray) !important;
    border-radius: 8px !important;
    padding: 16px 20px !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 16px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02) !important;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

/* Интерактивное наведение для кликабельных карточек (Телефон и Почта) */
.contact-detail-card.card-clickable:hover {
    border-color: var(--color-accent-blue) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(0, 90, 170, 0.06) !important;
    background: linear-gradient(180deg, #ffffff 0%, #f6f8fa 100%) !important;
}

/* Круглые иконки внутри карточек */
.contact-card-icon {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    background-color: #E6ECF4 !important;
    color: var(--color-accent-blue) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    transition: all 0.3s ease !important;
}

.contact-card-icon svg {
    width: 16px !important;
    height: 16px !important;
}

.contact-detail-card.card-clickable:hover .contact-card-icon {
    background-color: var(--color-accent-blue) !important;
    color: #ffffff !important;
}

/* Текстовые стили внутри карточек */
.contact-card-text {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
}

.contact-label {
    font-family: var(--font-family-headings) !important;
    color: #8B94A0 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    margin-bottom: 4px !important;
}

.contact-value {
    font-family: var(--font-family-text) !important;
    color: var(--color-dark-charcoal) !important;
    font-size: 14.5px !important;
    font-weight: 600 !important;
    text-align: left !important;
}


/* 2. ПРАВАЯ КОЛОНКА: КАРТА (ИСПРАВЛЕНО: БЕЗ БЕЛЫХ ПРОПУСКОВ) */
.contacts-map-column {
    width: 50% !important;
    display: flex !important;
}

/* Стилизация контейнера карты */
.contacts-map-holder {
    width: 100% !important;
    height: 100% !important;
    min-height: 450px !important;                       /* Высота по умолчанию на ПК */
    border: 1px solid var(--color-border-gray) !important;
    border-radius: 8px !important;
    overflow: hidden !important;                        /* Сглаживает углы карты */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02) !important;
    
    /* ИСПРАВЛЕНО: Обязательно для позиционирования iframe */
    position: relative !important;
}

/* ИСПРАВЛЕНО: Насильно растягиваем Яндекс.Карту на 100% высоты контейнера во всех плоскостях */
.contacts-map-holder iframe {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    border: none !important;
}


/* --- АДАПТИВНОСТЬ ПОД УСТРОЙСТВА --- */

/* Планшеты (до 1023px) — Сжимаем зазоры */
@media (max-width: 1023px) {
    .steel-tech-contacts-page {
        gap: 24px !important;
    }
    .contacts-main-title {
        font-size: 32px !important;
    }
    .contacts-map-holder {
        min-height: 380px !important;
    }
}

/* Мобильные телефоны (до 767px) — Перестраиваем в один вертикальный ряд */
@media (max-width: 767px) {
    .steel-tech-contacts-page {
        flex-direction: column !important;              /* Контакты сверху, Карта снизу */
        padding: 40px 15px !important;
        gap: 30px !important;
    }
    
    .contacts-info-column,
    .contacts-map-column {
        width: 100% !important;                         /* На всю ширину */
    }
    
    .contacts-main-title {
        font-size: 28px !important;
        text-align: center !important;
    }
    
    .contacts-lead-text {
        text-align: center !important;
        font-size: 14px !important;
    }
    
    .contacts-map-holder {
        min-height: 320px !important;                   /* Уменьшаем высоту на смартфонах */
        border-radius: 6px !important;
    }
    
    /* Отключаем парение на мобильных сенсорах */
    .contact-detail-card.card-clickable:hover {
        transform: none !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02) !important;
        border-color: var(--color-border-gray) !important;
        background: #ffffff !important;
    }
    .contact-detail-card.card-clickable:hover .contact-card-icon {
        background-color: #E6ECF4 !important;
        color: var(--color-accent-blue) !important;
    }
}/* End custom CSS */