.page-contact {
  background:
    radial-gradient(900px 520px at 88% -8%, rgba(34, 211, 197, 0.10), transparent 65%),
    radial-gradient(700px 480px at 2% 16%, rgba(255, 106, 42, 0.07), transparent 62%),
    var(--ink);
  color: var(--paper);
  overflow-x: clip;
  padding-bottom: clamp(44px, 7vw, 88px);
}

.page-contact .container {
  max-width: 1240px;
}

/* —— 面包屑 —— */
.page-contact .breadcrumb {
  padding-block: clamp(14px, 2.4vw, 26px) 0;
}
.page-contact .breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
}
.page-contact .breadcrumb-link {
  color: var(--warm);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}
.page-contact .breadcrumb-link:hover,
.page-contact .breadcrumb-link:focus-visible {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}
.page-contact .breadcrumb-sep {
  color: rgba(200, 164, 90, 0.7);
}
.page-contact .breadcrumb-current {
  color: var(--paper);
}

/* —— 通用排版 —— */
.page-contact .eyebrow {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
}

.page-contact .media-frame {
  position: relative;
  margin: 0;
  border: 1px solid var(--line-strong);
  background: repeating-linear-gradient(135deg, rgba(243, 238, 227, 0.05) 0 10px, transparent 10px 20px) var(--hull);
  overflow: hidden;
}
.page-contact .media-frame img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.page-contact .media-caption {
  padding: 10px 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--warm);
  border-top: 1px solid var(--line);
  background: rgba(7, 16, 25, 0.6);
}

/* —— 首屏 —— */
.fb-hero {
  padding-block: clamp(20px, 3.6vw, 40px) clamp(30px, 5vw, 56px);
}
.fb-hero-grid {
  display: grid;
  gap: clamp(24px, 4vw, 40px);
}
.fb-title-block {
  position: relative;
  min-width: 0;
}
.fb-ghost {
  position: absolute;
  top: -8px;
  left: -4px;
  z-index: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(76px, 19vw, 168px);
  line-height: 0.82;
  letter-spacing: 0.04em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(200, 164, 90, 0.28);
  pointer-events: none;
  user-select: none;
}
.fb-h1 {
  position: relative;
  z-index: 1;
  margin: 0.42em 0 16px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 5.6vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--paper);
}
.fb-h1-mark {
  color: var(--orange);
}
.fb-lede {
  position: relative;
  z-index: 1;
  max-width: 46ch;
  margin: 0;
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(243, 238, 227, 0.8);
}

/* —— 问题类型选择台 —— */
.type-picker {
  position: relative;
  margin-top: clamp(20px, 3.4vw, 30px);
  padding: clamp(14px, 2.4vw, 20px);
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, rgba(27, 37, 48, 0.92), rgba(18, 23, 29, 0.92));
  box-shadow: 8px 8px 0 rgba(7, 16, 25, 0.55);
}
.type-picker::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--orange);
}
.type-kicker {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--warm);
}
.type-input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  border: 0;
}
.type-chips {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.type-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 11px 8px;
  border: 1px solid var(--line);
  background: rgba(7, 16, 25, 0.65);
  color: var(--warm);
  font-size: 0.84rem;
  letter-spacing: 0.04em;
  text-align: center;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.type-chip:hover {
  border-color: var(--line-strong);
  color: var(--paper);
  transform: translateY(-2px);
}
#t-rule:checked ~ .type-chips [for="t-rule"],
#t-lineup:checked ~ .type-chips [for="t-lineup"],
#t-sub:checked ~ .type-chips [for="t-sub"],
#t-page:checked ~ .type-chips [for="t-page"] {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--ink);
  font-weight: 600;
}
#t-rule:focus-visible ~ .type-chips [for="t-rule"],
#t-lineup:focus-visible ~ .type-chips [for="t-lineup"],
#t-sub:focus-visible ~ .type-chips [for="t-sub"],
#t-page:focus-visible ~ .type-chips [for="t-page"] {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.type-panels {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--line-strong);
}
.type-panel {
  display: none;
}
#t-rule:checked ~ .type-panels [data-panel="rule"],
#t-lineup:checked ~ .type-panels [data-panel="lineup"],
#t-sub:checked ~ .type-panels [data-panel="sub"],
#t-page:checked ~ .type-panels [data-panel="page"] {
  display: block;
}
.tmpl-label {
  margin: 0 0 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}
.tmpl-subject {
  margin: 0 0 14px;
  padding: 9px 11px;
  border-left: 2px solid var(--cyan);
  background: rgba(34, 211, 197, 0.08);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--paper);
  word-break: break-word;
}
.tmpl-list {
  margin: 0 0 16px;
  padding-left: 1.1em;
  font-size: 0.9rem;
  line-height: 1.75;
  color: rgba(243, 238, 227, 0.78);
}
.tmpl-list li + li {
  margin-top: 4px;
}
.tmpl-actions {
  margin: 0;
}
.fb-btn {
  display: inline-block;
  padding: 11px 20px;
  background: var(--orange);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-decoration: none;
  border: 1px solid var(--orange);
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}
.fb-btn:hover,
.fb-btn:focus-visible {
  background: transparent;
  color: var(--orange);
  box-shadow: 4px 4px 0 rgba(255, 106, 42, 0.35);
}

/* —— 首屏右侧 —— */
.fb-aside {
  display: grid;
  gap: 14px;
  min-width: 0;
}
.fb-card {
  border: 1px solid var(--line);
  background: var(--hull);
  padding: clamp(14px, 2.2vw, 20px);
  box-shadow: 6px 6px 0 rgba(255, 106, 42, 0.14);
}
.fb-card-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 14px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}
.fb-card-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.fb-card-row:first-child {
  padding-top: 0;
}
.fb-card-key {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--warm);
}
.fb-card-val {
  font-family: var(--font-mono);
  font-size: 0.86rem;
  color: var(--paper);
  text-decoration: none;
  word-break: break-word;
  border-bottom: 1px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}
a.fb-card-val:hover,
a.fb-card-val:focus-visible {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}

/* —— 章节骨架 —— */
.fb-section {
  padding-block: clamp(32px, 5vw, 64px);
  border-top: 1px solid var(--line);
}
.fb-section-head {
  max-width: 62ch;
  margin-bottom: clamp(20px, 3vw, 32px);
}
.fb-h2 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 3.6vw, 2.4rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--paper);
}
.fb-sub {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.78;
  color: rgba(243, 238, 227, 0.72);
}

/* —— 提交前准备 —— */
.fb-prepare {
  display: grid;
  gap: clamp(20px, 3vw, 32px);
}
.prep-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: prep;
}
.prep-item {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--line);
}
.prep-item:first-child {
  padding-top: 0;
}
.prep-num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--gold);
  padding-top: 3px;
}
.prep-title {
  margin: 0 0 5px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--paper);
}
.prep-text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.75;
  color: rgba(243, 238, 227, 0.72);
}
.prep-text code {
  font-family: var(--font-mono);
  font-size: 0.84rem;
  color: var(--cyan);
  background: rgba(34, 211, 197, 0.1);
  padding: 1px 5px;
  word-break: break-all;
}

/* —— 问题类型卡片 —— */
.type-grid {
  display: grid;
  gap: 12px;
}
.type-card {
  position: relative;
  padding: clamp(16px, 2.4vw, 24px);
  background: var(--hull);
  border: 1px solid var(--line);
  border-left: 3px solid var(--slate);
  transition: transform 0.18s ease, border-left-color 0.18s ease;
}
.type-card:hover {
  transform: translateY(-2px);
  border-left-color: var(--cyan);
}
.type-num {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.type-card-title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.25;
  color: var(--paper);
}
.type-card-text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.75;
  color: rgba(243, 238, 227, 0.72);
}
.fb-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}
.fb-link {
  display: inline-block;
  margin-top: 14px;
  padding-bottom: 2px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(34, 211, 197, 0.35);
  transition: color 0.18s ease, border-color 0.18s ease;
}
.fb-link::after {
  content: " →";
}
.fb-link:hover,
.fb-link:focus-visible {
  color: var(--paper);
  border-bottom-color: var(--orange);
}
.fb-link-row .fb-link {
  margin-top: 14px;
}

/* —— 服务时间带 —— */
.hours-band {
  position: relative;
  display: grid;
  gap: 20px;
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid var(--line-strong);
  background: linear-gradient(120deg, rgba(14, 77, 74, 0.55), rgba(18, 23, 29, 0.92) 58%);
}
.hours-band::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background: repeating-linear-gradient(90deg, var(--gold) 0 2px, transparent 2px 12px);
  opacity: 0.55;
}
.hours-main {
  min-width: 0;
  padding-top: 6px;
}
.hours-big {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 4.4vw, 2.6rem);
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: var(--paper);
}
.hours-note {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.78;
  color: rgba(243, 238, 227, 0.78);
}
.hours-points {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}
.hours-points li {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr);
  gap: 10px;
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(243, 238, 227, 0.8);
}
.hours-points li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 0.55em;
  background: var(--cyan);
}

/* —— 联系信息牌 —— */
.plate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
}
.plate {
  position: relative;
  padding: 16px 18px 18px;
  border: 1px solid var(--line);
  background: var(--hull);
  min-width: 0;
}
.plate::after {
  content: "";
  position: absolute;
  top: 10px;
  right: 10px;
  width: 10px;
  height: 10px;
  border-top: 1px solid var(--gold);
  border-right: 1px solid var(--gold);
}
.plate-key {
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--warm);
}
.plate-value {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--paper);
  word-break: break-word;
}
.plate-link {
  color: var(--paper);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}
.plate-link:hover,
.plate-link:focus-visible {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}
.fb-note {
  margin: 16px 0 0;
  padding-left: 12px;
  border-left: 2px solid var(--gold);
  font-size: 0.88rem;
  line-height: 1.75;
  color: rgba(243, 238, 227, 0.7);
}

/* —— 响应式 —— */
@media (min-width: 620px) {
  .type-chips {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 760px) {
  .type-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  .plate--wide {
    grid-column: span 2;
  }
}

@media (min-width: 920px) {
  .fb-hero-grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    align-items: start;
  }
  .fb-prepare {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: start;
  }
  .hours-band {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
  }
  .fb-ghost {
    top: -18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-contact .type-chip,
  .page-contact .type-card,
  .page-contact .fb-btn,
  .page-contact .fb-link,
  .page-contact .fb-card-val,
  .page-contact .plate-link,
  .page-contact .breadcrumb-link {
    transition: none;
  }
  .type-chip:hover,
  .type-card:hover {
    transform: none;
  }
}
