/* 联系我们独立样式；公共导航、页脚及 bottom_fixed_logo 沿用公共文件。 */
html[data-page="contact"], html[data-page="contact"] > body { background-color: #eeeff1; }
.contact_earth_layer {
    --contact-curtain: 0;
    position: fixed;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100vh;
    height: var(--site-lvh, 100lvh);
    overflow: hidden;
    pointer-events: none;
    background: linear-gradient(180deg, #df482e 0%, #e99989 27%, #e8c5bf 56%, #eeeff1 94%);
}
.contact_earth_layer::after { position: absolute; inset: 0; z-index: 2; background: #eeeff1; opacity: var(--contact-curtain); content: ""; pointer-events: none; }
.contact_webgl { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; }
.contact_webgl canvas { display: block; width: 100%; height: 100%; pointer-events: none; }
.contact_earth_fallback { position: absolute; top: 68%; left: 50%; width: min(65vw, calc(var(--site-lvh, 100vh) * .9)); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle at 38% 25%, #fff 0, #f2f3f5 45%, #e3e5e8 74%, #f6f7f8 94%); box-shadow: inset -10px -20px 48px rgba(255,255,255,.65); opacity: calc(1 - var(--contact-curtain)); }
.contact_earth_layer.is_ready .contact_earth_fallback { visibility: hidden; }
.contact_main { position: relative; z-index: 1; color: #242526; }
.contact_main *, .contact_job_dialog *, .contact_main *::before, .contact_main *::after { box-sizing: border-box; }
.contact_hero { position: relative; height: 100vh; height: var(--site-lvh, 100lvh); min-height: 560px; pointer-events: none; }
.contact_hero.is_earth_interactive { pointer-events: auto; cursor: grab; }
.contact_hero.is_earth_dragging { cursor: grabbing; }
.contact_hero_english, .contact_hero_chinese, .contact_hero_address { position: absolute; left: 0; width: 100%; text-align: center; transform: translateY(-50%); }
.contact_hero_english { top: 57%; }
.contact_hero_english p { color: rgba(179,179,179,0); background: linear-gradient(0deg, rgba(232,56,13,.04) 0%, #E8380D 100%); opacity: .5; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; font-size: clamp(90px, 11.5vw, 220px); font-weight: 500; line-height: 1; letter-spacing: -.025em; }
.contact_hero_chinese { top: 65%; }
.contact_hero_chinese h1 { margin: 0; color: #252628; font-size: clamp(48px, 5.25vw, 100px); font-weight: 400; line-height: 1.3; }
.contact_hero_address { top: 77%; padding: 0 24px; }
.contact_hero_address p { color: #505255; font-size: clamp(14px, 1.2vw, 23px); line-height: 1.8; }
.contact_content_container { position: relative; z-index: 1; padding: 0 0 clamp(140px, 14vw, 270px); background: #eeeff1; }
.contact_content_container::before { position: absolute; right: 0; bottom: calc(100% - 1px); left: 0; height: clamp(150px, calc(var(--site-lvh, 100vh) * .2), 280px); background: linear-gradient(180deg, rgba(238,239,241,0) 0%, rgba(238,239,241,.24) 24%, rgba(238,239,241,.8) 65%, #eeeff1 100%); content: ""; pointer-events: none; }
.contact_tabs_shell { position: relative; width: min(79.4%, 1520px); margin: 0 auto; }
/* 浏览器标签页：后方标签相互叠放，当前标签位于最前并连接内容面板。 */
.contact_tabs_nav { --contact-tab-height: clamp(58px, 4.8vw, 92px); position: relative; z-index: 2; display: flex; align-items: flex-end; min-width: 0; padding: 8px 0 0; }
.contact_tab { --contact-tab-bg: #e2e3e6; position: relative; z-index: var(--tab-order, 1); display: inline-flex; align-items: center; justify-content: center; gap: 14px; flex: 1 1 0; height: var(--contact-tab-height); min-width: 0; margin: 0 -12px -1px 0; padding: 12px 24px; border: 0; border-radius: 24px 24px 0 0; background: var(--contact-tab-bg); box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 5px -2px 12px rgba(55,58,64,.04); color: #8d8f93; font: inherit; font-size: clamp(17px, 1.45vw, 28px); font-weight: 500; white-space: nowrap; cursor: pointer; touch-action: manipulation; transform: translateY(7px); transition: color .32s ease, background-color .32s ease, transform .32s cubic-bezier(.22,.61,.36,1), box-shadow .32s ease; }
.contact_tab:nth-child(1) { --tab-order: 4; }
.contact_tab:nth-child(2) { --tab-order: 3; }
.contact_tab:nth-child(3) { --tab-order: 2; }
/* 只在标签之间重叠，末项右边缘与内容面板对齐。 */
.contact_tab:last-child { margin-right: 0; }
.contact_tab[aria-selected="true"] { --contact-tab-bg: #f4c9be; z-index: 6; color: #343537; box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 -6px 16px rgba(80,54,46,.05); transform: translateY(0); }
.contact_tab::before, .contact_tab::after { position: absolute; bottom: 0; width: 18px; height: 18px; opacity: 0; content: ""; pointer-events: none; transition: opacity .32s ease; }
.contact_tab::before { left: -18px; background: radial-gradient(circle at 0 0, transparent 17.5px, #f4c9be 18px); }
.contact_tab::after { right: -18px; background: radial-gradient(circle at 100% 0, transparent 17.5px, #f4c9be 18px); }
.contact_tab[aria-selected="true"]::before, .contact_tab[aria-selected="true"]::after { opacity: 1; }
/* 首尾仅保留朝内衔接的圆角，避免外侧装饰伸出面板边缘。 */
.contact_tab:first-child::before, .contact_tab:last-child::after { display: none; }
/* 新增图标暂用供应链图标占位，可直接替换内部 span 的图标 class。 */
.contact_tab_icon { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 28px; width: 28px; height: 28px; color: currentColor; font-size: 28px; line-height: 1; }
.contact_tab_icon .txiconfont, .contact_job_share_icon .txiconfont { font-size: inherit; line-height: 1; }
.contact_tab[aria-selected="true"] .contact_tab_icon { color: #ed3a0d; }
.contact_panels { position: relative; z-index: 3; overflow: hidden; border-radius: 0 0 28px 28px; background: linear-gradient(180deg, #f4c9be 0, #f8e0d9 12%, #f8f8f9 42%, #eeeff1 70%, #f8d7ce 100%); }
.contact_panels.is_swiper_ready { overflow-anchor: none; }
.contact_tabs_nav.swiper { margin: 0; }
.contact_tabs_nav > .swiper-wrapper { align-items: flex-end; box-sizing: border-box; }
.contact_tabs_nav .contact_tab { width: auto; touch-action: pan-y; -webkit-user-select: none; user-select: none; }
.contact_tabs_nav .contact_tab * { -webkit-user-drag: none; -webkit-user-select: none; user-select: none; }
.contact_tabs_nav.is_swiper_ready { overflow: hidden; overscroll-behavior-x: none; touch-action: pan-y; }
.contact_panels.is_swiper_ready { touch-action: pan-y; overscroll-behavior-x: none; }
/* Swiper 使用 transform 位移；锚点不应再卷动裁切容器本身。 */
@supports (overflow: clip) {
    .contact_tabs_nav.is_swiper_ready, .contact_panels.is_swiper_ready { overflow: clip; }
}
.contact_panels_track { align-items: flex-start; }
.contact_panels .contact_panel { height: auto; flex-shrink: 0; }
.contact_panel { display: grid; grid-template-columns: minmax(0, .93fr) minmax(0, 1fr); gap: clamp(40px, 4.6vw, 88px); padding: clamp(40px, 5.4vw, 104px) clamp(34px, 3.45vw, 66px) clamp(48px, 6vw, 116px); }
.contact_panel_media { min-width: 0; overflow: hidden; border-radius: clamp(14px, 1vw, 20px); background: #d9e0d7; }
.contact_panel_media img { display: block; width: 100%; height: 100%; min-height: 100%; aspect-ratio: 393 / 525; object-fit: cover; }
.contact_panel_content { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding-top: 8px; }
.contact_panel_content h2 { margin: 0 0 14px; font-size: clamp(22px, 1.55vw, 30px); font-weight: 600; line-height: 1.55; }
.contact_panel_intro { margin: 0; color: #848588; font-size: clamp(14px, .95vw, 18px); line-height: 1.75; }
.contact_jobs_heading { margin: clamp(34px, 3.5vw, 68px) 0 20px; color: #8c8d90; font-size: clamp(14px, .95vw, 18px); font-weight: 400; line-height: 1.5; }
.contact_jobs { display: flex; flex-direction: column; gap: 18px; width: 100%; margin: 0; padding: 0; list-style: none; }
.contact_job_row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; padding: 14px clamp(18px, 1.95vw, 38px); border-radius: 20px; background: #fbe9e3; }
.contact_job_row > span { min-width: 0; color: #343537; font-size: clamp(14px, .95vw, 18px); line-height: 1.7; }
.contact_job_row button { flex-shrink: 0; min-width: 116px; min-height: 40px; padding: 8px 20px; border: 0; border-radius: 999px; background: #fff; color: #8a8b8e; font: inherit; font-size: 14px; line-height: 1.4; cursor: pointer; touch-action: manipulation; transition: color .2s ease, background-color .2s ease; }
.contact_panel_channel { display: flex; align-items: flex-start; gap: 12px; width: 100%; margin-top: auto; padding-top: clamp(36px, 4vw, 76px); }
.contact_channel_icon { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 24px; width: 24px; height: 28px; color: #606164; font-size: 24px; }
.contact_channel_icon .txiconfont { font-size: inherit; line-height: 1; }
.contact_panel_channel p { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; margin: 0; color: #606164; font-size: clamp(14px, 1vw, 19px); line-height: 1.7; }
.contact_panel_channel strong { font-weight: 600; }
.contact_recruit_email { white-space: nowrap; -webkit-user-select: text; user-select: text; }
.contact_recruit_note { color: #848588; }
.contact_cooperation_content { justify-content: center; }
.contact_topics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; width: 100%; margin: 36px 0 0; padding: 0; list-style: none; }
.contact_topics li { padding: 16px 18px; border-radius: 14px; background: #fbe9e3; color: #656669; font-size: 16px; }
.contact_main .contact_primary_btn, .contact_job_dialog .contact_primary_btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 30px; border: 0; border-radius: 999px; background: #ed3a0d; color: #fff; font: inherit; font-size: 16px; font-weight: 500; line-height: 1.5; cursor: pointer; touch-action: manipulation; transition: background-color .2s ease; }
.contact_job_dialog .contact_primary_btn:disabled { background: #e5e6e8; color: #9b9da1; cursor: default; }
.contact_main [hidden], .contact_job_dialog [hidden] { display: none !important; }
html[data-site-focus="keyboard"] .contact_main button:focus-visible, html[data-site-focus="keyboard"] .contact_main a:focus-visible, html[data-site-focus="keyboard"] .contact_job_dialog button:focus-visible, html[data-site-focus="keyboard"] .contact_job_dialog a:focus-visible, html[data-site-focus="keyboard"] .contact_job_dialog input:focus-visible { outline: 2px solid #e8380d !important; outline-offset: 4px; }

.contact_job_dialog { width: min(1080px, 86vw); max-width: none; max-height: calc(var(--site-svh, 100vh) - 64px); margin: auto; padding: 0; border: 0; border-radius: 24px; background: #fff; color: #333537; box-shadow: 0 28px 64px rgba(0,0,0,.16); overflow: hidden; }
.contact_job_dialog::backdrop { background: rgba(24,26,30,.1); }
.contact_job_close { position: absolute; top: 18px; right: 20px; z-index: 2; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; min-width: 44px; min-height: 44px; padding: 10px; border: 0; border-radius: 50%; background: #f3f4f5; color: #77797c; font: inherit; cursor: pointer; touch-action: manipulation; }
.contact_job_close .txicon-x-logo { display: block; font-size: 14px; line-height: 1; pointer-events: none; }
.contact_job_dialog_scroll { max-height: calc(var(--site-svh, 100vh) - 64px); overflow-y: auto; overscroll-behavior: contain; padding: clamp(56px, 4.6vw, 80px) 15.5% clamp(48px, 4.5vw, 72px); }
.contact_job_detail_header { padding-bottom: 22px; border-bottom: 1px solid #e8e9eb; }
.contact_job_detail_header h2 { margin: 0 0 16px; font-size: clamp(26px, 2.1vw, 34px); font-weight: 400; line-height: 1.4; }
.contact_job_detail_meta { display: flex; align-items: center; flex-wrap: wrap; gap: 28px; color: #a1a2a5; font-size: 14px; line-height: 1.5; }
.contact_job_detail_meta button { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; padding: 4px 0; border: 0; background: transparent; color: inherit; font: inherit; cursor: pointer; touch-action: manipulation; }
.contact_job_share_icon { display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; font-size: 16px; }
.contact_job_description { padding-top: 30px; color: #85878a; font-size: 15px; line-height: 1.9; overflow-wrap: anywhere; }
.contact_job_description, .contact_job_description * { -webkit-user-select: text; user-select: text; }
.contact_job_description h3 { margin: 0 0 16px; color: #424447; font-size: 21px; font-weight: 400; }
.contact_job_description h4 { margin: 22px 0 2px; font: inherit; }
.contact_job_description ol { margin: 0; padding-left: 1.4em; }
.contact_job_description li { padding-left: .1em; }
.contact_job_apply { display: flex; justify-content: center; margin-top: 48px; }
.contact_job_share_status { margin-top: 20px; color: #85878a; font-size: 13px; line-height: 1.7; text-align: center; }
.contact_job_share_status:empty { margin: 0; }
.contact_job_share_fallback label { display: block; margin: 12px 0 6px; color: #85878a; font-size: 13px; }
.contact_job_share_fallback input { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid #d9dadd; border-radius: 8px; background: #f5f6f7; color: #333; font: inherit; font-size: 16px; }
@media (hover: hover) and (pointer: fine) {
    .contact_tab:not([aria-selected="true"]):hover { color: #e8380d; }
    .contact_job_row button:hover { background: #e8380d; color: #fff; }
    .contact_main .contact_primary_btn:hover, .contact_job_dialog .contact_primary_btn:not(:disabled):hover { background: #cf3008; }
    .contact_job_close:hover, .contact_job_detail_meta button:hover { color: #e8380d; }
}
@media (max-width: 1199px) {
    .contact_tabs_shell { width: 84%; }
    .contact_tab { gap: 8px; padding-inline: 18px; }
    .contact_tab_icon { flex-basis: 22px; width: 22px; height: 22px; font-size: 22px; }
    .contact_panel { gap: 36px; padding: 48px 34px 60px; }
    .contact_panel_content h2 { font-size: 22px; }
    .contact_job_row { padding-inline: 18px; gap: 12px; min-height: 64px; }
    .contact_job_row button { min-width: 90px; padding-inline: 14px; }
}
@media (max-width: 996px) {
    .contact_hero { min-height: 540px; }
    .contact_hero_english p { font-size: clamp(86px, 14vw, 138px); }
    .contact_hero_chinese h1 { font-size: clamp(44px, 7vw, 64px); }
    .contact_tabs_shell { width: calc(100% - 48px); }
    /* 显式关闭纵向溢出，避免 overflow-x:auto 连带产生 Y 轴滚动。 */
    .contact_tabs_nav { height: calc(var(--contact-tab-height) + 8px); box-sizing: border-box; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
    .contact_tabs_nav::-webkit-scrollbar { display: none; }
    /* 用实际高度表现前后层级，不再向下平移而撑大滚动区域。 */
    .contact_tab { flex: 1 0 150px; height: calc(var(--contact-tab-height) - 7px); margin-bottom: 0; font-size: 18px; transform: none; transition: color .32s ease, background-color .32s ease, height .32s cubic-bezier(.22,.61,.36,1), box-shadow .32s ease; }
    .contact_tab[aria-selected="true"] { height: var(--contact-tab-height); transform: none; }
    .contact_panel { grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: 28px; padding: 36px 28px 48px; }
    .contact_panel_content h2 { font-size: 20px; }
    .contact_jobs_heading { margin-top: 28px; margin-bottom: 16px; }
    .contact_jobs { gap: 12px; }
    .contact_panel_channel { padding-top: 32px; }
    .contact_job_row { flex-wrap: wrap; gap: 8px; padding: 14px 16px; border-radius: 15px; }
    .contact_job_row button { margin-left: auto; min-height: 36px; }
    .contact_topics { gap: 10px; }
    .contact_topics li { padding: 12px; font-size: 14px; }
    .contact_job_dialog { width: calc(100% - 48px); }
    .contact_job_dialog_scroll { padding-inline: 9%; }
}
@media (max-width: 600px) {
    .contact_hero { min-height: 520px; }
    .contact_earth_fallback { top: 62%; width: min(122vw, calc(var(--site-lvh, 100vh) * .72)); }
    .contact_hero_english { top: 53%; }
    .contact_hero_english p { font-size: clamp(68px, 17vw, 102px); }
    .contact_hero_chinese { top: 61%; }
    .contact_hero_chinese h1 { font-size: 42px; }
    .contact_hero_address { top: 73%; padding-inline: 32px; }
    .contact_hero_address p { font-size: 14px; line-height: 1.9; }
    .contact_hero_address span { display: block; }
    .contact_content_container { padding-bottom: 90px; }
    .contact_tabs_shell { width: calc(100% - 32px); }
    .contact_content_container::before { height: 150px; }
    .contact_tabs_nav { --contact-tab-height: 58px; }
    .contact_tab { flex-basis: 148px; gap: 8px; padding-inline: 18px; border-radius: 20px 20px 0 0; font-size: 17px; }
    .contact_panels { border-radius: 0 0 20px 20px; }
    .contact_panel { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 24px 20px 36px; }
    .contact_panel_media { aspect-ratio: 4 / 3; max-height: 320px; }
    .contact_panel_media img { aspect-ratio: 4 / 3; object-position: center 45%; }
    .contact_panel_content { padding-top: 0; }
    .contact_panel_content h2 { font-size: 21px; line-height: 1.6; }
    .contact_panel_intro { font-size: 14px; }
    .contact_job_row { flex-wrap: nowrap; padding: 14px; }
    .contact_job_row > span { font-size: 13px; }
    .contact_job_row button { min-width: 80px; padding: 8px 12px; font-size: 12px; }
    .contact_panel_channel { gap: 8px; }
    .contact_channel_icon { flex-basis: 18px; width: 18px; height: 23px; font-size: 18px; }
    .contact_panel_channel p { gap: 4px; font-size: 13px; }
    .contact_job_dialog { width: calc(100% - 24px); max-height: calc(var(--site-svh, 100vh) - 32px); border-radius: 20px; }
    .contact_job_close { top: 12px; right: 12px; }
    .contact_job_dialog_scroll { max-height: calc(var(--site-svh, 100vh) - 32px); padding: 64px 24px 36px; }
    .contact_job_detail_header h2 { font-size: 26px; }
    .contact_job_detail_meta { gap: 18px; font-size: 12px; }
    .contact_job_description { padding-top: 22px; font-size: 14px; line-height: 1.9; }
    .contact_job_description h3 { font-size: 20px; }
    .contact_job_apply { margin-top: 32px; }
}
/* 短屏模式由稳定视口高度决定，地址栏收放不会触发媒体查询切换。 */
html.contact_short_viewport .contact_hero { min-height: 440px; }
html.contact_short_viewport .contact_job_dialog,
html.contact_short_viewport .contact_job_dialog_scroll { max-height: calc(var(--site-svh, 100vh) - 24px); }
@media (prefers-reduced-motion: reduce) {
    .contact_main *, .contact_job_dialog * { transition: none !important; scroll-behavior: auto; }
}
