.contact {
  position: relative;
  isolation: isolate;
  padding-block: 76px;
  background: white;
  color: var(--ink);
  transition: color 0.8s ease;
}
.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #30172f right top / cover no-repeat;
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
}
.contact[data-background-ready]::before {
  background-image: url("../assets/contact-upper-right-light.webp");
}
.contact.is-in-view::before {
  opacity: 1;
}
.contact-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}
.contact-copy .section-label {
  color: var(--contact-muted, #69616e);
  margin-bottom: 18px;
}
.contact-copy h2 {
  font-size: clamp(32px, 3.2vw, 46px);
  font-weight: 400;
  line-height: 1.65;
}
.contact-copy > p:not(.section-label) {
  color: var(--contact-muted, #69616e);
  margin-top: 24px;
  font-size: 15px;
}
.contact-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.contact-phone {
  display: flex;
  flex-direction: column;
  margin-bottom: 24px;
}
.contact-phone > span {
  font-size: 13px;
}
.contact-phone strong {
  font-family: Arial, sans-serif;
  font-size: clamp(32px, 3.5vw, 46px);
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.015em;
  white-space: nowrap;
}
.contact-phone small {
  font-size: 12px;
  color: var(--contact-muted, #69616e);
}
.contact-form {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
  padding: 18px 28px;
  color: var(--contact-button-ink, white);
  background: var(--contact-button, var(--purple));
  font-size: 15px;
  border-radius: 5px;
}
.contact-form > span {
  font-size: 23px;
}
.contact-form:hover {
  opacity: 0.88;
}
.contact-faq {
  font-size: 12px;
  color: var(--contact-muted, #69616e);
  margin-top: 14px;
  padding-block: 10px;
}
.contact :focus-visible {
  outline-color: currentColor;
}
@media (max-width: 1000px) {
  .contact {
    padding-block: 60px;
  }
  .contact-inner {
    gap: 40px;
  }
}
@media (max-width: 700px) {
  .contact {
    padding-block: 46px;
  }
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .contact-copy h2 {
    font-size: clamp(28px, 8vw, 34px);
  }
  .contact-copy > p:not(.section-label) {
    margin-top: 18px;
    font-size: 14px;
  }
  .contact-phone strong {
    font-size: 34px;
  }
  .contact-form {
    padding: 16px 22px;
    min-height: 62px;
    font-size: 14px;
  }
}

.contact.is-in-view {
  color: white;
  --contact-muted: #ecdfef;
  --contact-button: white;
  --contact-button-ink: var(--purple-dark);
}
.contact-copy .section-label,
.contact-copy > p,
.contact-phone small,
.contact-faq,
.contact-form {
  transition:
    color 0.8s ease,
    background-color 0.8s ease;
}
@media (prefers-reduced-motion: reduce) {
  .contact,
  .contact::before,
  .contact-copy .section-label,
  .contact-copy > p,
  .contact-phone small,
  .contact-faq,
  .contact-form {
    transition: none;
  }
}
