.contact-page {
  overflow: hidden;
  background: var(--dc-surface);
}

.contact-page h1,
.contact-page h2,
.contact-page p {
  letter-spacing: 0;
}

.contact-hero {
  position: relative;
  display: flex;
  min-height: 500px;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(10, 10, 12, 0.88) 0%, rgba(10, 10, 12, 0.66) 46%, rgba(10, 10, 12, 0.16) 82%),
    url("../images/hero-contact-background.jpg") center / cover no-repeat;
}

.contact-hero__inner {
  position: relative;
  z-index: 1;
}

.contact-hero__content {
  max-width: 700px;
  padding: 62px 0;
}

.contact-hero .eyebrow,
.contact-hero h1 {
  color: var(--dc-surface);
}

.contact-hero h1 {
  max-width: 680px;
  margin: 14px 0 18px;
  font-size: clamp(2.5rem, 4.6vw, 4.5rem);
  line-height: 1.03;
}

.contact-hero__content > p:not(.eyebrow) {
  max-width: 600px;
  margin: 0;
  color: rgba(255, 254, 253, 0.84);
  font-size: 1.12rem;
  line-height: 1.65;
}

.contact-section {
  padding: 72px 0 64px;
}

.contact-form-wrap {
  max-width: 1000px;
}

.contact-section-heading {
  max-width: 760px;
  margin: 0 auto 38px;
  text-align: center;
}

.contact-section-heading::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin: 22px auto 0;
  background: var(--dc-secondary);
}

.contact-section-heading h2 {
  margin: 10px 0 14px;
  font-size: clamp(2rem, 3.5vw, 3.35rem);
  line-height: 1.08;
}

.contact-section-heading p:not(.eyebrow) {
  max-width: 68ch;
  margin: 0 auto;
  color: var(--dc-muted);
  font-size: 1.05rem;
  line-height: 1.68;
}

.contact-form-shell .dexin-form {
  gap: 22px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.contact-form-shell .form-grid {
  gap: 20px 24px;
}

.contact-form-shell .dexin-form input,
.contact-form-shell .dexin-form select,
.contact-form-shell .dexin-form textarea {
  min-height: 50px;
  padding: 13px 15px;
  background: #fff;
}

.contact-form-shell .dexin-form textarea {
  min-height: 170px;
  resize: vertical;
}

.contact-form-shell .consent {
  align-items: center;
}

.contact-form-shell .consent input {
  width: 18px;
  height: 18px;
  min-height: 0;
  margin: 0;
  flex: 0 0 auto;
}

.contact-form-shell .dexin-form > .button {
  width: 100%;
  min-height: 50px;
  justify-content: center;
}

.contact-info {
  border-top: 1px solid var(--dc-line);
  border-bottom: 1px solid var(--dc-line);
  background: var(--dc-surface);
}

.contact-info__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.contact-info__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 15px;
  min-height: 190px;
  padding: 34px 26px;
}

.contact-info__item + .contact-info__item {
  border-left: 1px solid var(--dc-line);
}

.contact-info__icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--dc-primary);
}

.contact-info__icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.65;
}

.contact-info__item h2 {
  margin: 4px 0 9px;
  font-size: 1.02rem;
}

.contact-info__item p {
  margin: 0;
  color: var(--dc-soft-ink);
  font-size: 0.92rem;
  line-height: 1.55;
}

.contact-info__item a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  color: var(--dc-secondary-dark);
  font-size: 0.9rem;
  font-weight: 850;
  text-decoration: none;
}

.contact-info__item a svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  transition: transform 180ms ease;
}

.contact-info__item a:hover svg {
  transform: translateX(3px);
}

.contact-map {
  padding: 64px 0;
  background: var(--dc-primary-soft);
}

.contact-map__grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.4fr) minmax(0, 0.6fr);
  gap: 44px;
  align-items: center;
}

.contact-map__copy {
  max-width: 470px;
}

.contact-map__copy h2 {
  margin: 10px 0 16px;
  font-size: clamp(1.9rem, 3vw, 2.85rem);
  line-height: 1.1;
}

.contact-map__copy p {
  color: var(--dc-muted);
  line-height: 1.65;
}

.contact-map__copy .button {
  margin-top: 10px;
}

.contact-map__frame {
  min-height: 420px;
  overflow: hidden;
  border: 1px solid rgba(47, 49, 139, 0.14);
  border-radius: 8px;
  background: var(--dc-surface-alt);
  box-shadow: var(--shadow-crisp);
}

.contact-map__frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
}

@media (max-width: 1040px) {
  .contact-hero {
    min-height: 470px;
  }

  .contact-info__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-info__item:nth-child(3) {
    border-top: 1px solid var(--dc-line);
    border-left: 0;
  }

  .contact-info__item:nth-child(4) {
    border-top: 1px solid var(--dc-line);
  }

  .contact-map__grid {
    grid-template-columns: minmax(260px, 0.42fr) minmax(0, 0.58fr);
    gap: 30px;
  }
}

@media (max-width: 760px) {
  .contact-hero {
    min-height: 540px;
    align-items: flex-end;
    background-position: 64% center;
  }

  .contact-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 10, 12, 0.12) 0%, rgba(10, 10, 12, 0.9) 72%);
  }

  .contact-hero__inner {
    z-index: 2;
  }

  .contact-hero__content {
    padding: 48px 0;
  }

  .contact-hero h1 {
    font-size: clamp(2.15rem, 10vw, 3.3rem);
  }

  .contact-section {
    padding: 52px 0;
  }

  .contact-section-heading {
    margin-bottom: 30px;
    text-align: left;
  }

  .contact-section-heading::after {
    margin-left: 0;
  }

  .contact-form-shell .form-grid,
  .contact-info__grid,
  .contact-map__grid {
    grid-template-columns: 1fr;
  }

  .contact-info__item,
  .contact-info__item + .contact-info__item,
  .contact-info__item:nth-child(3),
  .contact-info__item:nth-child(4) {
    min-height: 0;
    padding: 26px 0;
    border-top: 1px solid var(--dc-line);
    border-left: 0;
  }

  .contact-info__item:first-child {
    border-top: 0;
  }

  .contact-map {
    padding: 52px 0;
  }

  .contact-map__grid {
    gap: 28px;
  }

  .contact-map__frame,
  .contact-map__frame iframe {
    min-height: 360px;
  }
}

@media (max-width: 430px) {
  .contact-hero {
    min-height: 580px;
  }

  .contact-hero__content > p:not(.eyebrow) {
    font-size: 1rem;
  }

  .contact-form-shell .dexin-form textarea {
    min-height: 150px;
  }

  .contact-info__item {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .contact-info__icon {
    width: 38px;
    height: 38px;
  }

  .contact-map__frame,
  .contact-map__frame iframe {
    min-height: 320px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-info__item a svg {
    transition: none;
  }
}
