.contact-page {
  background: #fff;
}

.contact-page .site-header {
  position: relative;
  inset: auto;
  padding: 18px 0;
  background: #071b2b;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-page .contact-hero {
  position: relative;
  overflow: hidden;
  padding: 104px 0 96px;
  color: #fff;
  background:
    radial-gradient(
      circle at 78% 24%,
      rgba(122, 209, 150, 0.2),
      transparent 30%
    ),
    linear-gradient(125deg, #071b2b, #123b59);
}

.contact-page .contact-hero::after {
  content: "";
  position: absolute;
  right: -140px;
  bottom: -390px;
  width: 650px;
  height: 650px;
  border: 1px solid rgba(122, 209, 150, 0.2);
  border-radius: 50%;
  box-shadow:
    0 0 0 55px rgba(122, 209, 150, 0.035),
    0 0 0 110px rgba(122, 209, 150, 0.025);
}

.contact-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: 48px;
  align-items: end;
}

.contact-hero-copy {
  max-width: 720px;
}

.contact-page .contact-hero h1 {
  max-width: 720px;
  margin: 20px 0 22px;
  font-size: clamp(3.2rem, 6vw, 5.3rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.contact-page .contact-hero h1 span {
  color: #7ad196;
}

.contact-hero-copy p {
  max-width: 530px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 17px;
  line-height: 1.75;
}

.contact-hero-mark {
  display: grid;
  width: 190px;
  height: 190px;
  place-items: center;
  justify-self: end;
  border: 1px solid rgba(122, 209, 150, 0.35);
  border-radius: 50%;
  color: #7ad196;
  font-size: 64px;
  box-shadow: 0 0 0 28px rgba(122, 209, 150, 0.04);
}

.contact-section {
  padding: 104px 0 116px;
  background: #fff;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 86px;
  align-items: start;
}

.contact-page .section-heading {
  margin-bottom: 34px;
}

.contact-page .section-heading h2,
.contact-page .map-heading h2 {
  margin-top: 15px;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.contact-page .section-heading p {
  max-width: 470px;
  margin-top: 18px;
  color: #607384;
  font-size: 16px;
  line-height: 1.75;
}

.contact-detail-list {
  display: grid;
  gap: 12px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 17px 0;
  border-bottom: 1px solid #dfe9e4;
  color: #102a3f;
}

.contact-detail:first-child {
  border-top: 1px solid #dfe9e4;
}

.contact-detail:hover strong {
  color: #56b875;
}

.contact-detail-icon {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border-radius: 12px;
  background: #f0f8f2;
  color: #56b875;
}

.contact-detail strong,
.contact-detail small {
  display: block;
}

.contact-detail strong {
  font-size: 15px;
  transition: color 0.2s ease;
}

.contact-detail small {
  margin-top: 3px;
  color: #607384;
  font-size: 14px;
}

.contact-form {
  padding: 34px;
  border: 1px solid #dfe9e4;
  border-radius: 4px;
  background: #f4f8f6;
  box-shadow: 0 24px 70px rgba(7, 27, 43, 0.09);
}

.form-heading {
  margin-bottom: 28px;
}

.form-kicker {
  color: #56b875;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.form-heading h2 {
  margin-top: 10px;
  color: #102a3f;
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.contact-form label {
  display: block;
  margin: 17px 0 7px;
  color: #102a3f;
  font-size: 13px;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #c9dcd0;
  border-radius: 2px;
  background: #fff;
  color: #102a3f;
  font: inherit;
  outline: 0;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.contact-form input {
  height: 48px;
  padding: 0 14px;
}

.contact-form textarea {
  min-height: 142px;
  padding: 12px 14px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #56b875;
  box-shadow: 0 0 0 3px rgba(122, 209, 150, 0.18);
}

.contact-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  margin-top: 24px;
  padding: 13px 20px;
  border: 0;
  border-radius: 8px;
  background: #7ad196;
  color: #071b2b;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

.contact-submit:hover {
  background: #56b875;
  transform: translateY(-2px);
}

.form-note {
  margin-top: 13px;
  color: #607384;
  font-size: 12px;
}

.form-status {
  min-height: 20px;
  margin-top: 12px;
  color: #607384;
  font-size: 13px;
  font-weight: 700;
}

.form-status.is-success {
  color: #23804a;
}

.form-status.is-error {
  color: #b42318;
}

.map-section {
  padding: 0 0 116px;
}

.map-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.map-heading h2 {
  margin-bottom: 0;
}

.map-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex: 0 0 auto;
  color: #286a41;
  font-size: 14px;
  font-weight: 700;
}

.map-link:hover {
  color: #102a3f;
}

.map-frame {
  min-height: 430px;
  overflow: hidden;
  border: 1px solid #dfe9e4;
  background: #e8efeb;
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 430px;
  border: 0;
}

@media (max-width: 900px) {
  .contact-hero-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-hero-mark {
    display: none;
  }

  .contact-layout {
    gap: 54px;
  }
}

@media (max-width: 580px) {
  .contact-page .contact-hero {
    padding: 86px 0 72px;
  }

  .contact-page .contact-hero h1 {
    font-size: clamp(3rem, 15vw, 4.3rem);
  }

  .contact-section {
    padding: 72px 0 80px;
  }

  .contact-form {
    padding: 24px 20px;
  }

  .map-heading {
    display: block;
  }

  .map-link {
    margin-top: 18px;
  }

  .map-section {
    padding-bottom: 80px;
  }

  .map-frame,
  .map-frame iframe {
    min-height: 330px;
    height: 330px;
  }
}
