.contact-hero {
  padding-bottom: 65px;
}

.contact-hero .lead {
  max-width: 650px;
}

.contact-main {
  padding-top: 65px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr);
  align-items: start;
  gap: clamp(35px, 7vw, 85px);
}

.contact-person {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 27px;
}

.contact-person-monogram {
  display: grid;
  width: 66px;
  height: 66px;
  flex: 0 0 66px;
  place-items: center;
  border: 1px solid #e6e2f5;
  border-radius: 20px;
  background: linear-gradient(145deg, #f2efff, #fff);
  color: #4936e9;
  font-family: Manrope, sans-serif;
  font-size: 21px;
  font-weight: 800;
}

.contact-person .eyebrow {
  margin-bottom: 8px;
}

.contact-person h2 {
  margin: 0;
  font-size: clamp(23px, 3vw, 32px);
}

.contact-person p {
  margin: 5px 0 0;
  color: #77798c;
  font-size: 12px;
}

.contact-detail-list {
  display: grid;
  gap: 11px;
}

.contact-detail-card {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border: 1px solid #e7e6ef;
  border-radius: 13px;
  background: #fff;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}

a.contact-detail-card:hover {
  transform: translateY(-2px);
  border-color: #d3cef4;
  box-shadow: 0 12px 30px rgba(31, 27, 86, .07);
}

.contact-detail-icon {
  display: grid;
  width: 43px;
  height: 43px;
  flex: 0 0 43px;
  place-items: center;
  border-radius: 12px;
  background: #f1efff;
  color: #5545df;
  font-size: 19px;
}

.contact-detail-card > span:nth-child(2) {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.contact-detail-card small {
  color: #85869a;
  font-size: 10px;
}

.contact-detail-card strong {
  color: #323348;
  font-size: 13px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.contact-detail-card em {
  color: #5b4bda;
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
}

.contact-detail-arrow {
  margin-left: auto;
  color: #6554e4;
  font-size: 17px;
  font-weight: 800;
  text-decoration: none;
}

.contact-visit-note {
  margin: 14px 0 0;
  color: #85869a;
  font-size: 11px;
  line-height: 1.65;
}

.contact-support-panel {
  padding: 30px;
  border: 1px solid #e7e4f4;
  border-radius: 17px;
  background:
    radial-gradient(ellipse at 100% 0, rgba(119, 96, 249, .12), transparent 40%),
    #fbfaff;
}

.contact-support-panel h2 {
  margin: 17px 0 12px;
  font-size: clamp(26px, 3vw, 35px);
}

.contact-support-panel > p {
  color: #737488;
  font-size: 13px;
  line-height: 1.75;
}

.contact-support-panel .checklist {
  gap: 13px;
  margin: 20px 0 24px;
}

.contact-support-panel .checklist li {
  font-size: 12px;
  line-height: 1.6;
}

.contact-response-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 16px;
  color: #85869a;
  font-size: 10px;
  line-height: 1.6;
}

.contact-response-note span {
  color: #5b4bda;
}

.contact-next {
  padding-top: 80px;
}

.contact-links-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
}

.contact-links-grid a {
  display: grid;
  gap: 8px;
  padding: 20px;
  border: 1px solid #e7e6ef;
  border-radius: 12px;
  background: #fff;
  transition: border-color .2s, transform .2s;
}

.contact-links-grid a:hover {
  transform: translateY(-2px);
  border-color: #d3cef4;
}

.contact-links-grid strong {
  color: #37384d;
  font-size: 13px;
}

.contact-links-grid span {
  color: #77798c;
  font-size: 10px;
  line-height: 1.5;
}

.contact-footer-details span {
  display: block;
  margin: 0 0 10px;
  color: #c4c4d2;
  font-size: 13px;
}

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

  .contact-details {
    max-width: 650px;
  }

  .contact-support-panel {
    max-width: 650px;
  }
}

@media (max-width: 620px) {
  .contact-main {
    padding-top: 50px;
  }

  .contact-person {
    align-items: flex-start;
    gap: 13px;
  }

  .contact-person-monogram {
    width: 52px;
    height: 52px;
    flex-basis: 52px;
    border-radius: 15px;
    font-size: 17px;
  }

  .contact-person h2 {
    font-size: 23px;
  }

  .contact-detail-card {
    gap: 11px;
    padding: 14px;
  }

  .contact-support-panel {
    padding: 22px;
  }

  .contact-links-grid {
    grid-template-columns: 1fr;
  }

  .contact-links-grid a {
    padding: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-detail-card,
  .contact-links-grid a {
    transition: none;
  }
}
