/* Contact / Inquiry page styles */
.contact-hero {
  background: #102b46;
  color: #fff;
  padding: 64px 0 56px;
}
.contact-hero .eyebrow { color: #b7cade; margin-bottom: 18px; }
.contact-hero h1 {
  font-size: clamp(38px, 4.6vw, 62px);
  line-height: 1.06;
  letter-spacing: -.045em;
  font-weight: 500;
  max-width: 760px;
}
.contact-hero h1 em { font-style: normal; color: #c6def1; }
.contact-hero .hero-intro {
  margin-top: 20px;
  max-width: 600px;
  font-size: 15px;
  color: #d6e2ec;
  line-height: 1.75;
}
.show-zh .contact-hero .zh { color: #bfd0df; }

.contact-main { padding: 64px 0 84px; background: var(--soft); }
.contact-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.form-panel {
  background: #fff;
  border: 1px solid var(--line);
  padding: clamp(24px, 4vw, 44px);
}
.context-banner {
  background: #eef4fa;
  border-left: 3px solid var(--blue);
  padding: 16px 20px;
  margin-bottom: 28px;
}
.context-banner-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--blue);
  text-transform: uppercase;
}
.context-banner-text {
  margin-top: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.context-banner-sub {
  margin-top: 4px;
  font-size: 12px;
  color: var(--muted);
}

.form-header { margin-bottom: 28px; }
.form-header h2 { font-size: 28px; margin-bottom: 8px; }
.form-header p { font-size: 13px; color: var(--muted); }

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.field { margin-bottom: 20px; }
.field-row .field { margin-bottom: 0; }
.field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}
.req { color: #b91c1c; }
.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #bfccd4;
  padding: 12px 14px;
  line-height: 1.5;
  transition: border-color .15s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--blue); }
.field textarea { resize: vertical; min-height: 126px; }
.field-help { font-size: 11px; color: var(--muted); margin-top: 6px; line-height: 1.55; }

.form-submit-row { margin-top: 28px; }
.form-submit-row .primary { width: 100%; padding: 18px 22px; font-size: 13px; }
.form-submit-row .primary:disabled { opacity: .65; cursor: wait; }
.privacy-note {
  margin-top: 14px;
  font-size: 11px;
  color: #627382;
  line-height: 1.65;
}

.status-box {
  margin-top: 24px;
  padding: 20px 22px;
  border: 1px solid var(--line);
}
.status-box h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.status-box p { font-size: 13px; color: var(--muted); }
.status-box.is-preview { background: #fffbeb; border-color: #f0c975; }
.status-box.is-success { background: #effaf3; border-color: #8fd1a6; }
.status-box.is-error { background: #fef2f2; border-color: #fca5a5; }
.status-summary {
  margin: 14px 0;
  padding: 12px 14px;
  background: #ffffffcc;
  border: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.7;
  color: var(--ink);
  white-space: pre-wrap;
  word-break: break-word;
}
.status-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 14px; align-items: center; }

.sidebar { display: flex; flex-direction: column; gap: 24px; }
.side-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 28px;
}
.side-card h3 { font-size: 18px; font-weight: 600; margin-bottom: 16px; }
.process-list { list-style: none; margin: 0; padding: 0; }
.process-list li {
  display: flex;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
.process-list li:first-child { border-top: 0; padding-top: 0; }
.process-list li > span { font-size: 10px; font-weight: 700; color: var(--blue); padding-top: 3px; flex: 0 0 auto; }

.direct-row { padding: 14px 0; border-top: 1px solid var(--line); }
.direct-row:first-of-type { border-top: 0; padding-top: 0; }
.direct-label { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: #718290; font-weight: 700; }
.direct-value { margin-top: 6px; font-size: 14px; font-weight: 600; color: var(--ink); }
.direct-value a:hover { color: var(--blue); text-decoration: underline; }
.direct-sub { margin-top: 4px; font-size: 12px; color: var(--muted); }

.boundary-card { background: #102b46; color: #e5edf4; border-color: #102b46; }
.boundary-card h3 { color: #fff; }
.boundary-card p { font-size: 12px; color: #c7d5e2; line-height: 1.75; }
.boundary-card p + p { margin-top: 12px; }
.show-zh .boundary-card .zh { color: #b2c5d6; }

@media (max-width: 960px) {
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .contact-hero { padding: 44px 0 38px; }
  .contact-main { padding: 36px 0 56px; }
  .field-row { grid-template-columns: 1fr; gap: 18px; }
}
