/* ============ 联系页 page-contact 专属样式 ============ */
.page-contact {
  --pc-map-line: rgba(255, 255, 255, 0.16);
  --pc-map-fill: rgba(240, 121, 42, 0.22);
  --pc-link-line: rgba(22, 22, 22, 0.08);
  background-color: var(--bg-cream);
  min-height: 100vh;
}

.page-contact *,
.page-contact *::before,
.page-contact *::after {
  box-sizing: border-box;
}

/* 面包屑 */
.page-contact .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-top: 24px;
  padding-bottom: 4px;
  font-size: 14px;
  color: var(--ink-soft);
}

/* ---------- 首屏大板块 ---------- */
.page-contact .pc-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 36px 0 20px;
}

.page-contact .pc-hero::before {
  content: "";
  position: absolute;
  top: -12px;
  right: -40px;
  width: 210px;
  height: 480px;
  background: repeating-linear-gradient(-45deg, var(--steel-gray) 0 2px, transparent 2px 14px);
  opacity: 0.3;
  transform: skewX(-14deg);
  pointer-events: none;
}

.page-contact .pc-hero::after {
  content: "";
  position: absolute;
  top: 42px;
  right: 18px;
  width: 108px;
  height: 108px;
  border: 3px solid var(--orange-hot);
  border-radius: 50%;
  opacity: 0.25;
  pointer-events: none;
}

.page-contact .pc-hero__copy {
  position: relative;
  z-index: 1;
}

.page-contact .pc-hero__kicker {
  color: var(--red-fire);
}

.page-contact .pc-hero h1 {
  margin: 14px 0 18px;
  font-family: var(--font-heavy);
  font-size: clamp(42px, 10vw, 68px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink-black);
}

.page-contact .pc-hero__accent {
  position: relative;
  z-index: 0;
  color: var(--red-fire);
}

.page-contact .pc-hero__accent::after {
  content: "";
  position: absolute;
  left: -4px;
  right: -4px;
  bottom: 0.04em;
  height: 0.28em;
  background: var(--orange-hot);
  border-radius: var(--radius-pill);
  z-index: -1;
  opacity: 0.45;
  transform: rotate(-1.5deg);
}

.page-contact .pc-hero__desc {
  max-width: 60ch;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-soft);
}

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

.page-contact .pc-hero__side {
  display: none;
}

.page-contact .pc-hero__rotated {
  writing-mode: vertical-rl;
  font-family: var(--font-heavy);
  font-size: 13px;
  letter-spacing: 0.48em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.page-contact .pc-hero__side::after {
  content: "";
  width: 6px;
  height: 120px;
  margin-top: 24px;
  background: linear-gradient(var(--orange-hot), var(--red-fire));
  border-radius: var(--radius-pill);
}

/* ---------- 客服渠道 Bento 区 ---------- */
.page-contact .pc-channels {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 24px;
}

.page-contact .pc-channel {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.page-contact .pc-channel--phone {
  background: var(--red-fire);
  color: #fff;
}

.page-contact .pc-channel--email {
  background: var(--ink-black);
  color: var(--bg-cream);
}

.page-contact .pc-channel--time {
  background: var(--orange-hot);
  color: var(--ink-black);
}

.page-contact .pc-channel__meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.page-contact .pc-channel__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  font-family: var(--font-heavy);
  font-size: 14px;
  line-height: 1;
}

.page-contact .pc-channel__label {
  font-size: 13px;
  letter-spacing: 0.14em;
  font-weight: 700;
  opacity: 0.88;
}

.page-contact .pc-channel__link {
  display: inline-block;
  margin: 6px 0 2px;
  font-family: var(--font-heavy);
  font-size: clamp(22px, 6.5vw, 32px);
  line-height: 1.18;
  color: inherit;
  text-decoration: none;
  word-break: break-all;
  overflow-wrap: anywhere;
}

.page-contact .pc-channel__note {
  max-width: 40ch;
  font-size: 14px;
  line-height: 1.65;
  opacity: 0.86;
  margin: 0;
}

.page-contact .pc-channel__tag {
  position: absolute;
  top: 16px;
  right: 18px;
  font-family: var(--font-heavy);
  font-size: 11px;
  letter-spacing: 0.26em;
  opacity: 0.38;
}

.page-contact .pc-channel--time .pc-channel__meta {
  flex: 1 1 100%;
}

.page-contact .pc-channel__days {
  font-family: var(--font-heavy);
  font-size: 24px;
  line-height: 1.2;
}

.page-contact .pc-channel__hours {
  font-family: var(--font-heavy);
  font-size: 28px;
  line-height: 1.2;
}

.page-contact .pc-channel--time .pc-channel__note {
  flex: 1 1 100%;
  margin: 0;
}

/* ---------- 办公地址区 ---------- */
.page-contact .pc-address {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 56px;
  padding: 28px 20px;
  border-radius: var(--radius-lg);
  background: var(--bg-tint);
  overflow: hidden;
}

.page-contact .pc-address::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--red-fire), var(--orange-hot), var(--blue-storm));
}

.page-contact .pc-address__kicker {
  color: var(--blue-storm);
}

.page-contact .pc-address h2 {
  margin: 10px 0 14px;
  font-family: var(--font-heavy);
  font-size: 28px;
  line-height: 1.2;
  color: var(--ink-black);
}

.page-contact .pc-address__line {
  margin: 0 0 16px;
  font-family: var(--font-heavy);
  font-size: 32px;
  line-height: 1.25;
  color: var(--ink-black);
}

.page-contact .pc-address__desc {
  max-width: 55ch;
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.page-contact .pc-address__note {
  margin-top: 18px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.55);
  border-left: 3px solid var(--orange-hot);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.page-contact .pc-address .link-underline {
  display: inline-block;
  margin-top: 18px;
}

.page-contact .pc-address__map {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--blue-storm);
  min-height: 260px;
}

.page-contact .pc-address__map::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(var(--pc-map-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--pc-map-line) 1px, transparent 1px);
  background-size: 28px 28px;
}

.page-contact .pc-address__map::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(circle at 42% 46%, var(--pc-map-fill), transparent 48%),
    linear-gradient(135deg, transparent 0%, rgba(22, 22, 22, 0.28) 100%);
}

.page-contact .pc-address__map img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  border: 0;
}

.page-contact .pc-map__pin {
  position: absolute;
  left: 50%;
  top: 44%;
  z-index: 3;
  width: 26px;
  height: 26px;
  background: var(--red-fire);
  border: 4px solid #fff;
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(22, 22, 22, 0.5);
  transform: translate(-50%, -50%);
}

.page-contact .pc-map__pin::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  width: 2px;
  height: 18px;
  background: var(--orange-hot);
  transform: translateX(-50%);
}

.page-contact .pc-map__word {
  position: absolute;
  right: 16px;
  bottom: 14px;
  z-index: 2;
  padding: 8px 12px;
  background: rgba(22, 22, 22, 0.35);
  border-radius: var(--radius-pill);
  font-family: var(--font-heavy);
  font-size: 12px;
  letter-spacing: 0.4em;
  color: #fff;
  opacity: 0.82;
}

/* ---------- 反馈与建议区 ---------- */
.page-contact .pc-feedback {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 56px;
  background: var(--blue-storm);
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: #fff;
}

.page-contact .pc-feedback__visual {
  position: relative;
  min-height: 220px;
  aspect-ratio: 16 / 10;
  background: var(--orange-hot);
}

@supports not (aspect-ratio: 16 / 10) {
  .page-contact .pc-feedback__visual {
    height: 240px;
  }
}

.page-contact .pc-feedback__visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.page-contact .pc-feedback__badge {
  position: absolute;
  right: 16px;
  bottom: 12px;
  z-index: 2;
  padding: 8px 14px;
  background: var(--red-fire);
  border-radius: var(--radius-pill);
  font-family: var(--font-heavy);
  font-size: 13px;
  letter-spacing: 0.18em;
  color: #fff;
  box-shadow: 0 6px 16px rgba(22, 22, 22, 0.28);
}

.page-contact .pc-feedback__copy {
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.page-contact .pc-feedback__kicker {
  color: #f7b39a;
}

.page-contact .pc-feedback h2 {
  margin: 10px 0 14px;
  font-family: var(--font-heavy);
  font-size: 28px;
  line-height: 1.22;
  color: #fff;
}

.page-contact .pc-feedback__text {
  max-width: 48ch;
  margin: 0;
  font-size: 15px;
  line-height: 1.78;
  color: rgba(255, 255, 255, 0.9);
}

.page-contact .pc-feedback__text strong {
  color: var(--orange-hot);
  font-weight: 700;
}

.page-contact .pc-feedback .btn--orange {
  align-self: flex-start;
  margin-top: 20px;
}

/* ---------- 底部相关入口 ---------- */
.page-contact .pc-links {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 56px;
  margin-bottom: 64px;
}

.page-contact .pc-link-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 216px;
  padding: 24px;
  background: #fff;
  border-radius: var(--radius-md);
  border-top: 6px solid transparent;
  box-shadow: 0 4px 14px var(--pc-link-line);
  text-decoration: none;
  color: var(--ink-black);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.page-contact .pc-link-card:nth-child(1) {
  border-top-color: var(--red-fire);
}

.page-contact .pc-link-card:nth-child(2) {
  border-top-color: var(--orange-hot);
}

.page-contact .pc-link-card:nth-child(3) {
  border-top-color: var(--blue-storm);
}

.page-contact .pc-link-card:nth-child(4) {
  border-top-color: var(--steel-gray);
}

.page-contact .pc-link-card__num {
  display: block;
  margin-bottom: 16px;
  font-family: var(--font-heavy);
  font-size: 14px;
  letter-spacing: 0.2em;
  color: var(--ink-soft);
}

.page-contact .pc-link-card h3 {
  margin: 0 0 10px;
  font-family: var(--font-heavy);
  font-size: 22px;
  line-height: 1.25;
  color: var(--ink-black);
}

.page-contact .pc-link-card p {
  margin: 0 0 auto;
  font-size: 14px;
  line-height: 1.68;
  color: var(--ink-soft);
}

.page-contact .pc-link-card__go {
  display: inline-block;
  margin-top: 18px;
  font-size: 14px;
}

.page-contact .pc-link-card:focus-visible {
  outline: 3px solid var(--orange-hot);
  outline-offset: 2px;
}

/* ---------- 交互状态 ---------- */
@media (hover: hover) {
  .page-contact .pc-channel:hover,
  .page-contact .pc-link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 36px rgba(22, 22, 22, 0.14);
  }

  .page-contact .pc-channel__link:hover,
  .page-contact .pc-channel__link:focus-visible {
    text-decoration: underline;
    text-underline-offset: 6px;
    text-decoration-thickness: 3px;
  }
}

/* ---------- 中等屏适配 ---------- */
@media (min-width: 680px) {
  .page-contact .pc-hero {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    padding-top: 52px;
  }

  .page-contact .pc-hero__copy {
    flex: 1 1 auto;
  }

  .page-contact .pc-hero h1 {
    font-size: clamp(48px, 6vw, 68px);
  }

  .page-contact .pc-hero__side {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    flex: 0 0 72px;
    min-height: 220px;
    position: relative;
    z-index: 1;
  }

  .page-contact .pc-channels {
    grid-template-columns: repeat(12, 1fr);
    align-items: stretch;
  }

  .page-contact .pc-channel--phone {
    grid-column: span 7;
  }

  .page-contact .pc-channel--email {
    grid-column: span 5;
  }

  .page-contact .pc-channel--time {
    grid-column: span 12;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
  }

  .page-contact .pc-channel--time .pc-channel__meta {
    flex: 0 0 auto;
  }

  .page-contact .pc-channel--time .pc-channel__note {
    flex: 1 1 100%;
  }

  .page-contact .pc-address {
    grid-template-columns: 1.05fr 0.95fr;
    padding: 36px;
  }

  .page-contact .pc-feedback {
    grid-template-columns: 1fr 1.1fr;
  }

  .page-contact .pc-feedback__visual {
    min-height: 100%;
    aspect-ratio: auto;
  }

  @supports not (aspect-ratio: auto) {
    .page-contact .pc-feedback__visual {
      height: auto;
      min-height: 320px;
    }
  }

  .page-contact .pc-feedback__copy {
    padding: 36px;
  }

  .page-contact .pc-links {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- 大屏适配 ---------- */
@media (min-width: 1080px) {
  .page-contact .pc-hero {
    padding-top: 64px;
  }

  .page-contact .pc-hero h1 {
    font-size: 72px;
  }

  .page-contact .pc-hero__rotated {
    font-size: 14px;
  }

  .page-contact .pc-channel--time {
    flex-wrap: nowrap;
  }

  .page-contact .pc-channel--time .pc-channel__note {
    flex: 1 1 auto;
  }

  .page-contact .pc-feedback__copy {
    padding: 48px 44px;
  }

  .page-contact .pc-feedback h2 {
    font-size: 32px;
  }

  .page-contact .pc-links {
    grid-template-columns: repeat(4, 1fr);
  }
}
