/* contact.css — page-specific styles for contact.html
   Shared tokens, header/nav, mobile-bottom-nav, footer, and .btn / .section-*
   utilities all live in css/styles.css. Only Contact-page-unique blocks below. */

html {
  scroll-padding-top: 84px;
}
@media (max-width: 640px) {
  body {
    padding-bottom: 74px; /* clears the fixed mobile-bottom-nav (62px) + buffer */
  }
}

/* ── Contact hero ── */
.contact-hero {
  background: var(--bg);
  border-bottom: 1.5px solid var(--border);
  padding: 48px 20px 40px;
  text-align: center;
}
.contact-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800; color: var(--ink);
  line-height: 1.2; letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.contact-hero h1 span { color: var(--blue); }
.contact-hero p {
  font-size: 0.95rem; color: var(--ink-soft);
  max-width: 460px; margin: 0 auto; line-height: 1.7;
}

/* ── Main contact layout ── */
.contact-body { padding: 48px 20px; background: var(--bg-alt); }
.contact-layout {
  max-width: 1000px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 32px;
  align-items: start;
}

/* ── Left: info cards ── */
.contact-info { display: flex; flex-direction: column; gap: 12px; }

.info-card {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex; align-items: flex-start; gap: 14px;
  transition: box-shadow .18s, border-color .18s;
}
.info-card:hover { box-shadow: var(--shadow-md); border-color: var(--blue-mid); }

.info-card__icon {
  width: 38px; height: 38px; flex-shrink: 0;
  border-radius: 9px; background: var(--blue-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.info-card__icon--green { background: var(--green-light); }
.info-card__icon--amber { background: var(--amber-light); }

.info-card__label {
  font-family: var(--font-display);
  font-size: 0.82rem; font-weight: 700;
  color: var(--ink); margin-bottom: 3px;
}
.info-card__value { font-size: 0.80rem; color: var(--ink-soft); line-height: 1.55; }
.info-card__value a { color: var(--blue); }
.info-card__value a:hover { text-decoration: underline; }

.response-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--green-light);
  border-radius: 99px; padding: 8px 14px;
  font-size: 0.78rem; font-weight: 600; color: #065F46;
  margin-top: 4px;
}
.response-badge__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }

/* ── Right: form ── */
.contact-form-card {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.contact-form-card h2 {
  font-family: var(--font-display);
  font-size: 1.1rem; font-weight: 700;
  color: var(--ink); margin-bottom: 6px;
}
.contact-form-card > p { font-size: 0.84rem; color: var(--ink-soft); margin-bottom: 24px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.form-group { display: flex; flex-direction: column; gap: 5px; margin-bottom: 14px; }
.form-group:last-of-type { margin-bottom: 0; }

.form-label { font-size: 0.78rem; font-weight: 600; color: var(--ink); }
.form-label span { color: var(--danger); margin-left: 2px; }

.form-input, .form-select, .form-textarea {
  width: 100%; padding: 10px 14px;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  background: var(--bg); font-family: var(--font-body);
  font-size: 0.875rem; color: var(--ink); outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--ink-mute); }
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,.08);
}
.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' stroke='%2394A3B8' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; cursor: pointer;
}
.form-textarea { resize: vertical; min-height: 120px; line-height: 1.6; }

.form-submit {
  width: 100%; margin-top: 20px;
  padding: 13px 22px; border-radius: var(--radius-sm);
  background: var(--blue); color: #fff;
  font-family: var(--font-body); font-size: 0.90rem; font-weight: 700;
  border: none; cursor: pointer;
  box-shadow: 0 2px 12px rgba(37,99,235,0.28);
  transition: background .15s, transform .15s;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.form-submit:hover { background: var(--blue-dark); transform: translateY(-1px); }
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

#contactToast {
  display: none; margin-top: 14px; padding: 12px 16px;
  border-radius: var(--radius-sm); font-size: 0.84rem; font-weight: 500;
}
#contactToast.success { background: var(--green-light); color: #065F46; border: 1px solid #A7F3D0; }
#contactToast.error   { background: #FEF2F2; color: #B91C1C; border: 1px solid #FECACA; }

/* ── FAQ strip ── */
.faq-section { padding: 48px 20px; background: var(--bg); }
.faq-inner { max-width: 700px; margin: 0 auto; }
.faq-heading {
  font-family: var(--font-display);
  font-size: 1.15rem; font-weight: 700;
  color: var(--ink); margin-bottom: 20px; text-align: center;
}
.faq-item { border-bottom: 1px solid var(--border); padding: 16px 0; }
.faq-item:last-child { border-bottom: none; }
.faq-q {
  font-size: 0.88rem; font-weight: 600; color: var(--ink);
  cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  user-select: none;
}
.faq-q:hover { color: var(--blue); }
.faq-chevron { flex-shrink: 0; transition: transform .2s; color: var(--ink-mute); }
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-a {
  font-size: 0.84rem; color: var(--ink-soft); line-height: 1.7;
  max-height: 0; overflow: hidden;
  transition: max-height .25s ease, padding .2s;
}
.faq-item.open .faq-a { max-height: 200px; padding-top: 10px; }

/* ── Responsive ── */
@media (max-width: 760px) {
  .contact-layout { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-card { padding: 24px 18px; }
}
@media (max-width: 640px) {
  .contact-hero { padding: 36px 16px 32px; }
  .contact-body { padding: 32px 16px; }
  .faq-section { padding: 36px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
