.page-contact {
  --contact-line: rgba(255, 78, 0, 0.22);
  background: var(--c-cream);
  color: var(--c-dark-gray);
}

/* ===== 首屏导览牌 ===== */
.contact-hero {
  position: relative;
  overflow: hidden;
  padding: 40px 0 44px;
}
.contact-hero::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -40px;
  width: 260px;
  height: 260px;
  background: linear-gradient(135deg, transparent 49%, var(--c-light-orange) 49%, var(--c-light-orange) 51%, transparent 51%);
  animation: contact-rotate 18s linear infinite;
}
@keyframes contact-rotate {
  to { transform: rotate(360deg); }
}
.contact-hero__grid {
  display: grid;
  gap: 24px;
  align-items: end;
  margin-top: 28px;
}
.contact-hero__board {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 84px;
  padding: 20px 24px;
  background: var(--c-deep);
  color: var(--c-white);
  border-radius: var(--radius-lg);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 100%, 16px 100%);
  box-shadow: 4px 4px 0 var(--c-primary);
}
.contact-hero__code {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--c-accent);
  white-space: nowrap;
}
.contact-hero__mark {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.76);
  padding-left: 14px;
  border-left: 1px solid rgba(255, 255, 255, 0.25);
}
.contact-hero__dot {
  width: 10px;
  height: 10px;
  flex-shrink: 0;
  margin-left: auto;
  border-radius: 50%;
  background: var(--c-primary);
  animation: contact-pulse 1.6s ease-in-out infinite;
}
@keyframes contact-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.7); }
}

/* ===== 沟通入口 ===== */
.contact-entry {
  position: relative;
  overflow: hidden;
  padding: 16px 0 52px;
}
.contact-entry::before {
  content: '';
  position: absolute;
  top: 110px;
  left: -36px;
  width: 180px;
  height: 180px;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 8px,
    var(--contact-line) 8px,
    var(--contact-line) 9px
  );
  opacity: 0.55;
  pointer-events: none;
}
.contact-channel-grid {
  display: grid;
  gap: 20px;
  margin-top: 28px;
}
.contact-channel {
  position: relative;
  padding: 24px;
  background: var(--c-white);
  border: 2px solid var(--c-deep);
  border-radius: var(--radius-lg);
  box-shadow: 4px 4px 0 rgba(26, 42, 58, 0.12);
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}
.contact-channel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 44px;
  height: 44px;
  background: var(--c-primary);
  border-radius: var(--radius-lg) 0 var(--radius-lg) 0;
}
.contact-channel:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 rgba(26, 42, 58, 0.16);
}
.contact-channel__index {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--c-white);
  font-size: 13px;
  font-weight: 700;
}
.contact-channel__icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  margin: 10px 0 18px;
  border-radius: 50%;
  background: var(--c-deep);
  color: var(--c-accent);
}
.contact-channel--mail .contact-channel__icon {
  background: var(--c-primary);
  color: var(--c-white);
}
.contact-channel--addr .contact-channel__icon {
  background: var(--c-cream);
  color: var(--c-deep);
}
.contact-channel--time .contact-channel__icon {
  background: var(--c-accent);
  color: var(--c-deep);
}
.contact-channel__ripple {
  position: absolute;
  inset: -5px;
  border: 2px solid var(--c-primary);
  border-radius: 50%;
  animation: contact-ripple 2.2s ease-out infinite;
}
@keyframes contact-ripple {
  0% { transform: scale(0.85); opacity: 0.9; }
  70%, 100% { transform: scale(1.3); opacity: 0; }
}
.contact-channel__label {
  margin-bottom: 6px;
  font-family: var(--font-headline);
  font-size: 18px;
  letter-spacing: 0.03em;
}
.contact-channel__value {
  margin-bottom: 10px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
  overflow-wrap: break-word;
}
.contact-channel__note {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--c-gray-blue);
}
.contact-channel__hint {
  display: inline-block;
  margin-top: 14px;
  padding: 4px 12px;
  border: 1px solid var(--c-primary);
  border-radius: 99px;
  font-size: 12px;
  font-weight: 700;
  color: var(--c-primary);
}
.contact-channel--time {
  background: var(--c-deep);
  border-color: var(--c-deep);
  box-shadow: 4px 4px 0 rgba(255, 78, 0, 0.35);
}
.contact-channel--time .contact-channel__value {
  color: var(--c-white);
}
.contact-channel--time .contact-channel__note {
  color: rgba(255, 255, 255, 0.72);
}
.contact-channel--time .contact-channel__hint {
  border-color: var(--c-accent);
  color: var(--c-accent);
}
.contact-time-axis {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0 10px;
}
.contact-time-axis__start,
.contact-time-axis__end {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.78);
}
.contact-time-axis__bar {
  position: relative;
  flex: 1;
  height: 8px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.18);
}
.contact-time-axis__fill {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 99px;
  background: var(--c-accent);
  transform-origin: left;
  animation: contact-fill 1.6s var(--ease-sport) 0.3s both;
}
@keyframes contact-fill {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* ===== 位置导览 ===== */
.contact-location {
  position: relative;
  overflow: hidden;
  padding: 48px 0 56px;
  background: var(--c-deep);
  color: var(--c-white);
}
.contact-location::after {
  content: '';
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 220px;
  height: 220px;
  border: 2px dashed rgba(198, 255, 0, 0.16);
  border-radius: 50%;
}
.contact-location .section-kicker {
  color: var(--c-accent);
}
.contact-location .section-desc {
  color: rgba(255, 255, 255, 0.68);
}
.contact-map {
  position: relative;
  display: grid;
  gap: 24px;
  margin-top: 28px;
}
.contact-map__frame {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  background: var(--c-deep);
}
.contact-map__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}
.contact-map__route {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
}
.contact-map__legend {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.contact-map__legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 99px;
  background: rgba(26, 42, 58, 0.72);
  font-size: 12px;
  font-weight: 700;
  color: var(--c-white);
}
.contact-map__legend-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.contact-map__legend-dot--green { background: var(--c-accent); }
.contact-map__legend-dot--orange { background: var(--c-primary); }
.contact-map__pin {
  position: absolute;
  top: 54%;
  left: 50%;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  transform: translate(-50%, -50%);
}
.contact-map__pin-pulse {
  width: 18px;
  height: 18px;
  border: 3px solid var(--c-white);
  border-radius: 50%;
  background: var(--c-primary);
  animation: contact-pin 2s ease-in-out infinite;
}
@keyframes contact-pin {
  0%, 100% { box-shadow: 0 0 0 2px rgba(255, 78, 0, 0.5); }
  55% { box-shadow: 0 0 0 16px rgba(255, 78, 0, 0); }
}
.contact-map__pin-text {
  padding: 8px 14px;
  border: 1px solid var(--c-accent);
  border-radius: 8px;
  background: rgba(26, 42, 58, 0.92);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--c-white);
  white-space: nowrap;
}
.contact-map__coordinate {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 3;
  padding: 6px 10px;
  border-radius: 6px;
  background: rgba(26, 42, 58, 0.8);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--c-accent);
}
.contact-map__info {
  position: relative;
  padding: 24px;
  border-left: 6px solid var(--c-primary);
  border-radius: var(--radius-lg);
  background: var(--c-white);
  color: var(--c-dark-gray);
  box-shadow: var(--shadow-card);
}
.contact-map__info::before {
  content: 'STATION';
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--c-light-orange);
}
.contact-map__info-title {
  margin: 0 0 16px;
  padding-right: 70px;
  font-size: 22px;
}
.contact-map__info-list {
  display: grid;
  gap: 14px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}
.contact-map__info-list li {
  display: grid;
  gap: 4px;
}
.contact-map__info-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-primary-deep);
}
.contact-map__info-value {
  font-size: 14px;
  line-height: 1.6;
}
.contact-map__info-note {
  margin: 0;
  padding-top: 12px;
  border-top: 1px dashed var(--c-gray-blue);
  font-size: 12px;
  line-height: 1.6;
  color: var(--c-gray-blue);
}

/* ===== 服务说明 ===== */
.contact-service {
  padding: 48px 0 56px;
}
.contact-service__layout {
  display: grid;
  gap: 28px;
  margin-top: 28px;
}
.contact-service__list {
  display: grid;
  padding: 8px 20px;
  border: 2px solid var(--c-deep);
  border-radius: var(--radius-lg);
  background: var(--c-white);
  box-shadow: var(--shadow-card);
}
.contact-service-item {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px dashed rgba(74, 91, 109, 0.35);
}
.contact-service-item:last-child {
  border-bottom: 0;
}
.contact-service-item__tag {
  flex-shrink: 0;
  height: fit-content;
  margin-top: 4px;
}
.contact-service-item__title {
  margin: 0 0 4px;
  font-size: 18px;
}
.contact-service-item__mail {
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--c-primary-deep);
}
.contact-service-item__mail a {
  font-weight: 700;
  color: var(--c-primary);
  text-decoration: none;
}
.contact-service-item__mail a:hover {
  text-decoration: underline;
}
.contact-service-item__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--c-gray-blue);
}
.contact-service__aside {
  display: grid;
  gap: 16px;
  align-content: start;
}
.contact-service__img-wrap {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 2px solid var(--c-deep);
  border-radius: var(--radius-lg);
}
.contact-service__img-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.contact-service__team {
  padding: 20px;
  border-left: 6px solid var(--c-accent);
  border-radius: var(--radius-lg);
  background: var(--c-deep);
  color: var(--c-white);
}
.contact-service__team-title {
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-accent);
}
.contact-service__team-num {
  margin-bottom: 10px;
  font-size: 15px;
  line-height: 1.6;
}
.contact-service__team-num strong {
  font-size: 28px;
  color: var(--c-accent);
}
.contact-service__team-desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
}

/* ===== 结尾行动卡 ===== */
.contact-closing {
  padding: 0 0 64px;
}
.contact-closing__card {
  position: relative;
  overflow: hidden;
  padding: 40px 24px;
  border-radius: var(--radius-lg);
  background: var(--c-primary);
  color: var(--c-white);
  text-align: center;
  box-shadow: var(--shadow-card);
}
.contact-closing__card::before,
.contact-closing__card::after {
  content: '';
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
}
.contact-closing__card::before {
  top: -60px;
  right: -60px;
  width: 180px;
  height: 180px;
  transform: rotate(45deg);
}
.contact-closing__card::after {
  bottom: -30px;
  left: -30px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  transform: rotate(15deg);
}
.contact-closing__kicker {
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--c-yellow);
}
.contact-closing__title {
  margin-bottom: 12px;
  font-size: 28px;
}
.contact-closing__text {
  max-width: 420px;
  margin: 0 auto 18px;
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.92;
}
.contact-closing__mail {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 99px;
  background: var(--c-deep);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--c-accent);
}

/* ===== 桌面端增强 ===== */
@media (min-width: 768px) {
  .contact-hero__grid {
    grid-template-columns: 1.5fr 1fr;
  }
  .contact-hero__board {
    min-height: 96px;
    padding: 24px 28px;
  }
  .contact-closing__card {
    padding: 56px 48px;
  }
  .contact-closing__title {
    font-size: 34px;
  }
}

@media (min-width: 860px) {
  .contact-channel-grid {
    grid-template-columns: repeat(2, 1fr);
    align-items: start;
    gap: 28px 24px;
  }
  .contact-channel:nth-child(even) {
    margin-top: 28px;
  }
  .contact-channel__value {
    font-size: 16px;
  }
}

@media (min-width: 960px) {
  .contact-map {
    grid-template-columns: 1.65fr 1fr;
    align-items: stretch;
  }
  .contact-map__frame {
    min-height: 460px;
  }
  .contact-map__info {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .contact-service__layout {
    grid-template-columns: 1.5fr 1fr;
    align-items: start;
  }
  .contact-service__img-wrap {
    aspect-ratio: 1 / 1;
    max-height: 340px;
  }
}
