/* ============ 联系入口页专属样式 ============ */
.page-contact {
  --contact-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --contact-orange-glow: rgba(255, 107, 53, 0.16);
  --contact-green-glow: rgba(57, 255, 20, 0.12);
  background: var(--deep-navy);
  color: var(--off-white);
  overflow-x: hidden;
}

/* ---------- Hero ---------- */
.contact-hero {
  position: relative;
  padding: 40px 0 48px;
  background:
    radial-gradient(ellipse at 85% 18%, rgba(255, 107, 53, 0.10), transparent 42%),
    linear-gradient(180deg, var(--soft-black) 0%, var(--deep-navy) 100%);
}

.hero-grid {
  display: grid;
  gap: 32px;
}

.hero-copy .section-label {
  margin-bottom: 16px;
}

.hero-copy h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 6vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: 0.01em;
  margin: 0 0 16px;
}

.hero-lead {
  color: var(--muted-steel);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 46em;
  margin: 0 0 28px;
  overflow-wrap: anywhere;
}

.hero-split {
  display: grid;
  gap: 14px;
}

.split-block {
  position: relative;
  padding: 20px 18px;
  border: 1px solid rgba(122, 143, 160, 0.3);
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--charcoal), rgba(28, 28, 30, 0.65));
  overflow: hidden;
}

.split-phone::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--electric-orange);
}

.split-mail::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--neon-green);
}

.split-kicker {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-steel);
  margin-bottom: 6px;
}

.split-main {
  display: block;
  font-weight: 700;
  margin-bottom: 12px;
  text-decoration: none;
}

.split-phone-main {
  font-family: var(--contact-mono);
  font-size: clamp(1.75rem, 4vw, 2.4rem);
  color: var(--electric-orange);
  letter-spacing: 0.02em;
}

.split-mail-main {
  font-family: var(--contact-mono);
  font-size: 1.05rem;
  color: var(--off-white);
  word-break: break-all;
}

.hero-visual {
  position: relative;
}

.hero-figure {
  margin: 0;
  position: relative;
  border-radius: 4px;
  overflow: hidden;
}

.hero-figure::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(245, 247, 250, 0.16);
  border-radius: 2px;
  pointer-events: none;
}

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

.hero-figure figcaption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  font-size: 0.78rem;
  color: rgba(245, 247, 250, 0.92);
  background: rgba(11, 29, 58, 0.72);
  padding: 5px 10px;
  border-radius: 3px;
  border-left: 2px solid var(--neon-green);
}

.hero-live-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--neon-green);
  background: rgba(11, 29, 58, 0.78);
  border: 1px solid rgba(57, 255, 20, 0.4);
  border-radius: 999px;
  padding: 6px 12px;
}

/* ---------- 共享小节头部 ---------- */
.section-head {
  margin-bottom: 28px;
}

.section-head h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  line-height: 1.1;
  margin: 10px 0 8px;
}

.section-desc {
  color: var(--muted-steel);
  max-width: 42em;
  line-height: 1.6;
  margin: 0;
}

/* ---------- 直达客服线 ---------- */
.direct-grid {
  display: grid;
  gap: 20px;
}

.direct-card {
  position: relative;
  padding: 26px 22px 22px;
  border: 1px solid rgba(122, 143, 160, 0.28);
  border-radius: 8px;
  background: linear-gradient(150deg, var(--charcoal) 0%, rgba(14, 23, 38, 0.9) 100%);
  overflow: hidden;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.direct-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
}

.direct-card::after {
  content: "01";
  position: absolute;
  right: 12px;
  bottom: -18px;
  font-family: var(--contact-mono);
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(245, 247, 250, 0.04);
  pointer-events: none;
}

.direct-mail::after {
  content: "02";
}

.direct-phone {
  border-left: 4px solid var(--electric-orange);
}

.direct-mail {
  border-left: 4px solid var(--neon-green);
}

.direct-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.direct-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(245, 247, 250, 0.05);
  color: var(--electric-orange);
}

.direct-mail .direct-icon {
  color: var(--neon-green);
}

.direct-icon .dc-svg {
  width: 24px;
  height: 24px;
}

.direct-tag {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 107, 53, 0.14);
  color: var(--electric-orange);
}

.direct-mail .direct-tag {
  background: rgba(57, 255, 20, 0.1);
  color: var(--neon-green);
}

.direct-name {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--muted-steel);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 6px;
}

.direct-number {
  font-family: var(--contact-mono);
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 14px;
  color: var(--off-white);
  word-break: break-all;
}

.direct-phone .direct-number {
  color: var(--electric-orange);
}

.direct-mail .direct-number {
  color: var(--neon-green);
}

.direct-note {
  color: var(--muted-steel);
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0 0 20px;
}

/* ---------- 工作时间 ---------- */
.hours-grid {
  display: grid;
  gap: 28px;
}

.day-night-bar {
  border: 1px solid rgba(122, 143, 160, 0.28);
  border-radius: 8px;
  padding: 8px;
  background: var(--soft-black);
  margin-bottom: 18px;
}

.day-night-track {
  display: grid;
  grid-template-columns: 0.8fr 0.8fr 1.8fr 0.8fr 0.8fr;
  gap: 4px;
  min-height: 72px;
  align-items: stretch;
}

.dn-seg {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  color: var(--muted-steel);
  background: rgba(122, 143, 160, 0.12);
  border-radius: 4px;
  padding: 6px 4px;
  text-align: center;
  line-height: 1.35;
}

.dn-night {
  background: linear-gradient(180deg, rgba(11, 29, 58, 0.6), rgba(14, 23, 38, 0.8));
}

.dn-day {
  background: linear-gradient(180deg, rgba(122, 143, 160, 0.18), rgba(122, 143, 160, 0.05));
}

.dn-active {
  background: rgba(57, 255, 20, 0.14);
  border: 1px solid rgba(57, 255, 20, 0.55);
  color: var(--neon-green);
  font-weight: 700;
  font-size: 0.8rem;
}

.hours-highlight {
  font-size: 1.08rem;
  line-height: 1.6;
  margin: 0 0 16px;
}

.hours-highlight strong {
  color: var(--neon-green);
  font-weight: 700;
}

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

.hours-notes li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted-steel);
  font-size: 0.95rem;
  line-height: 1.5;
}

.note-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex: 0 0 auto;
}

.note-green {
  background: var(--neon-green);
  box-shadow: 0 0 8px rgba(57, 255, 20, 0.7);
}

.note-orange {
  background: var(--electric-orange);
}

.note-steel {
  background: var(--muted-steel);
}

.hours-visual figure {
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  background: var(--charcoal);
}

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

.hours-visual figcaption {
  padding: 12px 14px;
  font-size: 0.82rem;
  color: var(--muted-steel);
  border-top: 1px solid rgba(122, 143, 160, 0.18);
}

/* ---------- 其他联系方式 ---------- */
.other-grid {
  display: grid;
  gap: 18px;
}

.other-card {
  padding: 26px 24px;
  border-radius: 8px;
  border: 1px solid rgba(122, 143, 160, 0.25);
  background:
    radial-gradient(circle at 90% 10%, var(--contact-orange-glow), transparent 50%),
    var(--charcoal);
  transition: transform var(--transition-fast);
}

.other-card:last-child {
  background:
    radial-gradient(circle at 10% 10%, var(--contact-green-glow), transparent 50%),
    var(--charcoal);
}

.other-card:hover {
  transform: translateY(-2px);
}

.other-icon {
  display: inline-flex;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  background: rgba(255, 107, 53, 0.12);
  color: var(--electric-orange);
  margin-bottom: 14px;
}

.other-card:last-child .other-icon {
  background: rgba(57, 255, 20, 0.1);
  color: var(--neon-green);
}

.other-icon .dc-svg {
  width: 22px;
  height: 22px;
}

.other-name {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-steel);
  margin: 0 0 6px;
}

.other-value {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 8px;
  word-break: break-all;
}

.other-value a {
  color: var(--off-white);
  text-decoration: underline;
  text-decoration-color: rgba(255, 107, 53, 0.5);
  text-underline-offset: 4px;
}

.other-card:last-child .other-value a {
  text-decoration-color: rgba(57, 255, 20, 0.5);
}

.other-note {
  color: var(--muted-steel);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

/* ---------- 留言反馈 ---------- */
.feedback-grid {
  display: grid;
  gap: 28px;
  align-items: start;
}

.feedback-para {
  color: var(--muted-steel);
  line-height: 1.7;
  margin: 0 0 14px;
}

.feedback-list {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: grid;
  gap: 12px;
}

.feedback-list li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(122, 143, 160, 0.18);
  border-radius: 6px;
  background: rgba(28, 28, 30, 0.6);
  line-height: 1.5;
}

.feedback-num {
  font-family: var(--contact-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--electric-orange);
}

.feedback-tip {
  color: var(--muted-steel);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 20px;
}

.feedback-tip a {
  color: var(--neon-green);
  text-underline-offset: 3px;
}

.mail-draft-card {
  border-radius: 10px;
  border: 1px solid rgba(122, 143, 160, 0.3);
  background: linear-gradient(155deg, rgba(28, 28, 30, 0.9), rgba(14, 23, 38, 0.8));
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.mail-draft-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(122, 143, 160, 0.22);
}

.mail-draft-title {
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--off-white);
}

.mail-draft-badge {
  font-size: 0.72rem;
  color: var(--muted-steel);
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(122, 143, 160, 0.4);
}

.mail-draft-fields {
  margin: 0;
  padding: 8px 18px 4px;
}

.mail-field-row {
  display: grid;
  gap: 4px;
  padding: 12px 0;
  border-bottom: 1px dashed rgba(122, 143, 160, 0.2);
}

.mail-field-row:last-child {
  border-bottom: none;
}

.mail-field-row dt {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-steel);
}

.mail-field-row dd {
  margin: 0;
  font-family: var(--contact-mono);
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--off-white);
  word-break: break-all;
}

.mail-draft-note {
  margin: 0;
  padding: 12px 18px 16px;
  font-size: 0.82rem;
  color: var(--muted-steel);
  border-top: 1px solid rgba(122, 143, 160, 0.18);
}

.mail-draft-note a {
  color: var(--muted-steel);
  text-decoration: underline;
}

/* ---------- 地图抽象 ---------- */
.map-zone {
  padding: 64px 0 72px;
}

.map-art {
  position: relative;
  min-height: 260px;
  border-radius: 12px;
  border: 1px solid rgba(122, 143, 160, 0.22);
  background:
    radial-gradient(circle at 50% 40%, rgba(255, 107, 53, 0.07), transparent 55%),
    linear-gradient(160deg, var(--soft-black), var(--deep-navy));
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-lines {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, rgba(122, 143, 160, 0.08) 0px, rgba(122, 143, 160, 0.08) 1px, transparent 1px, transparent 44px),
    repeating-linear-gradient(90deg, rgba(122, 143, 160, 0.08) 0px, rgba(122, 143, 160, 0.08) 1px, transparent 1px, transparent 44px);
}

.map-line {
  position: absolute;
  background: rgba(57, 255, 20, 0.25);
  box-shadow: 0 0 12px rgba(57, 255, 20, 0.3);
}

.ml-1 {
  left: 16%;
  top: 0;
  bottom: 0;
  width: 1px;
}

.ml-2 {
  left: 72%;
  top: 0;
  bottom: 0;
  width: 1px;
}

.ml-3 {
  top: 30%;
  left: 0;
  right: 0;
  height: 1px;
}

.ml-4 {
  top: 78%;
  left: 0;
  right: 0;
  height: 1px;
}

.map-pin {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 30px 20px;
  text-align: center;
}

.map-pin-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--electric-orange);
  color: var(--deep-navy);
  box-shadow: 0 0 26px rgba(255, 107, 53, 0.45);
}

.map-pin-icon .dc-svg {
  width: 26px;
  height: 26px;
}

.map-address {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin: 0;
}

.map-note {
  color: var(--muted-steel);
  font-size: 0.86rem;
  margin: 0;
}

/* ---------- 桌面端栅格 ---------- */
@media (min-width: 768px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
  }

  .hero-split {
    grid-template-columns: 1fr 1fr;
  }

  .direct-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hours-grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
  }

  .other-grid {
    grid-template-columns: 1fr 1fr;
  }

  .feedback-grid {
    grid-template-columns: 1fr 0.9fr;
  }
}

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

@media (prefers-reduced-motion: reduce) {
  .direct-card,
  .other-card {
    transition: none;
  }

  .direct-card:hover,
  .other-card:hover {
    transform: none;
  }
}
