/* Inspired by the split-card CTA 4 pattern from Shadcnblocks on 21st.dev. */
.contact {
  padding: clamp(54px, 7vw, 92px) 0;
  background: #eaf4e8;
}

.contact .contact-panel.wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  align-items: stretch;
  gap: clamp(24px, 4vw, 52px);
  padding: clamp(28px, 4.8vw, 60px);
  text-align: left;
  background: #f8fbf6;
  border: 1px solid #d4e5d3;
  border-radius: 24px;
  box-shadow: 0 24px 70px rgb(18 61 57 / 0.08), 0 2px 8px rgb(18 61 57 / 0.035);
}

.contact .contact-panel-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 8px 0;
}

.contact .contact-panel-copy > .eyebrow {
  justify-content: flex-start;
  margin-bottom: 22px;
  color: #0b514b;
}

.contact .contact-panel-copy > h2 {
  max-width: 690px;
  color: #123d39;
  font-size: clamp(36px, 4.1vw, 56px);
  line-height: 1.08;
  letter-spacing: -2.3px;
  text-wrap: balance;
}

.contact .contact-panel-copy > .contact-intro {
  max-width: 460px;
  margin: 22px 0 0;
  padding-top: 19px;
  color: #536c67;
  border-top: 1px solid #d9e5df;
  font-size: 16px;
  line-height: 1.7;
}

.contact .contact-next {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 26px;
  min-height: 340px;
  padding: clamp(25px, 3.4vw, 38px);
  color: #123d39;
  background: #eaf4e8;
  border: 1px solid #d6e8d1;
  border-radius: 16px;
}

.contact .contact-next-copy {
  display: grid;
  gap: 18px;
}

.contact .contact-next-copy .contact-emphasis {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin: 0;
  color: #123d39;
  font-family: Manrope, sans-serif;
  font-size: clamp(20px, 2vw, 25px);
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: -0.5px;
}

.contact .contact-emphasis-mark {
  flex: 0 0 10px;
  width: 10px;
  height: 10px;
  margin-top: 9px;
  background: #6f9d3d;
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgb(111 157 61 / 0.13), 0 0 22px rgb(111 157 61 / 0.22);
}

.contact .contact-next-copy .contact-detail {
  margin: 0;
  padding-top: 17px;
  color: #536c67;
  border-top: 1px solid #d3e3cf;
  font-size: 15px;
  line-height: 1.75;
}

.contact .contact-action {
  padding-top: 22px;
  border-top: 1px solid #d3e3cf;
}

.contact .contact-action .contact-button {
  display: flex;
  width: 100%;
  min-height: 58px;
  margin: 0;
  padding: 17px 20px;
  color: #fff;
  background: #0b514b;
  border-radius: 8px;
  font-size: 15px;
}

.contact .contact-action .contact-button:hover {
  background: #173f37;
}

.contact .contact-action .contact-status {
  margin: 11px 0 0;
  color: #536c67;
  font-size: 12px;
  line-height: 1.5;
}

.contact .contact-action small {
  display: block;
  margin-top: 15px;
  color: #536c67;
  font-size: 13px;
  line-height: 1.6;
}

@media (max-width: 820px) {
  .contact .contact-panel.wrap {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.9fr);
    gap: 24px;
    padding: 30px;
  }

  .contact .contact-panel-copy > h2 {
    font-size: clamp(34px, 5vw, 45px);
    letter-spacing: -1.7px;
  }
}

@media (max-width: 680px) {
  .contact {
    padding: 50px 0;
  }

  .contact .contact-panel.wrap {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 25px 21px;
    border-radius: 18px;
  }

  .contact .contact-panel-copy > .eyebrow {
    margin-bottom: 17px;
    font-size: 11px;
    letter-spacing: 1.25px;
  }

  .contact .contact-panel-copy > h2 {
    font-size: clamp(33px, 9vw, 42px);
    line-height: 1.1;
    letter-spacing: -1.6px;
  }

  .contact .contact-panel-copy > .contact-intro {
    margin-top: 18px;
    padding-top: 15px;
    font-size: 15px;
  }

  .contact .contact-next {
    min-height: 0;
    gap: 22px;
    padding: 23px 20px;
    border-radius: 13px;
  }

  .contact .contact-next-copy .contact-emphasis {
    font-size: 21px;
  }

  .contact .contact-next-copy .contact-detail {
    font-size: 15px;
  }

  .contact .contact-action .contact-button {
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact .contact-action .contact-button {
    transition: none;
  }
}