.contacts-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  padding: 8px 0 80px;
}

.contacts-section h2 {
  margin: 0 0 12px;
  font-size: clamp(24px, 3vw, 32px);
}

.contacts-section > p {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 13px;
}

.contact-row {
  display: flex;
  min-height: 84px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.contact-row > span {
  color: var(--muted);
  font-size: 12px;
}

.contact-row strong {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 20px;
}

.contact-row:hover strong { color: var(--signal); }
.contact-row strong span { color: var(--signal); }
.contacts-schedule-link { margin-top: 20px; }

.footer-contacts {
  gap: 10px;
}

.footer-contacts a {
  min-height: 44px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 3px;
}

.footer-contacts span {
  color: #c9c7bf;
  font-size: 10px;
  line-height: 1.5;
}

.footer-contacts strong {
  font-size: 13px;
}

.external-arrow {
  display: inline-block;
  position: relative;
  flex: 0 0 auto;
  width: 1em;
  height: 1em;
  vertical-align: -0.12em;
}

.external-arrow::before {
  content: "";
  position: absolute;
  top: 0.17em;
  right: 0.17em;
  width: 0.56em;
  height: 0.56em;
  border-top: 0.11em solid currentColor;
  border-right: 0.11em solid currentColor;
}

.external-arrow::after {
  content: "";
  position: absolute;
  top: 0.17em;
  right: 0.17em;
  width: 0.9em;
  height: 0.11em;
  background: currentColor;
  transform: rotate(-45deg);
  transform-origin: right center;
}

.footer-contacts .external-arrow {
  color: inherit;
  font-size: 1em;
}

@media (max-width: 720px) {
  .contacts-layout { grid-template-columns: 1fr; gap: 48px; padding-bottom: 56px; }
}

@media (min-width: 821px) and (max-width: 1100px) {
  .masthead { gap: 12px; }
  .main-nav { gap: 0; }
  .main-nav a { padding-inline: 8px; font-size: 12px; }
}
