@font-face {
  font-family: 'Roboto';
  src: url('../font/roboto-regular.ttf') format('truetype');
  font-weight: 400;
}

@font-face {
  font-family: 'Roboto';
  src: url('../font/roboto-bold.ttf') format('truetype');
  font-weight: 700;
}

@font-face {
  font-family: 'Lato';
  src: url('../font/lato-bold.ttf') format('truetype');
  font-weight: 700;
}

.zs-contact-banner {
  position: relative;
}

.zs-contact-banner-wrap {
  position: relative;
  width: 100%;
  min-height: 360px;
  overflow: hidden;
}

.zs-contact-banner-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.zs-contact-banner-overlay {
  position: relative;
  z-index: 1;
  min-height: 360px;
  background: linear-gradient(to right, rgba(8, 46, 133, 0.72) 0%, rgba(8, 46, 133, 0.28) 38%, rgba(8, 46, 133, 0) 68%);
}

.zs-contact-banner-overlay .zs-container {
  width: 100%;
}

.zs-contact-banner-inner {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--color-white);
  padding: 30px 0;
}

.zs-contact-banner-copy {
  flex: 1;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.zs-contact-banner-title {
  font-size: 46px;
  line-height: 1.15;
  font-weight: 700;
  color: var(--color-white);
  text-transform: uppercase;
}

.zs-contact-banner-desc {
  margin-top: 10px;
}

.zs-contact-banner-desc p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-white);
}

.zs-contact-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-white);
}

.zs-contact-breadcrumbs a {
  color: var(--color-white);
}

.zs-contact-breadcrumbs a:hover {
  color: var(--color-main);
}

.zs-contact-breadcrumb-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
}

.zs-contact-main {
  padding: 60px 0 100px;
}

.zs-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
}

.zs-contact-card {
  padding: 40px;
  min-height: 100%;
}

.zs-contact-card--info {
  background: #fffefb;
}

.zs-contact-card--form {
  background: #fafafa;
}

.zs-contact-title {
  font-size: 34px;
  line-height: 1.2;
  font-weight: 700;
  color: var(--color-title);
}

.zs-contact-intro {
  margin-top: 20px;
}

.zs-contact-intro p {
  position: relative;
  padding-left: 18px;
  font-size: 16px;
  line-height: 1.85;
  color: var(--color-text);
}

.zs-contact-intro p::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-text);
  font-size: 16px;
  line-height: 1.85;
}

.zs-contact-intro p + p {
  margin-top: 12px;
}

.zs-contact-list {
  margin-top: 30px;
}

.zs-contact-list ul {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.zs-contact-list a,
.zs-contact-list span {
  color: var(--color-main);
  text-decoration: underline;
  font-size: 24px;
  line-height: 1.5;
}

.zs-contact-list li {
  display: flex;
}

.zs-contact-list i {
  flex-shrink: 0;
  width: 30px;
  margin-top: 2px;
  margin-right: 20px;
}

.zs-contact-list i img {
  width: 100%;
}

.zs-contact-form-wrap {
  margin-top: 20px;
}

.zs-contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.zs-contact-field--full {
  grid-column: 1 / -1;
}

.zs-contact-field input,
.zs-contact-field textarea {
  width: 100%;
  border: 1px solid #d9d9d9;
  background: var(--color-white);
  color: var(--color-text);
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  padding: 16px 18px;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.zs-contact-field textarea {
  min-height: 224px;
  resize: vertical;
}

.zs-contact-field input:focus,
.zs-contact-field textarea:focus {
  border-color: var(--color-main);
  box-shadow: 0 0 0 3px rgba(240, 130, 0, 0.12);
}

.zs-contact-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 240px;
  min-height: 58px;
  padding: 0 34px;
  border: none;
  background: var(--color-main);
  color: var(--color-white);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}

.zs-contact-submit:hover {
  background: var(--color-title);
  transform: translateY(-1px);
}

.zs-contact-status {
  display: none;
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.6;
  color: #2f7d32;
}

.zs-contact-status.is-visible {
  display: block;
}

.zs-contact-notice-open {
  overflow: hidden;
}

.zs-contact-notice {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(15, 23, 42, 0.5);
}

.zs-contact-notice.is-visible {
  display: flex;
}

.zs-contact-notice__dialog {
  width: min(100%, 420px);
  padding: 28px 28px 24px;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
  text-align: center;
  position: relative;
  animation: zsContactNoticeIn 0.25s ease;
}

.zs-contact-notice__close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  color: #64748b;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.zs-contact-notice__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  position: relative;
  background: rgba(220, 38, 38, 0.1);
}

.zs-contact-notice__icon::before,
.zs-contact-notice__icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 22px;
  height: 2px;
  background: #dc2626;
  border-radius: 999px;
}

.zs-contact-notice__icon::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.zs-contact-notice__icon::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.zs-contact-notice.is-success .zs-contact-notice__icon {
  background: rgba(22, 163, 74, 0.12);
}

.zs-contact-notice.is-success .zs-contact-notice__icon::before {
  width: 10px;
  left: 22px;
  top: 30px;
  background: #16a34a;
  transform: rotate(45deg);
}

.zs-contact-notice.is-success .zs-contact-notice__icon::after {
  width: 20px;
  left: 30px;
  top: 26px;
  background: #16a34a;
  transform: rotate(-45deg);
}

.zs-contact-notice__message {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-title);
}

.zs-contact-notice__confirm {
  min-width: 120px;
  min-height: 46px;
  margin-top: 20px;
  padding: 0 24px;
  border: none;
  border-radius: 999px;
  background: var(--color-main);
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}

.zs-contact-notice__confirm:hover {
  background: var(--color-title);
  transform: translateY(-1px);
}

@keyframes zsContactNoticeIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.zs-contact-map {
  height: 320px;
  background: linear-gradient(0deg, rgba(8, 46, 133, 0.16), rgba(8, 46, 133, 0.16)), url('../img/img_about_map_bg.webp') center/cover no-repeat;
  display: flex;
  align-items: center;
}

.zs-contact-map-inner {
  max-width: 520px;
  margin: 0 auto;
  padding: 36px 40px;
  background: rgba(255, 255, 255, 0.92);
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.zs-contact-map-icon {
  width: 42px;
  margin: 0 auto 16px;
}

.zs-contact-map-title {
  font-size: 28px;
  line-height: 1.2;
  font-weight: 700;
  color: var(--color-title);
}

.zs-contact-map-text {
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text);
}

.zs-contact-map-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  min-width: 200px;
  min-height: 50px;
  padding: 0 24px;
  background: var(--color-main);
  color: var(--color-white);
  font-size: 15px;
  font-weight: 700;
  transition: background 0.25s ease;
}

.zs-contact-map-link:hover {
  background: var(--color-title);
}

@media (max-width: 992px) {
  .zs-contact-banner-wrap,
  .zs-contact-banner-overlay,
  .zs-contact-banner-inner {
    min-height: 300px;
  }

  .zs-contact-banner-overlay {
    background: rgba(8, 46, 133, 0.56);
  }

  .zs-contact-banner-title {
    font-size: 36px;
  }

  .zs-contact-main {
    padding: 50px 0 80px;
  }

  .zs-contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .zs-contact-banner-wrap,
  .zs-contact-banner-overlay,
  .zs-contact-banner-inner {
    min-height: 260px;
  }

  .zs-contact-banner-inner {
    text-align: center;
    align-items: center;
  }

  .zs-contact-banner-copy {
    max-width: 100%;
  }

  .zs-contact-banner-title {
    font-size: 30px;
  }

  .zs-contact-banner-desc p {
    font-size: 15px;
  }

  .zs-contact-breadcrumbs {
    justify-content: center;
  }

  .zs-contact-main {
    padding: 40px 0 60px;
  }

  .zs-contact-card {
    padding: 28px 24px;
  }

  .zs-contact-title {
    font-size: 28px;
  }

  .zs-contact-list a,
  .zs-contact-list span {
    font-size: 20px;
  }

  .zs-contact-form {
    grid-template-columns: 1fr;
  }

  .zs-contact-notice__dialog {
    padding: 24px 18px 20px;
  }

  .zs-contact-notice__message {
    font-size: 15px;
  }


  .zs-contact-field--full {
    grid-column: auto;
  }

  .zs-contact-map {
    height: auto;
    padding: 28px 0;
  }
}

@media (max-width: 576px) {
  .zs-contact-banner-wrap,
  .zs-contact-banner-overlay,
  .zs-contact-banner-inner {
    min-height: 220px;
  }

  .zs-contact-banner-inner {
    padding: 22px 0;
  }

  .zs-contact-banner-title {
    font-size: 28px;
  }

  .zs-contact-banner-desc p {
    font-size: 14px;
  }

  .zs-contact-breadcrumbs {
    margin-top: 20px;
    font-size: 13px;
  }

  .zs-contact-main {
    padding: 32px 0 48px;
  }

  .zs-contact-card {
    padding: 22px 18px;
  }

  .zs-contact-title {
    font-size: 26px;
  }

  .zs-contact-intro p {
    font-size: 15px;
  }

  .zs-contact-list ul {
    gap: 20px;
  }

  .zs-contact-list i {
    width: 30px;
    margin-right: 14px;
  }

  .zs-contact-list a,
  .zs-contact-list span {
    font-size: 18px;
  }

  .zs-contact-field input,
  .zs-contact-field textarea {
    font-size: 15px;
    padding: 14px 16px;
  }

  .zs-contact-field textarea {
    min-height: 180px;
  }

  .zs-contact-submit {
    width: 100%;
    min-width: 0;
  }

  .zs-contact-map-inner {
    padding: 26px 18px;
  }

  .zs-contact-map-title {
    font-size: 24px;
  }

  .zs-contact-map-text {
    font-size: 15px;
  }
}
