/* /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 a {
  text-decoration: none;
}

.contact-card a[href^="tel:"] {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #0b6b5e;
  font-weight: 700;
  letter-spacing: 0.1px;
  border-bottom: 1px solid transparent;
  transition: color .2s ease, border-color .2s ease, transform .2s ease;
}

.contact-card a[href^="tel:"]:hover {
  color: #08806f;
  border-bottom-color: rgba(8, 128, 111, 0.35);
  transform: translateY(-1px);
}

.contact-card a[href^="mailto:"] {
  color: #0b6b5e;
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}

.contact-card a[href^="mailto:"]:hover {
  color: #08806f;
  border-bottom-color: rgba(8, 128, 111, 0.35);
}
.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;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.contacts-cta .button,
.messengers .button,
.contact-actions .button {
  background: linear-gradient(180deg, #0fb39b 0%, #0a8f7c 100%);
  border: 1px solid rgba(8, 96, 82, 0.28);
  color: #fff;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 14px;
  line-height: 1.15;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(6, 104, 88, 0.20);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.contacts-cta .button:hover,
.messengers .button:hover,
.contact-actions .button:hover {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 12px 24px rgba(6, 104, 88, 0.28);
  filter: brightness(1.03);
}

.contacts-cta .button:active,
.messengers .button:active,
.contact-actions .button:active {
  transform: translateY(0) scale(0.99);
  box-shadow: 0 6px 14px rgba(6, 104, 88, 0.20);
}

.contact-actions .button-secondary {
  background: #fff;
  color: #0a7667;
  border-color: rgba(8, 96, 82, 0.22);
  box-shadow: 0 6px 14px rgba(6, 104, 88, 0.10);
}

.contact-actions .button-secondary:hover {
  background: #f5fbf9;
}

.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; }

  .contacts-cta .button,
  .messengers .button,
  .contact-actions .button {
    width: 100%;
    justify-content: center;
  }
}
