/* =========================================================
   CONTACT US PAGE — extends style.css design tokens
   ========================================================= */

.main-nav a.is-active { color: var(--brick); }
.main-nav a.is-active::after { width: 100%; }

/* ---- Hero ---- */
.contact-hero { padding: 64px 0 50px; }
.contact-hero h1 {
  font-size: clamp(2.2rem, 4.4vw, 3.1rem);
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}
.contact-lede {
  color: var(--ink-60);
  font-size: 1.05rem;
  max-width: 56ch;
  margin: 0;
}

/* ---- Main grid ---- */
.contact-main { padding-bottom: 76px; }
.contact-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 50px;
  align-items: start;
}

/* ---- Form ---- */
.contact-form-wrap {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
}

.form-row { margin-bottom: 20px; display: flex; flex-direction: column; }
.form-row label {
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: var(--ink);
}

.form-row input,
.form-row select,
.form-row textarea {
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--ink);
  background: var(--cream);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 12px 16px;
  outline: none;
  transition: border-color .18s ease;
  resize: vertical;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus { border-color: var(--olive); }

.form-row select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%232B2320' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.form-row.has-error input,
.form-row.has-error textarea { border-color: var(--brick); }

.field-error {
  display: block;
  min-height: 1.2em;
  font-size: 0.82rem;
  color: var(--brick);
  margin-top: 6px;
}

.contact-form-wrap .btn { width: 100%; justify-content: center; margin-top: 4px; }

.form-msg {
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--olive);
  margin: 14px 0 0;
  min-height: 1.2em;
}

/* ---- Info sidebar ---- */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.info-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 26px;
}
.info-icon { font-size: 1.5rem; display: block; margin-bottom: 10px; }
.info-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.info-card p { color: var(--ink-60); font-size: 0.92rem; margin: 0 0 8px; }
.info-card a { color: var(--olive); font-weight: 600; }
.info-card .tag-hand { margin-top: 4px; display: inline-block; }

.info-card--social .social-row { display: flex; gap: 10px; margin-top: 4px; }
.info-card--social .social-row a {
  width: 36px; height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 700;
  color: var(--ink);
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.info-card--social .social-row a:hover { background: var(--brick); border-color: var(--brick); color: var(--cream); }

/* ---- FAQ ---- */
.faq {
  background: var(--paper);
  padding: 76px 0;
}
.faq-inner { max-width: 760px; margin: 0 auto; text-align: center; }
.faq .section-title { margin-bottom: 34px; }

.faq-list { text-align: left; }
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  padding: 20px 4px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}
.faq-icon {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  color: var(--olive);
  transition: transform .22s ease, background .18s ease, border-color .18s ease;
}
.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
  background: var(--olive);
  border-color: var(--olive);
  color: var(--cream);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .28s ease;
}
.faq-answer p {
  color: var(--ink-60);
  font-size: 0.95rem;
  margin: 0 4px 20px;
  max-width: 62ch;
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .contact-hero { padding: 48px 0 40px; }
  .contact-main { padding-bottom: 56px; }
  .contact-form-wrap { padding: 26px 22px; }
  .faq { padding: 56px 0; }
}
