.contacts-page-main {
  min-width: 0;
  background: #fff;
}

.contacts-content {
  max-width: 1512px;
  min-width: 0;
  margin: 0 auto;
  padding: clamp(24px, 3vw, 40px) clamp(20px, 6vw, 104px) clamp(72px, 8vw, 120px);
  color: #147024;
}

.contacts-title {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.contacts-details {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(40px, 7vw, 112px);
}

.contacts-visit,
.contacts-connect {
  min-width: 0;
}

.contacts-label {
  margin: 0 0 18px;
  color: #5f7063;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
}

.contacts-address {
  margin: 0;
  font-size: clamp(26px, 3vw, 44px);
  font-style: normal;
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: -0.045em;
}

.contacts-address-note {
  display: block;
  margin-top: 16px;
  color: #5f7063;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0;
}

.contacts-map-link,
.contacts-email {
  display: flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  min-height: 44px;
  gap: 12px;
  font-size: 14px;
  line-height: 1.6;
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.contacts-map-link {
  margin-top: 12px;
}

.contacts-hours {
  margin-top: 36px;
}

.contacts-schedule {
  max-width: 300px;
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  font-variant-numeric: tabular-nums;
}

.contacts-schedule > div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 8px;
}

.contacts-schedule dt {
  color: #5f7063;
}

.contacts-schedule dd {
  margin: 0;
  white-space: nowrap;
}

.contacts-phones {
  display: grid;
  gap: 8px;
}

.contacts-phones a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  gap: 12px;
  font-size: clamp(23px, 2.55vw, 38px);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.045em;
  white-space: nowrap;
}

.contacts-phones .arrow-icon {
  font-size: 22px;
}

.contacts-chat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 20px;
  margin-top: 32px;
  padding: 18px 24px;
  border-radius: 12px;
  background: #147024;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  transition: background-color 180ms ease;
}

.contacts-chat .arrow-icon {
  font-size: 24px;
}

.contacts-email {
  margin-top: 16px;
}

.contacts-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.contacts-social {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid #d7e1d9;
  border-radius: 50%;
  transition:
    background-color 180ms ease,
    border-color 180ms ease;
}

.contacts-map {
  min-width: 0;
  height: clamp(360px, 40vw, 560px);
  margin-top: clamp(48px, 6vw, 88px);
  overflow: hidden;
  border: 1px solid #d7e1d9;
  border-radius: 20px;
  background: #f2f6f2;
}

.contacts-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.contacts-content a:focus-visible {
  outline: 2px solid #147024;
  outline-offset: 5px;
  border-radius: 4px;
}

@media (hover: hover) {
  .contacts-chat:hover {
    background: #105a1d;
  }

  .contacts-social:hover {
    border-color: #147024;
    background: #eef5ef;
  }

  .contacts-phones a:hover {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 6px;
  }
}

@media (max-width: 760px) {
  .contacts-details {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .contacts-connect {
    padding-top: 28px;
    border-top: 1px solid #d7e1d9;
  }

  .contacts-phones a {
    font-size: clamp(23px, 5.6vw, 34px);
  }

  .contacts-chat {
    padding: 16px 20px;
  }

  .contacts-map {
    height: 380px;
    border-radius: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contacts-chat,
  .contacts-social {
    transition: none;
  }
}
