/* 联系方式统一模块：侧栏联系人卡（复刻参考站 .p_c_lianxi）、
   联系我们页（.contac_us_99715 结构）、右侧悬浮栏（.right_contact_lists_99715 行为）。
   主题色 #007cc0（var(--site-primary)）；RTL 镜像见文件末尾。 */

/* ============ 侧栏主联系人联系卡 ============ */
.cp-card { background:#fff; border:1px solid #e8e8e8; margin-top:16px; }
.cp-card__title {
    height:54px; font-size:20px; font-weight:700; line-height:54px;
    white-space:nowrap; overflow:hidden; text-overflow:ellipsis; text-indent:18px;
    position:relative; color:#323232; font-family:Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
    background-color:#fff; box-shadow:0 0 4px rgba(0,0,0,.06);
}
.cp-card__title::before { content:""; position:absolute; width:4px; height:24px; top:14px; inset-inline-start:0; background:var(--site-primary); }
.cp-card__body { background:#fafafa; padding:12px 0 24px; }
.cp-card__row { padding:0 12px; height:40px; line-height:40px; display:flex; align-items:center; }
.cp-card__row .ct-icon { color:var(--site-primary); margin-right:8px; flex:none; }
.cp-card__icon--position .ct-icon { color:var(--site-primary); }
.cp-card__value { color:#323232; font-size:16px; font-weight:400; text-align:right; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; flex:1; }
.cp-card__value--link { color:#323232; text-decoration:none; }
.cp-card__row:hover .cp-card__value--link { color:var(--site-primary); }
.cp-card__social { padding:16px 12px 0; display:flex; gap:10px; }
.cp-card__social-item { position:relative; }
.cp-card__social-icon { display:flex; width:32px; height:32px; border-radius:50%; align-items:center; justify-content:center; cursor:pointer; }
.cp-card__social-icon .ct-icon { width:32px; height:32px; }
.cp-card__social-icon--whatsapp { color:#25d366; }
.cp-card__social-icon--wechat { color:#2cbb00; }
.cp-card__wechat-pop {
    display:none; position:absolute; left:50%; bottom:40px; transform:translateX(-50%);
    z-index:20; width:150px; background:#fff; border-radius:20px; text-align:center;
    vertical-align:middle; padding:12px 8px; box-shadow:0 2px 12px rgba(0,0,0,.12);
    font-size:13px; color:#323232;
}
.cp-card__wechat-pop img { width:100px; height:100px; display:block; margin:0 auto 6px; }
.cp-card__social-item:hover .cp-card__wechat-pop { display:block; }
.cp-card__btn {
    display:block; width:calc(100% - 24px); height:40px; margin:16px 12px 0;
    /* 参考站 Contact Now 为胶囊形（圆角=半高 20px）；主题色仍按既定约定用本站蓝。 */
    border-radius:20px;
    background:var(--site-primary); color:#fff; text-align:center; line-height:40px;
    font-size:16px; text-decoration:none; cursor:pointer; position:relative; overflow:hidden;
    transition:background .3s;
}
.cp-card__btn:hover { background:var(--site-primary-hover); }

/* ============ 联系我们页 ============ */
.cu-page { padding-bottom:60px; }
/* 横幅规格与产品列表页 .pl-banner 一致：360px 高、深青渐变兜底、背景图 cover、
   hover 短线延展；导航透明压覆横幅，不再上下堆叠。 */
.cu-banner {
    position:relative; height:360px; display:flex; align-items:center; justify-content:center;
    background:var(--site-gradient-hero);
    background-size:cover; background-position:center;
}
.cu-banner__inner { text-align:center; padding:0 24px; }
.cu-banner__title { color:#fff; font-size:36px; font-weight:700; line-height:48px; margin:0; }
.cu-banner__line { width:64px; height:4px; background:var(--site-primary); margin:8px auto; transition:width .4s ease; }
.cu-banner:hover .cu-banner__line { width:128px; }
.cu-banner__desc { color:#fff; font-size:16px; line-height:24px; max-width:640px; margin:0; }
.cu-crumbs {
    max-width:1300px; margin:0 auto; padding:18px 20px;
    display:flex; align-items:center; gap:8px; font-size:13px; color:#666;
}
.cu-crumbs a { color:#666; text-decoration:none; }
.cu-crumbs a:hover { color:var(--site-primary); }
.cu-crumbs__home { color:var(--site-primary); fill:currentColor; }
.cu-crumbs__cur { color:#323232; }
.cu-crumbs__sep { color:#999; }
.cu-shell { max-width:1300px; margin:0 auto; padding:0 20px; }

/* 三卡片 */
.cu-cards { display:grid; grid-template-columns:repeat(3, 1fr); gap:20px; margin:10px 0 40px; }
.cu-card {
    background:#fff; border:1px solid #e8e8e8; border-radius:6px; padding:28px 24px;
    display:flex; align-items:center; gap:16px; transition:box-shadow .3s;
}
.cu-card:hover { box-shadow:0 6px 18px rgba(0,0,0,.08); }
.cu-card__icon { color:var(--site-primary); flex:none; display:flex; }
.cu-card__value { color:#323232; font-size:16px; line-height:1.6; text-decoration:none; word-break:break-all; }
a.cu-card__value:hover { color:var(--site-primary); }

/* 联系表单 */
.cu-form { background:#fff; border:1px solid #e8e8e8; border-radius:6px; padding:36px 32px; margin-bottom:40px; }
.cu-form__title { font-size:24px; color:#323232; margin:0; font-weight:700; text-align:center; }
.cu-form__desc { font-size:14px; color:#888; text-align:center; margin:10px 0 26px; }
.cu-form__row { display:grid; grid-template-columns:repeat(3, 1fr); gap:16px; margin-bottom:16px; }
.cu-form__input {
    width:100%; height:44px; border:1px solid #ddd; border-radius:4px; padding:0 14px;
    font-size:14px; color:#323232; background:#fafafa; outline:none; transition:border-color .2s;
    box-sizing:border-box;
}
.cu-form__input:focus { border-color:var(--site-primary); background:#fff; }
.cu-form__message {
    width:100%; min-height:130px; border:1px solid #ddd; border-radius:4px; padding:12px 14px;
    font-size:14px; color:#323232; background:#fafafa; outline:none; resize:vertical;
    transition:border-color .2s; box-sizing:border-box; font-family:inherit;
}
.cu-form__message:focus { border-color:var(--site-primary); background:#fff; }
.cu-form__honeypot { position:absolute; left:-9999px; width:1px; height:1px; opacity:0; }
.cu-form__submit {
    display:block; margin:20px auto 0; min-width:160px; height:44px; border:0; border-radius:4px;
    background:var(--site-primary); color:#fff; font-size:16px; cursor:pointer; transition:background .3s;
}
.cu-form__submit:hover { background:var(--site-primary-hover); }
.cu-form__submit:disabled { background:var(--site-tint-300); cursor:default; }
.cu-form__notice { text-align:center; font-size:14px; margin:14px 0 0; }
.cu-form__notice--ok { color:#0f7b3d; }
.cu-form__notice--error { color:#c0392b; }

/* More Information */
.cu-more__title { font-size:24px; color:#323232; margin:0 0 20px; font-weight:700; }
.cu-more__grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(340px, 1fr)); gap:20px; }
.cu-more__card { background:#fff; border:1px solid #e8e8e8; border-radius:6px; padding:24px; }
.cu-more__row { display:flex; gap:14px; padding:9px 0; border-bottom:1px dashed #eee; font-size:14px; }
.cu-more__row:last-child { border-bottom:0; }
.cu-more__key { color:#888; flex:none; min-width:110px; }
.cu-more__value { color:#323232; word-break:break-all; }
.cu-more__value--link { color:var(--site-primary); text-decoration:none; }
.cu-more__value--link:hover { text-decoration:underline; }
.cu-more__wechat { position:relative; display:inline-flex; align-items:center; gap:6px; color:#2cbb00; cursor:pointer; }
.cu-more__wechat-icon .ct-icon { color:#2cbb00; width:18px; height:18px; }
.cu-more__wechat-pop {
    display:none; position:absolute; inset-inline-start:0; bottom:30px; z-index:20;
    background:#fff; border-radius:12px; box-shadow:0 2px 12px rgba(0,0,0,.14);
    padding:12px; text-align:center; font-size:13px; color:#323232; min-width:120px;
}
.cu-more__wechat-pop img { width:100px; height:100px; display:block; margin:0 auto 6px; }
.cu-more__wechat:hover .cu-more__wechat-pop,
.cu-more__wechat:focus .cu-more__wechat-pop { display:block; }

/* ============ 右侧悬浮栏（复刻参考站） ============ */
.fc-bar {
    position:fixed; right:47px; bottom:15rem; z-index:900; display:none;
    flex-direction:column; gap:20px;
}
.fc-bar__item { position:relative; }
.fc-bar__item a { display:block; width:46px; height:46px; overflow:hidden; position:relative; text-decoration:none; }
.fc-bar__item--nolink { cursor:default; }
.fc-bar__icon {
    display:block; width:46px; height:46px; font-size:46px; line-height:normal;
    position:relative; z-index:1; transition:transform .4s;
}
.fc-bar__icon > img { width:46px; height:46px; display:block; }
.fc-bar__icon .ct-icon { width:46px; height:46px; display:block; }
.fc-bar__icon::after {
    content:""; position:absolute; width:30px; height:30px; border-radius:50%;
    background-color:#fff; z-index:-1; left:7px; top:10px;
}
.fc-bar__icon--wechat { color:#2cbb00; }
.fc-bar__icon--whatsapp { color:#4dc247; }
.fc-bar__icon--email { color:var(--site-primary); }
.fc-bar__icon--phone { color:var(--site-primary); }
.fc-bar__icon--skype { color:#00aff0; }
/* hover 上滑层：作为图标的兄弟节点放在裁剪容器内，初始位于容器正下方（被 overflow:hidden 裁住），
   hover 时与基础层一起上移 46px，形成"基础层滑走、上滑层滑入"的动效；
   不能作为图标的子元素——会跟随图标的 translate 一起被裁出视野。 */
.fc-bar__slide {
    position:absolute; left:0; top:46px; width:46px; height:46px; z-index:1;
    transition:transform .4s;
}
.fc-bar__slide > img { width:46px; height:46px; display:block; }
.fc-bar__slide .ct-icon { width:46px; height:46px; display:block; }
/* 与基础层一致的白色圆底（供透明底自定义图标使用）。 */
.fc-bar__slide::after {
    content:""; position:absolute; width:30px; height:30px; border-radius:50%;
    background-color:#fff; z-index:-1; left:7px; top:10px;
}
.fc-bar__item:hover .fc-bar__icon { transform:translateY(-46px); }
.fc-bar__item:hover .fc-bar__slide { transform:translateY(-46px); }
/* 微信条目：无外层 a，用内层裁剪容器包住双层图标；二维码弹层在容器外，避免被裁剪。 */
.fc-bar__clip { position:relative; display:block; width:46px; height:46px; overflow:hidden; }
.fc-bar__wechat { display:block; width:46px; height:46px; position:relative; }
.fc-bar__wechat .fc-bar__icon { cursor:pointer; }
.fc-bar__pop {
    display:none; background:#fff; box-shadow:0 0 2px 0 rgba(0,0,0,.1); border-radius:2px;
    opacity:1; position:absolute; text-align:center; top:50%; left:-122px;
    transform:translateY(-50%); padding:6px; z-index:20;
}
.fc-bar__pop img { width:90px; height:90px; display:block; margin-top:5px; }
.fc-bar__pop span { display:block; font-size:13px; color:#323232; padding:4px 2px; }
.fc-bar__wechat:hover .fc-bar__pop { display:block; }
.fc-bar__bubble {
    display:none; position:absolute; right:56px; top:50%; transform:translateY(-50%);
    background:#fff; color:#323232; border:1px solid var(--site-primary); border-radius:14px;
    padding:4px 12px; font-size:13px; white-space:nowrap; z-index:20;
    box-shadow:0 2px 8px rgba(0,0,0,.08);
    /* 邮箱地址等长值单行展示，超长截断避免溢出视口。 */
    max-width:220px; overflow:hidden; text-overflow:ellipsis;
}
.fc-bar__item:hover .fc-bar__bubble { display:block; }

/* ============ 响应式 ============ */
@media (max-width:1024px) {
    .fc-bar { display:none !important; }
}
@media (max-width:760px) {
    .cu-banner { height:180px; }
    .cu-banner__title { font-size:28px; line-height:38px; }
    .cu-banner__desc { font-size:14px; line-height:22px; }
    .cu-cards { grid-template-columns:1fr; }
    .cu-form__row { grid-template-columns:1fr; }
    .cu-form { padding:24px 18px; }
}

/* ============ RTL 镜像 ============ */
/* 悬浮栏定位与弹层用物理属性（fixed 右定位 + 绝对偏移），RTL 显式镜像。 */
[dir="rtl"] .fc-bar { left:47px; right:auto; }
[dir="rtl"] .fc-bar__pop { left:auto; right:-122px; }
[dir="rtl"] .fc-bar__bubble { right:auto; left:56px; }
/* 联系卡：标题竖条与弹层已改逻辑属性，行内图标与数值对齐显式处理。 */
[dir="rtl"] .cp-card__row .ct-icon { margin-right:0; margin-left:8px; }
[dir="rtl"] .cp-card__value { text-align:left; }
[dir="rtl"] .cp-card__btn { text-align:center; }
