.contact-page {
  position: relative;
  isolation: isolate;
  padding-top: 170px;
}
/* Hero lighting: blue from the left, violet from the top right. */
.contact-page::before {
  content: '';
  position: absolute;
  z-index: -1;
  top: 0;
  left: calc(50% - 50vw);
  right: calc(50% - 50vw);
  height: 1100px;
  pointer-events: none;
  background:
    radial-gradient(45% 55% at 10% 35%, rgba(0, 102, 255, 0.22), transparent 70%),
    radial-gradient(45% 60% at 95% 0%, rgba(122, 92, 255, 0.32), transparent 72%);
}
.contact-page .contact-section {
  padding-top: 0;
  margin-top: 0;
}
.contact-section__breadcrumb {
  margin-bottom: 28px;
}
.contact-section__title--page {
  font-size: 80px;
  font-weight: 300;
  line-height: normal;
  letter-spacing: -0.03em;
}
.contact-section__response {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  font-size: 14px;
  line-height: normal;
  color: var(--white-72);
}
.contact-section__response span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3ddc84;
  box-shadow: 0 0 0 4px rgba(61, 220, 132, 0.15);
}

.contact-offices {
  margin-top: 160px;
}
.contact-offices .about-offices__grid {
  margin-top: 56px;
}
.contact-map {
  position: relative;
  margin-top: 32px;
  height: 380px;
  overflow: hidden;
  border-radius: 16px;
  background: #0e1630;
}
.contact-map [data-map-load] {
  margin: 32px 32px 0;
}
.contact-map [data-map-notice] {
  margin: 16px 32px;
  max-width: 520px;
  color: var(--white-72);
}
/* The Google map is inverted and tinted to match the dark theme. */
.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: invert(0.92) hue-rotate(185deg) saturate(0.6) brightness(0.85) contrast(0.95);
}
.contact-map__open {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: rgba(8, 13, 28, 0.85);
  font-size: 13px;
  font-weight: 600;
}
.contact-map__open:hover {
  background: var(--color-blue);
}

.contact-information {
  margin-top: 96px;
  padding: 0;
  background: none;
  border: 0;
}
.page--contact .site-main > .contact-page {
  margin-bottom: 80px;
}
.contact-information__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  margin-top: 22px;
}
.contact-route {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding-top: 25px;
  border-top: 1px solid var(--white-12);
}
.contact-route__title {
  font-size: 22px;
  font-weight: 400;
  line-height: normal;
}
.contact-route__text {
  font-size: 16px;
  line-height: 23px;
  color: var(--white-72);
}
.contact-route__handle {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-lavender);
}
.contact-route .btn--compact {
  margin-top: 4px;
  padding: 5px 6px 5px 18px;
  gap: 10px;
  font-size: 14px;
}
.contact-route .btn--compact .btn__arrow {
  width: 28px;
  height: 28px;
}
.contact-follow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--white-12);
}
.contact-follow__title {
  font-size: 22px;
  font-weight: 400;
  line-height: normal;
}
.contact-follow__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.social-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px 16px 5px 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 14px;
  font-weight: 500;
  transition: background-color var(--dur-hover) var(--ease-out);
}
a.social-pill:hover,
a.social-pill:focus-visible {
  background: rgba(255, 255, 255, 0.12);
}
.social-pill__icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0, 102, 255, 0.25);
  font-size: 11px;
  font-weight: 700;
  color: var(--color-lavender);
}

@media (max-width: 1023px) {
  .contact-page {
    padding-top: 130px;
  }
  .contact-section__title--page {
    font-size: 56px;
  }
  .contact-offices {
    margin-top: 96px;
  }
  .contact-information__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .contact-follow {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 599px) {
  .contact-section__title--page {
    font-size: 44px;
  }
  .contact-map {
    height: 300px;
  }
}

/* Intro column 400px, inquiry column 760px. */
@media (min-width: 1024px) {
  .page--contact .contact-section {
    gap: 56px;
  }
  .page--contact .contact-section__intro {
    flex: 0 1 400px;
    min-width: 0;
    gap: 0;
  }
  .page--contact .contact-section__intro > * + * {
    margin-top: 28px;
  }
  .page--contact .contact-section__breadcrumb {
    margin-bottom: 0;
  }
  .page--contact .contact-form-wrap {
    flex: 1 1 760px;
    max-width: 760px;
    min-width: 0;
  } /* shrinks between 1024 and 1240px */
}
/* Direct contact rows: icon + label/value. */
.page--contact .contact-section__cards {
  gap: 14px;
  padding-top: 0;
}
.page--contact .contact-card {
  padding: 0;
  border: 0;
  background: none;
  gap: 14px;
}
.page--contact .contact-card__arrow {
  display: none;
}
.page--contact .contact-card:hover .contact-card__value {
  color: var(--color-lavender);
}
.page--contact .contact-card__value {
  font-size: 17px;
}

/* Inquiry column: no card behind the form; tabs as a compact pill group; question set as a heading. */
.page--contact .contact-form {
  padding: 0;
  background: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.page--contact .contact-tabs {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
}
.page--contact .contact-tabs button {
  padding: 10px 16px;
  border-radius: 9px;
  background: none;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
}
.page--contact .contact-tabs button[aria-selected='true'] {
  background: var(--color-blue);
  color: var(--color-white);
}
.page--contact .contact-form__topics .contact-form__label {
  font-size: 22px;
  font-weight: 300;
  color: var(--color-white);
}
.page--contact .contact-form__topics {
  order: -1;
}
