.zs-contacts-page {
  background: #ffffff;
}

.zs-contacts-main {
  background: #ffffff;
}

.zs-contacts-form-title,
.zs-contacts-map-title {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.zs-contacts-hero {
  position: relative;
}

.zs-contacts-hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(16, 24, 40, 0.34), rgba(16, 24, 40, 0.34)),
    url("../img/contacts-hero.jpg") center/cover no-repeat;
}

.zs-contacts-hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 260px;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.zs-contacts-hero h2 {
  margin: 0;
  color: #ffffff;
  font-family: "Montserrat", "Nunito Sans", Arial, sans-serif;
  font-size: 46px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.18;
}

.zs-contacts-content {
  padding: 112px 0 80px;
}

.zs-contacts-layout {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(420px, 1.08fr);
  gap: 56px;
  align-items: start;
}

.zs-contacts-heading span {
  display: inline-block;
  margin-bottom: 14px;
  color: #0c5297;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.zs-contacts-heading h2 {
  margin: 0;
  color: #1b1d21;
  font-family: "Montserrat", "Nunito Sans", Arial, sans-serif;
  font-size: 36px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.zs-contacts-intro {
  margin: 26px 0 0;
  max-width: 520px;
  color: #6d6d6d;
  font-size: 16px;
  line-height: 1.95;
}

.zs-contacts-info-list {
  display: grid;
  gap: 28px;
  margin-top: 36px;
}

.zs-contacts-info-card {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.zs-contacts-info-icon {
  flex: 0 0 54px;
  display: inline-flex;
  width: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  color: #0c5297;
  background: transparent;
}

.zs-contacts-info-icon svg {
  width: 38px;
  height: 38px;
}

.zs-contacts-info-text {
  min-width: 0;
  padding-top: 8px;
}

.zs-contacts-info-text h3 {
  margin: 0 0 10px;
  color: #1b1d21;
  font-family: "Montserrat", "Nunito Sans", Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
}

.zs-contacts-info-text p {
  margin: 0;
  color: #6d6d6d;
  font-size: 16px;
  line-height: 1.9;
}

.zs-contacts-info-text p + p {
  margin-top: 6px;
}

.zs-contacts-info-text a {
  color: #6d6d6d;
}

.zs-contacts-info-text a:hover {
  color: #ff6b18;
}

.zs-contacts-form-card {
  padding: 52px 52px 48px;
  background: #ffffff;
  box-shadow: none;
}

.zs-contacts-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 24px;
}

.zs-contacts-form label {
  display: block;
}

.zs-contacts-form label.is-full {
  grid-column: 1 / -1;
}

.zs-contacts-form label > span,
.zs-contacts-captcha-label {
  display: inline-block;
  margin-bottom: 10px;
  color: #1b1d21;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
}

.zs-contacts-form label strong {
  color: #ff6b18;
  font-weight: 700;
}

.zs-contacts-form input,
.zs-contacts-form select,
.zs-contacts-form textarea {
  width: 100%;
  border: 1px solid #cccccc;
  background: #ffffff;
  color: #6d6d6d;
  font: inherit;
  border-radius: 4px;
}

.zs-contacts-form input,
.zs-contacts-form select {
  height: 32px;
  padding: 0 12px;
}

.zs-contacts-form textarea {
  min-height: 142px;
  padding: 10px 12px;
  resize: vertical;
}

.zs-contacts-form input:focus,
.zs-contacts-form select:focus,
.zs-contacts-form textarea:focus {
  border-color: #ff6b18;
  outline: none;
  background: #ffffff;
}

.zs-contacts-form small {
  display: block;
  margin-top: 8px;
  color: #9aa3b2;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
}

.zs-contacts-form select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #6d6d6d 50%),
    linear-gradient(135deg, #6d6d6d 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 13px,
    calc(100% - 12px) 13px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.zs-contacts-captcha-wrap {
  margin-top: 28px;
}

.zs-contacts-captcha-box {
  display: flex;
  min-height: 78px;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid #dfe4eb;
  background: #ffffff;
}

.zs-contacts-captcha-box input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.zs-contacts-captcha-check {
  position: relative;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border: 1px solid #ced4de;
  background: #ffffff;
}

.zs-contacts-captcha-text {
  color: #1b1d21;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.35;
}

.zs-contacts-captcha-badge {
  margin-left: auto;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: #8c95a5;
}

.zs-contacts-captcha-badge svg {
  width: 22px;
  height: 22px;
}

.zs-contacts-captcha-badge small {
  font-size: 10px;
  line-height: 1;
}

.zs-contacts-captcha-box input:checked + .zs-contacts-captcha-check::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 9px;
  width: 7px;
  height: 14px;
  border-right: 2px solid #1e8e3e;
  border-bottom: 2px solid #1e8e3e;
  transform: rotate(40deg);
}

.zs-contacts-form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 30px;
}

.zs-contacts-form-actions button {
  min-width: 140px;
  height: 56px;
  padding: 0 34px;
  border: 0;
  color: #ffffff;
  background: #0c5297;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
  transition: background-color 0.24s ease, transform 0.24s ease;
}

.zs-contacts-form-actions button:hover {
  background: #0c5297;
  transform: translateY(-2px);
}

.zs-contacts-form-message {
  min-height: 20px;
  color: #16a34a;
  font-size: 13px;
  line-height: 1.4;
}

.zs-contacts-map-section {
  padding: 0 0 120px;
}

.zs-contacts-office-heading {
  text-align: center;
}

.zs-contacts-office-heading .zs-contacts-map-title {
  position: static;
  width: auto;
  height: auto;
  padding: 0;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
  border: 0;
  color: #1b1d21;
  font-family: "Montserrat", "Nunito Sans", Arial, sans-serif;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.03em;
}

.zs-contacts-office-divider {
  display: inline-block;
  width: 72px;
  height: 1px;
  margin-top: 14px;
  background: #d1d5db;
}

.zs-contacts-office-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-top: 44px;
}

.zs-contacts-office-card {
  height: 100%;
  padding: 28px 24px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #ffffff;
}

.zs-contacts-office-body h3 {
  color: #1b1d21;
  font-family: "Montserrat", "Nunito Sans", Arial, sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
}

.zs-contacts-office-role {
  margin-top: 12px;
  color: #0c5297;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  text-transform: uppercase;
}

.zs-contacts-office-addr {
  margin-top: 14px;
  color: #6d6d6d;
  font-size: 15px;
  line-height: 1.8;
}

.zs-contacts-map-card {
  position: relative;
}

.zs-contacts-map-card > img {
  width: 100%;
  height: auto;
}

.zs-contacts-hotspot {
  position: absolute;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  transform: translate(-50%, -50%);
}

.zs-contacts-hotspot-button {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}

.zs-contacts-hotspot-outer,
.zs-contacts-hotspot-inner {
  position: absolute;
  border-radius: 50%;
}

.zs-contacts-hotspot-outer {
  inset: 0;
  background: rgba(255, 59, 48, 0.32);
  animation: zsContactsPulse 2s infinite ease-out;
}

.zs-contacts-hotspot-inner {
  inset: 7px;
  background: #ff3b30;
  box-shadow: 0 0 0 4px rgba(255, 59, 48, 0.18);
}

.zs-contacts-hotspot-tooltip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 18px);
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 270px;
  padding: 16px 18px;
  color: #6d6d6d;
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.18);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(10px);
  transition: opacity 0.24s ease, transform 0.24s ease;
  text-align: left;
}

.zs-contacts-hotspot-tooltip::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  width: 18px;
  height: 18px;
  background: #ffffff;
  transform: translateX(-50%) rotate(45deg);
}

.zs-contacts-hotspot-tooltip strong {
  position: relative;
  z-index: 1;
  color: #1b1d21;
  font-family: "Montserrat", "Nunito Sans", Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}

.zs-contacts-hotspot-tooltip span {
  position: relative;
  z-index: 1;
  font-size: 14px;
  line-height: 1.55;
}

.zs-contacts-hotspot.is-active {
  z-index: 3;
}

.zs-contacts-hotspot.is-active .zs-contacts-hotspot-tooltip,
.zs-contacts-hotspot:hover .zs-contacts-hotspot-tooltip,
.zs-contacts-hotspot:focus-visible .zs-contacts-hotspot-tooltip {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

[data-contacts-reveal] {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-contacts-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes zsContactsPulse {
  0% {
    transform: scale(0.9);
    opacity: 0.95;
  }

  70% {
    transform: scale(1.4);
    opacity: 0;
  }

  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

@media (max-width: 1199px) {
  .zs-contacts-content {
    padding-top: 88px;
  }

  .zs-contacts-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .zs-contacts-intro {
    max-width: none;
  }
}

@media (max-width: 991px) {
  .zs-contacts-hero-inner {
    min-height: 220px;
  }

  .zs-contacts-hero h2 {
    font-size: 40px;
  }

  .zs-contacts-heading h2 {
    font-size: 42px;
  }

  .zs-contacts-form-card {
    padding: 40px 32px;
  }

  .zs-contacts-map-section {
    padding-bottom: 90px;
  }

  .zs-contacts-office-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .zs-contacts-office-heading .zs-contacts-map-title {
    font-size: 36px;
  }
}

@media (max-width: 767px) {
  .zs-contacts-hero-inner {
    min-height: 180px;
  }

  .zs-contacts-hero h2 {
    font-size: 34px;
  }

  .zs-contacts-content {
    padding: 72px 0 58px;
  }

  .zs-contacts-heading h2 {
    font-size: 36px;
  }

  .zs-contacts-intro,
  .zs-contacts-info-text p {
    font-size: 15px;
    line-height: 1.8;
  }

  .zs-contacts-info-card {
    gap: 18px;
  }

  .zs-contacts-info-icon {
    flex-basis: 58px;
    width: 58px;
    height: 58px;
  }

  .zs-contacts-info-icon svg {
    width: 24px;
    height: 24px;
  }

  .zs-contacts-form-card {
    padding: 28px 20px;
  }

  .zs-contacts-form-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .zs-contacts-form input,
  .zs-contacts-form select {
    height: 52px;
  }

  .zs-contacts-captcha-box {
    padding: 14px;
  }

  .zs-contacts-captcha-badge {
    display: none;
  }

  .zs-contacts-form-actions {
    align-items: stretch;
  }

  .zs-contacts-form-actions button {
    width: 100%;
  }

  .zs-contacts-hotspot-tooltip {
    width: min(220px, calc(100vw - 44px));
    padding: 12px 14px;
  }

  .zs-contacts-hotspot-tooltip strong {
    font-size: 15px;
  }

  .zs-contacts-hotspot-tooltip span {
    font-size: 12px;
  }

  .zs-contacts-office-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    margin-top: 32px;
  }

  .zs-contacts-office-card {
    padding: 24px 20px;
  }

  .zs-contacts-office-body h3 {
    font-size: 22px;
  }

  .zs-contacts-office-heading .zs-contacts-map-title {
    font-size: 30px;
  }
}
