.contact-template-page {
  direction: inherit;
  text-align: inherit;
  background: #fff;
}

.contact-template-page[dir="rtl"] {
  direction: rtl;
  text-align: right;
}

.contact-template-page[dir="ltr"] {
  direction: ltr;
  text-align: left;
}

.contact-template-breadcrumbs {
  border-top: 1px solid rgba(62, 62, 62, 0.17);
  font-size: 14px;
  background: #fff;
}

.contact-template-breadcrumbs__inner {
  max-width: 1712px;
  margin: 0 auto;
  padding: 0 104px;
}

.contact-template-breadcrumbs__list {
  margin: 0;
  padding: 14px 0 10px;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  direction: ltr;
  justify-content: flex-end;
}

.contact-template-breadcrumbs__item {
  display: inline-flex;
  align-items: center;
  font-family: "Rubik", sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #777;
}

.contact-template-breadcrumbs__item:not(:last-child)::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-right: 7px solid #f47721;
  margin: 0 12px;
}

.contact-template-page[dir="ltr"] .contact-template-breadcrumbs__item:not(:last-child)::after {
  border-right: 0;
  border-left: 7px solid #f47721;
}

.contact-template-breadcrumbs__text {
  color: #000;
  font-family: "Rubik", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 14px;
  opacity: 0.4;
}

.contact-template-breadcrumbs__link {
  color: #000;
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  line-height: 14px;
}

.contact-template-hero {
  position: relative;
  margin: 0 8px;
  min-height: 200px;
  overflow: hidden;
  background: #e8e8e8;
}

.contact-template-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-template-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(233, 233, 233, 0.25), rgba(233, 233, 233, 0.94));
}

.contact-template-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 1712px;
  margin: 0 auto;
  min-height: 200px;
  padding: 30px 112px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.contact-template-hero__title {
  color: #000;
  font-size: 56px;
  font-weight: 600;
  line-height: 0.99;
}

.contact-template-hero__desc {
  margin: 0;
  color: #3d4043;
  font-size: 18px;
  font-weight: 400;
  opacity: 0.78;
}

.contact-template-content {
  max-width: 1712px;
  margin: 0 auto;
  padding: 26px 104px 72px;
}

.contact-template-content__grid {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
}

.contact-template-info {
  border: 1px solid #dfdfdf;
  border-radius: 4px;
  background: #f6f6f6;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-template-info__item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
}

.contact-template-info__title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #000;
}

.contact-template-info__text {
  margin: 0;
  font-size: 15px;
  color: rgba(0, 0, 0, 0.72);
  line-height: 1.5;
}

.contact-template-info__link {
  font-size: 16px;
  color: #f36518;
  text-decoration: none;
}

.contact-template-info__link:hover {
  color: #d2510f;
}

.contact-template-info__item--map {
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px dashed rgba(0, 0, 0, 0.2);
}

.contact-template-info__map {
  width: 100%;
  height: 180px;
  border: 0;
  border-radius: 6px;
  display: block;
}

.contact-template-form-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}

.contact-template-form-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(6, 16, 30, 0.85), rgba(14, 20, 29, 0.82)),
    url("../image/footer-background.webp") center / cover no-repeat;
}

.contact-template-form {
  position: relative;
  z-index: 1;
  min-height: 100%;
  border: 0;
  box-shadow: none;
}

@media (max-width: 1280px) {
  .contact-template-breadcrumbs__inner,
  .contact-template-content {
    padding-inline: 44px;
  }

  .contact-template-hero__inner {
    padding-inline: 52px;
  }
}

@media (max-width: 992px) {
  .contact-template-breadcrumbs__inner,
  .contact-template-content {
    padding-inline: 18px;
  }

  .contact-template-hero__inner {
    min-height: 160px;
    padding: 20px 26px;
  }

  .contact-template-hero__title {
    font-size: 40px;
  }

  .contact-template-content__grid {
    grid-template-columns: 1fr;
  }

  .contact-template-info__map {
    height: 210px;
  }
}

@media (max-width: 560px) {
  .contact-template-hero__title {
    font-size: 34px;
  }

  .contact-template-hero__desc {
    font-size: 16px;
  }

  .contact-template-info__map {
    height: 180px;
  }
}
