.contacts-heading {
  margin-bottom: 1.25rem;
}

.contacts-heading h1,
.contacts-office-heading h2,
.contacts-questions h2 {
  margin-bottom: 0;
}

.contacts-office-card {
  display: grid;
  min-width: 0;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.contacts-office-details {
  min-width: 0;
  padding: clamp(1.2rem, 4vw, 1.75rem);
}

.contacts-office-heading {
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--border);
}

.contacts-office-heading h2 {
  font-size: clamp(1.4rem, 4vw, 1.85rem);
}

.contacts-office-heading p,
.contacts-detail p,
.contacts-questions > div > p:last-child {
  color: var(--text-secondary);
}

.contacts-office-heading p {
  margin: 0.25rem 0 0;
  font-size: 0.86rem;
}

.contacts-detail-list {
  display: grid;
}

.contacts-detail {
  display: grid;
  grid-template-columns: 2.4rem minmax(0, 1fr);
  gap: 0.8rem;
  padding-block: 1.15rem;
}

.contacts-detail + .contacts-detail {
  border-top: 1px solid var(--border);
}

.contacts-detail-icon {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  color: #aa98ff;
  background: var(--accent-soft);
  border: 1px solid rgb(118 87 255 / 20%);
  border-radius: var(--radius-sm);
}

.contacts-detail-icon svg,
.contacts-email svg {
  width: 1.2rem;
  height: 1.2rem;
  fill: none;
  stroke: currentcolor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.65;
}

.contacts-detail h3 {
  margin-bottom: 0.25rem;
  color: var(--text-muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contacts-detail p {
  margin: 0.2rem 0 0;
  font-size: 0.76rem;
}

.contacts-phone,
.contacts-address {
  display: inline-block;
  color: var(--text);
  font-weight: 750;
  line-height: 1.35;
  text-decoration: none;
}

.contacts-phone {
  font-size: 1.1rem;
}

.contacts-address {
  font-size: 0.92rem;
}

.contacts-phone:hover,
.contacts-address:hover {
  color: #c2b5ff;
}

.contacts-map-link {
  display: block;
  width: fit-content;
  margin-top: 0.35rem;
  font-size: 0.75rem;
}

.contacts-schedule {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  font-size: 0.8rem;
}

.contacts-schedule div {
  display: grid;
  grid-template-columns: 3.4rem minmax(0, 1fr);
  gap: 0.55rem;
}

.contacts-schedule dt {
  color: var(--text);
  font-weight: 750;
}

.contacts-schedule dd {
  margin: 0;
  color: var(--text-secondary);
}

.contacts-map {
  display: grid;
  min-width: 0;
  height: clamp(18rem, 80vw, 21rem);
  overflow: hidden;
  background:
    radial-gradient(circle at 75% 20%, rgb(118 87 255 / 16%), transparent 13rem),
    var(--surface-soft);
  border-top: 1px solid var(--border);
}

.contacts-map > div,
.contacts-map iframe {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
}

.contacts-map iframe {
  display: block;
  border: 0;
}

.contacts-map noscript {
  place-self: center;
  padding: 1rem;
  text-align: center;
}

.contacts-questions {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
  padding: 1.2rem;
  background: linear-gradient(145deg, var(--surface-raised), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.contacts-questions .eyebrow {
  margin-bottom: 0.25rem;
}

.contacts-questions h2 {
  font-size: 1.15rem;
}

.contacts-questions > div > p:last-child {
  max-width: 34rem;
  margin: 0.35rem 0 0;
  font-size: 0.8rem;
}

.contacts-channels,
.contacts-channels .header-contact-icons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.contacts-channels {
  gap: 0.55rem;
}

.contacts-channels .header-contact-icons {
  gap: 0.35rem;
}

.contacts-channels .header-icon-link {
  width: 2.65rem;
  height: 2.65rem;
  background: var(--surface-soft);
  border-color: var(--border);
}

.contacts-channels .header-icon-link img {
  width: 1.55rem;
  height: 1.55rem;
}

.contacts-email {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.65rem;
  padding: 0.55rem 0.75rem;
  color: var(--text-secondary);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.contacts-email:hover {
  color: var(--text);
  border-color: var(--border-strong);
}

@media (min-width: 44rem) {
  .contacts-map {
    height: 26rem;
  }

  .contacts-questions {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    padding: 1.4rem 1.5rem;
  }
}

@media (min-width: 72rem) {
  .contacts-office-card {
    grid-template-columns: minmax(18rem, 0.38fr) minmax(0, 0.62fr);
  }

  .contacts-office-details,
  .contacts-map {
    height: 32rem;
  }

  .contacts-office-details {
    overflow: auto;
    padding: 1.75rem;
  }

  .contacts-map {
    border-top: 0;
    border-left: 1px solid var(--border);
  }
}
