/* ============================================================
   CONTACTS.CSS – Стили страницы "Контакты"
   ============================================================ */

.contacts-section {
    padding: 30px 0 70px;
}
.contacts-section h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--bg-dark);
    letter-spacing: 0.02em;
    margin-bottom: 30px;
}

.contacts-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

/* Левая колонка */
.contacts-info-col {
    flex: 1.3;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 25px 30px;
    box-shadow: var(--shadow-premium);
    border: 1px solid #e2e8f0;
}
.info-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--bg-dark);
    margin-bottom: 15px;
}
.info-card p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-main);
    margin-bottom: 8px;
}
.info-card p:last-child { margin-bottom: 0; }
.info-card a {
    color: var(--bg-dark);
    text-decoration: underline;
    transition: color 0.3s;
}
.info-card a:hover { color: var(--accent-gold); }
.info-card .highlight { font-weight: 600; color: var(--bg-dark); }
.info-card .divider {
    height: 1px; background: #e2e8f0; margin: 15px 0;
}
.info-card .row {
    display: flex; justify-content: space-between; padding: 6px 0;
    font-size: 14px; border-bottom: 1px dashed #f1f5f9;
}
.info-card .row:last-child { border-bottom: none; }
.info-card .row span:first-child { color: #64748b; }
.info-card .row span:last-child { font-weight: 500; }

/* Кнопка скачивания карточки предприятия с жестким контролем SVG */
.company-card-download-box {
    margin-top: 5px;
    width: 100%;
}

.btn-download-requisites {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: var(--bg-dark);
    color: #ffffff !important;
    padding: 16px 24px;
    border-radius: 12px;
    text-decoration: none !important;
    font-size: 14.5px;
    font-weight: 600;
    box-shadow: 0 6px 20px rgba(14, 41, 66, 0.15);
    border: 1px solid rgba(220, 179, 107, 0.4);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    box-sizing: border-box;
    width: 100%;
}

.btn-download-requisites:hover {
    background: var(--accent-gold);
    color: var(--bg-dark) !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(220, 179, 107, 0.4);
    border-color: var(--bg-dark);
}

.btn-download-requisites svg {
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    min-height: 20px !important;
    max-width: 20px !important;
    max-height: 20px !important;
    stroke: currentColor !important;
    flex-shrink: 0 !important;
    display: inline-block !important;
}

/* Правая колонка с картой */
.contacts-map-form-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.mini-map-container {
    background: #fff; border-radius: 16px; padding: 12px;
    box-shadow: var(--shadow-premium); border: 1px solid #e2e8f0;
}
#contacts-mini-map {
    width: 100%; height: 380px; border-radius: 12px; background: #f0f0f0;
}

/* Адаптивность */
@media (max-width: 1024px) {
    .contacts-layout { flex-direction: column; }
    .contacts-info-col, .contacts-map-form-col { flex: 1; width: 100%; }
    .info-card .row { flex-direction: column; gap: 4px; border-bottom: none; padding: 4px 0; }
    .info-card .row span:first-child { margin-bottom: -2px; }
}
@media (max-width: 768px) {
    .contacts-section h2 { font-size: 28px; }
    #contacts-mini-map { height: 280px; }
    .btn-download-requisites { font-size: 13.5px; padding: 14px 18px; }
}
@media (max-width: 480px) {
    #contacts-mini-map { height: 240px; }
}