:root{
  --navy:#1f3b63; --navy-d:#16294a; --ink:#1a2430; --muted:#5f6b7a; --line:#e4e8ee;
  --bg:#ffffff; --alt:#f5f7fa; --tint:#eaf0f8; --r:14px; --w:1120px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;font-family:"Noto Sans TC",-apple-system,"PingFang TC","Microsoft JhengHei",system-ui,sans-serif;color:var(--ink);background:var(--bg);line-height:1.75;font-size:16px}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
h1,h2,h3{line-height:1.3;margin:0 0 .5em;font-weight:700;letter-spacing:.01em;text-wrap:balance}
h1{font-size:clamp(30px,4.6vw,48px)}
h2{font-size:clamp(24px,3vw,32px)}
h3{font-size:18px}
p{margin:0 0 1em}
.wrap{max-width:var(--w);margin:0 auto;padding:0 24px}
.muted{color:var(--muted)}
.lead{font-size:17px;color:#33404f;text-wrap:pretty}
.nb{white-space:nowrap}
p{text-wrap:pretty}
.eyebrow{font-size:13px;letter-spacing:.14em;text-transform:uppercase;color:var(--navy);font-weight:500;margin-bottom:8px}
small{font-size:12px;color:var(--muted)}

/* header */
.hd{position:sticky;top:0;z-index:20;background:rgba(255,255,255,.92);backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
.hd-in{display:flex;align-items:center;justify-content:space-between;height:68px;position:relative}
.brand{color:var(--navy);display:flex;align-items:center}
.logo{height:38px;width:auto}
.nav{display:flex;gap:6px;align-items:center}
.nav a{padding:8px 12px;border-radius:8px;font-weight:500;color:#2a3644}
.nav a:hover{background:var(--alt)}
.nav a.on{color:var(--navy);background:var(--tint)}
.nav-tel{margin-left:8px;background:var(--navy);color:#fff!important;font-variant-numeric:tabular-nums}
.nav-tel:hover{background:var(--navy-d)!important}
.menu-t,.menu-b{display:none}

/* hero */
.hero{padding:64px 0 40px}
.hero-in{display:grid;grid-template-columns:1fr 1.1fr;gap:48px;align-items:center}
.hero h1{margin-bottom:16px}
.hero .lead{max-width:34em}
.cta{display:flex;gap:12px;flex-wrap:wrap;margin-top:22px}
.btn{display:inline-block;padding:12px 22px;border-radius:10px;background:var(--navy);color:#fff;font-weight:500;border:1px solid var(--navy)}
.btn:hover{background:var(--navy-d)}
.btn.ghost{background:#fff;color:var(--navy)}
.btn.ghost:hover{background:var(--tint)}
.hero-img{border-radius:var(--r);overflow:hidden;background:#2f5f92;aspect-ratio:4/3;width:100%;max-width:560px;justify-self:end;box-shadow:0 24px 60px -30px rgba(31,59,99,.55)}
.hero-img img{width:100%;height:100%;object-fit:cover}

/* stats */
.stats{background:var(--navy);color:#fff;padding:28px 0}
.stats-in{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
.stats-in div{display:flex;flex-direction:column;gap:2px;align-items:center;text-align:center;padding:4px 12px;border-left:1px solid rgba(255,255,255,.18)}
.stats-in div:first-child{border-left:0}
.stats-in b{font-size:34px;font-weight:700;line-height:1.1;font-variant-numeric:tabular-nums}
.stats-in b i{font-style:normal;font-size:22px;opacity:.85}
.stats-in span{font-size:14px;opacity:.85;line-height:1.4}
.stats-in small{color:rgba(255,255,255,.7)}

/* sections */
.sec{padding:64px 0}
.sec.alt{background:var(--alt)}
.sec-hd{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:24px}
.more{color:var(--navy);font-weight:500}
.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.grid-center{display:flex;flex-wrap:wrap;justify-content:center}
.grid-center>.card{flex:0 0 calc((100% - 44px)/3)}
.two{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:start}
.two.center{align-items:center}

/* cards */
.card{border:1px solid var(--line);border-radius:var(--r);overflow:hidden;background:#fff;transition:transform .2s,box-shadow .2s}
.card:hover{transform:translateY(-3px);box-shadow:0 18px 40px -24px rgba(31,59,99,.4)}
.card-img{aspect-ratio:4/3;background:#2f5f92;overflow:hidden}
.card-img img{width:100%;height:100%;object-fit:cover}
.card-body{padding:16px 18px 18px}
.card-body h3{margin-bottom:2px}
.card-body p{margin:0;font-size:14px}

.cl-wall{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.cl{background:#fff;border:1px solid var(--line);border-radius:12px;padding:16px 12px 12px;display:flex;flex-direction:column;align-items:center;gap:10px}
.cl img{height:32px;width:auto;max-width:120px;object-fit:contain}
.cl span{font-size:13px;color:#33404f;font-weight:500}
.rb-name .lg-mxic,.rb-name .lg-vis{height:46px}
.cl .lg-mxic,.cl .lg-vis{height:48px}
.rep-thumbs{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.rep-thumbs img{border:1px solid var(--line);border-radius:8px;aspect-ratio:3/4;object-fit:cover;object-position:top}
.contact-strip{background:var(--tint)}

/* page header */
.page-hd{padding:56px 0 24px;border-bottom:1px solid var(--line)}
.page-hd .lead{max-width:40em}

/* about */
.wrap.narrow .lead{max-width:44em}
.ft-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin-top:8px}
.ft-card{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:28px 24px 26px}
.ft-ico{width:56px;height:56px;border-radius:14px;background:var(--tint);color:var(--navy);display:flex;align-items:center;justify-content:center;margin-bottom:18px}
.ft-ico svg{width:30px;height:30px}
.ft-card h3{font-size:22px;color:var(--navy);margin-bottom:8px}
.ft-card p{margin:0;font-size:17px;line-height:1.7;color:#33404f}
.dl{display:grid;grid-template-columns:max-content 1fr;gap:10px 24px;margin:16px 0 0}
.dl dt{color:var(--muted);font-weight:500}
.dl dd{margin:0}

/* products */
.subnav{position:sticky;top:68px;z-index:10;background:#fff;border-bottom:1px solid var(--line)}
.subnav .wrap{display:flex;gap:6px;overflow-x:auto;padding-top:10px;padding-bottom:10px;scrollbar-width:none}
.subnav a{white-space:nowrap;padding:10px 18px;border-radius:999px;font-size:21px;font-weight:500;color:#2a3644}
.subnav a:hover{background:var(--tint);color:var(--navy)}
.prod{padding:64px 0;scroll-margin-top:140px}
.prod.alt{background:var(--alt)}
.prod-media .main{border-radius:var(--r);background:#2f5f92;aspect-ratio:1/1;object-fit:cover;width:100%}
.gal{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:10px}
.gal img{border-radius:8px;aspect-ratio:4/3;object-fit:cover;background:#fff;border:1px solid var(--line)}

/* projects */
.pj-grid{gap:16px 40px}
.pj h4{margin:0 0 6px;font-size:15px;color:var(--navy);letter-spacing:.04em}
.pj ul{margin:0;padding:0;list-style:none}
.pj li{padding:5px 0;border-top:1px solid var(--line);font-size:15px;color:#33404f}

/* reports */
.rep{padding:28px 0;border-top:1px solid var(--line)}
.rep:first-child{border-top:0;padding-top:0}
.rep-hd{display:flex;align-items:baseline;gap:14px;flex-wrap:wrap;margin-bottom:16px}
.rep-hd h2{margin:0;font-size:22px}
.tag{background:var(--tint);color:var(--navy);font-size:12px;font-weight:700;padding:3px 10px;border-radius:999px;letter-spacing:.06em}
.rep-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:12px}
.rep-grid img{border:1px solid var(--line);border-radius:8px;aspect-ratio:3/4;object-fit:cover;object-position:top;transition:transform .2s}
.rep-grid a:hover img{transform:scale(1.03)}

/* contact */
.ct{display:grid;gap:12px}
.ct-item{display:flex;flex-direction:column;gap:2px;background:var(--alt);border-radius:12px;padding:16px 20px}
.ct-item b{font-size:20px;color:var(--navy);font-weight:700}
.lbl{font-size:13px;color:var(--muted);margin-right:10px}
.map{border-radius:var(--r);overflow:hidden;border:1px solid var(--line);aspect-ratio:4/3;background:var(--alt)}
.map iframe{width:100%;height:100%;border:0}

/* footer */
.ft{background:#0f1c30;color:#c9d2de;padding:48px 0 0;margin-top:40px}
.ft-in{display:grid;grid-template-columns:1.2fr 1.2fr .8fr;gap:40px;padding-bottom:36px}
.ft-brand{color:#fff}
.ft-brand .logo{height:38px}
.ft .muted{color:#8f9bab}
.ft-contact p{margin:0 0 6px}
.ft-contact a:hover{color:#fff}
.ft-nav{display:flex;flex-direction:column;gap:6px}
.ft-nav a{color:#c9d2de}.ft-nav a:hover{color:#fff}
.copy{border-top:1px solid rgba(255,255,255,.08);padding-top:16px;padding-bottom:16px;font-size:13px;color:#8f9bab}

/* mobile */
@media (max-width:900px){
  .hero-in,.two,.ft-in{grid-template-columns:1fr;gap:28px}
  .hero-img{justify-self:start;max-width:100%}
  .grid3{grid-template-columns:1fr 1fr}
  .ft-grid{grid-template-columns:1fr 1fr}
  .grid-center>.card{flex-basis:calc((100% - 22px)/2)}
  .stats-in{grid-template-columns:1fr 1fr}
  .rep-grid{grid-template-columns:repeat(3,1fr)}
  .menu-b{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:10px;cursor:pointer}
  .menu-b span,.menu-b span::before,.menu-b span::after{content:"";display:block;width:22px;height:2px;background:var(--ink);position:relative;transition:.2s}
  .menu-b span::before{position:absolute;top:-7px}.menu-b span::after{position:absolute;top:7px}
  .nav{display:none;position:absolute;left:0;right:0;top:68px;background:#fff;border-bottom:1px solid var(--line);flex-direction:column;align-items:stretch;padding:8px 16px 16px;gap:2px}
  .menu-t:checked ~ .nav{display:flex}
  .nav-tel{margin:8px 0 0;text-align:center}
}
@media (max-width:560px){
  .grid3{grid-template-columns:1fr}
  .grid-center>.card{flex-basis:100%}
  .ft-grid{grid-template-columns:1fr}
  .dl{grid-template-columns:1fr;gap:2px 0}.dl dd{margin-bottom:10px}
  .sec{padding:44px 0}.hero{padding:40px 0 28px}
  .stats-in b{font-size:28px}
}

/* 實績排行長條 */
.rb-legend{display:flex;flex-wrap:wrap;gap:10px 28px;align-items:center;margin:4px 0 22px;font-size:18px}
.rb-legend i{display:inline-block;width:12px;height:12px;border-radius:3px;margin-right:8px;vertical-align:-1px}
.rb-legend b{font-size:22px;margin-left:2px}
.mau{background:var(--navy)}
.aw{background:#5b8fc9}
.rb-list{border-top:1px solid var(--line)}
.rb{display:grid;grid-template-columns:190px 1fr 150px;gap:8px 28px;padding:20px 0;border-bottom:1px solid var(--line);align-items:start}
.rb-name{display:flex;flex-direction:column;align-items:center;text-align:center;padding-top:2px}
.rb-name img{height:30px;width:auto;max-width:130px;object-fit:contain;margin-bottom:8px}
.rb-name b{display:block;font-size:20px;color:var(--navy);line-height:1.2}
.rb-name span{font-size:18px;color:var(--muted)}
.rb-bar i{display:flex;align-items:center;justify-content:flex-end;padding-right:8px;min-width:6px;color:#fff;font-size:13px;font-variant-numeric:tabular-nums;overflow:hidden}
.rb-bar i b{font-weight:500}
.rb-bar i.aw{color:#fff}
.rb-fab{font-size:19px;color:#3d4a5a;line-height:1.7;display:flex;gap:14px;align-items:flex-start;margin-top:6px}
.rb-fab>b{flex:none;color:var(--ink);font-size:22px;min-width:78px;font-variant-numeric:tabular-nums}
.rb-fab>b small{font-size:16px;color:var(--muted);margin-left:3px;font-weight:400}
.rb-fab .fabs{flex:1}
.rb-fab .k{flex:none;display:inline-block;width:110px;text-align:center;color:#fff;font-size:16px;font-weight:700;padding:3px 0;border-radius:6px;margin-top:3px;line-height:1.5;letter-spacing:.03em}
.rb-total{text-align:right}
.rb-total b{display:block;font-size:32px;line-height:1.1;color:var(--navy);font-variant-numeric:tabular-nums}
.rb-total b em{font-style:normal;font-size:20px;font-weight:500;margin-left:4px}
.rb-total span{font-size:18px;color:var(--muted);white-space:nowrap}
h3.sub{color:var(--navy);margin:8px 0 14px}
@media (max-width:900px){
  .rb{grid-template-columns:1fr auto;gap:4px 16px;padding:16px 0}
  .rb-name{grid-column:1}.rb-total{grid-column:2;grid-row:1}
  .rb-body{grid-column:1/-1}
  .rb-name{align-items:flex-start;text-align:left}
  .rb-name b{font-size:16px}
  .rb-name img{height:26px;margin-bottom:4px}
  .cl-wall{grid-template-columns:repeat(3,1fr);gap:8px}
  .cl{padding:12px 6px 10px}
  .cl img{height:26px;max-width:96px}
  .cl .lg-mxic,.cl .lg-vis{height:40px}
  .rb-name .lg-mxic,.rb-name .lg-vis{height:40px}
  .rb-total b{font-size:22px}
}
@media (max-width:560px){
  .rb-bar i{font-size:12px;padding-right:5px}
  .rb-fab{font-size:16px;gap:10px}
  .rb-fab .k{width:96px;font-size:14px}
  .rb-fab>b{font-size:19px;min-width:64px}
}
