/* 成全資訊工程：黑底橘色。放在 Odoo 網站的 custom_code_head。 */
:root{--cq-orange:#ff6a13;--cq-orange2:#ff8c1a;--cq-yellow:#ffc21a;--cq-black:#0b0b0d;--cq-dark:#141417;--cq-card:#1b1b20;--cq-line:#2b2b32;--cq-text:#e9e9ee;--cq-muted:#a5a5b0}
body{font-family:"Noto Sans TC","Microsoft JhengHei",sans-serif;background:var(--cq-black)}
#wrapwrap{background:var(--cq-black);color:var(--cq-text)}
#wrapwrap h1,#wrapwrap h2,#wrapwrap h3,#wrapwrap h4,#wrapwrap h5{font-family:"Noto Sans TC","Microsoft JhengHei",sans-serif;font-weight:900;color:#fff}

/* 上方列 */
header#top,header#top .navbar,header#top nav{background:rgba(11,11,13,.96)!important;border-bottom:1px solid var(--cq-line)}
header#top .nav-link,header#top .navbar-nav a{color:#f1f1f4!important;font-weight:700}
header#top .nav-link:hover,header#top .nav-link.active{color:var(--cq-orange)!important}
header#top .navbar-brand img{max-height:44px;height:44px;width:auto}
header#top .btn-primary,header#top .o_header_cta,header#top a.btn{background:var(--cq-orange)!important;border-color:var(--cq-orange)!important;color:#fff!important;font-weight:800}
header#top .navbar-toggler{border-color:#555}
header#top .navbar-toggler-icon{filter:invert(1)}
header#top .offcanvas,header#top .o_navbar_mobile{background:#111114!important;color:#fff}
header#top .offcanvas .nav-link{color:#fff!important}
header#top .btn-close{filter:invert(1)}

.cq{position:relative;padding:72px 0;overflow:hidden}
.cq .container{position:relative;z-index:1}
.cq-alt{background:var(--cq-dark)}
.cq-kicker{display:inline-block;color:var(--cq-orange);font-weight:800;letter-spacing:.18em;font-size:.85rem;margin-bottom:8px}
.cq-title{font-size:clamp(1.7rem,3.6vw,2.6rem);margin-bottom:12px}
.cq-title em{font-style:normal;color:var(--cq-orange)}
.cq-lead{color:var(--cq-muted);font-size:1.05rem;max-width:720px}
.cq-center{text-align:center}
.cq-center .cq-lead{margin-left:auto;margin-right:auto}

/* 首屏 */
.cq-hero{padding:96px 0 84px;background:
 radial-gradient(800px 400px at 85% 10%,rgba(255,106,19,.28),transparent 60%),
 linear-gradient(135deg,#0b0b0d 0%,#16161a 60%,#0b0b0d 100%)}
.cq-hero:before{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.04) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.04) 1px,transparent 1px);background-size:40px 40px;mask-image:linear-gradient(180deg,#000 30%,transparent)}
.cq-hero:after{content:"";position:absolute;right:-120px;top:-60px;width:420px;height:420px;border:28px solid var(--cq-orange);transform:rotate(45deg);opacity:.14}
.cq-hero-photo{background-color:#0b0b0d;background-size:cover;background-position:right center;background-repeat:no-repeat;min-height:620px;display:flex;align-items:center}
.cq-hero-photo:before,.cq-hero-photo:after{display:none}
.cq-hero-photo .container{width:100%}
.cq-hero-photo h1{text-shadow:0 4px 24px rgba(0,0,0,.5)}
.cq-hero-free{display:inline-flex;flex-wrap:wrap;align-items:center;gap:6px 14px;margin-top:26px;padding:12px 18px;border-radius:12px;background:rgba(255,106,19,.14);border:1px solid rgba(255,106,19,.6)}
.cq-hero-free b{color:var(--cq-yellow);font-size:1.15rem;font-weight:900}
.cq-hero-free span{color:#fff;font-weight:700;font-size:.92rem}
@media (max-width:991px){.cq-hero-photo{background-image:linear-gradient(180deg,rgba(11,11,13,.55) 0%,rgba(11,11,13,.88) 45%,rgba(11,11,13,.97) 100%),var(--cq-hero-img)!important;background-position:72% top;min-height:0}}
.cq-hero h1{font-size:clamp(2.6rem,8vw,5rem);line-height:1.05;margin:0 0 10px;letter-spacing:.04em}
.cq-en{color:var(--cq-orange);font-weight:800;letter-spacing:.08em;font-size:clamp(.8rem,1.9vw,1.15rem);margin-bottom:22px}
.cq-pills{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:22px}
.cq-pills span{border:1px solid rgba(255,255,255,.25);border-radius:999px;padding:6px 16px;font-weight:700;color:#fff;background:rgba(255,255,255,.04)}
.cq-slogan{font-size:clamp(1.05rem,2.4vw,1.4rem);font-weight:800;color:#fff;border-left:5px solid var(--cq-orange);padding-left:14px;margin-bottom:30px}
.cq-slogan b{color:var(--cq-orange)}
.cq-btns{display:flex;flex-wrap:wrap;gap:12px}
.cq-btn{display:inline-flex;align-items:center;gap:10px;padding:14px 26px;border-radius:10px;font-weight:900;font-size:1.1rem;text-decoration:none!important;transition:transform .15s}
.cq-btn:hover{transform:translateY(-2px)}
.cq-btn svg{width:22px;height:22px;flex:none}
.cq-btn-main{background:linear-gradient(90deg,var(--cq-orange),var(--cq-orange2));color:#fff!important;box-shadow:0 10px 30px rgba(255,106,19,.35)}
.cq-btn-ghost{border:2px solid rgba(255,255,255,.5);color:#fff!important}
.cq-hero-card{background:rgba(20,20,24,.85);border:1px solid var(--cq-line);border-radius:18px;padding:26px;box-shadow:0 30px 60px rgba(0,0,0,.45)}
.cq-hero-card h3{font-size:1.25rem;margin-bottom:14px}
.cq-hero-card ul{list-style:none;padding:0;margin:0}
.cq-hero-card li{display:flex;gap:12px;align-items:center;padding:10px 0;border-bottom:1px dashed var(--cq-line);font-weight:700;color:#fff}
.cq-hero-card li:last-child{border-bottom:0}
.cq-hero-card li i{color:var(--cq-orange);font-style:normal;font-weight:900;min-width:28px}
.cq-free{margin-top:16px;background:var(--cq-orange);color:#fff;border-radius:12px;padding:14px;text-align:center;font-weight:900;font-size:1.3rem}
.cq-free small{display:block;font-size:.85rem;font-weight:700;opacity:.9}

/* 跑馬燈標語 */
.cq-band{background:var(--cq-orange);color:#fff;padding:16px 0;font-weight:900;font-size:clamp(1rem,2.4vw,1.35rem);text-align:center}
.cq-band span{color:#111}

/* 服務 */
.cq-svc{background:var(--cq-card);border:1px solid var(--cq-line);border-radius:18px;overflow:hidden;height:100%}
.cq-svc-head{background:linear-gradient(90deg,var(--cq-orange),var(--cq-orange2));padding:20px 24px;display:flex;align-items:center;gap:14px}
.cq-svc-head h3{margin:0;font-size:1.5rem}
.cq-svc-head svg{width:38px;height:38px;color:#fff;flex:none}
.cq-svc-body{padding:8px 24px 20px}
.cq-item{display:flex;gap:16px;padding:18px 0;border-bottom:1px solid var(--cq-line)}
.cq-item:last-child{border-bottom:0}
.cq-ico{width:48px;height:48px;border-radius:12px;background:rgba(255,106,19,.12);color:var(--cq-orange);display:flex;align-items:center;justify-content:center;flex:none}
.cq-ico svg{width:26px;height:26px}
.cq-item h4{font-size:1.12rem;margin:2px 0 6px}
.cq-item p{color:var(--cq-muted);margin:0;font-size:.95rem}

/* 特色 */
.cq-feat{background:var(--cq-card);border:1px solid var(--cq-line);border-radius:16px;padding:26px 20px;text-align:center;height:100%;transition:border-color .2s,transform .2s}
.cq-feat:hover{border-color:var(--cq-orange);transform:translateY(-4px)}
.cq-feat .cq-ring{width:72px;height:72px;border-radius:50%;border:3px solid var(--cq-orange);display:flex;align-items:center;justify-content:center;margin:0 auto 14px;color:#fff}
.cq-feat .cq-ring svg{width:34px;height:34px}
.cq-feat h4{font-size:1.15rem}
.cq-feat p{color:var(--cq-muted);font-size:.92rem;margin:0}

/* 適合對象 */
.cq-who{display:flex;gap:14px;align-items:flex-start;background:var(--cq-card);border-left:4px solid var(--cq-orange);border-radius:12px;padding:18px;height:100%}
.cq-who b{display:block;color:#fff;font-size:1.08rem;margin-bottom:4px}
.cq-who span{color:var(--cq-muted);font-size:.93rem}

/* 流程 */
.cq-steps{display:grid;grid-template-columns:repeat(5,1fr);gap:14px;counter-reset:s}
.cq-step{background:var(--cq-card);border:1px solid var(--cq-line);border-radius:16px;padding:22px 16px;position:relative;text-align:center}
.cq-step:before{counter-increment:s;content:"0" counter(s);display:block;font-size:2rem;font-weight:900;color:var(--cq-orange);line-height:1;margin-bottom:10px}
.cq-step h4{font-size:1.1rem;margin-bottom:6px}
.cq-step p{color:var(--cq-muted);font-size:.9rem;margin:0}
.cq-step.cq-hot{background:linear-gradient(160deg,#2a160a,#1b1b20);border-color:var(--cq-orange)}
@media (max-width:991px){.cq-steps{grid-template-columns:repeat(2,1fr)}.cq-step:last-child{grid-column:span 2}}

/* 施工流程圖 */
.cq-flow-wrap{margin:0 auto 34px;max-width:1200px}
.cq-flow{display:block;width:100%;height:auto;filter:drop-shadow(0 24px 40px rgba(0,0,0,.45))}
.cq-flow-v{display:none;max-width:420px;margin:0 auto}
@media (max-width:767px){.cq-flow-h{display:none}.cq-flow-v{display:block}}

/* 為什麼選我們 */
.cq-why{text-align:left;padding:24px;border-radius:16px;background:linear-gradient(180deg,#1d1d22,#141417);border:1px solid var(--cq-line);height:100%}
.cq-why .cq-num{font-size:.8rem;color:var(--cq-orange);font-weight:900;letter-spacing:.2em}
.cq-why h4{font-size:1.25rem;margin:6px 0 8px}
.cq-why p{color:var(--cq-muted);margin:0}

/* 合作客戶 */
.cq-clients{display:grid;grid-template-columns:repeat(6,1fr);gap:14px}
.cq-client{background:var(--cq-card);border:1px solid var(--cq-line);border-radius:14px;min-height:120px;padding:16px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;text-align:center;transition:border-color .2s}
.cq-client:hover{border-color:var(--cq-orange)}
.cq-client img{max-width:100%;max-height:60px;filter:grayscale(1) brightness(1.6)}
.cq-client:hover img{filter:none}
.cq-client small{color:var(--cq-muted)}
.cq-client-real{border-color:var(--cq-orange);background:linear-gradient(160deg,#2a160a,#1b1b20)}
.cq-client-real b{color:#fff;font-size:1rem;line-height:1.4}
.cq-case-body .cq-tag{margin:0 4px 4px 0}
@media (max-width:991px){.cq-clients{grid-template-columns:repeat(3,1fr)}}
@media (max-width:575px){.cq-clients{grid-template-columns:repeat(2,1fr)}}

/* 案例 */
.cq-case{background:var(--cq-card);border:1px solid var(--cq-line);border-radius:16px;overflow:hidden;height:100%;transition:border-color .2s,transform .2s}
.cq-case:hover{border-color:var(--cq-orange);transform:translateY(-4px)}
.cq-case-img{aspect-ratio:16/10;background:repeating-linear-gradient(45deg,#1f1f25 0 12px,#18181d 12px 24px);display:flex;align-items:center;justify-content:center;color:var(--cq-muted);font-weight:700}
.cq-case-img img{width:100%;height:100%;object-fit:cover}
.cq-case-body{padding:20px}
.cq-case-body h4{font-size:1.15rem;margin:10px 0 8px}
.cq-case-body p{color:var(--cq-muted);margin:0}
.cq-tag{display:inline-block;background:rgba(255,106,19,.15);color:var(--cq-orange);border-radius:999px;padding:3px 12px;font-size:.8rem;font-weight:800}

/* 施工照片 */
.cq-gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.cq-gallery a{display:block;overflow:hidden}
.cq-gallery figure{margin:0;background:var(--cq-card);border:1px solid var(--cq-line);border-radius:14px;overflow:hidden}
.cq-gallery img{width:100%;aspect-ratio:3/4;object-fit:cover;display:block;transition:transform .3s}
.cq-gallery figure:hover img{transform:scale(1.04)}
.cq-gallery figcaption{padding:10px 12px;color:var(--cq-muted);font-size:.9rem}
@media (max-width:991px){.cq-gallery{grid-template-columns:repeat(2,1fr)}}

/* AI導入方案 */
.cq-ai-hero{padding:84px 0 64px}
.cq-ai-radio{position:absolute;opacity:0;pointer-events:none}
.cq-ai-tabs{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin-bottom:30px}
.cq-ai-tabs label{cursor:pointer;padding:9px 20px;border-radius:999px;border:1px solid var(--cq-line);background:var(--cq-card);color:#d0d0d8;font-weight:800;transition:all .2s;margin:0}
.cq-ai-tabs label:hover{border-color:var(--cq-orange);color:#fff}
#cqf-all:checked~.cq-ai-tabs label[for=cqf-all],#cqf-mon:checked~.cq-ai-tabs label[for=cqf-mon],#cqf-ops:checked~.cq-ai-tabs label[for=cqf-ops],#cqf-acc:checked~.cq-ai-tabs label[for=cqf-acc],#cqf-hr:checked~.cq-ai-tabs label[for=cqf-hr]{background:var(--cq-orange);border-color:var(--cq-orange);color:#fff}
#cqf-mon:checked~.cq-ai-grid .cq-ai-card:not(.c-mon),#cqf-ops:checked~.cq-ai-grid .cq-ai-card:not(.c-ops),#cqf-acc:checked~.cq-ai-grid .cq-ai-card:not(.c-acc),#cqf-hr:checked~.cq-ai-grid .cq-ai-card:not(.c-hr){display:none}
.cq-ai-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.cq-ai-card{position:relative;display:flex;flex-direction:column;background:linear-gradient(180deg,#1d1d22,#141417);border:1px solid var(--cq-line);border-radius:16px;padding:22px;transition:border-color .2s,transform .2s}
.cq-ai-card:before{content:"";position:absolute;left:0;top:0;width:40px;height:3px;background:var(--cq-orange);border-radius:16px 0 0 0}
.cq-ai-card:hover{border-color:var(--cq-orange);transform:translateY(-4px)}
.cq-ai-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}
.cq-ai-cat{color:var(--cq-muted);font-size:.82rem;letter-spacing:.08em;font-weight:700}
.cq-ai-try{border:1px solid var(--cq-orange);color:var(--cq-orange);border-radius:6px;padding:1px 8px;font-size:.78rem;font-weight:800}
.cq-ai-ico{width:46px;height:46px;border-radius:12px;background:rgba(255,106,19,.12);color:var(--cq-orange);display:flex;align-items:center;justify-content:center;margin-bottom:12px}
.cq-ai-ico svg{width:24px;height:24px}
.cq-ai-card h3{font-size:1.4rem;margin:0 0 10px}
.cq-ai-card p{color:#b8b8c2;font-size:.95rem;line-height:1.75;margin:0 0 18px;flex:1}
.cq-ai-foot{display:flex;justify-content:space-between;border-top:1px solid var(--cq-line);padding-top:12px;color:var(--cq-muted);font-size:.82rem;font-weight:700}
.cq-ai-foot span:last-child{color:var(--cq-orange)}
@media (max-width:991px){.cq-ai-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:575px){.cq-ai-grid{grid-template-columns:1fr}.cq-ai-tabs{justify-content:flex-start}.cq-ai-tabs label{padding:7px 14px;font-size:.9rem}}

/* DM */
.cq-dm img{width:100%;max-width:520px;border-radius:14px;box-shadow:0 30px 60px rgba(0,0,0,.5);border:1px solid var(--cq-line)}

/* 問答 */
.cq-faq details{background:var(--cq-card);border:1px solid var(--cq-line);border-radius:12px;margin-bottom:12px;padding:0 20px}
.cq-faq summary{cursor:pointer;padding:18px 0;font-weight:800;color:#fff;font-size:1.05rem;list-style:none;display:flex;justify-content:space-between;gap:12px}
.cq-faq summary::-webkit-details-marker{display:none}
.cq-faq summary:after{content:"+";color:var(--cq-orange);font-size:1.4rem;line-height:1}
.cq-faq details[open] summary:after{content:"−"}
.cq-faq details p{color:var(--cq-muted);padding-bottom:18px;margin:0}

/* 聯絡 */
.cq-contact{background:radial-gradient(700px 300px at 50% 0,rgba(255,106,19,.25),transparent 70%),var(--cq-black)}
.cq-big-free{font-size:clamp(2.2rem,7vw,4rem);font-weight:900;color:#fff;font-style:italic;letter-spacing:.04em;margin-bottom:6px}
.cq-big-free b{color:var(--cq-yellow)}
.cq-phone{display:inline-flex;align-items:center;gap:14px;font-size:clamp(2rem,7.5vw,3.6rem);font-weight:900;color:var(--cq-orange)!important;text-decoration:none!important;letter-spacing:.03em;margin:10px 0 6px}
.cq-phone svg{width:.9em;height:.9em;background:var(--cq-orange);color:#fff;border-radius:14px;padding:8px;box-sizing:content-box}
.cq-tri{color:#fff;font-weight:700;margin-bottom:34px}
.cq-tri span{color:var(--cq-orange);margin:0 10px}
.cq-info{background:var(--cq-card);border:1px solid var(--cq-line);border-radius:16px;padding:22px;height:100%;text-align:left}
.cq-info h5{color:var(--cq-orange)!important;font-size:1rem;margin-bottom:8px}
.cq-info p{margin:0;color:#fff;font-weight:700}
.cq-todo{display:inline-block;background:#3a2a10;color:var(--cq-yellow);border:1px dashed var(--cq-yellow);border-radius:6px;padding:2px 8px;font-size:.85rem;font-weight:700}

/* 手機下方固定按鈕 */
.cq-callbar{display:none}
@media (max-width:767px){
 .cq{padding:52px 0}
 .cq-hero{padding:56px 0 48px}
 .cq-btn{width:100%;justify-content:center}
 .cq-callbar{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:1050;background:#0b0b0d;border-top:2px solid var(--cq-orange);padding:8px;gap:8px}
 .cq-callbar a{flex:1;text-align:center;padding:12px;border-radius:10px;font-weight:900;color:#fff!important;text-decoration:none!important}
 .cq-callbar .cq-cb-call{background:var(--cq-orange)}
 .cq-callbar .cq-cb-line{background:#06c755}
 #wrapwrap{padding-bottom:70px}
}

/* 頁尾 */
#footer,footer#bottom,.o_footer,.o_footer_copyright{background:#070708!important;color:var(--cq-muted)!important;border-color:var(--cq-line)!important}
.cq-foot{padding:44px 0 24px}
.cq-foot h5{color:#fff!important;font-size:1.05rem;margin-bottom:12px}
.cq-foot p,.cq-foot li{color:var(--cq-muted);font-size:.93rem}
.cq-foot ul{list-style:none;padding:0}
.cq-foot a{color:var(--cq-muted)!important}
.cq-foot a:hover{color:var(--cq-orange)!important}
.cq-foot .cq-foot-phone{color:var(--cq-orange)!important;font-weight:900;font-size:1.4rem}
.o_footer_copyright{font-size:.85rem}

/* 只在獨立網站用：自己的上方列與頁尾（Odoo 版用 Odoo 的） */
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:80px}
img{max-width:100%}
h1,h2,h3,h4,h5{margin-top:0;line-height:1.25}
p{margin-top:0}
body{margin:0;color:var(--cq-text)}
#wrapwrap{overflow-x:clip}
a{color:inherit}
.cq-top{position:sticky;top:0;z-index:1060;background:rgba(11,11,13,.96);border-bottom:1px solid var(--cq-line);backdrop-filter:blur(6px)}
.cq-top .container{display:flex;align-items:center;gap:20px;min-height:68px}
.cq-brand img{height:44px;width:auto;display:block}
.cq-nav{display:flex;gap:4px;margin-left:auto;align-items:center}
.cq-nav a{color:#f1f1f4;text-decoration:none;font-weight:700;padding:8px 10px;border-radius:8px}
.cq-nav a:hover,.cq-nav a.on{color:var(--cq-orange)}
.cq-nav .cq-nav-cta{background:var(--cq-orange);color:#fff!important;padding:9px 16px;margin-left:8px}
#cq-menu,.cq-burger{display:none}
@media (max-width:991px){
 .cq-burger{display:flex;margin-left:auto;cursor:pointer;width:42px;height:42px;align-items:center;justify-content:center;border:1px solid #444;border-radius:8px}
 .cq-burger span,.cq-burger span:before,.cq-burger span:after{display:block;width:20px;height:2px;background:#fff;position:relative;content:""}
 .cq-burger span:before{position:absolute;top:-6px}.cq-burger span:after{position:absolute;top:6px}
 .cq-nav{display:none;position:absolute;left:0;right:0;top:68px;flex-direction:column;align-items:stretch;background:#111114;border-bottom:1px solid var(--cq-line);padding:10px 16px 16px}
 .cq-nav a{padding:12px 8px;border-bottom:1px solid #222}
 .cq-nav .cq-nav-cta{margin:10px 0 0;text-align:center}
 #cq-menu:checked~.cq-nav{display:flex}
}
.cq-copy{border-top:1px solid var(--cq-line);padding:14px 0;text-align:center;font-size:.85rem;color:var(--cq-muted)}
footer{background:#070708}
