.contact {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(480px, 1.05fr);
  gap: clamp(54px, 7vw, 128px);
  overflow: hidden;
  padding: clamp(62px, 6vw, 108px) clamp(44px, 6.5vw, 126px) clamp(68px, 7vw, 118px);
  background: #eaf8f9;
}

.contact::after {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    radial-gradient(circle at 22% 38%, rgba(255, 255, 255, .5), transparent 34%),
    linear-gradient(100deg, rgba(215, 241, 241, .28), rgba(255, 255, 255, .16));
}

.contact-copy,
.contact-form {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.contact-copy {
  align-self: center;
}

.contact-eyebrow {
  margin: 0;
  color: #b65631;
  font-size: clamp(.94rem, 1.08vw, 1.18rem);
  font-weight: 800;
  letter-spacing: .05em;
  line-height: 1;
  text-transform: uppercase;
}

.contact-rule {
  display: block;
  width: 92px;
  height: 5px;
  margin: 18px 0 26px;
  border-radius: 999px;
  background: #f0ba28;
}

.contact-copy h2 {
  max-width: 780px;
  margin: 0 0 28px;
  color: #075f82;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.2rem, 4.7vw, 5.15rem);
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: 1.01;
}

.contact-copy > p:not(.contact-eyebrow) {
  max-width: 720px;
  margin: 0 0 20px;
  color: #496772;
  font-size: clamp(1.08rem, 1.42vw, 1.42rem);
  line-height: 1.55;
}

.contact-copy a {
  color: #3f6373;
  text-decoration: underline;
  text-decoration-color: rgba(7, 95, 130, .34);
  text-underline-offset: 4px;
}

.contact-copy a:hover,
.contact-copy a:focus-visible {
  color: #075f82;
}

.contact-reassurance {
  display: grid;
  grid-template-columns: 82px 1px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  margin-top: 32px;
}

.contact-heart {
  display: grid;
  width: 82px;
  height: 82px;
  place-items: center;
  border-radius: 50%;
  background: #e8f4bd;
  color: #075f82;
}

.contact-heart svg {
  width: 48px;
  height: 48px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.contact-divider {
  width: 1px;
  height: 76px;
  background: rgba(7, 95, 130, .28);
}

.contact-reassurance p {
  margin: 0;
  color: #075f82;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.4rem, 1.8vw, 1.82rem);
  font-style: italic;
  line-height: 1.34;
}

.contact-form {
  display: grid;
  gap: 15px;
  align-self: center;
  padding: clamp(30px, 3.2vw, 48px);
  border: 1px solid rgba(7, 95, 130, .07);
  border-radius: 18px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 18px 48px rgba(41, 82, 76, .1);
}

.contact-form h3 {
  margin: 0 0 8px;
  color: #075f82;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 2.5vw, 2.7rem);
  line-height: 1.05;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: #233e4e;
  font-size: 1rem;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #d9d2c2;
  border-radius: 10px;
  padding: 13px 15px;
  color: #213b48;
  background: #fffdf9;
  font: inherit;
  line-height: 1.35;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.contact-form input {
  min-height: 50px;
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #0a708f;
  outline: 0;
  box-shadow: 0 0 0 3px rgba(10, 112, 143, .13);
}

.contact-submit {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border: 0;
  border-radius: 10px;
  padding: 14px 24px;
  color: #fff;
  background: #076b8a;
  box-shadow: 0 8px 18px rgba(7, 95, 130, .16);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.contact-submit:hover,
.contact-submit:focus-visible {
  background: #075f82;
}

.contact-submit:focus-visible {
  outline: 3px solid rgba(240, 186, 40, .75);
  outline-offset: 3px;
}

.contact-submit span {
  font-size: 1.45rem;
  line-height: 1;
}

.contact-privacy {
  margin: 0;
  color: #71858e;
  font-size: .82rem;
  line-height: 1.4;
  text-align: center;
}

.contact-foliage {
  position: absolute;
  z-index: 1;
  bottom: -92px;
  left: -58px;
  width: 250px;
  height: 280px;
  opacity: .28;
  filter: blur(1.5px);
  transform: rotate(11deg);
  pointer-events: none;
}

.contact-foliage::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 108px;
  width: 6px;
  height: 260px;
  border-radius: 999px;
  background: #759f54;
  transform: rotate(-17deg);
}

.contact-foliage span {
  position: absolute;
  width: 62px;
  height: 122px;
  border-radius: 100% 0 100% 0;
  background: linear-gradient(135deg, #4e833e, #9fbe85);
  transform-origin: bottom center;
}

.contact-foliage span:nth-child(1) { left: 48px; bottom: 34px; transform: rotate(-48deg); }
.contact-foliage span:nth-child(2) { left: 112px; bottom: 82px; transform: rotate(43deg) scale(.9); }
.contact-foliage span:nth-child(3) { left: 54px; bottom: 144px; transform: rotate(-43deg) scale(.75); }
.contact-foliage span:nth-child(4) { left: 119px; bottom: 180px; transform: rotate(40deg) scale(.65); }

@media (max-width: 980px) {
  .contact {
    grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
    gap: 42px;
    padding: 58px 44px 68px;
  }

  .contact-copy h2 {
    font-size: clamp(2.85rem, 5.3vw, 4rem);
  }

  .contact-reassurance {
    grid-template-columns: 68px 1px minmax(0, 1fr);
    gap: 18px;
  }

  .contact-heart {
    width: 68px;
    height: 68px;
  }

  .contact-heart svg {
    width: 42px;
    height: 42px;
  }
}

@media (max-width: 760px) {
  .contact {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 44px 18px 52px;
  }

  .contact-copy h2 {
    margin-bottom: 24px;
    font-size: clamp(2.65rem, 11vw, 3.5rem);
  }

  .contact-copy > p:not(.contact-eyebrow) {
    font-size: 1.05rem;
  }

  .contact-reassurance {
    margin-top: 28px;
  }

  .contact-reassurance p {
    font-size: 1.3rem;
  }

  .contact-form {
    gap: 14px;
    padding: 24px 18px;
    border-radius: 16px;
  }

  .contact-form h3 {
    font-size: 2rem;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 16px;
  }

  .contact-foliage {
    left: -104px;
    opacity: .17;
  }
}
