.contact-page {
  font-family: Inter, system-ui, sans-serif;
  color: #101828;
  background:
    radial-gradient(circle at 82% 12%, rgba(79, 92, 255, 0.15), transparent 28%),
    radial-gradient(circle at 10% 28%, rgba(47, 49, 146, 0.08), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #f8f9ff 54%, #ffffff 100%);
}

.contact-page h1,
.contact-page h2 {
  font-family: Manrope, Inter, system-ui, sans-serif;
}

.contact-hero {
  position: relative;
  overflow: hidden;
  padding: 82px 0 48px;
}

.contact-hero::after {
  content: "";
  position: absolute;
  right: 10%;
  top: 110px;
  width: 92px;
  height: 92px;
  background: url("/assets/icon-compass.png") center / contain no-repeat;
  opacity: 0.16;
  transform: rotate(18deg);
}

.contact-hero-shell {
  position: relative;
  max-width: 780px;
  text-align: center;
  z-index: 1;
}

.contact-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 15px;
  margin: 0 auto;
  border-radius: 999px;
  background: rgba(47, 49, 146, 0.08);
  border: 1px solid rgba(47, 49, 146, 0.1);
  color: #2f3192;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact-pill.small {
  min-height: 28px;
  padding: 0 13px;
  font-size: 10px;
}

.contact-hero h1 {
  max-width: 740px;
  margin: 22px auto 0;
  font-size: clamp(44px, 5.3vw, 68px);
  line-height: 0.95;
  letter-spacing: -0.065em;
  font-weight: 800;
}

.contact-lede {
  max-width: 620px;
  margin: 22px auto 0;
  color: #5f6b7a;
  font-size: 19px;
  line-height: 1.55;
}

.contact-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.contact-primary,
.contact-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.contact-primary {
  background: linear-gradient(180deg, #5961ff 0%, #2f3192 100%);
  color: #ffffff;
  box-shadow: 0 18px 38px rgba(47, 49, 146, 0.28);
}

.contact-secondary {
  color: #101828;
}

.contact-main-section {
  padding: 28px 0 76px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 22px;
  align-items: start;
  max-width: 1040px;
}

.contact-card {
  border: 1px solid rgba(16, 24, 40, 0.08);
  border-radius: 34px;
  background:
    radial-gradient(circle at 100% 0%, rgba(47, 49, 146, 0.08), transparent 34%),
    rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 70px rgba(16, 24, 40, 0.08);
}

.contact-email-card {
  padding: 34px;
}

.contact-card-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 22px;
  border-radius: 20px;
  background: #eef0ff;
  color: #2f3192;
  font-size: 26px;
}

.contact-card h2 {
  margin: 16px 0 0;
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1;
  letter-spacing: -0.055em;
  font-weight: 800;
}

.contact-card p {
  max-width: 580px;
  margin: 14px 0 0;
  color: #5f6b7a;
  font-size: 15.5px;
  line-height: 1.6;
}

.contact-email-card a {
  display: inline-flex;
  margin-top: 22px;
  color: #2f3192;
  font-size: 18px;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.contact-form-card {
  padding: 34px;
}

.service-form {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.service-form label {
  display: grid;
  gap: 8px;
}

.service-form label span {
  color: #101828;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.service-form input,
.service-form select,
.service-form textarea {
  width: 100%;
  border: 1px solid rgba(16, 24, 40, 0.1);
  border-radius: 18px;
  background: #ffffff;
  color: #101828;
  outline: none;
  padding: 0 15px;
  font: inherit;
  font-size: 15px;
  font-weight: 500;
}

.service-form input,
.service-form select {
  min-height: 52px;
}

.service-form textarea {
  min-height: 122px;
  padding-top: 14px;
  resize: vertical;
}

.service-form input:focus,
.service-form select:focus,
.service-form textarea:focus {
  border-color: rgba(47, 49, 146, 0.38);
  box-shadow: 0 0 0 4px rgba(47, 49, 146, 0.08);
}

.contact-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #5961ff 0%, #2f3192 100%);
  color: #ffffff;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 18px 38px rgba(47, 49, 146, 0.24);
}

.contact-submit:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}

.contact-fineprint {
  margin: 0;
  color: #667085;
  font-size: 13px;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .contact-hero {
    padding: 58px 0 38px;
  }

  .contact-hero h1 {
    font-size: clamp(40px, 11vw, 54px);
  }

  .contact-actions {
    flex-direction: column;
  }

  .contact-primary,
  .contact-secondary {
    width: 100%;
  }

  .contact-email-card,
  .contact-form-card {
    padding: 24px;
    border-radius: 26px;
  }
}