.contact-main { padding-top: 76px; background: #f4f6f8; }
section.contact-intro { padding: 46px 0 42px; border-bottom: 1px solid var(--line); background: #fff; background-image: linear-gradient(rgba(23,32,44,.024) 1px,transparent 1px),linear-gradient(90deg,rgba(23,32,44,.024) 1px,transparent 1px); background-size: 64px 64px; }
.contact-intro-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(360px,.68fr); align-items: end; gap: clamp(50px,8vw,132px); }
.contact-intro h1 { margin: 0; font-size: clamp(38px,3.45vw,50px); line-height: 1.08; letter-spacing: -.05em; }
.contact-intro p { max-width: 490px; margin: 0 0 2px; color: #7d8895; font-size: 13px; line-height: 1.9; letter-spacing: .01em; }

section.contact-section { padding: 42px 0 88px; background: #f4f6f8; }
.contact-panel { display: grid; grid-template-columns: minmax(510px,.94fr) minmax(560px,1.06fr); border: 1px solid #dce1e6; background: #fff; box-shadow: 0 28px 70px rgba(23,32,44,.08); }
.wechat-panel,.company-panel { min-width: 0; padding: 46px; }
.wechat-panel { position: relative; overflow: hidden; color: #fff; background: radial-gradient(circle at 10% 90%,rgba(239,51,64,.16),transparent 38%),#20262d; }
.wechat-panel::after { content: ""; position: absolute; top: -155px; right: -165px; width: 360px; height: 360px; border: 1px solid #3c444d; border-radius: 50%; pointer-events: none; }
.company-panel { display: flex; flex-direction: column; border-left: 1px solid #dce1e6; background: #fff; }
.panel-heading { position: relative; z-index: 1; }
.panel-heading p { margin: 0; color: var(--red); font-size: 9px; font-weight: 800; letter-spacing: .19em; }
.panel-heading h2 { margin: 14px 0 0; font-size: 32px; line-height: 1.32; letter-spacing: -.04em; }
.panel-heading > span { display: block; margin-top: 10px; color: #86909b; font-size: 11px; line-height: 1.7; }
.wechat-panel .panel-heading > span { color: #aab3bd; }

.wechat-connect { position: relative; z-index: 1; margin-top: 33px; display: grid; grid-template-columns: 240px minmax(0,1fr); align-items: center; gap: 32px; }
.contact-qr { margin: 0; }
.qr-crop { width: 240px; height: 240px; overflow: hidden; border: 12px solid #fff; background: #fff; box-shadow: 0 18px 40px rgba(0,0,0,.25); }
.qr-crop img { width: 134%; max-width: none; height: auto; transform: translate(-12.5%,-28.3%); }
.contact-qr figcaption { margin-top: 13px; display: flex; align-items: center; justify-content: center; gap: 8px; color: #aeb7c1; font-size: 9px; }
.contact-qr figcaption i { width: 7px; height: 7px; border-radius: 50%; background: #50ca89; box-shadow: 0 0 0 4px rgba(80,202,137,.13); }
.contact-person { min-width: 0; }
.contact-person > span,.contact-person > strong,.contact-person > b,.contact-person > small { display: block; }
.contact-person > span { margin-top: 22px; color: #7f8994; font-size: 8px; letter-spacing: .08em; }
.contact-person > span:first-child { margin-top: 0; }
.contact-person > strong { margin-top: 7px; font-size: 22px; }
.contact-person > b { margin-top: 6px; color: #fff; font-size: 27px; letter-spacing: .02em; }
.wechat-copy-button { min-height: 34px; margin-top: 14px; padding: 0 13px; border: 1px solid #4b555f; border-radius: 4px; color: #e8ebee; background: #2a3138; font-size: 9px; font-weight: 750; cursor: pointer; transition: color .2s,border-color .2s,background .2s; }
.wechat-copy-button:hover,.wechat-copy-button:focus-visible { color: #fff; border-color: var(--red); background: #313941; }
.wechat-copy-button.is-copied { color: #8de0b3; border-color: #40745a; background: #263b31; }
.copy-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.contact-person > small { margin-top: 28px; padding-top: 19px; border-top: 1px solid #3d454e; color: #c0c7ce; font-size: 10px; font-weight: 650; line-height: 1.9; }

.company-panel dl { margin: 34px 0 0; border-top: 1px solid var(--line); }
.company-panel dl > div { display: grid; grid-template-columns: 100px minmax(0,1fr); gap: 22px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.company-panel dt { color: #8b959f; font-size: 9px; letter-spacing: .05em; }
.company-panel dd { margin: 0; font-size: 14px; font-weight: 680; line-height: 1.8; }
.contact-actions { margin-top: auto; padding: 25px 0 0; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px; }
.contact-actions > div:first-child { padding-left: 17px; border-left: 3px solid var(--red); }
.contact-actions > div:first-child span,.contact-actions > div:first-child strong { display: block; }
.contact-actions > div:first-child span { color: var(--red); font-size: 9px; font-weight: 800; letter-spacing: .08em; }
.contact-actions > div:first-child strong { max-width: 300px; margin-top: 7px; font-size: 12px; line-height: 1.7; }
.contact-actions > div:last-child { display: flex; gap: 8px; }
.contact-actions .button { min-width: 112px; min-height: 46px; padding: 0 15px; justify-content: center; font-size: 11px; box-shadow: none; }

@media (max-width: 1180px) {
  .contact-panel { grid-template-columns: 1fr; }
  .company-panel { border-left: 0; border-top: 1px solid #dce1e6; }
  .wechat-connect { grid-template-columns: 240px minmax(0,1fr); max-width: 570px; }
}

@media (max-width: 900px) {
  .contact-main { padding-top: 76px; }
  section.contact-intro { padding: 40px 0 35px; }
  .contact-intro-layout { grid-template-columns: minmax(0,.72fr) minmax(330px,1fr); gap: 42px; }
  .contact-intro h1 { font-size: 40px; }
  .contact-intro p { font-size: 12px; }
  .wechat-panel,.company-panel { padding: 36px; }
}

@media (max-width: 600px) {
  .contact-main { padding-top: 68px; }
  section.contact-intro { padding: 38px 0 31px; background-size: 42px 42px; }
  .contact-intro-layout { grid-template-columns: 1fr; gap: 18px; }
  .contact-intro h1 { font-size: 34px; }
  .contact-intro p { max-width: 34em; margin: 0; font-size: 11px; line-height: 1.8; }
  section.contact-section { padding: 20px 0 56px; }
  .wechat-panel,.company-panel { padding: 25px 21px; }
  .panel-heading h2 { font-size: 27px; }
  .company-panel .panel-heading h2 { font-size: 24px; line-height: 1.45; }
  .wechat-connect { margin-top: 26px; grid-template-columns: 145px minmax(0,1fr); gap: 18px; }
  .qr-crop { width: 145px; height: 145px; border-width: 8px; }
  .contact-qr figcaption { font-size: 8px; }
  .contact-person > span { margin-top: 15px; }
  .contact-person > strong { font-size: 17px; }
  .contact-person > b { font-size: 20px; }
  .wechat-copy-button { width: 100%; min-height: 36px; margin-top: 11px; }
  .contact-person > small { margin-top: 19px; padding-top: 14px; font-size: 8px; line-height: 1.75; }
  .company-panel dl { margin-top: 27px; }
  .company-panel dl > div { grid-template-columns: 80px minmax(0,1fr); gap: 13px; padding: 17px 0; }
  .company-panel dd { font-size: 12px; }
  .contact-actions { margin-top: 24px; grid-template-columns: 1fr; align-items: stretch; }
  .contact-actions > div:last-child { display: grid; grid-template-columns: 1fr 1fr; }
  .contact-actions .button { width: 100%; }
}

@media (max-width: 380px) {
  .wechat-connect { grid-template-columns: 132px minmax(0,1fr); gap: 14px; }
  .qr-crop { width: 132px; height: 132px; }
}

@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
