/* 关于我们（about.php）、联系我们（contact.php） */
.page-lead { color: var(--muted); font-size: 16px; }

/* ---------- 关于我们 ---------- */
.info-page { max-width: 820px; margin-left: auto; margin-right: auto; }
.info-block { margin-top: 36px; }
.info-block h2 { font-size: 21px; }
.info-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.info-card { display: block; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--text); transition: border-color .2s, box-shadow .2s; }
.info-card:hover { border-color: var(--brand); box-shadow: 0 6px 20px rgba(37, 77, 255, .08); color: var(--text); }
.info-card strong { display: block; font-size: 17px; color: var(--brand); margin-bottom: 6px; }
.info-card span { color: var(--muted); font-size: 14px; }
.info-list { margin: 0; padding-left: 1.3em; }
.info-list li { margin-bottom: .5em; }
.info-note { margin-top: 40px; padding: 14px 18px; border-radius: 8px; background: var(--bg); color: var(--muted); font-size: 13px; }

/* ---------- 联系我们 ---------- */
.contact-page { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 40px; align-items: start; padding-top: 16px; }
.contact-form { padding: 28px 30px; border: 1px solid var(--line); border-radius: var(--radius); }
.form-row { margin: 0 0 22px; padding: 0; border: 0; min-width: 0; }
.form-row > label, .form-row legend { display: block; padding: 0; margin-bottom: 8px; font-weight: 600; }
.form-row small { font-weight: 400; color: var(--muted); font-size: 12px; margin-left: 4px; }
.contact-form input[type="text"], .contact-form input:not([type]), .contact-form textarea {
  width: 100%; padding: 10px 14px; border: 1px solid var(--line); border-radius: 8px;
  font: inherit; color: var(--text); background: #fff; transition: border-color .2s, box-shadow .2s;
}
.contact-form textarea { resize: vertical; min-height: 150px; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.form-types { display: flex; flex-wrap: wrap; gap: 10px; }
.form-types label { cursor: pointer; }
.form-types input { position: absolute; opacity: 0; pointer-events: none; }
.form-types span { display: inline-block; padding: 6px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; transition: all .2s; }
.form-types label:hover span { border-color: var(--brand); color: var(--brand); }
.form-types input:checked + span { background: var(--brand); border-color: var(--brand); color: #fff; }
.form-types input:focus-visible + span { box-shadow: 0 0 0 3px var(--brand-soft); }
.form-err { margin: 6px 0 0; color: #d93025; font-size: 13px; }
.contact-form .btn-download { border: 0; cursor: pointer; font-family: inherit; }
.form-tip { margin: 14px 0 0; color: var(--muted); font-size: 13px; }
.contact-side { padding: 20px 22px; border-radius: var(--radius); background: var(--bg); }
.contact-side h2 { font-size: 16px; }
.contact-side ul { margin: 0; padding-left: 1.2em; font-size: 14px; }
.contact-side li { margin-bottom: .5em; }
.form-done { grid-column: 1 / -1; padding: 48px 24px; text-align: center; border: 1px solid var(--line); border-radius: var(--radius); }
.form-done strong { display: block; font-size: 20px; margin-bottom: 8px; }
.form-done p { color: var(--muted); margin-bottom: .5em; }
.form-done span { margin: 0 10px; }

@media (max-width: 900px) {
  .contact-page { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .info-cards { grid-template-columns: 1fr; }
  .contact-form { padding: 20px; }
}
