/* OnCallAlert - contact page (contact.html) and thank-you page (contact-thanks.html) */

.contact-page {
  max-width: 640px;
  margin: 0 auto;
  padding: 7rem 16px 3rem;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.contact-title {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 0.6rem;
}

.contact-lead {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.6rem;
}

.contact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1rem;
}

/* Form fields fill their column; min-width 0 stops long values widening the grid */
.contact-card .modal-input,
.contact-card .modal-select {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.contact-captcha {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.6rem;
  min-height: 50px;
}

.contact-captcha img {
  border-radius: 6px;
  background: #fff;
  max-width: 100%;
  height: auto;
}

.contact-link-btn {
  font: inherit;
  font-size: 0.82rem;
  background: none;
  border: 0;
  padding: 0.4rem 0;
  color: var(--accent-cyan);
  cursor: pointer;
  text-decoration: underline;
}

.contact-note {
  margin-top: 1rem;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.contact-note a,
.contact-help a {
  color: var(--text-primary);
  text-decoration: underline;
}

.contact-help {
  margin-top: 2rem;
  color: var(--text-secondary);
}

.contact-help h2 {
  font-size: 1.05rem;
  color: var(--text-primary);
  margin-bottom: 0.6rem;
}

.contact-help ul {
  padding-left: 1.2rem;
  line-height: 1.8;
}

@media (width <= 600px) {
  .contact-page {
    padding-top: 6rem;
  }

  .contact-card {
    padding: 1.4rem 1.1rem;
  }

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

  .contact-title {
    font-size: 1.6rem;
  }
}

.wl-thanks-sub a {
  color: var(--text-primary);
  text-decoration: underline;
}

.contact-email {
  margin-top: 1.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.contact-email a {
  color: var(--accent-cyan);
  font-weight: 600;
  text-decoration: underline;
  overflow-wrap: anywhere;
}
