.page-contact {
  --fc-hair: rgba(143, 168, 157, 0.16);
  --fc-card: rgba(14, 36, 28, 0.62);
  --fc-gap: 22px;
}

.page-contact .breadcrumb {
  margin: 0 0 22px;
}

/* ---------- 首屏 ---------- */
.page-contact .fc-hero {
  position: relative;
  display: grid;
  gap: 26px;
  padding: 6px 0 34px;
  border-bottom: var(--hair);
  background-image:
    linear-gradient(var(--fc-hair) 1px, transparent 1px),
    linear-gradient(90deg, var(--fc-hair) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: -1px -1px;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 62%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 62%, transparent 100%);
}

.page-contact .fc-hero__lead {
  min-width: 0;
}

.page-contact .fc-hero .display {
  margin: 10px 0 16px;
  max-width: 15ch;
  line-height: 1.02;
}

.page-contact .fc-hero .lede {
  max-width: 62ch;
}

.page-contact .fc-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.page-contact .fc-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--fc-hair);
  border: var(--hair);
  align-self: start;
}

.page-contact .fc-steps li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 13px 15px;
  background: var(--ink-soft);
  transition: background 180ms ease;
}

.page-contact .fc-steps li:hover {
  background: var(--green-deep);
}

.page-contact .fc-steps .mono {
  color: var(--accent);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.page-contact .fc-steps a {
  color: var(--paper);
  text-decoration: none;
  font-size: 14px;
  border-bottom: 1px solid transparent;
  transition: border-color 160ms ease, color 160ms ease;
}

.page-contact .fc-steps a:hover {
  color: var(--accent-soft);
  border-bottom-color: var(--accent);
}

/* ---------- 时间条 ---------- */
.page-contact .fc-ticker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: 18px;
  padding: 12px 16px;
  background: var(--green-deep);
  border-left: 3px solid var(--accent);
}

.page-contact .fc-ticker__dot {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  background: var(--accent);
  border-radius: 50%;
}

.page-contact .fc-ticker__time {
  color: var(--accent);
  font-size: 13px;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.page-contact .fc-ticker__text {
  color: var(--paper);
  font-size: 13.5px;
  line-height: 1.6;
}

/* ---------- 反馈类型 ---------- */
.page-contact .fc-intake__head {
  max-width: 74ch;
}

.page-contact .fc-intake__head h2 {
  margin: 8px 0 12px;
}

.page-contact .fc-intake__head p {
  color: var(--mist);
  font-size: 15.5px;
  line-height: 1.8;
}

.page-contact .fc-switch {
  display: grid;
  gap: 18px;
  margin-top: 26px;
}

.page-contact .fc-radio {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.page-contact .fc-switch__tabs {
  display: grid;
  gap: 1px;
  background: var(--fc-hair);
  border: var(--hair);
  align-self: start;
}

.page-contact .fc-switch__tabs label {
  display: grid;
  grid-template-columns: 22px 1fr;
  column-gap: 12px;
  row-gap: 4px;
  padding: 14px 16px;
  background: var(--ink-soft);
  border-left: 3px solid transparent;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease;
}

.page-contact .fc-switch__tabs label:hover {
  background: var(--green-deep);
}

.page-contact .fc-switch__tabs label > .mono {
  grid-row: 1 / span 2;
  color: var(--mist);
  font-size: 12px;
  line-height: 1.6;
}

.page-contact .fc-switch__tabs label > span:nth-child(2) {
  color: var(--paper);
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.page-contact .fc-switch__tabs label > em {
  grid-column: 2;
  color: var(--mist);
  font-size: 12.5px;
  font-style: normal;
  line-height: 1.55;
}

.page-contact #fc-t1:checked ~ .fc-switch__tabs > label:nth-child(1),
.page-contact #fc-t2:checked ~ .fc-switch__tabs > label:nth-child(2),
.page-contact #fc-t3:checked ~ .fc-switch__tabs > label:nth-child(3),
.page-contact #fc-t4:checked ~ .fc-switch__tabs > label:nth-child(4) {
  background: var(--green-mid);
  border-left-color: var(--accent);
}

.page-contact #fc-t1:checked ~ .fc-switch__tabs > label:nth-child(1) > .mono,
.page-contact #fc-t2:checked ~ .fc-switch__tabs > label:nth-child(2) > .mono,
.page-contact #fc-t3:checked ~ .fc-switch__tabs > label:nth-child(3) > .mono,
.page-contact #fc-t4:checked ~ .fc-switch__tabs > label:nth-child(4) > .mono {
  color: var(--accent);
}

.page-contact .fc-radio:focus-visible ~ .fc-switch__tabs label[for="fc-t1"],
.page-contact .fc-radio:focus-visible ~ .fc-switch__tabs label[for="fc-t2"],
.page-contact .fc-radio:focus-visible ~ .fc-switch__tabs label[for="fc-t3"],
.page-contact .fc-radio:focus-visible ~ .fc-switch__tabs label[for="fc-t4"] {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

.page-contact .fc-switch__panels {
  min-width: 0;
}

.page-contact .fc-switch__panels > .fc-panel {
  display: none;
}

.page-contact #fc-t1:checked ~ .fc-switch__panels > .fc-panel:nth-child(1),
.page-contact #fc-t2:checked ~ .fc-switch__panels > .fc-panel:nth-child(2),
.page-contact #fc-t3:checked ~ .fc-switch__panels > .fc-panel:nth-child(3),
.page-contact #fc-t4:checked ~ .fc-switch__panels > .fc-panel:nth-child(4) {
  display: block;
}

.page-contact .fc-panel {
  padding: 22px 20px;
  background: var(--fc-card);
  border: var(--hair);
  border-top: 2px solid var(--accent);
}

.page-contact .fc-panel h3 {
  margin: 0 0 12px;
  font-size: 21px;
  line-height: 1.35;
  color: var(--paper);
}

.page-contact .fc-panel p {
  color: var(--mist);
  font-size: 15px;
  line-height: 1.8;
  margin: 0 0 12px;
}

.page-contact .fc-panel__label {
  margin: 18px 0 6px;
  color: var(--mist);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.page-contact .fc-panel__subject {
  margin: 0;
  padding: 11px 14px;
  background: var(--ink);
  border: 1px dashed rgba(200, 255, 77, 0.42);
  color: var(--accent-soft);
  font-size: 13.5px;
  line-height: 1.65;
  word-break: break-word;
}

.page-contact .fc-panel__list {
  list-style: none;
  margin: 16px 0 18px;
  padding: 0;
  display: grid;
  gap: 9px;
}

.page-contact .fc-panel__list li {
  position: relative;
  padding-left: 16px;
  color: var(--paper);
  font-size: 14.5px;
  line-height: 1.7;
}

.page-contact .fc-panel__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 1px;
  background: var(--accent);
}

/* ---------- 材料清单 ---------- */
.page-contact .fc-kit__grid {
  display: grid;
  gap: 26px;
  align-items: start;
}

.page-contact .fc-kit__figure {
  margin: 0;
}

.page-contact .fc-kit__figure .media__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-contact .fc-kit__body h2 {
  margin: 8px 0 12px;
}

.page-contact .fc-kit__body > p {
  color: var(--mist);
  font-size: 15.5px;
  line-height: 1.8;
  max-width: 64ch;
}

.page-contact .fc-checklist {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--fc-hair);
  border: var(--hair);
}

.page-contact .fc-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 15px;
  background: var(--ink-soft);
  cursor: pointer;
  transition: background 180ms ease;
}

.page-contact .fc-check:hover {
  background: var(--green-deep);
}

.page-contact .fc-check input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.page-contact .fc-check__box {
  position: relative;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  border: 1px solid rgba(143, 168, 157, 0.55);
  background: transparent;
  transition: background 160ms ease, border-color 160ms ease;
}

.page-contact .fc-check__box::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 10px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: rotate(40deg) scale(0);
  transition: transform 160ms ease;
}

.page-contact .fc-check input:checked + .fc-check__box {
  background: var(--accent);
  border-color: var(--accent);
}

.page-contact .fc-check input:checked + .fc-check__box::after {
  transform: rotate(40deg) scale(1);
}

.page-contact .fc-check input:focus-visible + .fc-check__box {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.page-contact .fc-check__text {
  color: var(--mist);
  font-size: 14.5px;
  line-height: 1.7;
}

.page-contact .fc-check__text strong {
  display: block;
  color: var(--paper);
  font-weight: 600;
  margin-bottom: 3px;
}

/* ---------- 回复时段 ---------- */
.page-contact .fc-hours__grid {
  display: grid;
  gap: 26px;
  align-items: start;
}

.page-contact .fc-hours__body h2 {
  margin: 8px 0 14px;
}

.page-contact .fc-hours__body > p {
  color: var(--mist);
  font-size: 15.5px;
  line-height: 1.8;
  max-width: 64ch;
}

.page-contact .fc-hours__body .mono {
  color: var(--accent-soft);
  word-break: break-all;
}

.page-contact .fc-hours__list {
  margin: 24px 0 0;
  display: grid;
  gap: 1px;
  background: var(--fc-hair);
  border: var(--hair);
}

.page-contact .fc-hours__list > div {
  display: grid;
  gap: 5px;
  padding: 14px 16px;
  background: var(--ink-soft);
}

.page-contact .fc-hours__list dt {
  color: var(--accent);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.page-contact .fc-hours__list dd {
  margin: 0;
  color: var(--paper);
  font-size: 14.5px;
  line-height: 1.7;
}

.page-contact .fc-hours__figure {
  margin: 0;
}

.page-contact .fc-hours__figure .media__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- 联系信息 ---------- */
.page-contact .fc-contacts__head {
  max-width: 70ch;
}

.page-contact .fc-contacts__head h2 {
  margin: 8px 0 12px;
}

.page-contact .fc-contacts__head p {
  color: var(--mist);
  font-size: 15.5px;
  line-height: 1.8;
}

.page-contact .fc-contacts__panel {
  margin-top: 22px;
  padding: 18px 16px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.page-contact .fc-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  text-align: left;
}

.page-contact .fc-table__caption {
  caption-side: top;
  padding-bottom: 12px;
  text-align: left;
  color: var(--accent);
  font-size: 12px;
  letter-spacing: 0.1em;
}

.page-contact .fc-table th,
.page-contact .fc-table td {
  padding: 13px 12px;
  vertical-align: top;
  border-top: 1px solid rgba(200, 255, 77, 0.14);
}

.page-contact .fc-table th {
  width: 130px;
  color: var(--paper);
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
}

.page-contact .fc-table td.mono {
  color: var(--accent-soft);
  font-size: 13.5px;
  line-height: 1.6;
  word-break: break-word;
}

.page-contact .fc-table td:last-child {
  color: var(--mist);
  font-size: 13.5px;
  line-height: 1.7;
}

/* ---------- 来信与到访 ---------- */
.page-contact .fc-visit__card {
  padding: 22px 20px;
  background: var(--carbon);
  border: var(--hair);
  border-left: 3px solid var(--ember);
}

.page-contact .fc-visit__card h2 {
  margin: 8px 0 12px;
  font-size: 24px;
  color: var(--paper);
}

.page-contact .fc-visit__card p {
  color: var(--mist);
  font-size: 15px;
  line-height: 1.8;
  max-width: 70ch;
  margin: 0 0 12px;
}

.page-contact .fc-visit__card .link-arrow {
  color: var(--ember);
}

/* ---------- 隐私与条款 ---------- */
.page-contact .fc-privacy__grid {
  display: grid;
  gap: 18px;
}

.page-contact .fc-privacy__card {
  padding: 22px 20px;
}

.page-contact .fc-privacy__card h2 {
  margin: 0 0 12px;
  font-size: 21px;
  line-height: 1.35;
  color: var(--paper);
}

.page-contact .fc-privacy__card p {
  color: var(--paper);
  font-size: 14.5px;
  line-height: 1.8;
  margin: 0 0 12px;
}

.page-contact .fc-privacy__card .link-arrow {
  color: var(--accent);
}

/* ---------- 桌面 ---------- */
@media (min-width: 880px) {
  .page-contact .fc-hero {
    grid-template-columns: minmax(0, 1fr) 258px;
    align-items: end;
    padding-bottom: 44px;
  }

  .page-contact .fc-ticker {
    padding: 13px 20px;
  }

  .page-contact .fc-switch {
    grid-template-columns: 282px minmax(0, 1fr);
    gap: 24px;
  }

  .page-contact .fc-panel {
    padding: 28px 26px;
    min-height: 100%;
  }

  .page-contact .fc-kit__grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 36px;
    align-items: start;
  }

  .page-contact .fc-kit__figure {
    position: sticky;
    top: 24px;
  }

  .page-contact .fc-hours__grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 36px;
  }

  .page-contact .fc-hours__list > div {
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 16px;
    align-items: baseline;
  }

  .page-contact .fc-privacy__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-contact .fc-visit__card {
    padding: 30px 34px;
  }
}

@media (min-width: 1180px) {
  .page-contact .fc-hero {
    grid-template-columns: minmax(0, 1fr) 288px;
  }

  .page-contact .fc-switch {
    grid-template-columns: 320px minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-contact .fc-steps li,
  .page-contact .fc-switch__tabs label,
  .page-contact .fc-check,
  .page-contact .fc-check__box,
  .page-contact .fc-check__box::after {
    transition: none;
  }
}
