/* /styles/css/contacts.css — отдельные стили для страницы Контакты */

.contacts-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 10px 0 20px;
}
.contacts-cta.bottom {
  margin-top: 20px;
}

.contacts-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
  margin: 10px 0 20px;
}

.contact-card {
  grid-column: span 6;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 16px 18px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}
.contact-card h2 {
  font-size: 20px;
  margin-bottom: 10px;
}
.contact-card .hint {
  color: #666;
  font-size: 14px;
  font-weight: normal;
}
.contact-card hr {
  border: none;
  border-top: 1px solid #eee;
  margin: 10px 0;
}
.contact-card .muted {
  color: #666;
  font-size: 14px;
  margin-top: 8px;
}
.contact-card .mono { font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; }

.messengers {
  display: flex;
  gap: 10px;
  margin: 10px 0;
}

.coords {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
}
.coords li { margin-bottom: 4px; }
.coords li span:first-child { color: #555; }

.schedule {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
}
.schedule li { margin-bottom: 6px; }
.mt { margin-top: 8px; }

/* Как добраться */
.how-to-get { margin: 10px 0 20px; }
.how-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}
.how-item {
  grid-column: span 6;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 16px 18px;
}

/* Карты с вкладками */
.maps { margin: 10px 0 10px; }
.tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}
.tab-button {
  padding: 8px 14px;
  border: 1px solid #000;
  background: #fff;
  border-radius: 20px;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.tab-button:hover { background: #eee; transform: scale(1.02); }
.tab-button.active { background: #00a88e; color: #fff; border-color: #00a88e; }

.map-pane { display: none; }
.map-pane.active { display: block; }
.map-embed {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}
.map-embed iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}

/* Адаптив */
@media (max-width: 1024px) {
  .contact-card, .how-item { grid-column: span 12; }
  .contacts-grid { gap: 16px; }
  .how-grid { gap: 16px; }
}