/* 带宠出行咨询 H5 · 独立于科普首页导航 */
:root {
  --ink: #3d3229;
  --muted: #6a534a;
  --faint: #9a7f72;
  --coral: #c45c2e;
  --coral-deep: #a84a22;
  --cream: #f8f5f1;
  --card: #fffdf9;
  --line: rgba(61, 50, 41, 0.1);
  --font: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--coral-deep); }

.pg {
  width: min(100% - 32px, 430px);
  margin: 0 auto;
  padding: 20px 0 48px;
}

.pg-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.pg-brand {
  font-size: 13px;
  color: var(--faint);
  text-decoration: none;
}

.pg-h1 {
  margin: 0 0 8px;
  font-size: 28px;
  line-height: 1.3;
  font-weight: 650;
}

.pg-lead {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 16px;
}

.pg-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 16px;
  margin-bottom: 14px;
}

.pg-card h2 {
  margin: 0 0 10px;
  font-size: 17px;
}

.pg-card p { margin: 0 0 10px; }
.pg-card p:last-child { margin-bottom: 0; }

.pg-list {
  margin: 0;
  padding-left: 18px;
}

.pg-list li { margin-bottom: 6px; }

.pg-note {
  font-size: 14px;
  color: var(--muted);
  background: #f3ece4;
  border-radius: 10px;
  padding: 10px 12px;
  margin: 0 0 24px;
}

details.pg-faq {
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
}

details.pg-faq:last-child { border-bottom: 0; }

details.pg-faq summary {
  cursor: pointer;
  font-weight: 550;
}

details.pg-faq p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

label.pg-field {
  display: block;
  margin-bottom: 12px;
}

label.pg-field span {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 6px;
}

input, select, textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 1px solid #e5d9c8;
  border-radius: 10px;
  padding: 10px 12px;
}

textarea { min-height: 72px; resize: vertical; }

.pg-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.pg-check {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 14px;
  margin: 10px 0;
}

.pg-check input {
  width: auto;
  margin-top: 3px;
}

.pg-hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.pg-submit {
  width: 100%;
  margin-top: 8px;
  border: 0;
  border-radius: 12px;
  padding: 14px 16px;
  font: inherit;
  font-weight: 600;
  color: #fff;
  background: var(--coral);
}

.pg-submit:disabled {
  opacity: 0.55;
}

.pg-msg {
  margin-top: 10px;
  font-size: 14px;
}

.pg-msg.is-err { color: #b42318; }
.pg-msg.is-ok { color: #2f6f3e; }

.pg-foot {
  margin-top: 28px;
  font-size: 12px;
  color: var(--faint);
}

.pg-foot p { margin: 0 0 8px; }

.pg-success {
  display: none;
}

.pg-success.is-on { display: block; }
.pg-form.is-off { display: none; }
