#main-content.page-contact {
  padding-top: 0;
}

.page-contact {
  --contact-glow: rgba(0, 255, 136, 0.14);
  background: var(--bg-deep);
  color: var(--white);
  line-height: 1.6;
}

.page-contact .container {
  padding-left: 20px;
  padding-right: 20px;
}

/* ---------- 首屏横幅 ---------- */
.contact-hero {
  position: relative;
  padding: calc(var(--header-h) + 44px) 0 48px;
  border-bottom: 3px solid var(--green);
  overflow: hidden;
  background: var(--bg-deep);
}

.contact-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.contact-hero-bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
  filter: saturate(0.35) contrast(1.05);
}

.contact-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--bg-deep) 0%, rgba(10, 17, 40, 0.78) 55%, rgba(10, 17, 40, 0.35) 100%),
    linear-gradient(180deg, var(--bg-deep) 0%, transparent 38%, transparent 72%, var(--bg-deep) 100%);
}

.contact-hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -60px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 2px dashed rgba(0, 255, 136, 0.28);
  z-index: 0;
  pointer-events: none;
  animation: contact-ring-spin 48s linear infinite;
}

@keyframes contact-ring-spin {
  to {
    transform: rotate(360deg);
  }
}

.contact-hero .container {
  position: relative;
  z-index: 1;
}

.page-contact .breadcrumbs {
  margin-bottom: 30px;
}

.contact-hero-grid {
  display: grid;
  gap: 18px;
  max-width: 820px;
}

.contact-hero h1 {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-display);
  font-size: clamp(40px, 9vw, 68px);
  line-height: 1.02;
  letter-spacing: 0.01em;
  color: var(--white);
  margin: 0;
}

.contact-hero h1::before {
  content: "";
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  background: var(--green);
  box-shadow: 0 0 16px var(--green);
}

.contact-hero-lead {
  font-size: 17px;
  line-height: 1.75;
  color: var(--muted);
  border-left: 3px solid var(--orange);
  padding-left: 16px;
  margin: 0;
  max-width: 580px;
}

/* ---------- 区块基础 ---------- */
.contact-methods,
.contact-faq {
  position: relative;
  padding: 48px 0 28px;
}

.contact-methods {
  background:
    linear-gradient(rgba(42, 58, 90, 0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(42, 58, 90, 0.22) 1px, transparent 1px);
  background-size: 34px 34px;
  border-bottom: 1px solid var(--line);
}

.contact-hours {
  position: relative;
  padding: 44px 0 32px;
}

.contact-section-head {
  margin-bottom: 26px;
}

.contact-section-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.contact-section-kicker .section-label {
  margin: 0;
}

.contact-step-num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--green);
  border: 1px solid rgba(0, 255, 136, 0.4);
  border-radius: 999px;
  padding: 3px 11px;
  background: rgba(0, 255, 136, 0.08);
}

.contact-section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 40px);
  line-height: 1.15;
  margin: 0 0 8px;
  color: var(--white);
}

.contact-section-head > p {
  color: var(--muted);
  margin: 0;
  max-width: 720px;
  font-size: 15px;
  line-height: 1.7;
}

/* ---------- 联系方式卡片墙 ---------- */
.contact-wall {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}

.contact-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.contact-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--green);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.24s ease;
}

.contact-card:hover,
.contact-card:focus-within {
  transform: translateY(-3px);
  border-color: rgba(0, 255, 136, 0.5);
  box-shadow: var(--shadow-lg), 0 0 26px var(--contact-glow);
}

.contact-card:hover::before,
.contact-card:focus-within::before {
  transform: scaleY(1);
}

a.contact-card:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

.contact-card-index {
  position: absolute;
  top: 14px;
  right: 16px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--line);
  transition: color 0.2s ease;
}

.contact-card:hover .contact-card-index {
  color: var(--green);
}

.contact-card-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(10, 17, 40, 0.55);
  color: var(--green);
}

.contact-icon svg {
  width: 21px;
  height: 21px;
}

.contact-card-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-card-value {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.4;
  word-break: break-word;
}

.contact-card-hint {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}

.contact-card-email {
  background:
    linear-gradient(135deg, rgba(0, 255, 136, 0.1), transparent 48%),
    var(--bg-panel);
}

.contact-card-email .contact-card-value {
  font-family: var(--font-mono);
  font-size: clamp(18px, 2.6vw, 24px);
  color: var(--green);
}

.contact-card-phone .contact-card-value {
  font-family: var(--font-mono);
  font-size: clamp(20px, 3vw, 28px);
  letter-spacing: 0.04em;
}

.contact-card-phone .contact-icon {
  color: var(--orange);
  border-color: rgba(255, 107, 0, 0.45);
}

.contact-card-address {
  flex-direction: row;
  align-items: center;
  gap: 18px;
  background:
    linear-gradient(225deg, rgba(0, 180, 216, 0.08), transparent 52%),
    var(--bg-panel);
}

.contact-card-address .contact-icon {
  color: var(--teal);
  flex: 0 0 auto;
}

.contact-card-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  flex: 1;
  padding-right: 30px;
}

.contact-card-address .contact-card-value {
  font-size: clamp(17px, 2.4vw, 22px);
}

/* ---------- 服务时间 ---------- */
.contact-hours-card {
  display: grid;
  gap: 24px;
  background:
    radial-gradient(circle at 85% 16%, rgba(0, 255, 136, 0.1), transparent 48%),
    var(--bg-panel);
  border: 1px solid var(--line);
  border-left: 5px solid var(--green);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: var(--shadow-lg);
}

.contact-hours-main {
  text-align: center;
}

.contact-hours-clock {
  width: 76px;
  height: 76px;
  margin: 6px auto 10px;
  border-radius: 50%;
  border: 2px solid var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  box-shadow: 0 0 0 6px rgba(0, 255, 136, 0.07), 0 0 22px var(--contact-glow);
}

.contact-hours-clock svg {
  width: 40px;
  height: 40px;
}

.contact-hours-main h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 5vw, 36px);
  margin: 4px 0 2px;
  color: var(--white);
}

.contact-hours-days {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}

.contact-hours-range-wrap {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-hours-range {
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.contact-hours-range .num {
  font-family: var(--font-mono);
  font-size: clamp(36px, 9vw, 72px);
  font-weight: 800;
  line-height: 1;
  color: var(--white);
  letter-spacing: 0.02em;
}

.contact-hours-dash {
  color: var(--green);
  font-size: clamp(22px, 4vw, 32px);
}

.contact-hours-align {
  margin: 12px 0 0;
  font-size: 13px;
  font-family: var(--font-mono);
  color: var(--muted);
}

.contact-hours-figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-deep);
  align-self: center;
  max-width: 280px;
  width: 100%;
}

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

.contact-hours-figcap {
  padding: 8px 12px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-align: center;
  color: var(--muted);
}

.contact-hours-note {
  margin: 16px 0 0;
  padding: 12px 16px;
  border-left: 3px solid var(--orange);
  background: rgba(20, 33, 61, 0.55);
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

.contact-hours-details {
  margin: 10px 0 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(10, 17, 40, 0.45);
  padding: 12px 16px;
  font-size: 14px;
  color: var(--muted);
}

.contact-hours-details summary {
  cursor: pointer;
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-hours-details summary::-webkit-details-marker {
  display: none;
}

.contact-hours-details summary::before {
  content: "+";
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  border: 1px solid var(--green);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  font-family: var(--font-mono);
  font-size: 13px;
}

.contact-hours-details[open] summary::before {
  content: "–";
}

.contact-hours-details ul {
  margin: 12px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
}

.contact-hours-details li {
  line-height: 1.6;
}

.contact-hours-details a {
  color: var(--green);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 255, 136, 0.35);
}

.contact-hours-details a:hover {
  color: var(--white);
}

/* ---------- 常见问题链接 ---------- */
.contact-faq {
  padding-top: 44px;
}

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

.contact-faq-item {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 20px 18px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.contact-faq-item::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green), rgba(0, 255, 136, 0.08) 85%);
  opacity: 0.4;
  transition: opacity 0.2s ease;
}

.contact-faq-item:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 255, 136, 0.45);
  background: var(--bg-elev);
}

.contact-faq-item:hover::after {
  opacity: 1;
}

.contact-faq-item h3 {
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.4;
  margin: 0 0 8px;
  color: var(--white);
}

.contact-faq-item p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0 0 14px;
  flex: 1;
}

.contact-faq-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--green);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(0, 255, 136, 0.35);
  transition: gap 0.2s ease, color 0.2s ease;
}

.contact-faq-link:hover {
  color: var(--white);
  gap: 10px;
}

/* ---------- 底部引导 ---------- */
.contact-cta {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  background:
    linear-gradient(120deg, rgba(0, 255, 136, 0.12), transparent 58%),
    var(--bg-panel);
  border: 1px solid var(--line);
  border-top: 3px solid var(--orange);
  border-radius: var(--radius);
  padding: 24px 22px;
  box-shadow: var(--shadow-sm);
}

.contact-cta-text {
  flex: 1;
}

.contact-cta-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0 0 4px;
}

.contact-cta h3 {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.3;
  color: var(--white);
  margin: 0 0 8px;
}

.contact-cta-text > p:last-child {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
  max-width: 640px;
}

.contact-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.contact-trust {
  margin: 22px 0 6px;
  padding: 14px 16px;
  border: 1px dashed var(--line);
  border-left: 3px solid var(--green);
  background: rgba(20, 33, 61, 0.5);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

/* ---------- 响应式 ---------- */
@media (min-width: 768px) {
  .contact-methods,
  .contact-faq {
    padding: 58px 0 40px;
  }

  .contact-hours {
    padding: 52px 0 40px;
  }

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

  .contact-card-address {
    grid-column: span 2;
  }

  .contact-hours-card {
    grid-template-columns: 0.95fr 1.45fr 1fr;
    align-items: center;
    gap: 26px;
    padding: 32px 28px;
  }

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

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

  .contact-cta-actions {
    flex: 0 0 auto;
  }
}

@media (min-width: 1080px) {
  .contact-hero {
    padding-bottom: 64px;
  }

  .contact-hero-grid {
    grid-template-columns: auto 1fr;
    align-items: end;
    gap: 40px;
    max-width: none;
  }

  .contact-hero-lead {
    max-width: 560px;
    margin-bottom: 8px;
  }

  .contact-wall {
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
  }

  .contact-card-email {
    grid-column: span 4;
  }

  .contact-card-phone {
    grid-column: span 2;
  }

  .contact-card-address {
    grid-column: span 6;
  }

  .contact-hours-card {
    grid-template-columns: 0.9fr 1.5fr 0.95fr;
    padding: 36px 34px;
  }

  .contact-faq-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
}
