:root {
  --zs-contact-bg: #e8e9ec;
  --zs-contact-title: #217fc4;
  --zs-contact-text: #333333;
  --zs-contact-input-border: #ddd9d9;
}

.zs-contact-page {
  background: var(--zs-contact-bg);
}

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

.zs-contact-hero__desktop,
.zs-contact-hero__mobile {
  position: relative;
  overflow: hidden;
}

.zs-contact-hero__desktop {
  display: block;
}

.zs-contact-hero__mobile {
  display: none;
}

.zs-contact-carousel__track {
  position: relative;
}

.zs-contact-carousel__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.zs-contact-carousel__slide.is-active {
  position: relative;
  opacity: 1;
  z-index: 1;
}

.zs-contact-carousel__slide a,
.zs-contact-carousel__slide img {
  display: block;
  width: 100%;
}

.zs-contact-carousel__slide img {
  height: auto;
}

.zs-contact-carousel__dots {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 2;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
}

.zs-contact-carousel__dots button {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 0;
  background: url("../img/circle.png") no-repeat center / cover;
}

.zs-contact-carousel__dots button.is-active {
  background-image: url("../img/circleon.png");
}

.zs-contact-breadcrumb {
  padding: 10px 0 15px;
  color: #666666;
  font-size: 1.4rem;
  line-height: 2rem;
}

.zs-contact-breadcrumb .zs-shell {
  display: flex;
  align-items: center;
  gap: 5px;
}

.zs-contact-breadcrumb a {
  color: #666666;
}

.zs-contact-breadcrumb a[aria-current="page"],
.zs-contact-breadcrumb a:hover {
  color: var(--zs-color-primary);
}

.zs-contact-main {
  padding: 0;
}

.zs-contact-main__grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.zs-contact-info {
  width: 500px;
}

.zs-contact-form-wrap {
  width: 675px;
}

.zs-contact-info h2,
.zs-contact-form-wrap h2 {
  margin-top: -6px;
  color: var(--zs-contact-title);
  font-size: 2.8rem;
  font-weight: 400;
  line-height: 1.2;
}

.zs-contact-info__list {
  margin-top: 4px;
}

.zs-contact-info__list li,
.zs-contact-info__list a {
  color: var(--zs-contact-text);
  font-size: 1.4rem;
  line-height: 30px;
}

.zs-contact-info__list a:hover {
  color: var(--zs-color-primary);
}

.zs-contact-info__map {
  margin-top: 20px;
}

.zs-contact-info__map img {
  display: block;
  width: 100%;
  height: auto;
}

.zs-contact-form {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: -12px;
}

.zs-contact-form__field {
  position: relative;
  display: block;
  margin-top: 35px;
}

.zs-contact-form__field--half {
  width: 287px;
}

.zs-contact-form__field--full {
  width: 658px;
}

.zs-contact-form__field--captcha {
  width: 290px;
  margin-top: 0;
}

.zs-contact-form__field input,
.zs-contact-form__field textarea {
  width: 100%;
  border: 1px solid var(--zs-contact-input-border);
  background: #ffffff;
  color: #1b1b1b;
  font-size: 1.4rem;
}

.zs-contact-form__field input {
  height: 47px;
  padding: 0 16px 0 20px;
  line-height: 47px;
}

.zs-contact-form__field textarea {
  height: 177px;
  padding: 0 16px 0 20px;
  line-height: 47px;
  resize: none;
  overflow: auto;
}

.zs-contact-form__field.is-required::before {
  content: "*";
  position: absolute;
  top: 15px;
  left: 8px;
  z-index: 1;
  color: #cf2f2f;
  font-size: 1.6rem;
  line-height: 1;
}

.zs-contact-form__field.is-required textarea {
  padding-left: 20px;
}

.zs-contact-form__field input::placeholder,
.zs-contact-form__field textarea::placeholder {
  color: #1b1b1b;
  font-size: 1.4rem;
  font-family: Arial, Helvetica, sans-serif;
}

.zs-contact-form__captcha-row {
  display: flex;
  align-items: flex-start;
  width: 100%;
  margin-top: 35px;
}

.zs-contact-form__captcha {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 146px;
  height: 49px;
  margin-left: 30px;
  padding: 0 12px;
  border: 1px solid #d8d8d8;
  background: #ffffff;
  color: #111111;
  font-size: 1.6rem;
  line-height: 1.4;
  text-align: center;
  cursor: pointer;
  object-fit: cover;
}

.zs-contact-form__submit {
  width: 137px;
  height: 49px;
  margin-left: 50px;
  border: 0;
  border-radius: 0;
  background: var(--zs-color-primary);
  color: #ffffff;
  font-size: 1.8rem;
  line-height: 49px;
  text-align: center;
}

.zs-contact-form__submit:hover {
  background: #333333;
}

.zs-contact-form__message {
  width: 100%;
  margin-top: 14px;
  color: var(--zs-contact-text);
  font-size: 1.3rem;
  line-height: 1.6;
}

.zs-contact-form__message.is-error {
  color: #d44141;
}

.zs-contact-form__message.is-success {
  color: #15803d;
}

.zs-contact-main__map-spacer {
  margin-top: 50px;
  padding-bottom: 115px;
}

.zs-reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.zs-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1219px) {
  .zs-contact-info,
  .zs-contact-form-wrap {
    width: 48%;
  }

  .zs-contact-form__field--half {
    width: 210px;
  }

  .zs-contact-form__field--full {
    width: 100%;
  }
}

@media (max-width: 999px) {
  .zs-contact-hero__desktop {
    display: none;
  }

  .zs-contact-hero__mobile {
    display: block;
  }

  .zs-contact-carousel__dots {
    bottom: 10px;
    gap: 8px;
  }

  .zs-contact-carousel__dots button {
    width: 10px;
    height: 10px;
  }
}

@media (max-width: 979px) {
  .zs-contact-main__grid {
    display: block;
  }

  .zs-contact-info {
    width: 100%;
    margin-bottom: 30px;
  }

  .zs-contact-form-wrap {
    width: 100%;
  }

  .zs-contact-form__field--half {
    width: 48%;
  }

  .zs-contact-form__field--full {
    width: 100%;
  }

  .zs-contact-form__field input,
  .zs-contact-form__field textarea {
    padding-left: 2%;
  }

  .zs-contact-form__field.is-required::before {
    left: 6px;
  }

  .zs-contact-form__field--captcha {
    width: 210px;
  }
}

@media (max-width: 639px) {
  .zs-contact-form__field--half,
  .zs-contact-form__field--full,
  .zs-contact-form__field--captcha {
    width: 100%;
  }

  .zs-contact-form__field input,
  .zs-contact-form__field textarea {
    padding-left: 5%;
  }

  .zs-contact-form__field.is-required::before {
    left: 10px;
  }

  .zs-contact-form__captcha-row {
    flex-wrap: wrap;
  }

  .zs-contact-form__captcha {
    margin-top: 15px;
    margin-left: 0;
  }

  .zs-contact-form__submit {
    width: 40%;
    min-width: 140px;
    margin-top: 15px;
    margin-left: 15px;
  }
}

@media (max-width: 480px) {
  .zs-contact-breadcrumb {
    padding-bottom: 12px;
  }

  .zs-contact-info h2,
  .zs-contact-form-wrap h2 {
    font-size: 2.2rem;
  }

  .zs-contact-form__submit {
    width: 100%;
    margin-left: 0;
  }
}

