/* Contact page — matches splash hero + form accents (teal #168785, gold highlights) */

#contact-main {
  padding-bottom: 2rem;
}

#contact-hero {
  padding: 2rem 0 0.5rem;
  text-align: center;
}

#contact-hero .hero-form-title {
  margin-top: 0;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
}

#contact-hero .hero-form-title span {
  color: #ecbe09;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

#contact-hero .hero-form-subtitle {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.contact-form-section {
  margin-top: 0;
  padding-bottom: 1.5rem;
}

.contact-lead-form {
  max-width: 560px;
  margin: 0 auto;
}

/* Compact form card (overrides splash .hero-form on this page only) */
.contact-lead-form .contact-hero-form-card {
  margin-top: 1rem;
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
  padding: 1.25rem 1.35rem 1.35rem;
  box-shadow: 0 12px 28px 0 rgba(22, 135, 133, 0.35);
}

.contact-fieldset {
  border: none;
  padding: 0;
  margin: 0 0 0.75rem;
}

.contact-fieldset-legend {
  font-family: "Satoshi", sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: #1e1e1e;
  margin-bottom: 0.75rem;
  display: block;
  width: 100%;
}

.contact-option-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

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

.contact-option {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border: 2px solid rgba(22, 135, 133, 0.35);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  background: #fff;
}

.contact-option:hover {
  border-color: #168785;
  box-shadow: 0 4px 12px rgba(22, 135, 133, 0.15);
}

.contact-option input {
  margin-top: 0.2rem;
  accent-color: #168785;
  flex-shrink: 0;
}

.contact-option span {
  font-size: 0.95rem;
  line-height: 1.35;
  color: #1e1e1e;
}

.contact-option-desc {
  display: block;
  font-size: 0.8125rem;
  color: #555;
  margin-top: 0.25rem;
}

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

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

.contact-field {
  margin-bottom: 0.65rem;
}

.contact-field label {
  display: block;
  font-size: 1.125rem;
  font-weight: 600;
  color: #1e1e1e;
  margin-bottom: 0.4rem;
}

.contact-field .contact-label-required {
  color: #b45309;
}

.contact-hint {
  font-size: 1rem;
  color: #555;
  margin-top: 0.35rem;
  line-height: 1.45;
}

.contact-field input,
.contact-field select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1.1875rem;
  font-family: "Satoshi", sans-serif;
  border: 2px solid #168785;
  border-radius: 10px;
  background: #fff;
  color: #1e1e1e;
  outline: none;
  transition: box-shadow 0.2s;
}

.contact-field input:focus,
.contact-field select:focus {
  box-shadow: 0 0 0 4px rgba(22, 135, 133, 0.15);
}

.contact-form-actions {
  margin-top: 0.85rem;
  text-align: center;
}

.contact-form-actions .submit-btn {
  width: 100%;
  max-width: 100%;
  border: none;
  padding: 16px 22px;
  font-size: 1.25rem;
}

.contact-form-actions .submit-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.contact-form-footnote {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.875rem;
  color: #555;
}

.contact-alert {
  margin-top: 1rem;
  padding: 1rem 1.125rem;
  border-radius: 12px;
  font-size: 1.125rem;
  line-height: 1.45;
}

.contact-alert--error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.contact-alert--success {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
}

.contact-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
