/* 99-engage.css — 顶部联系条、右侧联系栏、回到顶部、问候气泡。由 runjoin-engage.php 在页面底部加载。 */

:root{--rje-tb:40px}
/* header contacts: logo | nav (centre) | email + WhatsApp + language */
@media(min-width:922px){
#ast-desktop-header .site-primary-header-wrap{max-width:1600px!important;padding-left:clamp(20px,3vw,40px)!important;padding-right:clamp(20px,3vw,40px)!important}
#ast-desktop-header .main-header-menu{flex-wrap:nowrap!important;white-space:nowrap}
#ast-desktop-header .main-header-menu>.menu-item>.menu-link{font-size:19px!important;font-weight:600!important;letter-spacing:.02em}
#ast-desktop-header .ast-builder-grid-row{display:grid!important;grid-template-columns:auto 1fr auto!important;align-items:center;column-gap:32px}
#ast-desktop-header .site-header-primary-section-right{display:contents!important}
#ast-desktop-header .ast-builder-menu-1{justify-self:center}
#ast-desktop-header .ast-header-button-1{display:none!important}
#ast-desktop-header .ast-header-html-1{justify-self:end}
#ast-desktop-header .ast-header-html-1 .ast-builder-html-element{display:flex;align-items:center;gap:22px}
#ast-desktop-header .ast-header-html-1 p{display:contents;margin:0}
}
.rje-hc{display:inline-flex;align-items:center;gap:20px;white-space:nowrap}
.rje-hc a,.rje-hc button{display:inline-flex!important;align-items:center;gap:8px;color:#15171A!important;text-decoration:none!important;font:inherit!important;font-size:15px!important;font-weight:500!important;line-height:1!important;background:none!important;border:0!important;padding:0!important;margin:0!important;box-shadow:none!important;cursor:pointer;transition:color .2s}
.rje-hc a:hover,.rje-hc button:hover{color:#CC3A0A!important}
.rje-hc i{font-size:16px;color:#CC3A0A}
.rje-hc .fa-whatsapp{color:#25D366;font-size:19px}
@media(max-width:1440px){.rje-hc-mail .rje-hc-t{display:none}.rje-hc-mail i{font-size:18px}}
@media(max-width:1180px) and (min-width:922px){.rje-hc-wa .rje-hc-t{display:none}.rje-hc{gap:16px}#ast-desktop-header .ast-builder-grid-row{column-gap:20px}}
#ast-mobile-header .rje-hc{display:none!important}
/* right rail */
.rje-side{position:fixed;right:10px;top:50%;transform:translateY(-50%);z-index:9989;display:flex;flex-direction:column;align-items:center;gap:12px}
.rje-rail{display:flex;flex-direction:column;background:#CC3A0A;border-radius:27px;padding:6px 0;box-shadow:0 14px 34px rgba(204,58,10,.30)}
.rje-ri{position:relative;display:flex!important;align-items:center;justify-content:center;width:50px;height:50px;padding:0!important;margin:0!important;border:0!important;border-radius:0!important;background:transparent!important;color:#fff!important;font-size:20px!important;line-height:1!important;cursor:pointer;text-decoration:none!important;box-shadow:none!important;transition:background .2s}
.rje-ri:hover,.rje-ri:focus-visible{background:rgba(255,255,255,.16)!important;outline:none}
.rje-ri+.rje-ri:before{content:"";position:absolute;top:0;left:13px;right:13px;height:1px;background:rgba(255,255,255,.26)}
.rje-ri .fa-whatsapp{font-size:23px}
.rje-tip{position:absolute;right:calc(100% + 14px);top:50%;transform:translate(8px,-50%);white-space:nowrap;background:#fff;color:#15171A;font-size:16px;font-weight:500;line-height:1.2;padding:11px 16px;border-radius:10px;box-shadow:0 12px 32px rgba(21,23,26,.16);opacity:0;visibility:hidden;transition:opacity .2s,transform .2s,visibility .2s;pointer-events:none}
.rje-tip:after{content:"";position:absolute;right:-6px;top:50%;margin-top:-6px;border:6px solid transparent;border-right:0;border-left-color:#fff}
.rje-ri:hover .rje-tip,.rje-ri:focus-visible .rje-tip{opacity:1;visibility:visible;transform:translate(0,-50%)}
.rje-totop{display:flex!important;align-items:center;justify-content:center;width:48px;height:48px;padding:0!important;border:0!important;border-radius:50%!important;background:#fff!important;color:#CC3A0A!important;font-size:18px!important;box-shadow:0 10px 26px rgba(21,23,26,.15);cursor:pointer;opacity:0;visibility:hidden;transform:translateY(8px);transition:opacity .25s,transform .25s,visibility .25s,background .2s,color .2s}
.rje-totop.on{opacity:1;visibility:visible;transform:none}
.rje-totop:hover{background:#CC3A0A!important;color:#fff!important}
#ast-scroll-top{display:none!important}
@media(max-width:767px){.rje-rail{display:none}.rje-side{top:auto;bottom:86px;right:16px;transform:none}.rje-totop{width:44px;height:44px}}

/* greeting bubble */
.rje-hi{position:fixed;right:24px;bottom:96px;z-index:9991;width:340px;max-width:calc(100vw - 32px);box-sizing:border-box;background:#fff;border-radius:18px;box-shadow:0 24px 60px rgba(21,23,26,.20);padding:18px 20px;color:#15171A;animation:rjeHi .45s cubic-bezier(.2,.7,.1,1)}
.rje-hi[hidden]{display:none!important}
.rje-hi:after{content:"";position:absolute;right:44px;bottom:-7px;width:14px;height:14px;background:#fff;transform:rotate(45deg)}
@keyframes rjeHi{from{opacity:0;transform:translateY(12px) scale(.98)}to{opacity:1;transform:none}}
.rje-hi-x{position:absolute;top:6px;right:8px;width:34px;height:34px;border:0!important;background:transparent!important;color:#6B7079!important;font-size:26px!important;line-height:1!important;cursor:pointer;padding:0!important;box-shadow:none!important}
.rje-hi-x:hover{color:#15171A!important}
.rje-hi-h{display:flex;align-items:center;gap:12px;margin:0 28px 10px 0}
.rje-hi-av{width:44px;height:44px;border-radius:50%;background:#F4F5F7;display:flex;align-items:center;justify-content:center;flex:none}
.rje-hi-av img{width:30px;height:auto}
.rje-hi-h b{display:block;font-size:17px;line-height:1.3}.rje-hi-h small{display:block;font-size:16px;line-height:1.3;color:#6B7079}
.rje-hi p{margin:0 0 14px;font-size:16px;line-height:1.6;color:#3F444C}
.rje-hi-a{display:flex;gap:10px}
.rje-hi-a button,.rje-hi-a a{flex:1;display:flex!important;align-items:center;justify-content:center;height:44px;padding:0 10px!important;border-radius:12px!important;font-size:16px!important;font-weight:600;line-height:1!important;text-decoration:none!important;cursor:pointer;box-shadow:none!important}
.rje-hi-go{background:#CC3A0A!important;color:#fff!important;border:0!important}.rje-hi-go:hover{background:#A92F07!important}
.rje-hi-form{background:#F4F5F7!important;color:#15171A!important;border:0!important}.rje-hi-form:hover{background:#E9EBEE!important}
@media(max-width:600px){.rje-hi{right:16px;bottom:84px}}
.rje-toast{position:fixed;left:50%;bottom:32px;transform:translateX(-50%);z-index:100002;max-width:calc(100vw - 32px);background:#15171A;color:#fff;padding:12px 20px;border-radius:12px;font-size:16px;line-height:1.4;box-shadow:0 10px 30px rgba(0,0,0,.2)}
.rje-toast[hidden]{display:none}

/* home: product carousel */
.rje-car-on .rjh-panels{display:none!important}
.rje-car{position:relative;margin-top:clamp(16px,2.4vw,32px)}
.rje-car-word{position:absolute;left:50%;top:0;transform:translateX(-50%);white-space:nowrap;font-size:clamp(64px,10.5vw,180px);font-weight:800;letter-spacing:-.02em;line-height:.9;background:linear-gradient(180deg,rgba(204,58,10,.20),rgba(204,58,10,0) 88%);-webkit-background-clip:text;background-clip:text;color:transparent;pointer-events:none;user-select:none}
.rje-stage{position:relative;height:var(--rje-sh,460px);touch-action:pan-y;outline:none;transition:opacity .25s}
.rje-car.is-swap .rje-stage,.rje-car.is-swap .rje-info,.rje-car.is-swap .rje-car-word{opacity:0;transition:opacity .18s}
.rje-info,.rje-car-word{transition:opacity .3s}
.rje-noanim .rje-card{transition:none!important}
.rje-card{position:absolute;left:50%;top:8px;width:var(--rje-cw,340px);margin-left:calc(var(--rje-cw,340px) / -2);display:block;text-decoration:none!important;color:#15171A!important;transition:transform .7s cubic-bezier(.2,.7,.1,1),opacity .7s;will-change:transform;-webkit-tap-highlight-color:transparent;-webkit-user-drag:none;user-select:none}
.rje-cimg{display:flex;align-items:center;justify-content:center;aspect-ratio:1/1;background:#fff;border-radius:24px;box-shadow:0 16px 36px rgba(21,23,26,.08);overflow:hidden;transition:box-shadow .7s}
.rje-cimg img{width:100%;height:100%;object-fit:contain;padding:9%;box-sizing:border-box;transition:transform .6s;-webkit-user-drag:none;pointer-events:none}
.rje-card.is-on .rje-cimg{box-shadow:0 32px 70px rgba(21,23,26,.16)}
.rje-card.is-on:hover .rje-cimg img{transform:scale(1.05)}
.rje-cname{display:block;text-align:center;margin:14px auto 0;padding:0 6px;transition:background .5s,color .5s}
.rje-cname b{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:19px;font-weight:600;line-height:1.35}
.rje-cname small{display:block;margin-top:4px;font-size:17px;line-height:1.2;color:#6B7079}
.rje-card.is-on .rje-cname{position:relative;width:84%;margin-top:-28px;padding:14px 16px;border-radius:18px;background:#CC3A0A;color:#fff;box-shadow:0 14px 30px rgba(204,58,10,.32)}
.rje-card.is-on .rje-cname b{font-size:17px}
.rje-card.is-on .rje-cname small{font-size:16px}
.rje-card.is-on .rje-cname small{color:rgba(255,255,255,.85)}
.rje-nav{display:flex;align-items:center;justify-content:center;gap:18px;margin-top:6px}
.rje-arrow{display:flex!important;align-items:center;justify-content:center;width:48px;height:48px;padding:0!important;border:1px solid rgba(21,23,26,.14)!important;border-radius:50%!important;background:#fff!important;color:#15171A!important;font-size:17px!important;cursor:pointer;box-shadow:none!important;transition:background .2s,color .2s,border-color .2s}
.rje-arrow:hover{background:#15171A!important;color:#fff!important;border-color:#15171A!important}
.rje-dots{display:flex;align-items:center;gap:8px}
.rje-dots button{width:8px;height:8px;min-height:0!important;padding:0!important;border:0!important;border-radius:8px!important;background:rgba(21,23,26,.18)!important;cursor:pointer;box-shadow:none!important;transition:width .3s,background .3s}
.rje-dots button.on{width:26px;background:#CC3A0A!important}
.rje-info{max-width:880px;margin:28px auto 0;text-align:center}
.rje-info h3{margin:0 0 8px;font-size:clamp(24px,2.2vw,34px)!important;line-height:1.2;color:#15171A!important}
.rje-info .rje-meta{margin:0 0 8px;font-size:17px;color:#6B7079}
.rje-info .rje-meta b{color:#CC3A0A}
.rje-info .rje-desc{margin:0 0 20px;font-size:18px;line-height:1.6;color:#3F444C}
.rje-info .rjh-btns{justify-content:center}
@media(max-width:600px){.rje-arrow{width:44px;height:44px}.rje-info .rje-desc{font-size:16px}}

/* home: closing screen = inquiry form */
.rjh .rjh-cta.rje-lead-on{text-align:left}
#rje-lead{scroll-margin-top:84px}
.rje-lead-in{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,600px);gap:clamp(32px,5vw,96px);align-items:center;position:relative;z-index:1}
.rje-lead-l .rjh-h2{font-size:clamp(32px,3.8vw,60px)!important}
.rje-lead-l .rjh-lead{margin:18px 0 0!important;max-width:560px}
.rje-lead-sub{margin:30px 0 12px;font-size:17px;font-weight:600;color:#15171A}
.rje-social{display:grid;gap:12px;max-width:460px}
.rje-sbtn{display:flex!important;align-items:center;gap:14px;width:100%;box-sizing:border-box;padding:14px 18px!important;margin:0!important;border:1px solid rgba(21,23,26,.08)!important;border-radius:16px!important;background:#fff!important;color:#15171A!important;text-align:left;text-decoration:none!important;font:inherit!important;line-height:1.3!important;box-shadow:0 8px 24px rgba(21,23,26,.06)!important;cursor:pointer;transition:transform .2s,border-color .2s,box-shadow .2s}
.rje-sbtn:hover{transform:translateY(-2px);border-color:rgba(204,58,10,.35)!important;box-shadow:0 14px 30px rgba(21,23,26,.10)!important}
.rje-sbtn i{display:flex;align-items:center;justify-content:center;flex:none;width:46px;height:46px;border-radius:50%;font-size:21px;color:#fff}
.rje-sbtn-wa i{background:#25D366;font-size:25px}.rje-sbtn-fb i{background:#1877F2}.rje-sbtn-mail i{background:#CC3A0A}
.rje-sbtn b{display:block;font-size:18px;font-weight:600;color:#15171A}
.rje-sbtn small{display:block;margin-top:2px;font-size:16px;color:#6B7079;word-break:break-all}
.rje-form{position:relative;margin:0;padding:clamp(24px,3vw,40px);background:#fff;border:1px solid rgba(21,23,26,.06);border-radius:24px;box-shadow:0 24px 60px rgba(21,23,26,.10)}
.rje-form h3,.rje-done h3{margin:0 0 20px;font-size:clamp(22px,1.8vw,28px)!important;line-height:1.25;color:#15171A!important}
.rje-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px 18px}
.rje-f{display:flex;flex-direction:column;gap:8px;margin:0}
.rje-f>span{font-size:16px;font-weight:600;color:#3F444C}
.rje-full{grid-column:1/-1}
.rje-form input:not(.rje-hp),.rje-form textarea{width:100%!important;box-sizing:border-box;margin:0!important;padding:13px 14px!important;border:1px solid #D9DCE0!important;border-radius:12px!important;background:#F8F9FA!important;color:#15171A!important;font:inherit!important;font-size:17px!important;line-height:1.4!important;box-shadow:none!important;transition:border-color .2s,background .2s,box-shadow .2s}
.rje-form textarea{min-height:120px;resize:vertical}
.rje-form input::placeholder,.rje-form textarea::placeholder{color:#8A8F98;font-size:16px}
.rje-form input:focus,.rje-form textarea:focus{outline:none!important;border-color:#CC3A0A!important;background:#fff!important;box-shadow:0 0 0 3px rgba(204,58,10,.12)!important}
.rje-f.is-bad input,.rje-f.is-bad textarea{border-color:#D92D20!important;background:#FFF6F5!important}
.rje-hp{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;opacity:0!important}
.rje-err{margin:14px 0 0;font-size:16px;color:#B42318}
.rje-err[hidden]{display:none}
.rje-submit{display:block!important;width:100%;height:56px;margin:20px 0 0!important;padding:0!important;border:0!important;border-radius:14px!important;background:#CC3A0A!important;color:#fff!important;font-size:18px!important;font-weight:600;line-height:1!important;cursor:pointer;box-shadow:0 12px 28px rgba(204,58,10,.28)!important;transition:background .2s}
.rje-submit:hover{background:#A92F07!important}.rje-submit[disabled]{opacity:.65;cursor:wait}
.rje-fine{margin:14px 0 0;font-size:16px;color:#6B7079}.rje-fine a{color:#CC3A0A!important}
.rje-done{padding:clamp(28px,3vw,44px);background:#fff;border-radius:24px;box-shadow:0 24px 60px rgba(21,23,26,.10);text-align:center}
.rje-done[hidden]{display:none}
.rje-done-ic{display:inline-flex;align-items:center;justify-content:center;width:64px;height:64px;margin-bottom:16px;border-radius:50%;background:rgba(37,211,102,.12);color:#1E9E50;font-size:28px}
.rje-done p{margin:0 0 8px;font-size:18px;color:#3F444C}
.rje-done-sub{margin-top:20px!important}
.rje-social-sm{grid-template-columns:1fr 1fr;max-width:none;margin-top:12px}
@media(max-width:1024px){.rje-lead-in{grid-template-columns:1fr}.rje-social{max-width:none;grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}}
@media(max-width:600px){.rje-grid{grid-template-columns:1fr}.rje-social-sm{grid-template-columns:1fr}}
/* 10-20 b: open layout, no white boxes, no fogged photo in the closing screen */
.rje-car-word{display:none!important}
.rjh .rjh-cta.rje-lead-on:before,.rjh .rjh-cta.rje-lead-on:after{display:none!important}
.rjh .rjh-cta.rje-lead-on{background:#F4F5F7!important}
.rje-lead-in{align-items:start}
.rje-form,.rje-done{background:none!important;border:0!important;box-shadow:none!important;padding:0!important;border-radius:0!important}
.rje-form h3{margin-bottom:6px!important}
.rje-grid{gap:4px 36px}
.rje-f{gap:2px;padding-top:16px}
.rje-form input:not(.rje-hp),.rje-form textarea{background:transparent!important;border:0!important;border-bottom:1.5px solid #C2C7CE!important;border-radius:0!important;padding:12px 2px!important}
.rje-form input:focus,.rje-form textarea:focus{background:transparent!important;border-bottom-color:#CC3A0A!important;box-shadow:0 1.5px 0 0 #CC3A0A!important}
.rje-f.is-bad input,.rje-f.is-bad textarea{background:transparent!important;border-bottom-color:#D92D20!important}
.rje-form textarea{min-height:96px}
.rje-submit{display:inline-flex!important;align-items:center;justify-content:center;width:auto!important;min-width:220px;padding:0 44px!important;margin-top:30px!important}
.rje-social{gap:2px}
.rje-sbtn{background:none!important;border:0!important;box-shadow:none!important;padding:10px 0!important;border-radius:0!important}
.rje-sbtn:hover{transform:none!important;box-shadow:none!important}
.rje-sbtn:hover b{color:#CC3A0A}
.rje-done{text-align:left}
@media(max-width:600px){.rje-submit{width:100%!important}}
/* product range (10-20 c) */
.rjh .rje-cats{background:#FFFFFF;padding:96px 0 88px!important}
.rje-cats .rjh-h2{color:#15171A!important}
.rje-cats .rjh-eyebrow{color:#CC3A0A}
.rje-cats-head{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:clamp(24px,4vw,72px);align-items:end;margin-bottom:clamp(36px,4vw,56px)}
.rje-cats-head .rjh-lead{margin:0!important;max-width:620px;color:#3F444C}
.rje-cats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-top:1px solid rgba(21,23,26,.10)}
.rje-cat{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:34px 28px 30px;color:#15171A!important;text-decoration:none!important;border-right:1px solid rgba(21,23,26,.10);transition:background .3s}
.rje-cat:last-child{border-right:0}
.rje-cat:hover{background:#F8F9FA}
.rje-cat:before{content:"";position:absolute;left:0;right:0;top:-1px;height:3px;background:#CC3A0A;transform:scaleX(0);transform-origin:0 50%;transition:transform .45s cubic-bezier(.2,.7,.1,1)}
.rje-cat:hover:before,.rje-cat.is-core:before{transform:scaleX(1)}
.rje-cat-ic{display:flex;align-items:center;justify-content:center;width:58px;height:58px;margin-bottom:6px;border-radius:50%;background:rgba(204,58,10,.08);color:#CC3A0A;transition:background .3s,color .3s}
.rje-cat-ic svg{width:28px;height:28px}
.rje-cat:hover .rje-cat-ic{background:#CC3A0A;color:#fff}
.rje-cat-tag{position:absolute;top:44px;right:24px;font-style:normal;font-size:16px;font-weight:600;line-height:1;color:#CC3A0A;background:rgba(204,58,10,.08);padding:6px 12px;border-radius:999px}
.rje-cat h3{margin:0!important;font-size:clamp(21px,1.6vw,26px)!important;line-height:1.25!important;color:#15171A!important}
.rje-cat p{flex:1;margin:0;font-size:17px;line-height:1.6;color:#5F6570}
.rje-cat-go{margin-top:6px;font-size:17px;font-weight:600;color:#CC3A0A}
@media(max-width:1024px){.rje-cats-head{grid-template-columns:1fr;align-items:start}.rje-cats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.rje-cat:nth-child(2n){border-right:0}.rje-cat:nth-child(n+3){border-top:1px solid rgba(21,23,26,.10)}}
@media(max-width:600px){.rje-cats .rjh-h2 br{display:none}.rje-cat-tag{top:28px;right:4px}.rjh .rje-cats{padding:72px 0 56px!important}.rje-cats-grid{grid-template-columns:1fr}.rje-cat{border-right:0!important;padding:26px 4px}.rje-cat+.rje-cat{border-top:1px solid rgba(21,23,26,.10)}.rje-cat p{font-size:16px}}

/* 2026-10-30 问候气泡：手机上改小（窄一些、字和按钮小一号，长介绍换成一句短话 .rje-hi-short）。电脑上不变。 */
.rje-hi .rje-hi-short{display:none}
@media(max-width:600px){
.rje-hi{width:272px;padding:12px 14px;border-radius:14px}
.rje-hi-x{top:2px;right:4px;width:30px;height:30px;font-size:22px!important}
.rje-hi-h{gap:8px;margin:0 22px 6px 0}
.rje-hi-av{width:32px;height:32px}.rje-hi-av img{width:22px}
.rje-hi-h b{font-size:15px}.rje-hi-h small{font-size:13px}
.rje-hi p.rje-hi-long{display:none}
.rje-hi p.rje-hi-short{display:block;margin:0 0 10px;font-size:14px;line-height:1.45}
.rje-hi-a{gap:8px}
.rje-hi-a button,.rje-hi-a a{flex:1 1 0;min-width:0;height:auto;min-height:36px;padding:4px!important;white-space:normal;text-align:center;line-height:1.2!important;font-size:13px!important;border-radius:10px!important}
}

/* 2026-10-30 手机上右下角的"联系我们"改成 52px 圆形图标按钮（文字仍留给读屏软件），不再压住表单和按钮。
   回到顶部、问候气泡跟着对齐。按钮本身的样式在 runjoin-contact.php 和 runjoin-hero2.php。 */
@media(max-width:600px){
 html body .rj-fab{right:16px;bottom:16px}
 html body .rj-fab .rj-fab-btn{width:52px;height:52px;padding:0!important;gap:0;justify-content:center;border-radius:50%!important;box-shadow:0 8px 22px rgba(21,23,26,.18)!important}
 html body .rj-fab .rj-fab-btn i{font-size:22px}
 html body .rj-fab .rj-fab-btn>span:not(.rjc-badge){position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
 html body .rj-fab .rj-fab-panel{bottom:64px}
 .rje-side{bottom:78px!important;right:20px!important}
 .rje-hi{bottom:80px}
 .rje-hi:after{right:24px}
}