/* Contact page surfaces and email reveal interaction. */
.contact-hero {
  padding: 78px 0 58px;
}

.contact-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(330px, 0.82fr);
  align-items: center;
  gap: 58px;
}

.contact-kicker {
  display: inline-flex;
  margin: 0 0 18px;
  color: var(--xonto-blue-dark);
  font-size: 0.88rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-lead {
  max-width: 690px;
  margin: 22px 0 0;
  color: var(--xonto-muted);
  font-size: 1.12rem;
}

.contact-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.contact-mail-link.is-disabled {
  pointer-events: none;
  opacity: 0.56;
}

.email-output {
  min-height: 32px;
  margin: 18px 0 0;
  color: #526173;
  font-size: 0.96rem;
  font-weight: 650;
}

.email-output.is-ready {
  color: var(--xonto-blue-dark);
}

.contact-visual-panel {
  position: relative;
  padding: 20px;
  border: 1px solid rgba(217, 224, 234, 0.95);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--xonto-shadow);
  overflow: hidden;
}

.contact-visual-panel::before {
  content: "";
  position: absolute;
  width: 170px;
  height: 170px;
  right: -48px;
  top: -54px;
  border-radius: 50%;
  background: rgba(47, 128, 255, 0.16);
}

.contact-visual-panel img {
  position: relative;
  width: 100%;
}

.contact-section {
  padding: 48px 0;
}

.contact-section-compact {
  padding-bottom: 82px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.94fr 1.06fr;
  gap: 22px;
  align-items: stretch;
}

.contact-panel,
.no-form-panel {
  border: 1px solid rgba(217, 224, 234, 0.94);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 18px 50px rgba(31, 75, 145, 0.08);
}

.contact-panel {
  padding: 30px;
}

.contact-panel h2,
.no-form-panel h2 {
  font-size: 2rem;
  line-height: 1.05;
}

.contact-panel p,
.no-form-panel p {
  margin: 14px 0 0;
  color: var(--xonto-muted);
}

.contact-panel-dark {
  background: #050505;
  color: #fff;
  border-color: #050505;
}

.contact-panel-dark h2 {
  color: #fff;
}

.contact-panel-dark p {
  color: rgba(255, 255, 255, 0.68);
}

.topic-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.topic-list span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
  font-weight: 700;
}

.mail-checklist {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.mail-checklist li {
  display: grid;
  grid-template-columns: 42px 1fr;
  column-gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(217, 224, 234, 0.86);
  border-radius: 18px;
  background: #fff;
}

.mail-checklist li > span {
  grid-row: span 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--xonto-blue-soft);
  color: var(--xonto-blue-dark);
  font-weight: 950;
}

.mail-checklist strong {
  color: #111827;
  font-weight: 950;
}

.mail-checklist small {
  color: var(--xonto-muted);
}

.no-form-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 26px;
  align-items: center;
  padding: 30px;
}

.mail-note {
  padding: 20px;
  border-radius: 20px;
  background: linear-gradient(135deg, #EAF2FF, #FFFFFF);
  color: #2D4058;
}

.mail-note strong,
.mail-note span {
  display: block;
}

.mail-note strong {
  margin-bottom: 8px;
  color: var(--xonto-blue-dark);
  font-weight: 950;
}

@media (max-width: 980px) {
  .contact-hero-grid,
  .contact-grid,
  .no-form-panel {
    grid-template-columns: 1fr;
  }

  .contact-visual-panel {
    max-width: 620px;
  }
}

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

  .contact-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .contact-panel,
  .no-form-panel {
    padding: 22px;
    border-radius: 22px;
  }

  .contact-panel h2,
  .no-form-panel h2 {
    font-size: 1.72rem;
  }
}
