.site-main--contact {
  padding: 0;
  background: #fff;
}

.contact-page__hero {
  position: relative;
  overflow: visible;
  padding: 154px 0 118px;
  color: rgba(255, 255, 255, 0.92);
  background:
    radial-gradient(1100px 620px at 38% 38%, rgba(78, 78, 78, 0.48), transparent 72%),
    radial-gradient(920px 520px at 72% 46%, rgba(42, 42, 42, 0.28), transparent 72%),
    linear-gradient(180deg, #1f1f20 0%, #141414 100%);
}

.contact-page__hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  gap: 42px;
  align-items: end;
}

.contact-page__hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  max-width: 600px;
  min-height: 100%;
  padding-top: 60px;
}

.contact-page__hero-title {
  margin: 0;
  font-size: 48px;
  color: #fff;
}

.contact-page__hero-description,
.contact-page__hero-note {
  margin: 0;
  max-width: 48ch;
  font-size: 16px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
}

.contact-page__hero-note {
  margin-top: -24px;
}

.contact-page__hero-note strong {
  color: #fff;
}

.contact-page__hero-arrow {
  margin-top: auto;
  align-self: center;
  transform: translateX(-12px) translateY(-22px);
  color: var(--accent);
}

.contact-page__hero-arrow svg {
  width: 44px;
  height: 44px;
}

.contact-page__hero-media {
  position: relative;
  align-self: end;
  overflow: hidden;
  margin-right: -82px;
  margin-bottom: -78px;
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.contact-page__hero-media img {
  display: block;
  width: 100%;
  aspect-ratio: 1.45 / 1;
  object-fit: cover;
}

.contact-page__primary {
  position: relative;
  z-index: 2;
  margin-top: 0;
  padding-bottom: 80px;
}

.contact-page__primary-grid {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(320px, 460px);
  gap: 44px;
  align-items: end;
}

.contact-page__departments {
  display: grid;
  gap: 24px;
  max-width: 560px;
  margin-top: -122px;
  padding: 34px 30px;
  border: 1px solid rgba(17, 24, 39, 0.06);
  border-radius: 32px;
  background: #fff;
  box-shadow: 0 28px 60px rgba(17, 24, 39, 0.12);
}

.contact-page__department {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.contact-page__department:not(:last-child) {
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
}

.contact-page__department-icon {
  width: 72px;
  height: 72px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.contact-page__department-icon svg,
.contact-page__department-icon img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.contact-page__department-copy {
  display: grid;
  gap: 8px;
}

.contact-page__department-title {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
  color: #213000;
}

.contact-page__department-description {
  margin: 0;
  color: #6b7280;
  font-size: 14px;
}

.contact-page__department-meta {
  display: grid;
  gap: 6px;
}

.contact-page__department-meta a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #4b5563;
  font-size: 14px;
}

.contact-page__department-meta a:hover {
  color: #111827;
}

.contact-page__department-meta-icon {
  width: 14px;
  height: 14px;
  display: inline-flex;
  color: #9ca3af;
}

.contact-page__department-meta-icon svg {
  width: 14px;
  height: 14px;
}

.contact-page__form-wrap {
  display: grid;
  gap: 16px;
  align-self: end;
  padding-top: 42px;
}

.contact-page__form-status {
  margin: 0;
  padding: 14px 18px;
  border-radius: 16px;
  font-size: 14px;
}

.contact-page__form-status--success {
  background: rgba(34, 197, 94, 0.12);
  color: #166534;
}

.contact-page__form-status--invalid,
.contact-page__form-status--error {
  background: rgba(239, 68, 68, 0.1);
  color: #991b1b;
}

.contact-page__form {
  display: grid;
  gap: 14px;
}

.contact-page__honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-page__field {
  display: grid;
  gap: 7px;
}

.contact-page__field span {
  color: #1f2937;
  font-size: 12px;
  font-weight: 600;
}

.contact-page__field input,
.contact-page__field select,
.contact-page__field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid rgba(17, 24, 39, 0.06);
  border-radius: 14px;
  background: #f3f4f6;
  color: #111827;
  transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.contact-page__field textarea {
  min-height: 104px;
  padding: 14px 16px;
  resize: vertical;
}

.contact-page__field input:focus,
.contact-page__field select:focus,
.contact-page__field textarea:focus {
  outline: none;
  border-color: rgba(166, 226, 46, 0.55);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(166, 226, 46, 0.18);
}

.contact-page__actions {
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.contact-page__submit {
  min-width: 116px;
  min-height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: 14px;
  background: var(--accent);
  color: #111827;
  font-family: var(--font-heading);
  font-weight: 700;
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.contact-page__submit:hover,
.contact-page__submit:focus-visible {
  background: var(--accent-2);
  transform: translateY(-1px);
  box-shadow: 0 14px 24px rgba(166, 226, 46, 0.28);
}

.contact-page__map-section {
  padding: 0 0 92px;
}

.contact-page__map-frame {
  position: relative;
  min-height: 560px;
  background: #d1d5db;
}

.contact-page__map-frame iframe {
  width: 100%;
  height: 560px;
  border: 0;
  display: block;
}

.contact-page__map-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-start;
  padding-top: 52px;
  pointer-events: none;
}

.contact-page__map-card {
  width: min(100%, 360px);
  display: grid;
  gap: 18px;
  padding: 30px 28px;
  border-radius: 28px;
  background:
    radial-gradient(420px 220px at 0% 0%, rgba(166, 226, 46, 0.16), transparent 70%),
    linear-gradient(180deg, #151718 0%, #0f1112 100%);
  box-shadow: 0 22px 56px rgba(0, 0, 0, 0.28);
  color: rgba(255, 255, 255, 0.84);
  pointer-events: auto;
}

.contact-page__map-title {
  margin: 0;
  color: var(--accent);
}

.contact-page__map-row {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.contact-page__map-row strong {
  display: block;
  margin-bottom: 4px;
  color: #fff;
  font-size: 15px;
}

.contact-page__map-row p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
}

.contact-page__map-row a {
  color: rgba(255, 255, 255, 0.82);
}

.contact-page__map-row a:hover {
  color: #fff;
}

.contact-page__map-row-icon {
  width: 18px;
  height: 18px;
  color: var(--accent);
}

.contact-page__map-row-icon svg {
  width: 18px;
  height: 18px;
}

.contact-page__social {
  padding: 0 0 88px;
}

.contact-page__social-inner {
  display: grid;
  justify-items: center;
  gap: 14px;
  text-align: center;
}

.contact-page__social-title {
  margin: 0;
  color: #111827;
}

.contact-page__social-description {
  margin: 0;
  max-width: 48ch;
  color: #6b7280;
}

.contact-page__social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  padding-top: 10px;
}

.contact-page__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 160ms ease, opacity 160ms ease;
}

.contact-page__social-link:hover,
.contact-page__social-link:focus-visible {
  transform: translateY(-2px);
  opacity: 0.9;
}

.contact-page__social-link svg {
  width: 44px;
  height: 44px;
}

.contact-page__social-link svg path {
  vector-effect: non-scaling-stroke;
}

.contact-page__content {
  padding: 0 0 88px;
}

.contact-page__content .entry-content {
  max-width: 860px;
}

@media (max-width: 1100px) {
  .contact-page__hero {
    padding: 128px 0 112px;
  }

  .contact-page__hero-inner,
  .contact-page__primary-grid {
    grid-template-columns: 1fr;
  }

  .contact-page__hero-copy,
  .contact-page__departments {
    max-width: none;
  }

  .contact-page__hero-media {
    margin-right: 0;
    margin-bottom: -54px;
  }

  .contact-page__form-wrap {
    padding-top: 28px;
  }

  .contact-page__departments {
    margin-top: -92px;
    max-width: none;
  }

  .contact-page__map-overlay {
    position: static;
    padding-top: 0;
    margin-top: -140px;
  }

  .contact-page__map-frame {
    min-height: auto;
  }

  .contact-page__map-frame iframe {
    height: 480px;
  }

  .contact-page__map-card {
    margin-left: 24px;
  }
}

@media (max-width: 768px) {
  .contact-page__hero {
    padding: 116px 0 104px;
  }

  .contact-page__hero-arrow {
    transform: translateY(-14px);
  }

  .contact-page__hero-description,
  .contact-page__hero-note {
    font-size: 16px;
  }

  .contact-page__primary {
    padding-bottom: 64px;
  }

  .contact-page__departments {
    margin-top: -70px;
    padding: 28px 22px;
    border-radius: 24px;
  }

  .contact-page__department {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 14px;
  }

  .contact-page__department-icon {
    width: 60px;
    height: 60px;
  }

  .contact-page__department-icon svg,
  .contact-page__department-icon img {
    width: 48px;
    height: 48px;
  }

  .contact-page__map-frame iframe {
    height: 420px;
  }

  .contact-page__map-overlay {
    margin-top: -88px;
  }

  .contact-page__map-card {
    margin-inline: 16px;
    width: auto;
    padding: 24px 22px;
    border-radius: 24px;
  }

  .contact-page__social {
    padding-bottom: 64px;
  }
}

@media (max-width: 520px) {
  .contact-page__hero {
    padding: 108px 0 98px;
  }

  .contact-page__hero-media {
    margin-bottom: -36px;
    border-radius: 22px;
  }

  .contact-page__department-title {
    font-size: 24px;
  }

  .contact-page__form-wrap {
    gap: 14px;
  }

  .contact-page__field input,
  .contact-page__field select,
  .contact-page__field textarea {
    border-radius: 12px;
  }

  .contact-page__submit {
    width: 100%;
  }

  .contact-page__map-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}
