/* =====================================================
   联系页 / page-contact
   作用域限定：.page-contact
   ===================================================== */
.page-contact {
  --contact-title-font: clamp(5rem, 15vw, 11rem);
  background:
    radial-gradient(1200px 600px at 85% -5%, rgba(0, 229, 255, 0.08), transparent 60%),
    var(--ly-bg);
}

/* ---------- 首屏 hero ---------- */
.page-contact__hero {
  position: relative;
  overflow: hidden;
  padding: 1.25rem 0 3rem;
}

.page-contact__hero-media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.32;
  mix-blend-mode: screen;
}

.page-contact__hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: none;
}

/* 通信弧线装饰 */
.page-contact__hero::before,
.page-contact__hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
}

.page-contact__hero::before {
  width: 70vw;
  height: 70vw;
  min-width: 300px;
  min-height: 300px;
  right: -15%;
  top: -12%;
  background: radial-gradient(circle at 65% 40%, rgba(0, 229, 255, 0.30) 0%, rgba(0, 229, 255, 0.08) 40%, transparent 68%);
}

.page-contact__hero::after {
  width: 60vw;
  height: 60vw;
  min-width: 240px;
  min-height: 240px;
  left: -20%;
  bottom: -18%;
  background: radial-gradient(circle, rgba(0, 255, 136, 0.20) 0%, transparent 65%);
}

.page-contact__hero .ly-breadcrumb {
  position: relative;
  z-index: 1;
  margin-bottom: 2rem;
}

.page-contact__hero-layout {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.page-contact__masthead {
  max-width: 520px;
  margin-bottom: 2.2rem;
}

.page-contact__kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ly-blue);
  margin-bottom: 1.1rem;
}

.page-contact__kicker::before {
  content: "";
  width: 2.25rem;
  height: 2px;
  background: var(--ly-grad-cg);
  flex: 0 0 auto;
}

.page-contact__title {
  position: relative;
  font-size: var(--contact-title-font);
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: -0.04em;
  color: var(--ly-text);
  transform: skew(-6deg);
  margin: 0 0 1.5rem;
  text-shadow: 6px 6px 0 rgba(0, 229, 255, 0.14);
}

.page-contact__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.08em;
  width: 62%;
  height: 0.14em;
  background: var(--ly-grad-cg);
  transform: skewX(6deg);
  opacity: 0.55;
}

.page-contact__lead {
  margin: 0;
  max-width: 34em;
  color: var(--ly-muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

/* ---------- 联系方式列表 ---------- */
.page-contact__channels {
  display: grid;
  gap: 0.85rem;
}

.page-contact__chan {
  position: relative;
  display: block;
  padding: 1.3rem 1.3rem 1.3rem 4.7rem;
  background: rgba(18, 23, 43, 0.90);
  border: 1px solid var(--ly-line);
  border-radius: var(--ly-radius);
  color: var(--ly-text);
  text-decoration: none;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.page-contact__chan:hover,
.page-contact__chan:focus-visible {
  border-color: var(--ly-line-acc);
  background: rgba(18, 23, 43, 0.98);
  transform: translateX(6px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.30);
}

.page-contact__chan-icon {
  position: absolute;
  left: 1.2rem;
  top: 1.35rem;
  width: 2.2rem;
  height: 2.2rem;
  color: var(--ly-blue);
}

.page-contact__chan--address .page-contact__chan-icon {
  color: var(--ly-green);
}

.page-contact__chan--address:hover,
.page-contact__chan--address:focus-visible {
  transform: none;
  border-color: rgba(0, 255, 136, 0.35);
}

.page-contact__chan-label {
  display: block;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ly-muted);
  margin-bottom: 0.35rem;
}

.page-contact__chan-value {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--ly-text);
  word-break: break-word;
}

.page-contact__chan-note {
  display: block;
  font-size: 0.85rem;
  color: var(--ly-muted);
  line-height: 1.5;
  margin-top: 0.45rem;
}

/* ---------- 编号章节通用 ---------- */
.page-contact__section {
  padding: var(--ly-space-2) 0;
  min-width: 0;
}

.page-contact__section + .page-contact__section {
  border-top: 1px solid var(--ly-line);
}

.page-contact__chapter {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.8rem 1.4rem;
  align-items: start;
  min-width: 0;
}

.page-contact__chapter-num {
  font-size: clamp(3.4rem, 7vw, 5.6rem);
  font-weight: 100;
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1px rgba(0, 229, 255, 0.50);
  opacity: 0.85;
  padding-top: 0.08em;
  user-select: none;
}

.page-contact__chapter-body {
  min-width: 0;
}

.page-contact__chapter-title {
  margin: 0 0 1rem;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 300;
  letter-spacing: -0.01em;
  color: var(--ly-text);
  text-transform: uppercase;
}

.page-contact__chapter-title::before {
  content: "";
  display: block;
  width: 3rem;
  height: 3px;
  background: var(--ly-grad-cg);
  margin-bottom: 0.8rem;
}

.page-contact__chapter-text {
  margin: 0 0 1.25rem;
  max-width: 46em;
  color: var(--ly-muted);
  font-size: 0.96rem;
  line-height: 1.75;
}

.page-contact__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.2rem;
}

/* ---------- 01 响应承诺 ---------- */
.page-contact__promise {
  background: linear-gradient(120deg, rgba(255, 122, 0, 0.09), transparent 55%);
}

.page-contact__promise-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.4rem;
  background: rgba(255, 122, 0, 0.08);
  border: 1px solid rgba(255, 122, 0, 0.38);
  border-radius: var(--ly-radius);
  padding: 1.3rem 1.4rem;
}

.page-contact__promise-hl {
  flex: 0 0 auto;
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--ly-orange);
}

.page-contact__promise-panel p {
  flex: 1 1 240px;
  min-width: 220px;
  margin: 0;
  color: var(--ly-text);
  font-size: 0.98rem;
  line-height: 1.7;
}

.page-contact__promise-panel strong {
  color: var(--ly-orange);
  font-weight: 700;
}

/* ---------- 02 地址与来函 ---------- */
.page-contact__address-grid {
  display: grid;
  gap: 1.4rem;
  align-items: center;
  background: var(--ly-panel);
  border: 1px solid var(--ly-line);
  border-radius: var(--ly-radius);
  padding: 1.2rem;
}

.page-contact__address-value {
  margin: 0 0 0.6rem;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--ly-text);
}

.page-contact__address-tip {
  margin: 0;
  font-size: 0.90rem;
  line-height: 1.7;
  color: var(--ly-muted);
}

.page-contact__address-img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  border: 1px solid var(--ly-line);
  border-radius: var(--ly-radius);
}

/* ---------- 04 合作与商务 ---------- */
.page-contact__biz {
  background: radial-gradient(700px 300px at 85% 100%, rgba(0, 255, 136, 0.06), transparent 60%);
}

/* ---------- 桌面断点 ---------- */
@media (min-width: 768px) {
  .page-contact__hero {
    min-height: 84vh;
    display: flex;
    align-items: center;
    padding-top: 2rem;
    padding-bottom: 5rem;
  }

  .page-contact__hero .ly-container {
    width: 100%;
  }

  .page-contact__hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 3rem;
    align-items: end;
  }

  .page-contact__masthead {
    margin-bottom: 0;
    max-width: 600px;
  }

  .page-contact__lead {
    font-size: 1.1rem;
  }

  .page-contact__channels {
    gap: 1rem;
  }

  .page-contact__section {
    padding: var(--ly-space-3) 0;
  }

  .page-contact__chapter {
    gap: 1.2rem 2rem;
  }

  .page-contact__address-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    gap: 2rem;
    padding: 1.5rem;
  }
}
