/* Contact Us — RenewlyRX */

:root {
  --nav-h: 68px;
}

.breadcrumb-bar {
  margin-top: var(--nav-h);
  padding: 14px 5vw;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  background: var(--white);
}

.breadcrumb-bar a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb-bar a:hover { color: var(--forest); }
.breadcrumb-bar .sep { opacity: 0.35; }
.breadcrumb-bar .current { color: var(--forest); font-weight: 500; }

.contact-page {
  padding: 48px 0 100px;
  min-height: 50vh;
}

.contact-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 5vw;
}

.contact-header {
  max-width: 640px;
  margin-bottom: 2.5rem;
}

.contact-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(200, 169, 110, 0.18);
  border: 1px solid var(--gold-light);
  color: var(--forest);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 1rem;
}

.contact-eyebrow span {
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
}

.contact-header h1 {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 400;
  color: var(--forest);
  line-height: 1.12;
  margin-bottom: 1rem;
}

.contact-header h1 em {
  font-style: italic;
  color: var(--forest-light);
}

.contact-lead {
  font-size: 16px;
  color: var(--text-mid);
  line-height: 1.7;
  font-weight: 300;
}

.contact-inline-tel {
  color: var(--forest-mid);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s;
}

.contact-inline-tel:hover {
  color: var(--forest);
  border-bottom-color: var(--forest-mid);
}

.contact-alert {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem 1.35rem;
  border-radius: 16px;
  margin-bottom: 2rem;
  max-width: 720px;
}

.contact-alert svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-alert strong {
  display: block;
  font-size: 15px;
  margin-bottom: 0.35rem;
}

.contact-alert p {
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
}

.contact-alert--success {
  background: rgba(184, 212, 206, 0.35);
  border: 1px solid rgba(61, 115, 87, 0.25);
  color: var(--forest);
}

.contact-alert--success svg { color: var(--forest-light); }

.contact-alert--error {
  background: rgba(180, 60, 60, 0.08);
  border: 1px solid rgba(180, 60, 60, 0.25);
  color: var(--forest);
}

.contact-alert--error svg { color: #a33; }

.contact-alert--compact ul {
  margin: 0.5rem 0 0 1.1rem;
  padding: 0;
}

.contact-alert--compact li { margin-bottom: 0.25rem; }

.contact-alert--compact a {
  color: var(--forest-mid);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 2.5rem;
  align-items: start;
}

.contact-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem 2rem 2.25rem;
}

.contact-form-title {
  font-family: var(--ff-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--forest);
  margin-bottom: 0.35rem;
}

.contact-form-note {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.req { color: #a33; font-weight: 500; }
.opt { color: var(--text-muted); font-weight: 400; font-size: 12px; }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-row--2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-field label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--forest);
  margin-bottom: 0.45rem;
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  font-family: var(--ff-body);
  font-size: 15px;
  color: var(--text-dark);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  background: var(--cream);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-field input:focus,
.contact-field textarea:focus {
  outline: none;
  border-color: var(--forest-light);
  box-shadow: 0 0 0 3px rgba(61, 115, 87, 0.15);
  background: var(--white);
}

.contact-field textarea {
  resize: vertical;
  min-height: 140px;
}

.contact-field-error {
  display: block;
  font-size: 12px;
  color: #a33;
  margin-top: 0.35rem;
}

.contact-turnstile-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--forest);
  margin-bottom: 0.5rem;
}

.contact-actions {
  padding-top: 0.5rem;
}

.contact-actions .btn-primary {
  border: none;
  cursor: pointer;
  font-family: var(--ff-body);
}

.contact-aside {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-aside-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.35rem 1.25rem;
}

.contact-aside-card h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--forest);
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}

.contact-aside-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

.contact-aside-card a {
  color: var(--forest-mid);
}

.contact-aside-link {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 13px;
  font-weight: 500;
  color: var(--forest);
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 1px;
  transition: color 0.2s;
}

.contact-aside-link:hover {
  color: var(--forest-mid);
}

.reveal-d1 { transition-delay: 0.12s; }

@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-row--2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .contact-page {
    padding-top: 32px;
  }

  .contact-panel {
    padding: 1.5rem 1.25rem;
  }
}
