/* Contact page — matched to perspiq.ai/contact typography and layout */

.contact-page {
  width: 100%;
  color: #494949;
  font-size: 17px;
  line-height: 1.7;
  --content-max: 80rem;
  --content-pad: 1.5rem;
}

.contact-kicker {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
  text-transform: uppercase;
  color: #c06f98;
}

.contact-kicker--dark {
  color: #c06f98;
}

/* Hero — black band */
.contact-hero {
  background: #000;
  color: #fff;
  padding: 40px 0 50px;
}

.contact-hero-inner {
  width: min(100%, var(--content-max, 80rem));
  margin: 0 auto;
  padding: 0 var(--content-pad, 1.5rem);
}

.contact-hero h1 {
  margin: 0 0 16px;
  font-size: 52px;
  font-weight: 500;
  line-height: 1.15;
  color: #fff;
}

.contact-hero h1 em {
  font-style: italic;
  color: #c06f98;
}

.contact-hero-lead {
  margin: 0 0 20px;
  max-width: 42rem;
  font-size: 18px;
  line-height: 1.7;
  color: #fff;
  font-weight: 400;
}

.contact-hero-bullets {
  list-style: none;
  margin: 0;
  padding: 8px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
}

.contact-hero-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 16px;
  line-height: 1.5;
  color: #fff;
}

.contact-hero-bullet-icon {
  display: inline-flex;
  width: 16px;
  height: 16px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #c06f98;
  font-size: 14px;
  font-weight: 700;
  margin-top: 2px;
}

/* Stats band */
.contact-stats {
  background: #f0f0f0;
  padding: 50px 15px;
}

.contact-stats-grid {
  width: min(100%, var(--content-max, 1200px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}

.contact-stat-card {
  background: #fff;
  border: 1px solid #ddd;
  padding: 20px;
  text-align: center;
}

.contact-stat-card--first {
  border-radius: 5px 0 0 5px;
}

.contact-stat-card--last {
  border-radius: 0 5px 5px 0;
}

.contact-stat-value {
  font-size: 40px;
  font-weight: 600;
  line-height: 1.2;
  color: #c06f98;
  margin-bottom: 15px;
}

.contact-stat-label {
  font-size: 18px;
  line-height: 1.8;
  color: #494949;
  font-weight: 500;
}

/* Main two-column section */
.contact-main {
  padding: 60px 0 50px;
  border-bottom: 1px solid #e5e7eb;
}

.contact-main-layout {
  width: min(100%, var(--content-max, 1200px));
  margin: 0 auto;
  padding: 0 var(--content-pad, 24px);
  display: grid;
  grid-template-columns: minmax(0, 60%) minmax(0, 40%);
  gap: 0;
  align-items: start;
}

.contact-section-title {
  margin: 0 0 16px;
  font-size: 45px;
  font-weight: 500;
  line-height: 1.3;
  color: #111;
}

.contact-body {
  margin: 0 0 16px;
  font-size: 17px;
  line-height: 1.7;
  color: #494949;
}

.contact-steps-title {
  margin: 15px 0 0;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.3;
  color: #111;
}

.contact-steps {
  list-style: none;
  margin: 15px 0 0;
  padding: 0;
}

.contact-step {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
}

.contact-step-num {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f9eef4;
  color: #c06f98;
  font-size: 15px;
  font-weight: 600;
}

.contact-step-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: calc(100% - 40px);
  font-size: 17px;
  line-height: 1.7;
  color: #494949;
}

.contact-step-copy strong {
  color: #494949;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.7;
}

.contact-direct-title {
  margin: 25px 0 0;
  padding: 15px 0 10px;
  border-top: 1px solid #ddd;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
  color: #111;
}

.contact-direct-table {
  width: 100%;
  border: 0;
  border-collapse: collapse;
  margin: 15px 0 0;
}

.contact-direct-table th,
.contact-direct-table td {
  border: none;
  padding: 0 0 15px;
  font-size: 17px;
  line-height: 1.7;
  text-align: left;
  vertical-align: top;
  font-weight: 400;
}

.contact-direct-table th {
  width: 88px;
  color: #494949;
  font-weight: 500;
}

.contact-direct-table td a {
  color: #777;
  text-decoration: none;
}

.contact-direct-table td a:hover {
  color: #c06f98;
}

.contact-office-line {
  display: block;
}

/* Form panel */
.contact-form-panel {
  padding-left: 24px;
}

.contact-form {
  background: #fdf9fb;
  border: 1px solid #c9bdc3;
  border-radius: 12px;
  padding: 10px 20px 24px;
}

.contact-form-title {
  margin: 24px 0 8px;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.3;
  color: #111;
}

.contact-form-subtitle {
  margin: 0 0 20px;
  font-size: 16px;
  line-height: 1.6;
  color: #494949;
}

.contact-form-field {
  margin-bottom: 16px;
}

.contact-form-field label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 500;
  color: #494949;
}

.contact-form-field input,
.contact-form-field select,
.contact-form-field textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #c9bdc3;
  border-radius: 12px;
  background: #fff;
  padding: 10px 12px;
  font: inherit;
  font-size: 15px;
  color: #111;
}

.contact-form-field textarea {
  min-height: 120px;
  resize: vertical;
  border-radius: 12px;
}

.contact-form-field input:focus,
.contact-form-field select:focus,
.contact-form-field textarea:focus {
  outline: 2px solid rgba(192, 111, 152, 0.35);
  outline-offset: 1px;
}

.contact-form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form-legal {
  margin: 8px 0 16px;
  font-size: 13px;
  line-height: 1.55;
  color: #777;
}

.contact-form-legal a {
  color: #c06f98;
  text-decoration: none;
}

.contact-form-legal a:hover {
  text-decoration: underline;
}

.contact-form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  padding: 10px 25px;
  border: 1px solid #c06f98;
  border-radius: 9px;
  background: #c06f98;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.contact-form-submit:hover {
  background: #494949;
  border-color: #494949;
}

@media (max-width: 1024px) {
  .contact-hero h1 {
    font-size: clamp(36px, 6vw, 52px);
  }

  .contact-hero-lead {
    max-width: 100%;
  }

  .contact-hero-bullets {
    flex-direction: column;
    gap: 12px;
  }

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

  .contact-stat-card,
  .contact-stat-card--first,
  .contact-stat-card--last {
    border-radius: 5px;
    margin-bottom: 8px;
  }

  .contact-main-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-form-panel {
    padding-left: 0;
  }

  .contact-section-title {
    font-size: clamp(32px, 7vw, 45px);
  }
}

@media (max-width: 600px) {
  .contact-hero {
    padding-bottom: 36px;
  }

  .contact-hero h1 {
    font-size: 32px;
  }

  .contact-hero-lead {
    font-size: 16px;
  }

  .contact-hero-bullets li {
    font-size: 15px;
  }

  .contact-stats {
    padding: 32px 15px;
  }

  .contact-stat-value {
    font-size: 34px;
  }

  .contact-stat-label {
    font-size: 16px;
  }

  .contact-main {
    padding: 40px 0;
  }

  .contact-body,
  .contact-step-copy,
  .contact-step-copy strong {
    font-size: 16px;
  }

  .contact-direct-table th,
  .contact-direct-table td {
    font-size: 16px;
    display: block;
    width: 100%;
    padding-bottom: 4px;
  }

  .contact-direct-table tr {
    display: block;
    margin-bottom: 12px;
  }

  .contact-direct-table td {
    padding-bottom: 0;
  }
}
