.page-contact {
  padding-bottom: clamp(56px, 8vw, 100px);
  background: var(--snow);
}

/* ---------- 首屏 ---------- */

.page-contact .contact-hero {
  padding-top: clamp(16px, 2.5vw, 34px);
}

.page-contact .contact-hero-head {
  position: relative;
  max-width: 780px;
  margin-bottom: clamp(28px, 4vw, 52px);
}

.page-contact .contact-hero-head::before {
  content: "";
  position: absolute;
  right: -180px;
  top: -34px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 1px solid var(--line-gold);
  box-shadow: 0 0 0 22px rgba(200, 150, 62, .07), 0 0 0 48px rgba(200, 150, 62, .04);
  pointer-events: none;
  display: none;
}

@media (min-width: 1040px) {
  .page-contact .contact-hero-head::before {
    display: block;
  }
}

.page-contact .contact-h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(34px, 6vw, 68px);
  line-height: 1.04;
  letter-spacing: -.02em;
  color: var(--ink);
  margin: 14px 0 18px;
}

.page-contact .contact-lede {
  font-size: 17px;
  line-height: 1.75;
  color: var(--stone);
  max-width: 60ch;
  margin: 0;
}

.page-contact .contact-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 3.4vw, 44px);
}

@media (min-width: 960px) {
  .page-contact .contact-hero-grid {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
    align-items: start;
  }
}

/* ---------- 联系卡片 ---------- */

.page-contact .contact-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: var(--shadow-2);
}

.page-contact .contact-card-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(140deg, var(--navy), var(--clay));
}

.page-contact .contact-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-contact .contact-card-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 58%;
  background: linear-gradient(to top, rgba(22, 33, 62, .78), rgba(22, 33, 62, 0));
  pointer-events: none;
}

.page-contact .contact-media-badge {
  position: absolute;
  left: 16px;
  bottom: 14px;
  z-index: 2;
  margin: 0;
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--snow);
  background: rgba(22, 33, 62, .55);
  border: 1px solid rgba(235, 203, 139, .38);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
}

.page-contact .contact-card-body {
  padding: clamp(22px, 3vw, 38px);
}

.page-contact .contact-rows {
  margin: 14px 0 0;
  padding: 0;
}

.page-contact .contact-row {
  display: grid;
  gap: 6px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.page-contact .contact-row:first-child {
  padding-top: 6px;
}

.page-contact .contact-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.page-contact .contact-row dt {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .12em;
  color: var(--clay);
  margin: 0;
}

.page-contact .contact-row dd {
  margin: 0;
}

.page-contact .contact-value {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: clamp(14px, 2.15vw, 22px);
  line-height: 1.4;
  letter-spacing: .01em;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.page-contact .contact-value--text {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(15px, 1.9vw, 19px);
  line-height: 1.6;
}

.page-contact .contact-card-note {
  margin: 22px 0 0;
  padding-top: 18px;
  border-top: 1px dashed var(--line-gold);
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--stone);
}

/* ---------- 咨询类型 ---------- */

.page-contact .consult-switch {
  display: grid;
  gap: 16px;
  align-content: start;
}

.page-contact .consult-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(20px, 2.9vw, 30px);
  line-height: 1.2;
  letter-spacing: -.01em;
  color: var(--ink);
  margin: 8px 0 0;
}

.page-contact .chip-bar {
  flex-wrap: wrap;
}

.page-contact .consult-list {
  display: grid;
  gap: 12px;
  margin-top: 4px;
}

.page-contact .consult-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 18px 20px 20px;
  transition: border-color var(--t-fast), box-shadow var(--t-fast), transform var(--t-fast);
}

.page-contact .consult-item:hover {
  border-color: var(--line-gold);
  box-shadow: var(--shadow-1);
  transform: translateY(-3px);
}

.page-contact .consult-item-title {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  color: var(--ink);
  margin: 0 0 12px;
}

.page-contact .consult-index {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .12em;
  color: var(--gold);
  flex: none;
}

.page-contact .consult-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}

.page-contact .consult-points li {
  position: relative;
  padding-left: 18px;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--stone);
}

.page-contact .consult-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .68em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-soft);
  border: 1px solid var(--gold);
}

/* ---------- 受理时段与处理顺序 ---------- */

.page-contact .contact-flow {
  padding-top: clamp(48px, 7vw, 96px);
}

.page-contact .flow-panel {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  border-radius: var(--radius-l);
  padding: clamp(26px, 4.4vw, 58px);
  color: var(--snow);
  box-shadow: var(--shadow-2);
}

.page-contact .flow-panel::before {
  content: "";
  position: absolute;
  top: -70px;
  right: -50px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(200, 150, 62, .3), rgba(200, 150, 62, 0) 70%);
  pointer-events: none;
}

.page-contact .flow-panel::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -120px;
  width: 320px;
  height: 320px;
  background: linear-gradient(135deg, rgba(200, 150, 62, .34), rgba(192, 57, 43, .16));
  clip-path: polygon(0 0, 100% 0, 100% 100%);
  transform: rotate(8deg);
  opacity: .32;
  pointer-events: none;
}

.page-contact .flow-eyebrow {
  position: relative;
  z-index: 1;
  color: var(--gold-soft);
}

.page-contact .flow-title {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(24px, 3.6vw, 42px);
  line-height: 1.1;
  letter-spacing: -.015em;
  color: var(--white);
  margin: 12px 0 0;
}

.page-contact .flow-lede {
  position: relative;
  z-index: 1;
  margin: 18px 0 0;
  max-width: 60ch;
  font-size: 16px;
  line-height: 1.78;
  color: rgba(247, 245, 241, .74);
}

.page-contact .flow-list {
  position: relative;
  z-index: 1;
  list-style: none;
  margin: clamp(26px, 4vw, 44px) 0 0;
  padding: 0;
}

.page-contact .flow-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line-light);
}

.page-contact .flow-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.page-contact .flow-num {
  font-size: 13px;
  letter-spacing: .1em;
  color: var(--gold-soft);
  padding-top: 4px;
}

.page-contact .flow-text h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  line-height: 1.4;
  color: var(--white);
  margin: 0 0 6px;
}

.page-contact .flow-text p {
  margin: 0;
  font-size: 15px;
  line-height: 1.72;
  color: rgba(247, 245, 241, .7);
}

/* ---------- 底部双栏 ---------- */

.page-contact .contact-bottom {
  padding-top: clamp(48px, 7vw, 96px);
}

.page-contact .contact-bottom-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 3.6vw, 44px);
}

@media (min-width: 960px) {
  .page-contact .contact-bottom-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
    align-items: start;
  }
}

/* 合作卡片 */

.page-contact .partner-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: var(--shadow-1);
}

.page-contact .partner-media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(140deg, var(--stone), var(--navy));
}

.page-contact .partner-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-contact .partner-body {
  padding: clamp(22px, 3vw, 38px);
}

.page-contact .partner-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(21px, 3vw, 32px);
  line-height: 1.18;
  letter-spacing: -.012em;
  color: var(--ink);
  margin: 10px 0 14px;
}

.page-contact .partner-lede {
  margin: 0 0 22px;
  font-size: 16px;
  line-height: 1.78;
  color: var(--stone);
}

.page-contact .fold {
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: var(--snow);
  padding: 0;
  overflow: hidden;
}

.page-contact .fold-summary {
  cursor: pointer;
  padding: 16px 20px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15.5px;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 12px;
}

.page-contact .fold-summary::after {
  content: "";
  margin-left: auto;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(45deg);
  transition: transform var(--t-fast);
  flex: none;
}

.page-contact .fold[open] .fold-summary::after {
  transform: rotate(-135deg);
}

.page-contact .fold-body {
  padding: 2px 20px 22px;
  border-top: 1px solid var(--line);
}

.page-contact .fold-body h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  color: var(--clay);
  letter-spacing: .02em;
  margin: 18px 0 6px;
}

.page-contact .fold-body h3:first-child {
  margin-top: 16px;
}

.page-contact .fold-body p {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--stone);
}

/* 自查清单 */

.page-contact .selfcheck {
  position: relative;
  background: var(--gold-soft);
  border: 1px solid var(--line-gold);
  border-radius: var(--radius-l);
  padding: clamp(24px, 3.4vw, 42px);
}

.page-contact .selfcheck::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 120px;
  background: linear-gradient(225deg, rgba(200, 150, 62, .28), rgba(200, 150, 62, 0));
  clip-path: polygon(100% 0, 100% 100%, 0 0);
  border-radius: 0 var(--radius-l) 0 0;
  pointer-events: none;
}

.page-contact .selfcheck-title {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(21px, 3vw, 32px);
  line-height: 1.18;
  letter-spacing: -.012em;
  color: var(--ink);
  margin: 10px 0 12px;
}

.page-contact .selfcheck-lede {
  position: relative;
  z-index: 1;
  margin: 0 0 24px;
  font-size: 15.5px;
  line-height: 1.75;
  color: #4a4132;
}

.page-contact .selfcheck-list {
  position: relative;
  z-index: 1;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.page-contact .selfcheck-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(156, 91, 59, .22);
}

.page-contact .selfcheck-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.page-contact .selfcheck-box {
  width: 18px;
  height: 18px;
  margin-top: 4px;
  border: 1.5px solid var(--clay);
  border-radius: 5px;
  background: var(--white);
  flex: none;
}

.page-contact .selfcheck-q {
  margin: 0 0 5px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--ink);
}

.page-contact .selfcheck-a {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.72;
  color: #4a4132;
}

.page-contact .selfcheck-a a {
  color: var(--clay);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color var(--t-fast);
}

.page-contact .selfcheck-a a:hover {
  color: var(--gold);
}

.page-contact .selfcheck-lede a {
  color: var(--clay);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--t-fast);
}

.page-contact .selfcheck-lede a:hover {
  color: var(--gold);
}

/* ---------- 窄屏收尾 ---------- */

@media (max-width: 640px) {
  .page-contact .contact-h1 {
    font-size: clamp(30px, 9vw, 40px);
  }

  .page-contact .flow-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  .page-contact .flow-num {
    padding-top: 0;
  }

  .page-contact .contact-card-media,
  .page-contact .partner-media {
    aspect-ratio: 3 / 2;
  }

  .page-contact .selfcheck-item {
    gap: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-contact .consult-item,
  .page-contact .fold-summary::after,
  .page-contact .selfcheck-a a {
    transition: none;
  }

  .page-contact .consult-item:hover {
    transform: none;
  }
}
