.page-contact {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

.page-contact .breadcrumb {
  padding-top: clamp(16px, 3vw, 24px);
  font-size: 13px;
}

.page-contact .breadcrumb__link {
  color: var(--lake-deep);
  font-weight: 600;
}

.page-contact a:focus-visible,
.page-contact button:focus-visible,
.page-contact input:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 2px;
}

.page-contact img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ---------- 首屏 ---------- */
.contact-mast {
  position: relative;
  padding: clamp(22px, 4vw, 44px) 0 clamp(34px, 6vw, 68px);
  background:
    radial-gradient(120% 100% at 88% 0%, rgba(28, 154, 139, 0.16), transparent 62%),
    linear-gradient(180deg, var(--paper) 0%, rgba(207, 231, 227, 0.5) 100%);
  border-bottom: 1px solid var(--line);
}

.contact-mast::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(42%, 460px);
  height: 6px;
  background: repeating-linear-gradient(90deg, var(--coral) 0 14px, transparent 14px 28px);
}

.contact-mast__inner {
  display: grid;
  gap: 16px;
}

.contact-mast__title {
  margin: 0;
  max-width: 20ch;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(32px, 7vw, 62px);
  line-height: 1.14;
  letter-spacing: -0.02em;
}

.contact-mast__lede {
  margin: 0;
  max-width: 58ch;
  font-size: clamp(15px, 2.2vw, 17px);
  color: var(--ink-soft);
}

.contact-mast__tags {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* ---------- 渠道 + 三步 ---------- */
.contact-board {
  padding: clamp(36px, 7vw, 76px) 0;
}

.contact-board__inner {
  display: grid;
  gap: clamp(32px, 5vw, 56px);
}

.contact-h2 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(23px, 4.2vw, 36px);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.contact-lede {
  margin: 0 0 22px;
  max-width: 44ch;
  font-size: 15px;
  color: var(--ink-soft);
}

.channel-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.channel-card {
  position: relative;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-paper);
  padding: 18px 18px 20px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.channel-card:hover {
  transform: translateY(-3px);
  border-color: var(--lake);
  box-shadow: var(--shadow-lift);
}

.channel-card__label {
  display: inline-block;
  margin-bottom: 10px;
  padding: 3px 9px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--violet);
  background: rgba(91, 75, 196, 0.08);
  border: 1px solid rgba(91, 75, 196, 0.28);
  border-radius: var(--radius);
}

.channel-card__value {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(17px, 3.6vw, 21px);
  line-height: 1.35;
  color: var(--ink);
  text-decoration: none;
  word-break: break-word;
  background-image: linear-gradient(var(--lake), var(--lake));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 2px;
  transition: background-size 0.25s ease;
}

a.channel-card__value:hover,
a.channel-card__value:focus-visible {
  background-size: 100% 2px;
  color: var(--lake-deep);
}

.channel-card__text {
  margin: 8px 0 0;
  font-size: 14.5px;
  color: var(--ink-soft);
}

.channel-meta {
  margin: 16px 0 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}

.contact-board__figure {
  margin: 26px 0 0;
}

.contact-board__figure .figure__frame {
  border: 1px solid var(--line);
  background: var(--paper-raised);
  padding: 8px;
  box-shadow: var(--shadow-paper);
}

.contact-board__figure img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.contact-board__figure .figure__caption {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* ---------- 三步路径 ---------- */
.flow {
  list-style: none;
  margin: 0;
  padding: 0;
}

.flow__item {
  position: relative;
  padding: 0 0 26px 58px;
}

.flow__item:last-child {
  padding-bottom: 0;
}

.flow__item::before {
  content: "";
  position: absolute;
  left: 21px;
  top: 46px;
  bottom: 2px;
  border-left: 2px dashed rgba(30, 111, 140, 0.38);
}

.flow__item:last-child::before {
  display: none;
}

.flow__num {
  position: absolute;
  left: 0;
  top: 0;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
  color: var(--paper-raised);
  background: var(--lake);
  border-radius: 50%;
  box-shadow: 3px 3px 0 rgba(217, 201, 168, 0.6);
}

.flow__item:nth-child(2) .flow__num {
  background: var(--teal);
}

.flow__item:nth-child(3) .flow__num {
  background: var(--coral-deep);
}

.flow__title {
  margin: 6px 0 6px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  line-height: 1.35;
}

.flow__text {
  margin: 0;
  font-size: 14.5px;
  color: var(--ink-soft);
}

.flow__link {
  color: var(--lake-deep);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(30, 111, 140, 0.4);
  text-underline-offset: 3px;
}

.flow__link:hover {
  text-decoration-color: var(--coral);
}

/* ---------- 三类来意 ---------- */
.contact-handoff {
  padding: clamp(36px, 7vw, 76px) 0;
  background: linear-gradient(180deg, var(--mist) 0%, rgba(207, 231, 227, 0.55) 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.contact-handoff__grid {
  display: grid;
  gap: 16px;
}

.handoff-card {
  display: flex;
  flex-direction: column;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-top: 4px solid var(--lake);
  padding: 20px 18px 18px;
  box-shadow: var(--shadow-paper);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.handoff-card:nth-child(2) {
  border-top-color: var(--teal);
}

.handoff-card:nth-child(3) {
  border-top-color: var(--coral);
}

.handoff-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
}

.handoff-card__title {
  margin: 12px 0 8px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 19px;
  line-height: 1.3;
}

.handoff-card__text {
  margin: 0 0 16px;
  font-size: 14.5px;
  color: var(--ink-soft);
}

.handoff-card__link {
  margin-top: auto;
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--lake-deep);
  text-decoration: none;
  border-bottom: 2px solid var(--coral);
  padding-bottom: 2px;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.handoff-card__link:hover,
.handoff-card__link:focus-visible {
  color: var(--coral-deep);
  border-color: var(--lake);
}

/* ---------- 清单与时段 ---------- */
.contact-prep {
  padding: clamp(36px, 7vw, 80px) 0;
}

.contact-prep__inner {
  display: grid;
  gap: clamp(30px, 5vw, 52px);
}

.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.check-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 14px;
  background: var(--paper-raised);
  border: 1px dashed var(--line);
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.check-item:hover {
  border-color: var(--teal);
  border-style: solid;
}

.check-item input {
  appearance: none;
  -webkit-appearance: none;
  flex: none;
  width: 20px;
  height: 20px;
  margin: 3px 0 0;
  border: 2px solid var(--lake);
  border-radius: 2px;
  background: var(--paper-raised);
  position: relative;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.check-item input:checked {
  background: var(--teal);
  border-color: var(--teal);
}

.check-item input:checked::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 6px;
  height: 11px;
  border: solid var(--paper-raised);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.check-item__text {
  font-size: 15px;
  line-height: 1.6;
}

.check-item input:checked ~ .check-item__text {
  color: var(--ink-soft);
  text-decoration: line-through;
  text-decoration-color: rgba(23, 49, 58, 0.35);
}

.contact-prep__fine {
  margin: 18px 0 0;
  font-size: 13.5px;
  color: var(--ink-soft);
}

.contact-prep__fine a {
  color: var(--lake-deep);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hours {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.hours__item {
  position: relative;
  padding: 14px 16px 14px 46px;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-left: 3px solid var(--lake);
}

.hours__item--warm {
  border-left-color: var(--coral);
}

.hours__item::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 21px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 3px rgba(28, 154, 139, 0.18);
}

.hours__item--warm::before {
  background: var(--coral);
  box-shadow: 0 0 0 3px rgba(229, 103, 77, 0.2);
}

.hours__time {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.05em;
  color: var(--lake-deep);
}

.hours__text {
  margin: 0;
  font-size: 14.5px;
  color: var(--ink-soft);
}

.hours__link {
  color: var(--lake-deep);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-note {
  margin: 20px 0 0;
  padding: 15px 16px;
  font-size: 14.5px;
  background: rgba(229, 103, 77, 0.09);
  border-left: 4px solid var(--coral);
}

/* ---------- 返回索引 ---------- */
.contact-exit {
  padding: clamp(34px, 6vw, 62px) 0;
  background: var(--ink);
  color: var(--on-ink);
}

.contact-exit__inner {
  display: grid;
  gap: 22px;
}

.contact-exit__title {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(22px, 4.4vw, 32px);
  line-height: 1.25;
  color: var(--paper-raised);
}

.contact-exit__text {
  margin: 0;
  max-width: 46ch;
  font-size: 15px;
  color: var(--on-ink);
}

.contact-exit__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.contact-exit__links a {
  display: inline-block;
  padding: 9px 14px;
  font-size: 14px;
  color: var(--paper-raised);
  text-decoration: none;
  border: 1px solid rgba(207, 231, 227, 0.35);
  border-radius: var(--radius);
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.contact-exit__links a:hover,
.contact-exit__links a:focus-visible {
  background: rgba(207, 231, 227, 0.14);
  border-color: var(--coral);
  transform: translateY(-2px);
}

.page-contact .to-top {
  display: block;
  margin: 26px auto 0;
  padding: 10px 18px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: var(--ink);
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  box-shadow: var(--shadow-paper);
}

.page-contact .to-top:hover {
  border-color: var(--lake);
}

/* ---------- 响应式 ---------- */
@media (min-width: 720px) {
  .channel-card:nth-child(even) {
    margin-inline-start: 24px;
  }

  .contact-handoff__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
  }

  .handoff-card:nth-child(2) {
    margin-top: 22px;
  }

  .handoff-card:nth-child(3) {
    margin-top: 44px;
  }
}

@media (min-width: 900px) {
  .contact-board__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr);
    align-items: start;
  }

  .contact-prep__inner {
    grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
    align-items: start;
  }

  .contact-exit__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    align-items: center;
    gap: 32px;
  }

  .contact-exit__links {
    justify-content: flex-end;
  }
}

@media (min-width: 1080px) {
  .contact-board__figure--flow {
    margin-top: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-contact .channel-card,
  .page-contact .handoff-card,
  .page-contact .contact-exit__links a,
  .page-contact .channel-card__value {
    transition: none;
  }

  .page-contact .channel-card:hover,
  .page-contact .handoff-card:hover,
  .page-contact .contact-exit__links a:hover {
    transform: none;
  }
}
