/* Страница «Контакты» (contacts.html): адрес, телефон, часы, мессенджеры, Яндекс.Карта */

.contacts-page { padding: 40px 20px 64px; }

.contacts-head { max-width: 760px; margin-bottom: 28px; }
.contacts-head h1 { font-size: 34px; line-height: 1.2; color: var(--navy); margin-bottom: 10px; }
.contacts-head p { font-size: 16px; line-height: 1.6; color: var(--muted); }

.contacts-layout {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 20px;
  align-items: stretch;
}
.contacts-info { display: flex; flex-direction: column; gap: 20px; }

/* --- Карточка с реквизитами для связи --- */
.contacts-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 8px 26px;
  box-shadow: 0 8px 24px rgba(15, 37, 68, .06);
}
.contacts-row {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.contacts-row:last-child { border-bottom: none; }
.contacts-row__icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  color: var(--accent);
  background: linear-gradient(135deg, #fff1e6, #ffe2cc);
}
.contacts-row__body { min-width: 0; }
.contacts-row__label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 2px; }
.contacts-row__body > strong { display: block; font-size: 16px; line-height: 1.4; color: var(--navy); }
.contacts-row__big { display: inline-block; font-size: 22px; font-weight: 700; color: var(--navy); }
.contacts-row__big--sm { font-size: 17px; }
.contacts-row__big:hover { color: var(--accent); }

/* Быстрые действия под адресом */
.contacts-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.contacts-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg);
  color: var(--navy);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}
.contacts-chip:hover { border-color: var(--accent); background: #fff; }
.contacts-chip svg { color: var(--accent); }

/* Статус «Сейчас открыто» */
.contacts-open {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 2px 0 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
}
.contacts-open i { width: 9px; height: 9px; border-radius: 50%; background: #aab6c6; }
.contacts-open[data-state="open"] { color: #1c8a4b; }
.contacts-open[data-state="open"] i { background: #25b05f; box-shadow: 0 0 0 4px rgba(37, 176, 95, .18); }
.contacts-open[data-state="closed"] { color: #b4492a; }
.contacts-open[data-state="closed"] i { background: #e0603a; }
.contacts-hours { list-style: none; display: grid; gap: 4px; max-width: 240px; }
.contacts-hours li { display: flex; justify-content: space-between; gap: 16px; font-size: 14px; color: var(--muted); }
.contacts-hours strong { color: var(--navy); }

/* --- Карта (виджет Яндекс.Карт, метка на нашем здании) --- */
.contacts-map {
  min-height: 460px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #e8edf3;
  box-shadow: 0 8px 24px rgba(15, 37, 68, .06);
}
.contacts-map iframe { display: block; width: 100%; height: 100%; min-height: 460px; border: 0; }

/* --- Адаптив --- */
@media (max-width: 900px) {
  .contacts-layout { grid-template-columns: 1fr; }
  .contacts-map, .contacts-map iframe { min-height: 340px; }
}
@media (max-width: 560px) {
  .contacts-page { padding: 26px 20px 44px; }
  .contacts-head h1 { font-size: 26px; }
  .contacts-card { padding: 4px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .contacts-chip { transition: none; }
}
