.nks-contact-hero,
.nks-contact-hero * {
  box-sizing: border-box;
}

.nks-contact-hero {
  position: relative;
  isolation: isolate;
  width: min(100% - 24px, 1180px);
  min-height: 0;
  margin: 28px auto 34px;
  overflow: hidden;
  border: 1px solid rgba(255, 111, 20, 0.42);
  border-radius: 28px;
  background: #070707;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.46);
}

.nks-contact-hero__media,
.nks-contact-hero__shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.nks-contact-hero__media {
  z-index: 0;
  overflow: hidden;
}

.nks-contact-hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
}

.nks-contact-hero__shade {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(3, 3, 3, 0.98) 0%, rgba(3, 3, 3, 0.9) 36%, rgba(3, 3, 3, 0.35) 70%, rgba(3, 3, 3, 0.12) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.48), transparent 55%);
}

.nks-contact-hero__content {
  position: relative;
  z-index: 2;
  width: min(590px, 82%);
  padding: clamp(40px, 5vw, 56px) clamp(28px, 4vw, 48px);
  text-align: left;
}

.nks-contact-eyebrow {
  max-width: 36ch;
  margin: 0 0 14px;
  color: #ff7417;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: 0.17em;
}

.nks-contact-hero .nks-contact-hero__content h1#nks-contact-title {
  max-width: 10.5em;
  margin: 0;
  color: #fff;
  font-size: clamp(34px, 3.6vw, 50px) !important;
  line-height: 1.08 !important;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.nks-contact-hero h1 span {
  color: #ff7417;
}

.nks-contact-lead {
  max-width: 520px;
  margin: 20px 0 0;
  color: #ddd7d2;
  font-size: clamp(16px, 1.35vw, 18px);
  line-height: 1.55;
}

.nks-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.nks-contact-button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 20px;
  border: 1px solid #ff7417;
  border-radius: 8px;
  color: #fff !important;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none !important;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.nks-contact-button:hover,
.nks-contact-button:focus-visible {
  transform: translateY(-2px);
  outline: 3px solid rgba(255, 116, 23, 0.34);
  outline-offset: 3px;
}

.nks-contact-button--map {
  background: #f65e00;
  border-color: #f65e00;
}

.nks-contact-button--line {
  background: rgba(8, 8, 8, 0.76);
}

.nks-contact-content {
  width: min(100% - 24px, 980px);
  margin: 0 auto 50px;
  padding: 26px;
  border: 1px solid #2e2e2e;
  border-radius: 22px;
  background: linear-gradient(145deg, #111214, #090909);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.28);
}

.nks-contact-content > center > div:first-child {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 18px;
}

.nks-contact-content table {
  max-width: 100%;
}

.nks-contact-content input[type='text'],
.nks-contact-content textarea,
.nks-contact-content select {
  max-width: 100%;
  min-height: 42px;
  border: 1px solid #3c3c3c;
  border-radius: 7px;
  background: #080808;
  color: #fff;
}

.nks-contact-content textarea {
  min-height: 130px;
}

.nks-map-card {
  padding: 10px;
}

.nks-map-card__heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  color: #fff;
  text-align: left;
}

.nks-map-card__heading span {
  color: #ff7417;
  font-size: 21px;
  font-weight: 900;
}

.nks-map-card__heading small {
  color: #b8b8b8;
}

.nks-map-card__image {
  display: block;
  overflow: hidden;
  border: 1px solid #343434;
  border-radius: 14px;
  background: #050505;
}

.nks-map-card__image img {
  display: block;
  width: 100% !important;
  height: auto;
  object-fit: contain;
  transition: transform .25s ease;
}

.nks-map-card__image:hover img,
.nks-map-card__image:focus-visible img {
  transform: scale(1.015);
}

.nks-map-card__button {
  width: 100%;
  margin-top: 14px;
}

.nks-contact-form-title {
  margin: 4px 0;
  color: #ff7417;
  font-size: 22px;
}

@media (max-width: 720px) {
  .nks-contact-hero {
    min-height: 620px;
    border-radius: 18px;
  }

  .nks-contact-hero__media img {
    object-position: 64% center;
  }

  .nks-contact-hero__shade {
    background: linear-gradient(0deg, rgba(2, 2, 2, 0.99) 0%, rgba(2, 2, 2, 0.88) 56%, rgba(2, 2, 2, 0.28) 100%);
  }

  .nks-contact-hero__content {
    width: 100%;
    padding: 270px 24px 36px;
  }

  .nks-contact-actions,
  .nks-contact-button {
    width: 100%;
  }

  .nks-contact-content {
    padding: 14px;
  }

  .nks-contact-content table,
  .nks-contact-content tbody,
  .nks-contact-content tr,
  .nks-contact-content td {
    max-width: 100% !important;
  }

  .nks-map-card__heading {
    display: block;
  }

  .nks-map-card__heading small {
    display: block;
    margin-top: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nks-contact-button,
  .nks-map-card__image img {
    transition: none;
  }
}
