/* ============================================
   page-contact ｜ 联系入口
   ============================================ */
.page-contact .contact-channels,
.page-contact .contact-location {
  background: var(--white);
}

.page-contact .contact-hero,
.page-contact .contact-hours,
.page-contact .contact-assist {
  background: var(--paper);
}

/* ---------- Hero ---------- */
.page-contact .contact-hero {
  position: relative;
  overflow: hidden;
  padding: 46px 0 60px;
}

.page-contact .contact-hero::before {
  content: "";
  position: absolute;
  top: -48px;
  right: -40px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(242, 92, 5, 0.14);
}

.page-contact .contact-hero::after {
  content: "";
  position: absolute;
  bottom: -52px;
  left: -32px;
  width: 140px;
  height: 140px;
  border-radius: 44px;
  background: rgba(139, 47, 201, 0.1);
  transform: rotate(24deg);
}

.page-contact .contact-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}

.page-contact .contact-hero__copy {
  max-width: 640px;
}

.page-contact .contact-hero__copy h1 {
  margin: 18px 0 18px;
  font-size: clamp(2.4rem, 7vw, 3.9rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.page-contact .contact-hero__copy h1::after {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-left: 12px;
  margin-top: 14px;
  background: var(--grad);
  border-radius: 50%;
  vertical-align: top;
}

.page-contact .contact-hero__lead {
  max-width: 520px;
  margin: 0;
  color: var(--gray-text);
  font-size: 1.0625rem;
  line-height: 1.8;
}

.page-contact .contact-hero__list {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-contact .contact-hero__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--ink);
}

.page-contact .contact-hero__list li::before {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
}

.page-contact .contact-hero__mark {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  min-height: 260px;
}

.page-contact .contact-hero__svg {
  width: 100%;
  max-width: 460px;
  height: auto;
}

.page-contact .contact-hero__road {
  stroke: var(--ink);
  stroke-width: 2;
  stroke-linecap: round;
}

.page-contact .contact-hero__road--dash {
  stroke-dasharray: 8 8;
  opacity: 0.6;
}

.page-contact .contact-hero__node {
  stroke: var(--paper);
  stroke-width: 3;
}

.page-contact .contact-hero__node--small {
  stroke-width: 2;
}

.page-contact .contact-hero__node--orange {
  fill: var(--orange);
}

.page-contact .contact-hero__node--yellow {
  fill: var(--yellow);
}

.page-contact .contact-hero__node--purple {
  fill: var(--purple);
}

.page-contact .contact-hero__node--ink {
  fill: var(--ink);
}

.page-contact .contact-hero__tile {
  fill: url(#contact-hero-grad);
}

/* ---------- 联系方式 ---------- */
.page-contact .contact-channels {
  padding: 64px 0 72px;
}

.page-contact .contact-channels__top {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
}

.page-contact .contact-channels__top h2,
.page-contact .contact-location__copy h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  line-height: 1.15;
  margin: 8px 0 0;
}

.page-contact .contact-channels__note {
  max-width: 360px;
  margin: 0;
  color: var(--gray-text);
  line-height: 1.7;
}

.page-contact .contact-channels__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: stretch;
}

.page-contact .contact-channels__visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.page-contact .contact-channels__img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-contact .contact-channels__badge {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.page-contact .contact-channels__list {
  display: flex;
  flex-direction: column;
}

.page-contact .contact-channel {
  display: flex;
  gap: 16px;
  padding: 26px 2px;
  border-bottom: 1px solid var(--line);
}

.page-contact .contact-channel:last-child {
  border-bottom: 0;
}

.page-contact .contact-channel__num {
  flex: 0 0 auto;
  margin-top: 6px;
  font-size: 0.75rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.1em;
  color: var(--orange);
}

.page-contact .contact-channel__content {
  flex: 1;
  min-width: 0;
}

.page-contact .contact-channel__content h3 {
  margin: 0 0 6px;
  font-size: 1.125rem;
}

.page-contact .contact-channel__desc {
  margin: 0 0 12px;
  font-size: 0.875rem;
  color: var(--gray-text);
  line-height: 1.6;
}

.page-contact .contact-channel__value {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.5;
  font-weight: 700;
  word-break: break-word;
}

.page-contact .contact-channel__value a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid var(--yellow);
  transition: color var(--speed-fast), border-color var(--speed-fast);
}

.page-contact .contact-channel__value a:hover,
.page-contact .contact-channel__value a:focus-visible {
  color: var(--orange);
  border-color: var(--orange);
}

.page-contact .contact-channel__tip {
  display: inline-block;
  margin: 10px 0 0;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(242, 92, 5, 0.1);
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 600;
}

.page-contact .contact-channel__address {
  font-style: normal;
}

/* ---------- 服务时间 ---------- */
.page-contact .contact-hours {
  padding: 72px 0 64px;
}

.page-contact .contact-hours__panel {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 40px 26px;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-float);
}

.page-contact .contact-hours__panel::before {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: var(--purple);
  opacity: 0.85;
}

.page-contact .contact-hours__panel::after {
  content: "";
  position: absolute;
  left: -36px;
  bottom: -36px;
  width: 76px;
  height: 76px;
  border-radius: 22px;
  background: var(--orange);
  transform: rotate(18deg);
  opacity: 0.9;
}

.page-contact .contact-hours__info,
.page-contact .contact-hours__table {
  position: relative;
  z-index: 1;
}

.page-contact .contact-hours__info h2 {
  margin: 10px 0 12px;
  color: var(--paper);
  font-size: 2rem;
}

.page-contact .contact-hours__desc {
  margin: 0;
  max-width: 460px;
  color: rgba(245, 240, 232, 0.78);
  font-size: 0.9375rem;
  line-height: 1.8;
}

.page-contact .contact-hours__table {
  display: flex;
  flex-direction: column;
  padding: 8px 18px;
  border: 1px solid rgba(245, 240, 232, 0.2);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
}

.page-contact .contact-hours__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(245, 240, 232, 0.14);
}

.page-contact .contact-hours__row:last-child {
  border-bottom: 0;
}

.page-contact .contact-hours__label {
  font-size: 0.9rem;
  color: rgba(245, 240, 232, 0.76);
}

.page-contact .contact-hours__time {
  font-size: 1.0625rem;
  color: var(--paper);
  font-weight: 700;
  white-space: nowrap;
}

.page-contact .contact-hours__tag {
  position: absolute;
  right: 16px;
  bottom: 12px;
  z-index: 1;
  padding: 6px 12px;
  border: 1px solid rgba(245, 240, 232, 0.35);
  border-radius: 999px;
  color: rgba(245, 240, 232, 0.66);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
}

/* ---------- 地图示意 ---------- */
.page-contact .contact-location {
  padding: 76px 0 80px;
}

.page-contact .contact-location__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}

.page-contact .contact-location__desc {
  max-width: 480px;
  margin: 0 0 22px;
  color: var(--gray-text);
  line-height: 1.8;
}

.page-contact .contact-location__marks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-contact .contact-location__chip {
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--muted);
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 600;
}

.page-contact .contact-location__map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.page-contact .contact-location__img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* ---------- 辅助入口 ---------- */
.page-contact .contact-assist {
  padding: 56px 0 80px;
}

.page-contact .contact-assist__box {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}

.page-contact .contact-assist__box h2 {
  margin: 8px 0 4px;
  font-size: 1.75rem;
}

.page-contact .contact-assist__desc {
  margin: 0;
  color: var(--gray-text);
  line-height: 1.7;
}

.page-contact .contact-assist__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- 平板与桌面 ---------- */
@media (min-width: 768px) {
  .page-contact .contact-hero {
    padding: 64px 0 84px;
  }

  .page-contact .contact-hero__inner {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
  }

  .page-contact .contact-hero__copy h1 {
    font-size: clamp(2.9rem, 5vw, 4.25rem);
  }

  .page-contact .contact-hero__mark {
    min-height: 320px;
  }

  .page-contact .contact-channels {
    padding: 84px 0 92px;
  }

  .page-contact .contact-channels__top {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 44px;
  }

  .page-contact .contact-channels__grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 44px;
  }

  .page-contact .contact-hours {
    padding: 92px 0 84px;
  }

  .page-contact .contact-hours__panel {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    padding: 56px 52px;
  }

  .page-contact .contact-hours__table {
    min-width: 320px;
  }

  .page-contact .contact-location {
    padding: 92px 0 104px;
  }

  .page-contact .contact-location__grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 48px;
  }

  .page-contact .contact-assist {
    padding: 76px 0 96px;
  }

  .page-contact .contact-assist__box {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
  }

  .page-contact .contact-assist__links {
    flex-wrap: nowrap;
  }
}
