body.page-contacts {
  background: #f3f5f9;
}

.page-contacts main {
  background: transparent;
}

.page-contacts .breadcrumbs {
  margin-top: 22px;
}

.contacts-hero {
  padding: 18px 0 24px;
}

.contacts-hero__eyebrow {
  margin: 0 0 10px;
  color: #6f7687;
  font-size: 12px;
  font-weight: 780;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.contacts-hero h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(48px, 5.2vw, 72px);
  line-height: .98;
  letter-spacing: -.05em;
  font-weight: 800;
}

.contacts-hero p {
  margin: 12px 0 0;
  max-width: 760px;
  color: #677088;
  font-size: 20px;
  line-height: 1.45;
}

.contacts-page {
  display: grid;
  gap: 24px;
  padding-bottom: 74px;
}


.contacts-page,
.contacts-panel,
.contacts-slider-viewport,
.contacts-slider-track,
.contacts-map {
  max-width: 100%;
  min-width: 0;
}

.contacts-panel--offices,
.contacts-panel--map {
  overflow: hidden;
}

.contacts-panel {
  padding: 24px;
  border: 1px solid rgba(165, 178, 204, .34);
  border-radius: 28px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 18px 42px rgba(14, 33, 71, .06);
}

.contacts-panel__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.contacts-panel__head--compact {
  align-items: center;
}

.contacts-panel__head h2 {
  margin: 0;
  color: var(--blue-dark);
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.06;
  letter-spacing: -.04em;
}

.contacts-panel__head p {
  margin: 10px 0 0;
  max-width: 760px;
  color: #6a7388;
  font-size: 15px;
  line-height: 1.5;
}

.contacts-slider-controls {
  display: inline-flex;
  gap: 10px;
  flex-shrink: 0;
}

.contacts-slider-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border: 1px solid #d9e0ee;
  border-radius: 50%;
  background: #eff3fb;
  color: var(--blue-dark);
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease, opacity .2s ease;
}

.contacts-slider-arrow.is-next {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.contacts-slider-arrow:hover:not(:disabled) {
  transform: translateY(-1px);
  border-color: #bcc9df;
}

.contacts-slider-arrow.is-next:hover:not(:disabled) {
  background: var(--blue-hover);
  border-color: var(--blue-hover);
}

.contacts-slider-arrow:disabled {
  opacity: .42;
  cursor: default;
}

.contacts-slider-arrow svg {
  width: 22px;
  height: 22px;
}

.contacts-slider-viewport {
  overflow: hidden;
}

.contacts-slider-track {
  display: flex;
  gap: 22px;
  will-change: transform;
  transition: transform .28s ease;
}

.office-card {
  display: block;
  flex: 0 0 calc((100% - 44px) / 3);
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 1px solid #dde5f1;
  border-radius: 22px;
  background: #fff;
  color: inherit;
  text-align: left;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(14, 33, 71, .04);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.office-card:hover,
.office-card:focus-visible,
.office-card.is-active {
  transform: translateY(-2px);
  border-color: #8ba6e4;
  box-shadow: 0 14px 30px rgba(26, 53, 120, .12);
}

.office-card__media {
  position: relative;
  display: block;
  width: 100%;
  height: 260px;
  min-height: 260px;
  margin: 0;
  padding: 0;
  line-height: 0;
  background: #e8edf7;
  overflow: hidden;
}

.office-card__media img {
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
}

.office-card__badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #4f80eb, #3260ce);
  color: #fff;
  font-size: 12px;
  font-weight: 760;
  line-height: 1;
  box-shadow: 0 10px 20px rgba(51, 106, 191, .26);
}

.office-card__body {
  padding: 18px 18px 20px;
}

.office-card h3 {
  margin: 0 0 14px;
  color: var(--blue-dark);
  font-size: 28px;
  line-height: 1.02;
  letter-spacing: -.04em;
}


.office-card__eyebrow {
  margin: 0 0 8px;
  color: #6d7690;
  font-size: 12px;
  font-weight: 760;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.office-card__row--stack {
  align-items: start;
}

.office-card__line {
  display: block;
}

.office-card__note {
  display: block;
  margin-top: 2px;
  color: #7b8399;
  font-size: 12px;
  line-height: 1.4;
}

.office-card__meta {
  display: grid;
  gap: 12px;
}

.office-card__row {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: flex-start;
  color: #5f687e;
  font-size: 14px;
  line-height: 1.45;
}

.office-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
}

.office-card__icon svg {
  width: 18px;
  height: 18px;
}

.contacts-slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

.contacts-slider-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #ccd5e8;
  transition: transform .2s ease, background .2s ease;
}

.contacts-slider-dot.is-active {
  background: var(--blue);
  transform: scale(1.15);
}

.contacts-map-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.contacts-map-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border: 1px solid #dce3ef;
  border-radius: 999px;
  background: #fff;
  color: #5d6781;
  font-size: 14px;
  font-weight: 700;
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.contacts-map-pill:hover,
.contacts-map-pill:focus-visible,
.contacts-map-pill.is-active {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
  transform: translateY(-1px);
}

.contacts-map-pill__icon {
  display: inline-flex;
  width: 16px;
  height: 16px;
}

.contacts-map-pill__icon svg {
  width: 16px;
  height: 16px;
}

.contacts-map {
  height: 560px;
  border-radius: 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 20%, rgba(97, 158, 255, .14), transparent 18%),
    linear-gradient(180deg, #f2f6fb, #eef3f8);
  border: 1px solid #e2e8f3;
}

.contacts-map.is-fallback {
  display: grid;
  place-items: center;
  padding: 24px;
  color: #5f687e;
  text-align: center;
  font-size: 16px;
  line-height: 1.5;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1199px) {
  .contacts-panel__head,
  .contacts-panel__head--compact {
    flex-direction: column;
    align-items: stretch;
  }

  .contacts-map-filters {
    justify-content: flex-start;
  }

  .office-card {
    flex-basis: calc((100% - 22px) / 2);
  }

  .contacts-map {
    height: 500px;
  }
}

@media (max-width: 767px) {
  .contacts-hero p {
    font-size: 17px;
  }

  .contacts-page {
    gap: 18px;
    padding-bottom: 54px;
  }

  .contacts-panel {
    padding: 18px;
    border-radius: 22px;
  }

  .contacts-slider-controls {
    width: 100%;
    justify-content: flex-end;
  }

  .office-card {
    flex-basis: 100%;
  }

  .office-card h3 {
    font-size: 26px;
  }

  .contacts-map {
    height: 420px;
    border-radius: 20px;
  }
}


@media (max-width: 991px) {
  .office-card__media {
    height: 230px;
    min-height: 230px;
  }
}

@media (max-width: 767px) {
  .office-card__media {
    height: 220px;
    min-height: 220px;
  }
}
