/* ============ 联系页专属样式 ============ */
.page-contact {
  position: relative;
  color: #F5F7FA;
  background:
    radial-gradient(960px 560px at 90% 8%, rgba(230, 0, 18, 0.08), transparent 62%),
    radial-gradient(720px 420px at 2% 30%, rgba(212, 175, 55, 0.05), transparent 60%),
    #0B0F19;
}

.page-contact ::selection {
  background: rgba(230, 0, 18, 0.85);
  color: #F5F7FA;
}

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

.page-contact .contact-hero::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #E60012 0%, #D4AF37 60%, rgba(212, 175, 55, 0) 100%);
  z-index: 2;
}

.page-contact .hero-watermark {
  position: absolute;
  top: 28px;
  right: -12px;
  z-index: 0;
  font-family: var(--font-heavy);
  font-weight: 900;
  font-size: clamp(100px, 24vw, 240px);
  line-height: 0.8;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(212, 175, 55, 0.16);
  user-select: none;
  pointer-events: none;
}

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

.page-contact .hero-kicker {
  margin: 32px 0 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  color: #D4AF37;
  text-transform: uppercase;
}

.page-contact .page-title {
  margin: 10px 0 14px;
  font-size: clamp(46px, 8vw, 96px);
  line-height: 0.98;
}

.page-contact .subhead {
  max-width: 640px;
  color: #A0A8B8;
  font-size: 18px;
  line-height: 1.65;
}

.page-contact .hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.page-contact .hero-stat-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin-top: 56px;
  background: rgba(212, 175, 55, 0.22);
  border: 1px solid rgba(212, 175, 55, 0.28);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
}

.page-contact .hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 22px 14px;
  background: #101521;
  text-align: center;
}

.page-contact .hero-stat:last-child {
  grid-column: 1 / -1;
}

.page-contact .hero-stat-num {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #39FF14;
  line-height: 1.2;
}

.page-contact .hero-stat-label {
  font-size: 13px;
  letter-spacing: 0.06em;
  color: #A0A8B8;
}

/* ---------- 主体双栏 ---------- */
.page-contact .contact-main {
  padding: 96px 0 24px;
}

.page-contact .contact-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px 64px;
  align-items: start;
}

.page-contact .section-heading {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.page-contact .section-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 10px;
  background: #E60012;
  color: #F5F7FA;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 15px;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}

.page-contact .section-title {
  margin: 0;
  font-size: clamp(26px, 4vw, 38px);
}

/* ---------- 左栏：客服图 ---------- */
.page-contact .contact-support-figure {
  margin: 28px 0 32px;
}

.page-contact .contact-support-figure img {
  width: 100%;
  height: auto;
  object-fit: cover;
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%);
}

/* ---------- 左栏：信息列表 ---------- */
.page-contact .contact-info-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.page-contact .contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 20px;
  background: rgba(27, 31, 42, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.06);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
  transition: transform 0.3s var(--ease-out), border-color 0.3s var(--ease-out), background 0.3s var(--ease-out);
}

.page-contact .contact-info-item:hover {
  transform: translateY(-2px);
  border-color: rgba(212, 175, 55, 0.4);
  background: rgba(26, 34, 51, 0.95);
}

.page-contact .info-item-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  color: #D4AF37;
  border: 1px solid rgba(212, 175, 55, 0.55);
  background: rgba(212, 175, 55, 0.06);
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}

.page-contact .info-item-icon svg {
  width: 24px;
  height: 24px;
}

.page-contact .info-item-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 2px;
}

.page-contact .info-item-label {
  font-size: 13px;
  letter-spacing: 0.08em;
  color: #A0A8B8;
}

.page-contact .info-item-value {
  font-size: 16px;
  font-weight: 600;
  color: #F5F7FA;
  text-decoration: none;
  word-break: break-all;
  transition: color 0.2s var(--ease-out);
}

.page-contact a.info-item-value:hover {
  color: #E8C96A;
}

.page-contact .is-email-btn[data-copy-hint] {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.page-contact .is-email-btn[data-copy-hint]::after {
  content: attr(data-copy-hint);
  flex-shrink: 0;
  padding: 2px 8px;
  font-size: 12px;
  font-family: var(--font-sans);
  color: #0B0F19;
  background: linear-gradient(135deg, #D4AF37, #E8C96A);
  clip-path: polygon(4px 0, 100% 0, 100% calc(100% - 4px), calc(100% - 4px) 100%, 0 100%, 0 4px);
}

.page-contact .is-email-btn[data-copied="true"] {
  color: #39FF14;
}

.page-contact .is-email-btn[data-copied="true"]::after {
  content: "已复制";
  background: linear-gradient(135deg, #39FF14, #2cdb0f);
  color: #0B0F19;
}

.page-contact .info-note {
  margin: 20px 0 0;
  padding: 16px 18px;
  font-size: 14px;
  line-height: 1.7;
  color: #A0A8B8;
  background: rgba(138, 13, 22, 0.14);
  border-left: 3px solid #8A0D16;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
}

.page-contact .info-note p {
  margin: 0 0 8px;
}

.page-contact .info-note p:last-child {
  margin-bottom: 0;
}

/* ---------- 右栏：表单卡片 ---------- */
.page-contact .contact-form-card {
  position: relative;
  padding: 28px 24px;
  background: linear-gradient(160deg, rgba(26, 34, 51, 0.92), rgba(16, 21, 33, 0.96));
  border: 1px solid rgba(230, 0, 18, 0.5);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 0 100%);
}

.page-contact .form-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.page-contact .form-card-badge {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.12em;
}

.page-contact .form-card-hint {
  font-size: 13px;
  color: #A0A8B8;
}

.page-contact .field-group {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.page-contact .field-group label {
  font-size: 14px;
  font-weight: 600;
  color: #F5F7FA;
  letter-spacing: 0.02em;
}

.page-contact .field-group label::after {
  content: " *";
  color: #E60012;
}

.page-contact .field-group input,
.page-contact .field-group select,
.page-contact .field-group textarea {
  box-sizing: border-box;
  width: 100%;
  padding: 13px 14px;
  font-family: var(--font-sans);
  font-size: 15px;
  color: #F5F7FA;
  background: #0B0F19;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0;
  transition: border-color 0.3s var(--ease-out), background 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.page-contact .field-group textarea {
  min-height: 128px;
  resize: vertical;
}

.page-contact .field-group input:focus,
.page-contact .field-group select:focus,
.page-contact .field-group textarea:focus {
  outline: none;
  border-color: #D4AF37;
  background: #101521;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.16);
}

.page-contact .field-group select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #D4AF37 50%),
    linear-gradient(135deg, #D4AF37 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.page-contact .form-submit-btn {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 16px 20px;
  font-size: 16px;
  font-weight: 700;
}

.page-contact .form-footnote {
  margin: 16px 0 0;
  font-size: 13px;
  line-height: 1.65;
  color: #A0A8B8;
}

.page-contact .form-footnote a {
  color: #E8C96A;
  text-decoration: none;
  border-bottom: 1px solid rgba(212, 175, 55, 0.4);
}

.page-contact .form-footnote a:hover {
  border-color: #D4AF37;
  color: #D4AF37;
}

/* ---------- 右栏：工作时间表 ---------- */
.page-contact .work-hours-block {
  margin-top: 28px;
}

.page-contact .work-hours-block > img {
  width: 100%;
  height: auto;
  object-fit: cover;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
}

.page-contact .work-hours-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 12px;
}

.page-contact .work-day {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 4px;
  background: rgba(27, 31, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: border-color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}

.page-contact .work-day:hover {
  border-color: rgba(212, 175, 55, 0.6);
  transform: translateY(-2px);
}

.page-contact .work-day[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  transform: translateX(-50%) translateY(4px);
  padding: 6px 10px;
  font-size: 12px;
  white-space: nowrap;
  color: #F5F7FA;
  background: #1B1F2A;
  border: 1px solid rgba(212, 175, 55, 0.4);
  opacity: 0;
  pointer-events: none;
  z-index: 5;
  transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}

.page-contact .work-day[data-tooltip]:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.page-contact .work-day-name {
  font-size: 13px;
  color: #A0A8B8;
}

.page-contact .work-day-time {
  font-size: 11px;
  color: #D4AF37;
  white-space: nowrap;
}

.page-contact .work-day-off {
  opacity: 0.5;
}

.page-contact .work-day-off .work-day-time {
  color: #A0A8B8;
}

/* ---------- 响应时效横幅 ---------- */
.page-contact .response-banner-wrap {
  padding: 56px 0 40px;
}

.page-contact .response-banner {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 24px 28px;
  background: linear-gradient(90deg, rgba(230, 0, 18, 0.12), rgba(212, 175, 55, 0.06));
  border: 1px solid rgba(230, 0, 18, 0.25);
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
}

.page-contact .response-dot {
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  margin-top: 6px;
  border-radius: 50%;
  background: #39FF14;
  box-shadow: 0 0 0 0 rgba(57, 255, 20, 0.5);
  animation: pageContactPulse 2s infinite;
}

@keyframes pageContactPulse {
  0% { box-shadow: 0 0 0 0 rgba(57, 255, 20, 0.5); }
  70% { box-shadow: 0 0 0 10px rgba(57, 255, 20, 0); }
  100% { box-shadow: 0 0 0 0 rgba(57, 255, 20, 0); }
}

.page-contact .response-title {
  display: block;
  margin-bottom: 6px;
  font-size: 20px;
  color: #F5F7FA;
}

.page-contact .response-text p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: #A0A8B8;
}

/* ---------- FAQ 捷径 ---------- */
.page-contact .faq-shortcut-section {
  padding: 64px 0 88px;
}

.page-contact .faq-shortcut-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 28px;
}

.page-contact .faq-shortcut-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.page-contact .faq-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px 26px 24px;
  background: rgba(27, 31, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.06);
  text-decoration: none;
  color: #F5F7FA;
  overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
  transition: transform 0.3s var(--ease-out), border-color 0.3s var(--ease-out), background 0.3s var(--ease-out);
}

.page-contact .faq-card::before {
  content: "";
  position: absolute;
  left: -4px;
  top: 0;
  width: 4px;
  height: 100%;
  background: #E60012;
  opacity: 0;
  transition: opacity 0.3s var(--ease-out);
}

.page-contact .faq-card:hover {
  transform: translateY(-3px);
  border-color: rgba(212, 175, 55, 0.45);
  background: rgba(26, 34, 51, 0.9);
}

.page-contact .faq-card:hover::before {
  opacity: 1;
}

.page-contact .faq-card:focus-visible,
.page-contact a.info-item-value:focus-visible {
  outline: 2px solid #D4AF37;
  outline-offset: 2px;
}

.page-contact .faq-card-index {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: #D4AF37;
}

.page-contact .faq-card-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
}

.page-contact .faq-card-desc {
  font-size: 14px;
  line-height: 1.6;
  color: #A0A8B8;
}

.page-contact .faq-shortcut-note {
  margin: 28px 0 0;
  font-size: 15px;
  color: #A0A8B8;
}

.page-contact .faq-shortcut-note a {
  color: #E8C96A;
  text-decoration: none;
  border-bottom: 1px solid rgba(212, 175, 55, 0.4);
}

.page-contact .faq-shortcut-note a:hover {
  border-color: #D4AF37;
}

/* ---------- 响应式 ---------- */
@media (min-width: 640px) {
  .page-contact .hero-stat-strip {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-contact .hero-stat:last-child {
    grid-column: auto;
  }

  .page-contact .hero-stat-num {
    font-size: clamp(22px, 3vw, 34px);
  }

  .page-contact .work-hours-strip {
    grid-template-columns: repeat(6, 1fr);
  }
}

@media (min-width: 700px) {
  .page-contact .faq-shortcut-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .page-contact .contact-split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 64px;
  }

  .page-contact .contact-info-col,
  .page-contact .contact-form-col {
    min-width: 0;
  }

  .page-contact .contact-form-card {
    padding: 32px 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-contact .response-dot {
    animation: none;
  }

  .page-contact .contact-info-item,
  .page-contact .faq-card,
  .page-contact .work-day,
  .page-contact .is-email-btn::after {
    transition: none;
  }
}
