/* Страница «Контакты» (BORMASH), scope #contacts-tt */
#contacts-tt.tc-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 16px 12px 40px;
}

#contacts-tt .tc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}

@media (max-width: 900px) {
  #contacts-tt .tc-grid {
    grid-template-columns: 1fr;
  }
}

#contacts-tt .tc-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 16px;
}

html[data-theme="light"] #contacts-tt .tc-card {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.1);
}

#contacts-tt .tc-card h2 {
  margin: 0 0 12px;
  font-size: 1.15rem;
  font-weight: 700;
}

#contacts-tt .tc-card p {
  line-height: 1.55;
  margin: 0 0 10px;
}

#contacts-tt .tc-badge {
  display: inline-block;
  margin-left: 4px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  background: rgba(214, 181, 90, 0.12);
  color: #7a6529;
  border: 1px solid rgba(214, 181, 90, 0.28);
}

html[data-theme="dark"] #contacts-tt .tc-badge,
html.theme-bormash-industrial:not([data-theme="light"]) #contacts-tt .tc-badge {
  color: #e6cc73;
}

#contacts-tt .tc-table {
  margin: 10px 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  overflow: auto;
  background: rgba(255, 255, 255, 0.06);
}

html[data-theme="light"] #contacts-tt .tc-table {
  background: rgba(0, 0, 0, 0.02);
}

html[data-theme="dark"] #contacts-tt .tc-table,
html.theme-bormash-industrial:not([data-theme="light"]) #contacts-tt .tc-table {
  border-color: rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
}

#contacts-tt .tc-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

#contacts-tt .tc-table th,
#contacts-tt .tc-table td {
  padding: 8px 10px;
  text-align: left;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

#contacts-tt .tc-table thead th {
  background: rgba(214, 181, 90, 0.1);
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: #6b5a2a;
}

html[data-theme="dark"] #contacts-tt .tc-table th,
html[data-theme="dark"] #contacts-tt .tc-table td,
html.theme-bormash-industrial:not([data-theme="light"]) #contacts-tt .tc-table th,
html.theme-bormash-industrial:not([data-theme="light"]) #contacts-tt .tc-table td {
  border-bottom-color: rgba(255, 255, 255, 0.05);
}

html[data-theme="dark"] #contacts-tt .tc-table thead th,
html.theme-bormash-industrial:not([data-theme="light"]) #contacts-tt .tc-table thead th {
  background: rgba(255, 255, 255, 0.04);
  color: #d6b55a;
}

html[data-theme="light"] #contacts-tt .tc-table thead th {
  background: rgba(214, 181, 90, 0.1);
  color: #6b5a2a;
}

#contacts-tt .tc-table tbody tr:hover td {
  background: rgba(0, 0, 0, 0.02);
}

html[data-theme="dark"] #contacts-tt .tc-table tbody tr:hover td,
html.theme-bormash-industrial:not([data-theme="light"]) #contacts-tt .tc-table tbody tr:hover td {
  background: rgba(255, 255, 255, 0.025);
}

#contacts-tt .tc-map {
  position: relative;
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.1);
  aspect-ratio: 4 / 3;
  min-height: 220px;
  background: rgba(0, 0, 0, 0.15);
}

html[data-theme="dark"] #contacts-tt .tc-map,
html.theme-bormash-industrial:not([data-theme="light"]) #contacts-tt .tc-map {
  border-color: rgba(255, 255, 255, 0.08);
}

#contacts-tt .tc-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

#contacts-tt .tc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

#contacts-tt .tc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid #b7923a;
  background: linear-gradient(180deg, #dfc875 0%, #d6b55a 45%, #b7923a 100%);
  color: #141414 !important;
  transition: filter 0.15s ease;
}

#contacts-tt .tc-btn:hover {
  filter: brightness(1.06);
  color: #141414 !important;
}

#contacts-tt .tc-btn:focus-visible {
  outline: 2px solid #d6b55a;
  outline-offset: 2px;
}

#contacts-tt a:not(.tc-btn) {
  color: #d6b55a;
  font-weight: 600;
}

#contacts-tt a:not(.tc-btn):hover {
  color: #e6cc73;
}
