.page-contact {
  background-color: var(--color-deep-blue);
  background-image:
    radial-gradient(0.5px 0.5px at 10% 15%, rgba(242,201,76,0.25), transparent),
    radial-gradient(0.5px 0.5px at 30% 55%, rgba(242,201,76,0.15), transparent),
    radial-gradient(1px 1px at 55% 25%, rgba(242,201,76,0.2), transparent),
    radial-gradient(1px 1px at 80% 60%, rgba(242,201,76,0.15), transparent),
    radial-gradient(0.5px 0.5px at 20% 80%, rgba(255,255,255,0.12), transparent),
    radial-gradient(0.5px 0.5px at 65% 85%, rgba(255,255,255,0.08), transparent),
    radial-gradient(1px 1px at 45% 45%, rgba(242,201,76,0.1), transparent),
    radial-gradient(0.5px 0.5px at 90% 10%, rgba(242,201,76,0.18), transparent);
  color: var(--color-white);
  padding-bottom: 5rem;
}

/* ===== 01-联系标题区 ===== */
.contact-hero {
  position: relative;
  padding-top: 2.5rem;
}

.contact-hero-text {
  margin-bottom: 2rem;
}

.contact-hero .section-number {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--color-gold);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.page-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--color-white);
  margin: 0 0 0.75rem;
}

.page-desc {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: var(--color-gray-1);
  line-height: 1.6;
  max-width: 620px;
}

.contact-hero-visual {
  width: 100%;
  overflow: hidden;
  border-radius: var(--card-radius);
  margin-bottom: 3rem;
}

.hero-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: cover;
  border-radius: var(--card-radius);
}

/* ===== 联系卡片区 ===== */
.contact-cards-section {
  margin-bottom: 4rem;
}

.contact-cards {
  gap: 1.5rem;
  align-items: stretch;
}

/* 每张卡片容器 – 透镜头 */
.contact-card {
  perspective: 960px;
  cursor: pointer;
  outline: none;
  min-height: 360px;
  border-radius: var(--card-radius);
}

.contact-card:focus-visible {
  box-shadow: var(--focus-glow);
  border-radius: var(--card-radius);
}

/* 翻转容器 */
.card-flipper {
  position: relative;
  width: 100%;
  height: 360px;
  transform-style: preserve-3d;
  transition: transform 0.45s cubic-bezier(0.23, 1, 0.32, 1);
  border-radius: var(--card-radius);
}

.contact-card:hover .card-flipper,
.contact-card:focus .card-flipper,
.contact-card:focus-within .card-flipper {
  transform: rotateY(180deg);
}

/* 正 / 背面通用 */
.card-face {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: var(--card-radius);
  overflow: hidden;
}

/* 正面 */
.card-front {
  background: var(--color-gray-2);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border: 1px solid rgba(242,201,76,0.15);
  box-shadow: 0 8px 32px rgba(0,0,0,0.35), 0 0 0 1px rgba(242,201,76,0.06) inset;
  transition: box-shadow 0.3s ease;
}

.contact-card:hover .card-front,
.contact-card:focus .card-front {
  box-shadow: 0 12px 40px rgba(242,201,76,0.12), 0 0 0 1px rgba(242,201,76,0.2) inset;
}

.card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.18;
  pointer-events: none;
  user-select: none;
}

.card-body {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.card-icon {
  font-size: 2.2rem;
  color: var(--color-gold);
  line-height: 1;
  filter: drop-shadow(0 0 6px rgba(242,201,76,0.3));
}

.card-heading {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-white);
  margin: 0;
  text-transform: uppercase;
}

.card-data {
  font-family: var(--font-data);
  font-size: clamp(0.95rem, 1.4vw, 1.15rem);
  font-weight: 500;
  color: var(--color-gold);
  word-break: break-all;
  text-decoration: none;
  transition: color 0.25s;
}

.card-data:hover {
  color: var(--color-red);
}

.card-data[href^="tel"] {
  letter-spacing: 0.04em;
}

.contact-card .card-data {
  font-size: clamp(0.9rem, 1.3vw, 1.1rem);
}

/* 翻转提示小符号 */
.flip-hint {
  position: absolute;
  bottom: 0.75rem;
  right: 1rem;
  font-size: 1.1rem;
  color: var(--color-gray-1);
  opacity: 0.5;
  transition: opacity 0.3s, transform 0.3s;
}

.contact-card:hover .flip-hint,
.contact-card:focus .flip-hint {
  opacity: 0.9;
  transform: translateX(3px);
}

/* 背面 */
.card-back {
  background: linear-gradient(145deg, #1e2d3d, #0f1e2e);
  border: 1px solid rgba(242,201,76,0.2);
  transform: rotateY(180deg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.8rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
}

.card-back-text {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-white);
  text-align: center;
  max-width: 260px;
}

.card-back-text strong {
  color: var(--color-gold);
  font-weight: 700;
}

.card-back-text.note {
  color: var(--color-gray-1);
  font-size: 0.92rem;
}

/* ===== 02-响应承诺 ===== */
.contact-promise {
  margin-bottom: 4rem;
}

.promise-inner {
  background: linear-gradient(135deg, rgba(44,62,80,0.7), rgba(11,26,46,0.9));
  border-left: 4px solid transparent;
  border-image: linear-gradient(180deg, var(--color-gold), var(--color-red)) 1;
  border-radius: 0 var(--card-radius) var(--card-radius) 0;
  padding: 2.5rem 2.8rem;
  box-shadow: 0 6px 28px rgba(0,0,0,0.3);
}

.contact-promise .section-number {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--color-gold);
  line-height: 1;
  margin-bottom: 0.2rem;
}

.promise-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--color-white);
  margin: 0 0 1rem;
}

.promise-text {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.7;
  color: var(--color-white);
  margin: 0 0 0.6rem;
}

.promise-text .highlight {
  color: var(--color-gold);
  font-weight: 700;
  text-shadow: 0 0 12px rgba(242,201,76,0.25);
}

.promise-note {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-gray-1);
  line-height: 1.6;
  margin: 0;
  padding-top: 0.6rem;
  border-top: 1px solid rgba(242,201,76,0.15);
}

/* ===== 03-其他渠道 ===== */
.contact-other {
  margin-bottom: 1rem;
}

.contact-other .section-number {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--color-gold);
  line-height: 1;
  margin-bottom: 0.2rem;
}

.other-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--color-white);
  margin: 0 0 0.6rem;
}

.other-intro {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-gray-1);
  line-height: 1.6;
  margin: 0 0 1.5rem;
}

.other-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1.8rem 2.5rem;
}

.other-list li {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem 0.8rem;
}

.other-list .btn {
  background: var(--color-gold);
  color: var(--color-deep-blue);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.7rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: background 0.3s, transform 0.25s, box-shadow 0.3s;
  box-shadow: 0 2px 12px rgba(242,201,76,0.2);
  display: inline-block;
}

.other-list .btn:hover,
.other-list .btn:focus-visible {
  background: var(--color-gold-red-gradient);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(230,57,70,0.25);
  outline: none;
}

.other-desc {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-gray-1);
  line-height: 1.5;
}

/* ===== 响应式 ===== */
@media (max-width: 768px) {
  .page-contact {
    padding-bottom: 3rem;
  }

  .contact-hero {
    padding-top: 1.5rem;
  }

  .contact-hero-text {
    margin-bottom: 1.2rem;
  }

  .contact-hero-visual {
    margin-bottom: 2rem;
    border-radius: 8px;
  }

  .hero-image {
    max-height: 180px;
  }

  .contact-cards {
    gap: 1.2rem;
  }

  .contact-card {
    min-height: 300px;
  }

  .card-flipper {
    height: 300px;
  }

  .card-body {
    padding: 1rem;
    gap: 0.4rem;
  }

  .card-icon {
    font-size: 1.8rem;
  }

  .card-heading {
    font-size: 1rem;
  }

  .contact-card .card-data {
    font-size: 0.85rem;
  }

  .card-back-text {
    font-size: 0.92rem;
    max-width: 220px;
  }

  .promise-inner {
    padding: 1.8rem 1.5rem;
    border-left-width: 3px;
  }

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

  .contact-other {
    margin-bottom: 0.5rem;
  }

  .other-list {
    flex-direction: column;
    gap: 1rem;
  }

  .other-list li {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
  }

  .other-desc {
    font-size: 0.88rem;
    padding-left: 0.2rem;
  }

  .other-list .btn {
    font-size: 0.9rem;
    padding: 0.6rem 1.2rem;
  }

  .contact-card:focus .card-flipper,
  .contact-card:focus-within .card-flipper {
    transform: rotateY(180deg);
  }
}

@media (max-width: 480px) {
  .contact-hero .section-number {
    font-size: 2.4rem;
  }

  .page-title {
    font-size: 1.6rem;
  }

  .card-flipper {
    height: 270px;
  }

  .contact-card {
    min-height: 270px;
  }

  .promise-inner {
    padding: 1.4rem 1.2rem;
  }

  .contact-promise .section-number,
  .contact-other .section-number {
    font-size: 2rem;
  }

  .promise-heading,
  .other-heading {
    font-size: 1.3rem;
  }
}

@media (hover: hover) {
  .contact-card:hover .card-flipper {
    transform: rotateY(180deg);
  }

  .card-data:hover {
    color: var(--color-red);
  }

  .flip-hint {
    opacity: 0.35;
  }

  .contact-card:hover .flip-hint {
    opacity: 0.9;
    transform: translateX(3px);
  }
}

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

  .contact-card:hover .card-flipper,
  .contact-card:focus .card-flipper,
  .contact-card:focus-within .card-flipper {
    transform: none;
  }

  .card-back {
    display: none;
  }

  .contact-card:hover .card-back,
  .contact-card:focus .card-back,
  .contact-card:focus-within .card-back {
    display: flex;
  }

  .other-list .btn {
    transition: none;
  }

  .flip-hint {
    display: none;
  }
}
