.contact-page {
  --contact-accent: #08a5df;
  --contact-accent-dark: #087eac;
  --contact-border: #d7e8ef;
  --contact-ink: #172d3c;
  --contact-muted: #708692;
  padding-bottom: 56px;
}

.contact-page__content {
  padding-top: 30px;
}

.contact-page .global-title {
  margin-bottom: 24px;
}

.contact-hero {
  position: relative;
  overflow: hidden;
  margin: 0 0 34px;
  border: 1px solid rgba(8, 165, 223, .16);
  border-radius: 24px;
  background: #f3fbfe;
  box-shadow: 0 18px 48px rgba(34, 82, 106, .12);
}

.contact-hero::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6);
  content: "";
  pointer-events: none;
}

.contact-hero img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform .7s cubic-bezier(.2, .7, .2, 1);
}

.contact-hero:hover img {
  transform: scale(1.018);
}

.contact-page .contact-holder {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 0 0 34px;
}

.contact-page .contact-holder .item {
  position: relative;
  display: flex !important;
  float: none !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: auto !important;
  min-height: 210px;
  margin: 0 !important;
  padding: 30px 22px 26px !important;
  overflow: hidden;
  border: 1px solid var(--contact-border) !important;
  border-radius: 20px !important;
  background: linear-gradient(145deg, #fff 30%, #f7fcfe 100%) !important;
  box-shadow: 0 12px 34px rgba(42, 80, 99, .07);
  color: var(--contact-ink) !important;
  text-align: center;
  text-decoration: none !important;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease, background .28s ease;
}

.contact-page .contact-holder .item::before {
  display: none !important;
  content: none !important;
}

.contact-page .contact-holder .item::after {
  position: absolute;
  top: 0;
  left: 50%;
  width: 0;
  height: 4px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, #08a5df, #61d5f4);
  content: "";
  transform: translateX(-50%);
  transition: width .28s ease;
}

.contact-page .contact-holder .item:hover,
.contact-page .contact-holder .item:focus-within,
.contact-page .contact-holder a.item:focus {
  z-index: 1;
  border-color: rgba(8, 165, 223, .5) !important;
  background: linear-gradient(145deg, #fff 10%, #eaf9fe 100%) !important;
  box-shadow: 0 22px 46px rgba(8, 126, 172, .18);
  outline: none;
  transform: translateY(-8px);
}

.contact-page .contact-holder .item:hover::after,
.contact-page .contact-holder .item:focus-within::after,
.contact-page .contact-holder a.item:focus::after {
  width: 62%;
}

.contact-page .contact-holder .text {
  display: block;
  width: 100%;
  margin: 0 0 8px;
  color: var(--contact-muted);
  font-size: 14px;
  line-height: 1.4;
  text-align: center !important;
}

.contact-page .contact-holder address,
.contact-page .contact-holder .schedule,
.contact-page .contact-holder .email,
.contact-page .contact-holder .tel-list a {
  color: var(--contact-ink) !important;
  display: block;
  width: 100%;
  font-style: normal;
  font-weight: 700;
  line-height: 1.55;
  text-align: center !important;
  transition: color .2s ease;
}

.contact-page .contact-holder .item:hover address,
.contact-page .contact-holder .item:hover .email,
.contact-page .contact-holder .tel-list a:hover {
  color: var(--contact-accent-dark) !important;
}

.contact-page .contact-holder .tel-list {
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: center !important;
}

.contact-card__icon {
  display: grid;
  flex: 0 0 58px;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 16px;
  border: 1px solid rgba(8, 165, 223, .12);
  border-radius: 18px;
  background: linear-gradient(145deg, #edfaff, #dff5fc);
  box-shadow: 0 8px 20px rgba(8, 165, 223, .1);
  color: var(--contact-accent);
  transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s ease, background .3s ease, color .3s ease;
}

.contact-card__icon svg {
  width: 29px;
  height: 29px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.contact-page .contact-holder .item:hover .contact-card__icon,
.contact-page .contact-holder .item:focus-within .contact-card__icon,
.contact-page .contact-holder a.item:focus .contact-card__icon {
  background: linear-gradient(145deg, #16afe3, #058fc5);
  box-shadow: 0 12px 26px rgba(8, 165, 223, .25);
  color: #fff;
  transform: translateY(-3px) rotate(-4deg) scale(1.08);
}

.contact-card__action {
  position: absolute;
  right: 16px;
  bottom: 12px;
  color: var(--contact-accent);
  font-size: 20px;
  opacity: 0;
  transform: translate(-7px, 5px);
  transition: opacity .25s ease, transform .25s ease;
}

.contact-page a.item:hover .contact-card__action,
.contact-page a.item:focus .contact-card__action {
  opacity: 1;
  transform: translate(0, 0);
}

.contact-map {
  position: relative;
  height: 430px;
  margin: 0 auto 48px;
  overflow: hidden;
  border: 1px solid var(--contact-border);
  border-radius: 24px;
  background: #eef8fb;
  box-shadow: 0 20px 52px rgba(34, 82, 106, .14);
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(.88) contrast(1.02);
}

.contact-map__link {
  position: absolute;
  right: 18px;
  bottom: 18px;
  max-width: calc(100% - 36px);
  padding: 12px 18px;
  border: 1px solid rgba(8, 165, 223, .28);
  border-radius: 999px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 8px 24px rgba(34, 82, 106, .14);
  color: var(--contact-ink);
  font-weight: 700;
  text-decoration: none;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.contact-map__link:hover,
.contact-map__link:focus {
  background: var(--contact-accent);
  color: #fff;
  outline: none;
  transform: translateY(-2px);
}

.contact-feedback {
  margin-top: 4px;
}

@media (max-width: 991px) {
  .contact-page .contact-holder {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-map {
    height: 380px;
  }
}

@media (max-width: 600px) {
  .contact-page {
    padding-bottom: 32px;
  }

  .contact-page__content {
    padding-top: 20px;
  }

  .contact-hero {
    margin-bottom: 24px;
    border-radius: 16px;
  }

  .contact-page .contact-holder {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .contact-page .contact-holder .item {
    min-height: 184px;
  }

  .contact-map {
    height: 330px;
    margin-bottom: 34px;
    border-radius: 16px;
  }

  .contact-map__link {
    right: 12px;
    bottom: 12px;
    max-width: calc(100% - 24px);
    padding: 10px 14px;
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-page *,
  .contact-page *::before,
  .contact-page *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
