/* ========== 联系页专属样式 · 信息台展览风格 ========== */
.page-contact {
  --grid-line: rgba(139, 139, 122, 0.16);
  --stripe-white: rgba(255, 255, 255, 0.06);
  background-color: var(--cream);
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 48px 48px;
  color: var(--dark);
  font-family: var(--font-body);
  line-height: 1.6;
  position: relative;
  overflow-x: clip;
  padding: 1.25rem 0 4rem;
}

/* ---------- 联系页头部：坐标化章节预览 ---------- */
.contact-head {
  position: relative;
  background-color: var(--red);
  background-image:
    linear-gradient(45deg, var(--stripe-white) 25%, transparent 25%, transparent 50%, var(--stripe-white) 50%, var(--stripe-white) 75%, transparent 75%, transparent);
  background-size: 32px 32px;
  color: #fff;
  border-left: 6px solid var(--gold);
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  padding: 1.75rem 1.5rem;
  margin-bottom: 2.5rem;
}

.contact-head::after {
  content: "104.061 / 30.570";
  position: absolute;
  bottom: 0.8rem;
  right: 1.25rem;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.7);
  border-left: 2px solid var(--gold);
  padding-left: 0.6rem;
  pointer-events: none;
}

.contact-head .breadcrumb {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.82rem;
  margin-bottom: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.contact-head .breadcrumb a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.15s ease, text-decoration 0.15s ease;
}

.contact-head .breadcrumb a:hover,
.contact-head .breadcrumb a:focus-visible {
  color: #fff;
  text-decoration: underline;
}

.contact-head .breadcrumb-sep {
  color: var(--gold);
  opacity: 0.85;
}

.contact-head .breadcrumb-current {
  color: #fff;
}

.contact-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.12;
  margin: 0;
  letter-spacing: 0.01em;
}

.contact-subtitle {
  font-size: 1.12rem;
  font-weight: 600;
  color: #fff;
  margin: 0.15rem 0 0.35rem;
}

.contact-desc {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 38rem;
  margin: 0 0 0.9rem;
}

.contact-footnote {
  display: inline-block;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.22rem 0.6rem;
  letter-spacing: 0.06em;
  background: rgba(0, 0, 0, 0.08);
}

.contact-index {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.12);
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  border-right: 4px solid var(--gold);
  padding: 1rem 1.1rem;
}

.index-link {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  color: #fff;
  text-decoration: none;
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 0.95rem;
  font-weight: 600;
  transition: background-color 0.15s ease, padding-left 0.15s ease;
}

.index-link:hover {
  background-color: rgba(255, 255, 255, 0.12);
  padding-left: 0.4rem;
}

.index-link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.index-no {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}

.index-text {
  font-size: 0.95rem;
}

/* ---------- 通用内容板块：编号标签与坐标线 ---------- */
.contact-block {
  position: relative;
  border-top: 2px solid var(--gold);
  padding-top: 2rem;
  margin-top: 3rem;
}

.contact-block::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  width: 72px;
  height: 5px;
  background-color: var(--red);
  transform: skewX(-20deg);
  transform-origin: left top;
}

.block-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin: -0.5rem 0 1.5rem;
}

.block-index {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
  color: var(--red);
  border-right: 2px solid var(--gold);
  padding-right: 0.75rem;
  margin-right: 0.25rem;
}

.block-title {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: 0.02em;
}

.block-coord {
  margin-left: auto;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--stone);
  border: 1px solid var(--stone);
  padding: 0.18rem 0.5rem;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.5);
}

/* ---------- 板块 01：客服渠道 ---------- */
.channels-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

.channel-card {
  position: relative;
  background: #fff;
  border: 1px solid rgba(139, 139, 122, 0.28);
  padding: 1.25rem 1.25rem 1.25rem 1.5rem;
  margin-bottom: 1rem;
  box-shadow: 3px 4px 0 0 rgba(139, 139, 122, 0.16);
}

.channel-card:last-child {
  margin-bottom: 0;
}

.channel-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  background-color: var(--red);
}

.channel-topline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 0.4rem;
  margin-bottom: 0.6rem;
}

.channel-code {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--clay);
  letter-spacing: 0.08em;
}

.channel-tag {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--moss);
  border: 1px solid rgba(92, 111, 79, 0.4);
  padding: 0.08rem 0.5rem;
  border-radius: 2px;
  text-transform: uppercase;
}

.channel-name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 0.2rem;
}

.channel-link {
  display: inline-block;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--red);
  text-decoration: none;
  border-bottom: 2px solid var(--gold);
  word-break: break-all;
  padding: 0.1rem 0.2rem;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.channel-link:hover {
  background-color: rgba(194, 39, 43, 0.08);
}

.channel-link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.channel-email-link {
  background: rgba(194, 39, 43, 0.06);
}

.channel-phone-link {
  background: rgba(201, 160, 99, 0.16);
  letter-spacing: 0.03em;
}

.channel-address {
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--dark);
  margin: 0 0 0.4rem;
  line-height: 1.5;
}

.channel-desc {
  font-size: 0.88rem;
  color: var(--stone);
  margin: 0.3rem 0 0;
  max-width: 34rem;
}

.channels-aside {
  display: grid;
  gap: 1.25rem;
  align-content: start;
}

.support-frame {
  margin: 0;
  background-color: var(--ink);
  border: 1px solid var(--gold);
  padding: 0.5rem 0.5rem 0.6rem;
  box-shadow: 4px 5px 0 0 rgba(26, 26, 26, 0.12);
}

.support-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.support-caption {
  color: var(--cream);
  font-size: 0.78rem;
  padding: 0.5rem 0.2rem 0;
  text-align: left;
  margin: 0;
}

.hours-panel {
  position: relative;
  background-color: var(--dark);
  color: var(--cream);
  border-right: 6px solid var(--gold);
  padding: 1.2rem 1.25rem;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  gap: 0.35rem 0.9rem;
}

.hours-label {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  align-self: center;
}

.hours-value {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}

.hours-days {
  grid-column: 1 / -1;
  font-size: 0.8rem;
  color: var(--stone);
}

/* ---------- 板块 02：常见咨询 ---------- */
.guide-intro {
  font-size: 1rem;
  max-width: 52rem;
  margin: 0 0 1.5rem;
  color: var(--dark);
  border-left: 3px solid var(--clay);
  padding-left: 1rem;
}

.guide-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.guide-card {
  position: relative;
  background: #fff;
  border: 1px solid rgba(139, 139, 122, 0.3);
  border-left: 4px solid var(--gold);
  padding: 1.2rem 1.4rem 1.4rem;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.15s ease, transform 0.15s ease, border-left-color 0.15s ease;
}

.guide-card:hover {
  box-shadow: 5px 6px 0 0 rgba(194, 39, 43, 0.12);
  transform: translate(-2px, -3px);
  border-left-color: var(--red);
}

.guide-no {
  display: inline-block;
  align-self: flex-start;
  background-color: var(--dark);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 0.2rem 0.65rem;
}

.guide-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0.8rem 0 0.35rem;
}

.guide-text {
  font-size: 0.92rem;
  color: var(--stone);
  margin: 0 0 1rem;
  flex: 1;
}

.guide-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--red);
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 0.1rem;
  transition: background-color 0.15s ease;
}

.guide-link:hover {
  background-color: rgba(194, 39, 43, 0.06);
}

.guide-link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.guide-link::after {
  content: "→";
  color: var(--gold);
  font-weight: 700;
}

.guide-bottom {
  margin-top: 1.75rem;
  background-color: var(--ink);
  color: var(--cream);
  border-left: 6px solid var(--gold);
  padding: 1.1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  align-items: flex-start;
}

.guide-bottom-text {
  margin: 0;
  font-size: 0.95rem;
  max-width: 32rem;
}

/* ---------- 板块 03：给我们的留言 ---------- */
.message-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

.message-card {
  position: relative;
  background: #fff;
  border: 1px solid rgba(139, 139, 122, 0.32);
  border-top: 6px solid var(--red);
  padding: 2rem 1.5rem 1.75rem;
  box-shadow: 6px 8px 0 0 rgba(139, 139, 122, 0.1);
  overflow: hidden;
}

.message-card::after {
  content: "信";
  position: absolute;
  right: -0.4rem;
  bottom: -0.8rem;
  font-family: var(--font-heading);
  font-size: 5rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(194, 39, 43, 0.06);
  pointer-events: none;
  transform: rotate(-8deg);
}

.message-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  background-color: var(--red);
  color: #fff;
  font-size: 1.2rem;
  border-radius: 50%;
  border: 2px solid var(--gold);
}

.message-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0.75rem 0 0.5rem;
  position: relative;
  z-index: 1;
}

.message-text {
  font-size: 0.95rem;
  color: var(--stone);
  margin: 0 0 1.25rem;
  max-width: 36rem;
  position: relative;
  z-index: 1;
}

.message-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 1;
}

.message-actions a {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
}

.message-actions a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.message-reply {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--clay);
  margin: 0 0 0.9rem;
  position: relative;
  z-index: 1;
}

.message-biz {
  font-size: 0.84rem;
  color: var(--dark);
  background: rgba(201, 160, 99, 0.12);
  border-left: 3px solid var(--gold);
  padding: 0.75rem 0.9rem;
  margin: 0 0 0.9rem;
  position: relative;
  z-index: 1;
}

.message-trust {
  font-size: 0.82rem;
  color: var(--stone);
  margin: 0;
  border-top: 1px dashed rgba(139, 139, 122, 0.4);
  padding-top: 0.75rem;
  position: relative;
  z-index: 1;
}

.message-map-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.map-frame {
  position: relative;
  margin: 0;
  background-color: var(--ink);
  border: 1px solid var(--gold);
  padding: 0.5rem;
  flex: 1;
  min-height: 220px;
  display: flex;
}

.map-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  opacity: 0.85;
}

.map-frame::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 18px;
  background: var(--red);
  border: 3px solid var(--cream);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 4px rgba(194, 39, 43, 0.3);
  pointer-events: none;
}

.map-caption {
  font-size: 0.85rem;
  color: var(--stone);
  text-align: right;
  padding-right: 0.2rem;
  margin: 0;
}

/* ---------- 响应式：平板端 ---------- */
@media (min-width: 768px) {

  .page-contact {
    padding: 1.5rem 0 5rem;
  }

  .contact-head {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 2rem;
    padding: 2.5rem 2.5rem 2.75rem;
    align-items: center;
  }

  .contact-title {
    font-size: 2.7rem;
  }

  .contact-index {
    margin-top: 0;
    padding: 1.25rem 1.4rem;
  }

  .contact-block {
    margin-top: 4rem;
  }

  .block-title {
    font-size: 1.7rem;
  }

  .guide-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }

  .guide-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .message-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 2rem;
    align-items: stretch;
  }
}

/* ---------- 响应式：桌面端 ---------- */
@media (min-width: 1024px) {

  .channels-layout {
    grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr);
    gap: 2rem;
  }

  .message-card {
    padding: 2rem 1.75rem 1.75rem;
  }
}
