:root {
  --contact-ink: #121720;
  --contact-copy: #68707b;
  --contact-line: #e2e5e9;
  --contact-pink: #f71e5b;
  --contact-gold: #dfa94d;
  --contact-header-height: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--contact-ink); font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif; line-height: 1.65; letter-spacing: 0; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
.skip-link { position: fixed; z-index: 1000; left: 12px; top: -60px; padding: 8px 14px; background: #fff; }
.skip-link:focus { top: 12px; }

.contact-header { position: fixed; z-index: 100; inset: 0 0 auto; height: var(--contact-header-height); background: rgba(255,255,255,.98); box-shadow: 0 1px 0 rgba(7,16,31,.07); }
.contact-header-inner { width: min(calc(100% - 64px), 1360px); height: 100%; margin: auto; display: flex; align-items: center; }
.contact-brand { display: inline-flex; align-items: center; gap: 14px; flex: 0 0 auto; }
.contact-brand > img { width: 46px; height: 46px; object-fit: contain; }
.contact-brand > span { display: flex; flex-direction: column; line-height: 1; }
.contact-brand strong { font-size: 24px; font-weight: 750; }
.contact-brand small { margin-top: 7px; color: #6d7370; font-size: 9px; }
.contact-main-nav { margin: 0 34px 0 auto; display: flex; gap: clamp(20px, 2.4vw, 42px); align-self: stretch; }
.contact-main-nav a { position: relative; min-width: max-content; padding: 24px 0 22px; color: #4c5564; font-size: 17px; font-weight: 650; line-height: 30px; }
.contact-main-nav a::after { content: ""; position: absolute; inset: auto 18% 9px; height: 3px; border-radius: 3px; background: var(--contact-gold); transform: scaleX(0); transition: transform .2s ease; }
.contact-main-nav a:hover, .contact-main-nav a.active { color: var(--contact-gold); }
.contact-main-nav a:hover::after, .contact-main-nav a.active::after { transform: scaleX(1); }
.contact-header-phone { display: inline-flex; align-items: center; gap: 8px; font-size: 20px; line-height: 1; }
.contact-header-phone span { color: var(--contact-gold); font-size: 22px; }
.contact-menu-toggle { display: none; width: 34px; height: 34px; padding: 6px; border: 0; background: transparent; }
.contact-menu-toggle span { display: block; width: 21px; height: 2px; margin: 4px 0; border-radius: 2px; background: currentColor; transition: transform .2s ease, opacity .2s ease; }

.contact-hero { position: relative; height: 230px; margin-top: var(--contact-header-height); overflow: hidden; color: #fff; background: #263f3e url('/static/contact-hero-wide.jpg') center top / cover no-repeat; }
.contact-hero-shade { position: absolute; inset: 0; background: rgba(7,22,24,.62); }
.contact-hero-inner { position: relative; z-index: 1; width: min(calc(100% - 64px), 1180px); height: 100%; margin: auto; display: flex; flex-direction: column; justify-content: center; }
.contact-hero h1 { margin: 0 0 5px; font-size: 38px; font-weight: 700; line-height: 1.4; }
.contact-breadcrumb { display: flex; align-items: center; gap: 12px; font-size: 15px; }
.contact-breadcrumb a { color: var(--contact-gold); }
.contact-breadcrumb span { color: rgba(255,255,255,.82); font-size: 26px; line-height: 1; }
.contact-breadcrumb strong { font-weight: 500; }

.contact-section { min-height: 510px; padding: 70px 0 82px; overflow: hidden; }
.contact-layout { width: min(calc(100% - 64px), 1420px); margin: auto; display: grid; grid-template-columns: 370px minmax(0, 1fr); gap: clamp(54px, 5.6vw, 102px); align-items: center; }
.contact-card { min-height: 380px; padding: 54px 45px 44px; background: #fff; box-shadow: 0 8px 34px rgba(31,42,53,.07); }
.contact-card > h2 { margin: 0 0 17px; padding-bottom: 17px; border-bottom: 1px solid var(--contact-line); font-size: 25px; line-height: 1.4; }
.contact-card-list { display: flex; flex-direction: column; }
.contact-card-item { min-height: 64px; padding: 12px 0; display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: center; border-bottom: 1px solid var(--contact-line); }
.contact-card-item:hover strong { color: var(--contact-pink); }
.contact-card-icon { width: 30px; height: 30px; border-radius: 50%; background: var(--contact-pink); color: #fff; display: grid; place-items: center; font-size: 16px; line-height: 1; }
.icon-person::before, .icon-location::before { content: ""; width: 17px; height: 17px; background: #fff; mask-position: center; mask-repeat: no-repeat; mask-size: contain; -webkit-mask-position: center; -webkit-mask-repeat: no-repeat; -webkit-mask-size: contain; }
.icon-person::before { mask-image: url('/static/cxr.svg'); -webkit-mask-image: url('/static/cxr.svg'); }
.icon-location::before { mask-image: url('/static/local.svg'); -webkit-mask-image: url('/static/local.svg'); }
.contact-card-item p { min-width: 0; margin: 0; display: flex; flex-direction: column; }
.contact-card-item small { color: #8b9199; font-size: 12px; line-height: 1.35; }
.contact-card-item strong { color: #232832; font-size: 14px; line-height: 1.55; transition: color .2s ease; }
.contact-address { min-height: 74px; align-items: start; }
.contact-address .contact-card-icon { margin-top: 3px; }

.branch-region { position: relative; min-width: 0; padding: 20px 0; }
.branch-region::before { content: ""; position: absolute; z-index: -1; width: min(65vw, 810px); aspect-ratio: 1.5; left: 48%; top: 50%; transform: translate(-50%, -50%); clip-path: polygon(9% 34%, 20% 26%, 28% 29%, 34% 18%, 43% 24%, 52% 14%, 59% 24%, 70% 17%, 77% 30%, 91% 33%, 84% 46%, 96% 57%, 81% 64%, 75% 76%, 61% 69%, 54% 86%, 45% 73%, 34% 78%, 25% 65%, 10% 67%, 17% 52%, 3% 46%); background: #f4f6f8; opacity: .84; }
.branch-grid { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 74px clamp(30px, 3.3vw, 58px); }
.branch-card { min-width: 0; }
.branch-card h2 { margin: 0 0 9px; display: flex; align-items: center; gap: 9px; font-size: clamp(21px, 1.55vw, 27px); line-height: 1.35; white-space: nowrap; }
.branch-pin { width: 20px; height: 24px; flex: 0 0 auto; background: var(--contact-pink); mask: url('/static/local.svg') center / contain no-repeat; -webkit-mask: url('/static/local.svg') center / contain no-repeat; }
.branch-card h3 { margin: 0 0 6px; color: #252a32; font-size: 13px; font-weight: 650; line-height: 1.65; }
.branch-card p { margin: 0; color: #8a9098; font-size: 11px; line-height: 1.65; }
.branch-card p span { color: #a3a8ae; }

.contact-footer { min-height: 300px; padding: 44px 0 48px; background: #f7f7fb; }
.contact-footer-inner { width: min(calc(100% - 64px), 1180px); margin: auto; }
.contact-footer-nav { padding: 0 0 44px; display: flex; align-items: center; gap: clamp(54px, 7vw, 112px); border-bottom: 1px solid #e4e5ea; font-size: 18px; font-weight: 650; }
.contact-footer-nav a, .contact-footer-nav span { white-space: nowrap; }
.contact-footer-nav a:hover, .contact-footer-nav a.active { color: var(--contact-pink); }
.contact-footer-meta { padding-top: 25px; display: flex; align-items: center; justify-content: space-between; gap: 24px; color: #888e97; font-size: 14px; line-height: 1.8; text-align: left; }
.contact-footer-copy { min-width: 0; }
.contact-footer-apps { display: flex; flex-direction: column; justify-content: center; flex-shrink: 0; text-align: right; line-height: 1.55; white-space: nowrap; }
.contact-footer-meta p { margin: 0; }
.contact-footer-meta .contact-icp { margin-top: 20px; }

@media (max-width: 1180px) and (min-width: 761px) {
  .contact-header-inner { width: calc(100% - 36px); }
  .contact-brand > img { width: 38px; height: 38px; }
  .contact-brand strong { font-size: 18px; }
  .contact-main-nav { margin-right: 18px; gap: 12px; }
  .contact-main-nav a { font-size: 13px; }
  .contact-header-phone { gap: 5px; font-size: 14px; }
  .contact-layout { grid-template-columns: 320px minmax(0, 1fr); gap: 40px; }
  .contact-card { padding-inline: 34px; }
  .branch-grid { gap: 55px 25px; }
  .branch-card h2 { font-size: 20px; }
}

@media (max-width: 980px) and (min-width: 761px) {
  .contact-layout { grid-template-columns: 280px minmax(0, 1fr); gap: 34px; align-items: start; }
  .contact-card { min-height: 350px; padding: 42px 28px 36px; }
  .branch-region { padding-top: 0; }
  .branch-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 46px 26px; }
  .contact-footer-nav { gap: 34px; }
}

@media (max-width: 760px) {
  :root { --contact-header-height: 46px; }
  .contact-header-inner { width: 100%; padding: 0 13px; }
  .contact-brand { gap: 8px; }
  .contact-brand > img { width: 25px; height: 25px; }
  .contact-brand strong { font-size: 13px; }
  .contact-brand small { display: none; }
  .contact-header-phone { margin-left: auto; gap: 5px; font-size: 12px; }
  .contact-header-phone span { font-size: 14px; }
  .contact-menu-toggle { display: block; margin-left: 7px; }
  .contact-menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .contact-menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .contact-menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .contact-main-nav { position: fixed; inset: var(--contact-header-height) 0 auto; max-height: 0; margin: 0; overflow: hidden; background: #fff; display: flex; flex-direction: column; gap: 0; transition: max-height .25s ease; }
  .contact-main-nav.open { max-height: 280px; border-top: 1px solid var(--contact-line); box-shadow: 0 12px 26px rgba(0,0,0,.12); }
  .contact-main-nav a { padding: 11px 18px; border-bottom: 1px solid var(--contact-line); font-size: 13px; line-height: 26px; }
  .contact-main-nav a::after { display: none; }

  .contact-hero { height: 154px; background-position: center top; }
  .contact-hero-inner { width: 100%; padding: 0 20px; }
  .contact-hero h1 { margin-bottom: 2px; font-size: 25px; }
  .contact-breadcrumb { gap: 7px; font-size: 12px; }
  .contact-breadcrumb span { font-size: 20px; }

  .contact-section { padding: 28px 16px 54px; }
  .contact-layout { width: 100%; display: block; }
  .contact-card { min-height: 0; padding: 27px 22px 22px; border: 1px solid #f0f1f3; box-shadow: 0 8px 26px rgba(31,42,53,.07); }
  .contact-card > h2 { margin-bottom: 7px; padding-bottom: 13px; font-size: 21px; }
  .contact-card-item { min-height: 62px; }
  .contact-card-item strong { font-size: 13px; }
  .branch-region { margin-top: 44px; padding: 0; }
  .branch-region::before { width: 115%; top: 34%; opacity: .68; }
  .branch-grid { grid-template-columns: 1fr; gap: 0; }
  .branch-card { padding: 24px 2px; border-bottom: 1px solid var(--contact-line); }
  .branch-card:first-child { padding-top: 0; }
  .branch-card:last-child { border-bottom: 0; }
  .branch-card h2 { margin-bottom: 8px; font-size: 21px; }
  .branch-card h3 { font-size: 13px; }
  .branch-card p { font-size: 11px; }

  .contact-footer { min-height: 0; padding: 30px 16px 34px; }
  .contact-footer-inner { width: 100%; }
  .contact-footer-nav { padding-bottom: 24px; display: grid; grid-template-columns: repeat(3, max-content); justify-content: space-between; gap: 14px 12px; font-size: 13px; }
  .contact-footer-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 20px; font-size: 11px; line-height: 1.9; }
  .contact-footer-copy { flex: 1; min-width: 0; }
  .contact-footer-apps { margin-top: 0; max-width: 48%; text-align: right; white-space: normal; }
  .contact-footer-meta .contact-icp { margin-top: 14px; }
}

@media (max-width: 350px) {
  .contact-header-phone { display: none; }
  .contact-menu-toggle { margin-left: auto; }
  .contact-footer-nav { grid-template-columns: repeat(2, max-content); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
