.contact-page {
  --contact-blue: #072880;
  --contact-orange: #f6b030;
  --contact-copy: #888888;
}

.contact-page main { overflow: hidden; }

.contact-hero {
  position: relative;
  height: 540px;
  color: #fff;
  overflow: hidden;
}
.contact-hero > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.contact-hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 40, 128, .18), rgba(7, 40, 128, 0) 52%);
}
.contact-hero__title {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 232px;
  transform: translateX(-50%);
}
.contact-hero__title.reveal-left { transform: translate(-50%, 0) translateX(-80px); }
.contact-hero__title.reveal-left.is-visible { transform: translateX(-50%); }
.contact-hero__title h1,
.contact-hero__title p {
  margin: 0;
  color: #fff;
  font-size: 40px;
  font-weight: 700;
  line-height: 58px;
}
.contact-hero__title p { margin-top: 20px; }

.contact-form-section {
  position: relative;
  height: 970px;
  overflow: hidden;
  background: #fff;
}
.contact-form-section__backdrop {
  position: absolute;
  inset: 0 0 auto;
  height: 750px;
  background: #edf8ff url("assets/contact/form-bg.png") center / cover no-repeat;
}
.contact-form-section__inner {
  position: relative;
  height: 100%;
}
.cooperate-form {
  position: absolute;
  z-index: 2;
  top: 3%;
  left: 0;
  width: 550px;
  color: var(--contact-blue);
}
.contact-section-title h2,
.contact-card__heading h2 {
  margin: 0;
  font-size: 32px;
  font-weight: 700;
  line-height: 46px;
}
.contact-section-title p,
.contact-card__heading p {
  margin: 2px 0 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 23px;
}
.cooperate-form__row {
  display: grid;
  gap: 20px;
  margin-top: 20px;
}
.cooperate-form__row--primary {
  grid-template-columns: repeat(2, 265px);
  margin-top: 43px;
}
.cooperate-form__row--location { grid-template-columns: repeat(3, 170px); }
.cooperate-field {
  display: block;
  min-width: 0;
}
.cooperate-field--message { margin-top: 20px; }
.cooperate-field > span {
  display: flex;
  align-items: flex-start;
  min-height: 32px;
  color: var(--contact-blue);
  font-size: 16px;
  font-weight: 700;
  line-height: 32px;
}
.cooperate-field em {
  margin-left: 2px;
  color: #ea3323;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px;
}
.cooperate-field input,
.cooperate-field select,
.cooperate-field textarea {
  display: block;
  width: 100%;
  min-width: 0;
  margin-top: 12px;
  padding: 8px 14px;
  color: var(--contact-copy);
  background: #fbfbfb;
  border: 1px solid #e5e5e5;
  border-radius: 0;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.cooperate-field input,
.cooperate-field select { height: 44px; }
.cooperate-field select {
  padding-right: 38px;
  appearance: none;
  cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, #888 50%), linear-gradient(135deg, #888 50%, transparent 50%);
  background-position: calc(100% - 18px) 18px, calc(100% - 12px) 18px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
.cooperate-field select:disabled {
  color: #aaa;
  cursor: not-allowed;
  background-color: #f3f3f3;
  opacity: 1;
}
.cooperate-field textarea {
  height: 108px;
  resize: vertical;
  line-height: 32px;
}
.cooperate-field input:focus,
.cooperate-field select:focus,
.cooperate-field textarea:focus {
  background: #fff;
  border-color: var(--contact-blue);
  box-shadow: 0 0 0 3px rgba(7, 40, 128, .08);
}
.cooperate-field input[aria-invalid="true"],
.cooperate-field select[aria-invalid="true"],
.cooperate-field textarea[aria-invalid="true"] { border-color: #ea3323; }
.cooperate-form button {
  width: 100%;
  height: 44px;
  margin-top: 40px;
  padding: 0;
  color: #fff;
  background: var(--contact-blue);
  border: 0;
  border-radius: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 32px;
  cursor: pointer;
  transition: background-color .22s ease, transform .22s ease;
}
.cooperate-form button:hover,
.cooperate-form button:focus-visible { background: #0c4ab7; }
.cooperate-form button:active { transform: translateY(1px); }
.cooperate-form__status {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  min-height: 24px;
  margin: 8px 0 0;
  color: var(--contact-blue);
  font-size: 14px;
  line-height: 24px;
}

.contact-card {
  position: absolute;
  z-index: 3;
  top: 190px;
  left: calc(50% + 0px);
  width: 50vw;
  height: 660px;
  overflow: hidden;
  color: #fff;
  background: #0c4ab7;
}
.contact-card__globe {
  position: absolute;
  left: 35.38%;
  top: -51.26%;
  width: 105.37%;
  height: 151.21%;
  background: url("assets/contact/globe.png") center / 100% 100% no-repeat;
  opacity: .3;
}
.contact-card__content {
  position: relative;
  z-index: 1;
  width: min(548px, calc(100% - 80px));
  margin: 100px 0 0 160px;
}
.contact-card h3 {
  margin: 44px 0 0;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 23px;
}
.contact-card address {
  margin-top: 48px;
  color: #fff;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 23px;
}
.contact-card address p { margin: 0; }
.contact-card address p + p { margin-top: 48px; }
.contact-card a { color: inherit; }
.contact-card a:hover,
.contact-card a:focus-visible { text-decoration: underline; text-underline-offset: 4px; }

.contact-sequence-item {
  --contact-delay: 0ms;
  opacity: 0;
  transition: opacity .8s var(--ease) var(--contact-delay), transform .9s var(--ease) var(--contact-delay);
}
.contact-sequence-left { transform: translateX(-100px); }
.contact-sequence-right { transform: translateX(100px); }
.contact-sequence.is-left-visible .contact-sequence-left,
.contact-sequence.is-right-visible .contact-sequence-right { opacity: 1; transform: none; }

@media (max-width: 1500px) {
  .contact-card__content {
    width: auto;
    margin-left: clamp(56px, 8vw, 120px);
    margin-right: 48px;
  }
}

@media (max-width: 1100px) {
  .contact-hero { height: min(520px, 58vw); min-height: 380px; }
  .contact-hero__title { top: 42%; }
  .contact-form-section { height: auto; padding: 72px 0 88px; background: #eef8ff; }
  .contact-form-section__backdrop { inset: 0; height: 100%; background-position: center; }
  .contact-form-section__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; height: auto; }
  .cooperate-form,
  .contact-card { position: relative; inset: auto; width: 100%; }
  .cooperate-form { padding: 48px; background: rgba(255,255,255,.90); }
  .cooperate-form__row--primary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cooperate-form__row--location { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .contact-card { height: auto; min-height: 660px; }
  .contact-card__content { width: auto; margin: 72px 48px; }
}

@media (max-width: 760px) {
  .contact-hero { height: 400px; }
  .contact-hero__title h1,
  .contact-hero__title p { font-size: 34px; line-height: 48px; }
  .contact-hero__title p { margin-top: 10px; }
  .contact-form-section__inner { grid-template-columns: 1fr; }
  .contact-card { min-height: 520px; }
  .contact-card__globe {
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-position: 41% 100%;
    background-size: auto 110%;
  }
  .contact-card address { line-height: 32px; }
  .contact-card address p + p { margin-top: 24px; }
}

@media (max-width: 500px) {
  .contact-hero { height: 330px; min-height: 330px; }
  .contact-hero > img { object-position: 54% center; }
  .contact-hero__title { top: 103px; }
  .contact-hero__title h1,
  .contact-hero__title p { font-size: 32px; line-height: 46px; }
  .contact-form-section { padding: 48px 0 64px; }
  .contact-form-section__inner { width: calc(100% - 32px); gap: 32px; }
  .cooperate-form { padding: 32px 20px; }
  .contact-section-title h2,
  .contact-card__heading h2 { font-size: 32px; }
  .cooperate-form__row {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 18px;
  }
  .cooperate-form__row--primary { margin-top: 34px; }
  .cooperate-field--message { margin-top: 18px; }
  .cooperate-form button { margin-top: 32px; }
  .contact-card { min-height: 500px; }
  .contact-card__globe { background-size: auto 100%; }
  .contact-card__content { margin: 48px 24px; }
  .contact-card h3 { margin-top: 36px; line-height: 32px; }
  .contact-card address { margin-top: 32px; font-size: 16px; line-height: 32px; }
  .contact-card address p + p { margin-top: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .contact-sequence-item { transform: none; transition: none; }
}
