/* SINOINTELL TECHNOLOGY LIMITED — site styles
   Colours come from the gold logo plus steel grey. One bold element: the hero S-path (the refurbish cycle). */
:root {
  --steel: #1F2B33;
  --steel-2: #2A3943;
  --steel-3: #3A4C58;
  --steel-line: #4A5D6A;
  --gold: #9A6A2A;          /* text/buttons on white: 4.8:1 */
  --gold-dk: #7E5520;
  --gold-lt: #E4C27A;       /* on steel */
  --gold-pale: #F7EFDD;
  --paper: #FFFFFF;
  --panel: #F2F3F1;
  --ink: #1C2329;
  --text: #4B545C;
  --muted: #6B747C;
  --line: #DCDFE0;
  --led: #5BC27A;
  --r-sm: 3px;
  --r-md: 6px;
  --wrap: 1160px;
  --font: "Archivo", "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 400 17px/1.75 var(--font);
  font-feature-settings: "palt" 0;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-underline-offset: 3px; }
a:hover { color: var(--gold-dk); }
h1, h2, h3 { color: var(--ink); line-height: 1.3; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(30px, 3.7vw, 48px); letter-spacing: .01em; }
h2 { font-size: clamp(25px, 2.8vw, 34px); }
h3 { font-size: 20px; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.en, .en-lead {
  font-stretch: 82%;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: .01em;
}
.muted { color: var(--muted); }
.small { font-size: 14px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--steel); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  border-radius: var(--r-sm);
  font: 600 16px/1 var(--font);
  text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn .ico { width: 20px; height: 20px; flex: none; }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--gold-dk); color: #fff; }
.btn-line { border-color: var(--steel); color: var(--steel); background: transparent; }
.btn-line:hover { background: var(--steel); color: #fff; }
.btn-line-light { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-line-light:hover { background: #fff; color: var(--steel); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 15px; }
.link { font-weight: 600; }
.ico { width: 18px; height: 18px; vertical-align: -3px; }

/* ---- Top bar (dark, slanted edge, like the reference) ---- */
.topbar { background: linear-gradient(105deg, #fff 0 40%, var(--steel) 40%); font-size: 14px; }
.topbar-row { display: flex; justify-content: flex-end; gap: 28px; min-height: 40px; align-items: center; }
.topbar a { color: #E3E8EA; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.topbar a:hover { color: var(--gold-lt); }
.topbar .ico { color: var(--gold-lt); width: 16px; height: 16px; }
/* language switch in the top bar: 繁 / 简 / EN */
.lang-switch { display: inline-flex; align-items: center; gap: 2px; margin-left: 6px; padding-left: 16px; border-left: 1px solid rgba(255,255,255,.25); }
.topbar .lang-switch a { padding: 3px 7px; border-radius: var(--r-sm); font-weight: 600; color: #C9D3D8; gap: 0; }
.topbar .lang-switch a:hover { color: var(--gold-lt); }
.topbar .lang-switch a[aria-current="true"] { background: var(--gold); color: #fff; }

/* Simplified Chinese pages: a Simplified font; English pages: free line breaks, no bilingual sub-lines */
html:lang(zh-Hans) { --font: "Archivo", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif; }
html:lang(en) .nw { white-space: normal; }
html:lang(en) .en, html:lang(en) .en-lead { display: none; }
html:lang(en) .hero-photo h1 { font-size: clamp(28px, 2.6vw, 36px); line-height: 1.2; }
html:lang(en) body { line-height: 1.65; }
html:lang(en) .sloop .lbl-3 { transform: translateX(34px); }
html:lang(en) .pro-media .badges li { white-space: normal; }

.slash::before { content: ""; display: inline-block; width: 10px; height: .8em; margin-right: 14px; background: var(--gold); transform: skewX(-20deg); vertical-align: -.02em; }

/* ---- Header ---- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
}
.head-row { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img:first-child { width: 46px; height: auto; }
.brand-word { width: 190px; height: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) {
  color: var(--ink); text-decoration: none; font-weight: 500;
  padding: 8px 14px; border-radius: var(--r-sm);
}
.nav a:not(.btn):hover { color: var(--gold); }
.nav a[aria-current="page"] { color: var(--gold); box-shadow: inset 0 -2px 0 var(--gold); border-radius: 0; }
.nav .nav-wa { margin-left: 10px; }
.burger { display: none; }

/* ---- Hero ---- */
.hero { padding: 72px 0 88px; border-bottom: 1px solid var(--line); }
.nw { white-space: nowrap; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 20px; }
.lead { font-size: 19px; color: var(--text); max-width: 34em; }
.en-lead { font-size: 16px; max-width: 40em; margin-bottom: 28px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.hero-contact { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 15px; }
.hero-contact a { color: var(--ink); text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.hero-contact a:hover { color: var(--gold); }
.hero-contact .ico { color: var(--gold); }

/* ---- Hero: the logo's S as the refurbish path ---- */
.hero-visual { max-width: 540px; justify-self: end; width: 100%; }
.sloop { width: 100%; height: auto; overflow: visible; font-family: var(--font); }
.ribbon { fill: none; stroke-width: 40; }
.ribbon-hi { fill: none; stroke: #FBEFD0; stroke-width: 2; opacity: .75; }
.exit { stroke: #B07E37; stroke-width: 6; fill: none; }
.st circle { fill: #fff; stroke: var(--steel); stroke-width: 3; }
.st-n { font-size: 20px; font-weight: 700; fill: var(--steel); text-anchor: middle; font-stretch: 80%; }
.st-l { font-size: 24px; font-weight: 700; fill: var(--ink); }
.st-s { font-size: 16px; font-weight: 500; fill: var(--muted); }
.chip rect { stroke: var(--steel); stroke-width: 2.5; }
.chip .pins { stroke: var(--steel); stroke-width: 2.5; }

/* ---- Hero with photo ---- */
.hero-photo { position: relative; overflow: hidden; padding: 64px 0 88px; background: linear-gradient(105deg, #fff 0 50%, #EEEFED 50%); border-bottom: 0; }
.hero-slash { position: absolute; left: 0; top: 40px; width: 15%; height: 54px; background: var(--gold); clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%); }
/* photo sits inside the content width, aligned with the header and the sections below */
.hero-photo .hero-grid { grid-template-columns: minmax(420px, .8fr) minmax(0, 1.2fr); gap: 44px; align-items: center; }
.hero-photo h1 { font-size: clamp(30px, 2.9vw, 38px); }
.hero-photo .hero-copy { padding-top: 40px; }
.hero-media { margin: 0; position: relative; }
.hero-frame { position: relative; border-radius: var(--r-md); overflow: hidden; box-shadow: 0 30px 60px -30px rgba(31,43,51,.5); aspect-ratio: 16 / 10; background: #D8D8D6; }
.hero-frame img { width: 100%; height: 100%; object-fit: cover; }
/* three stages stacked: 1 broken, 2 repairing, 3 finished. Without JS only stage 2 shows. */
.stage { position: absolute; inset: 0; opacity: 0; overflow: hidden; }
.stage.is-on { opacity: 1; z-index: 1; }
.stage.entering { opacity: 1; z-index: 2; animation: stageWipe 1.1s cubic-bezier(.6,0,.2,1) forwards; }
@keyframes stageWipe { from { clip-path: polygon(0 0, 0 0, -16% 100%, 0 100%); } to { clip-path: polygon(0 0, 116% 0, 100% 100%, 0 100%); } }
.stage-3.is-on img { animation: settle 6s ease-out forwards; }
@keyframes settle { from { transform: scale(1.07); } to { transform: scale(1); } }
.stage-tag {
  position: absolute; left: 16px; top: 16px; z-index: 3; padding: 6px 12px; border-radius: var(--r-sm);
  color: #fff; font-size: 14px; font-weight: 700; box-shadow: 0 8px 20px -10px rgba(0,0,0,.5);
  opacity: 0; transform: translateY(-6px); transition: opacity .4s ease .5s, transform .5s ease .5s;
}
.stage.is-on .stage-tag, .stage.entering .stage-tag { opacity: 1; transform: none; }
.tag-bad { background: #B3261E; }
.tag-bad::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: #fff; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2; } }
.tag-work { background: rgba(16,25,32,.88); border-left: 3px solid var(--gold-lt); }
.tag-ok { background: #1E7A3C; }
/* stage 1: alert markers on the faulty equipment, faint red edge glow */
.stage-alarm { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(ellipse at 50% 50%, rgba(0,0,0,0) 55%, rgba(150,20,15,.38) 100%); }
.stage-1 img { filter: saturate(.92) contrast(1.06); }
.alerts { position: absolute; inset: 0; z-index: 2; }
.al { position: absolute; left: var(--x); top: var(--y); }
.al-dot { position: absolute; left: -11px; top: -11px; width: 22px; height: 22px; border-radius: 50%; background: #E0352A; border: 3px solid #fff; box-shadow: 0 0 0 0 rgba(224,53,42,.7); animation: alarm 1.4s ease-out infinite; animation-delay: var(--ad, 0s); }
@keyframes alarm { 0% { box-shadow: 0 0 0 0 rgba(224,53,42,.75); } 70%, 100% { box-shadow: 0 0 0 22px rgba(224,53,42,0); } }
.al-label { position: absolute; left: 18px; top: -15px; white-space: nowrap; padding: 4px 10px; border-radius: var(--r-sm); background: #B3261E; color: #fff; font-size: 13.5px; font-weight: 700; box-shadow: 0 8px 18px -8px rgba(0,0,0,.6); }
.stage .al { opacity: 0; transform: scale(.4); transform-origin: 0 0; transition: opacity .3s ease, transform .45s cubic-bezier(.3,1.6,.5,1); }
.stage.is-on .al, .stage.entering .al { opacity: 1; transform: none; transition-delay: calc(var(--ad, 0s) + .4s); }
.hero-frame.sweep .scan { animation: heroScan 1.1s cubic-bezier(.6,0,.2,1) forwards; }
.scan { z-index: 4; }
/* stage progress steps under the photo */
.stages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 16px; }
.stage-btn { all: unset; box-sizing: border-box; width: 100%; cursor: pointer; display: grid; grid-template-columns: auto 1fr; column-gap: 8px; row-gap: 8px; align-items: baseline; color: var(--muted); font-size: 14.5px; }
.stage-btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.sb-n { font-weight: 800; font-stretch: 80%; }
.sb-t { font-weight: 600; }
.sb-bar { grid-column: 1 / -1; position: relative; height: 3px; background: #D5D9DB; overflow: hidden; }
.sb-bar i { position: absolute; inset: 0; background: var(--gold); transform-origin: left; transform: scaleX(0); }
.stage-btn[aria-current="step"] { color: var(--ink); }
.stage-btn[aria-current="step"] .sb-n { color: var(--gold); }
.stage-btn.done .sb-bar i, .stage-btn[aria-current="step"].still .sb-bar i { transform: scaleX(1); }
.stage-btn.playing .sb-bar i { animation: sbFill var(--dur, 4s) linear forwards; }
.hero-media.paused .stage-btn.playing .sb-bar i { animation-play-state: paused; }
@keyframes sbFill { to { transform: scaleX(1); } }
.stage-btn[data-go="1"][aria-current="step"] .sb-n { color: #B3261E; }
.stage-btn[data-go="3"][aria-current="step"] .sb-n { color: #1E7A3C; }
.hero-layer { position: absolute; inset: 0; transform: translate3d(var(--px, 0px), var(--py, 0px), 0) scale(var(--sc, 1)); }
.hero-live .hero-layer { transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.scan { position: absolute; top: 0; bottom: 0; left: 0; width: 3px; background: var(--gold-lt); box-shadow: 0 0 16px 5px rgba(228,194,122,.6); opacity: 0; pointer-events: none; }
.scan::before { content: ""; position: absolute; top: 0; bottom: 0; right: 3px; width: 90px; background: linear-gradient(90deg, rgba(228,194,122,0), rgba(228,194,122,.28)); }
.hotspots { position: absolute; inset: 0; }
.hs { position: absolute; left: var(--x); top: var(--y); }
.hs-btn { all: unset; display: block; position: relative; cursor: pointer; }
.hs-btn:focus-visible .hs-dot { outline: 3px solid #fff; outline-offset: 3px; }
.hs-tip {
  position: absolute; top: 20px; width: 220px; display: grid; gap: 2px;
  background: #fff; color: var(--ink); font-size: 14px; line-height: 1.55; padding: 12px 14px;
  border-radius: var(--r-sm); border-top: 3px solid var(--gold); box-shadow: 0 16px 34px -14px rgba(16,25,32,.55);
  opacity: 0; transform: translateY(6px); pointer-events: none; transition: opacity .2s, transform .25s; z-index: 3;
}
.hs-tip b { font-size: 12.5px; color: var(--gold); font-weight: 700; }
.hs-tip b + * { margin-top: 0; }
.hs-tip b:not(:first-child) { margin-top: 6px; }
.hs-up .hs-tip { top: auto; bottom: 20px; transform: translateY(-6px); border-top: 0; border-bottom: 3px solid var(--gold); }
.hs-tip-l .hs-tip { right: -12px; }
.hs-tip-r .hs-tip { left: -12px; }
.hs:hover .hs-tip, .hs:focus-within .hs-tip, .hs.open .hs-tip { opacity: 1; transform: none; pointer-events: auto; }
.hs:hover, .hs:focus-within, .hs.open { z-index: 4; }
.hs-panel { display: none; }
.hs-dot {
  position: absolute; left: -9px; top: -9px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--gold-lt); border: 3px solid #fff; box-shadow: 0 0 0 0 rgba(228,194,122,.7);
  animation: ping 2.2s ease-out infinite;
}
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(228,194,122,.75); } 70%, 100% { box-shadow: 0 0 0 16px rgba(228,194,122,0); } }
.hs-label {
  position: absolute; top: -15px; white-space: nowrap;
  background: rgba(16,25,32,.86); color: #fff; font-size: 14px; font-weight: 600; padding: 4px 10px; border-radius: var(--r-sm);
}
.hs-r { left: 16px; }
.hs-l { right: 16px; }
.job-card {
  position: absolute; right: 16px; bottom: 16px; z-index: 3; display: grid; gap: 2px;
  background: #fff; border-left: 4px solid var(--gold); border-radius: var(--r-sm); padding: 14px 18px;
  box-shadow: 0 18px 40px -18px rgba(31,43,51,.45); font-size: 15px; color: var(--ink);
}
.job-k { font-size: 13px; color: var(--muted); }
.job-v { font-weight: 700; }
.job-ok { color: #1E7A3C; font-weight: 600; }
.job-ok::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--led); margin-right: 8px; vertical-align: 1px; }

/* ---- Main pros ---- */
.pros { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--ink); }
.pros li { display: grid; grid-template-columns: 56px 1fr; column-gap: 16px; align-content: start; padding: 30px 28px 28px 0; border-bottom: 1px solid var(--line); }
.pros li:not(:nth-child(3n+1)) { padding-left: 28px; border-left: 1px solid var(--line); }
.pro-ico { grid-row: span 2; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: var(--gold-pale); color: var(--gold); }
.pro-ico svg { width: 28px; height: 28px; }
.pros h3 { font-size: 19px; margin: 4px 0 6px; }
.pros p { font-size: 15.5px; margin: 0; }

/* ---- Professional repair ---- */
.pro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.pro-media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--r-md); }
.pro-media .badges { position: relative; margin: -36px 0 0 22px; border-radius: 0; clip-path: polygon(5% 0, 100% 0, 95% 100%, 0 100%); padding: 6px 4%; }
.badges { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--gold); border-radius: 0 0 var(--r-md) var(--r-md); }
.badges li { color: #fff; font-weight: 700; font-size: 15.5px; padding: 14px 16px; text-align: center; }
.badges li + li { border-left: 1px solid rgba(255,255,255,.3); }
.steps-v ol { grid-template-columns: 1fr 1fr; row-gap: 14px; }

/* ---- Repair process band ---- */
.process { position: relative; padding-top: 110px; overflow: hidden; }
.process-mark {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  font: 800 clamp(90px, 15vw, 210px)/1 var(--font); font-stretch: 78%; letter-spacing: .06em;
  color: #F3F4F2; white-space: nowrap; pointer-events: none;
}
.process-band { position: relative; padding: 64px 0; background: linear-gradient(110deg, #EEEFED 0 64%, transparent 64%); }
.process-tri { position: absolute; right: 0; top: 0; bottom: 0; width: 13%; background: var(--gold); clip-path: polygon(100% 0, 100% 100%, 0 100%); }
.process-row { position: relative; z-index: 1; display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: center; }
.process-row h2 { font-size: clamp(30px, 3.4vw, 44px); margin: 0; }
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; max-width: 760px; }
.pn { display: block; font-weight: 800; color: var(--ink); margin-bottom: 12px; font-stretch: 85%; }
.pn::before { content: ""; display: inline-block; width: 9px; height: 15px; margin-right: 10px; background: var(--gold); transform: skewX(-20deg); vertical-align: -2px; }
.pt { display: block; font-size: 18px; font-weight: 600; color: var(--ink); line-height: 1.45; }

/* ---- Equipment we handle (the reference's greyed brand row) ---- */
.equip-sec { position: relative; overflow: hidden; }
.equip-bar { position: absolute; left: 0; top: 96px; width: 12%; height: 64px; background: var(--gold); clip-path: polygon(0 0, 100% 0, 80% 100%, 0 100%); }
.equip-head { text-align: center; margin-bottom: 44px; }
.equip-head h2 { margin-bottom: 8px; }
.equip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.equip li { display: grid; justify-items: center; gap: 10px; color: #8C979E; font-weight: 600; font-size: 16px; transition: color .2s; }
.equip li:hover { color: var(--gold); }
.equip svg { width: 52px; height: 52px; }

/* ---- Three services as dark photo cards ---- */
.svc-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc-card { position: relative; display: flex; aspect-ratio: 4 / 5; border-radius: var(--r-md); overflow: hidden; background: #0E1418; text-decoration: none; }
.svc-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .8; transition: transform .5s ease; }
.svc-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,20,24,.94) 0%, rgba(14,20,24,.6) 45%, rgba(14,20,24,.05) 100%); }
.svc-card:hover img { transform: scale(1.04); }
.svc-card-body { position: relative; z-index: 1; padding: 28px; display: grid; gap: 10px; align-content: start; }
.svc-card-t { color: #fff; font-size: 22px; font-weight: 700; line-height: 1.35; }
.svc-card-p { color: #C9D3D8; font-size: 15px; line-height: 1.7; }
.svc-card-m { color: var(--gold-lt); font-weight: 700; font-size: 15px; }

/* ---- Broken part -> repaired ---- */
.fix-pair { display: grid; grid-template-columns: 1fr 56px 1fr; align-items: center; }
.fix-card { margin: 0; background: #fff; border-radius: var(--r-md); overflow: hidden; box-shadow: 0 16px 40px -28px rgba(31,43,51,.5); }
.fix-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.fix-photo { position: relative; }
.fix-mark { position: absolute; left: var(--x); top: var(--y); width: 24%; aspect-ratio: 1; transform: translate(-50%, -50%); border: 3px dashed #FF5A4E; border-radius: 50%; box-shadow: 0 0 0 3px rgba(0,0,0,.25); }
.fix-card figcaption { padding: 16px 20px 20px; color: var(--ink); font-size: 15.5px; }
.fix-tag { display: inline-block; margin-right: 10px; padding: 2px 10px; border-radius: var(--r-sm); font-size: 14px; font-weight: 700; color: #fff; }
.fix-bad .fix-tag { background: #B3261E; }
.fix-good .fix-tag { background: #1E7A3C; }
.fix-bad { border-top: 4px solid #B3261E; }
.fix-good { border-top: 4px solid #1E7A3C; }
.fix-arrow { justify-self: center; width: 0; height: 0; border: 14px solid transparent; border-left: 20px solid var(--gold); margin-left: 10px; }

/* ---- Parts grid ---- */
.parts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 2px solid var(--ink); }
.parts li { padding: 28px 28px 24px 0; border-bottom: 1px solid var(--line); }
.parts li:not(:nth-child(3n+1)) { padding-left: 28px; border-left: 1px solid var(--line); }
.part-photo { margin-bottom: 14px; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 4 / 3; background: var(--panel); }
.part-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.part:hover .part-photo img { transform: scale(1.04); }
.parts h3 { font-size: 19px; margin-bottom: 4px; }
.parts p { font-size: 15.5px; margin: 0; }

/* ---- Dark refurbish section ---- */
.sec-dark { background: var(--steel); color: #C9D3D8; }
.sec-rack { position: relative; overflow: hidden; }
.rack-bg { position: absolute; inset: 0; }
.rack-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.sec-rack::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(31,43,51,.92) 30%, rgba(31,43,51,.6)); }
.sec-rack .wrap { position: relative; z-index: 1; }
.sec-dark h2 { color: #fff; }
.dark-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.dark-visual { max-width: 480px; justify-self: end; width: 100%; }
.sec-dark .st-l { fill: #fff; }
.sec-dark .st-s { fill: #A9B7BF; }
.sec-dark .st circle { fill: var(--steel); stroke: var(--gold-lt); }
.sec-dark .st-n { fill: #fff; }
.sec-dark .chip rect, .sec-dark .chip .pins { stroke: #0F171C; }

/* ---- Warranty label ---- */
.warranty-grid { display: grid; grid-template-columns: 420px 1fr; gap: 72px; align-items: center; }
.label-wrap { padding: 28px; background: var(--panel); border-radius: var(--r-md); }
.qc-label {
  background: #fff; border: 2px solid var(--gold); border-radius: 10px; padding: 18px 22px 20px;
  box-shadow: 0 1px 0 #fff inset, 0 18px 40px -24px rgba(31,43,51,.45);
  max-width: 340px; margin: 0 auto;
}
.qc-top { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; margin-bottom: 10px; border-bottom: 2px solid var(--ink); }
.qc-top img { width: 34px; }
.qc-top span { display: grid; line-height: 1.25; }
.qc-top b { color: var(--ink); font-stretch: 85%; letter-spacing: .04em; }
.qc-top small { color: var(--gold); font-weight: 600; font-size: 13px; }
.qc-label dl { display: grid; grid-template-columns: 52px 1fr; margin: 0; row-gap: 2px; font-size: 15px; }
.qc-label dt { color: var(--muted); padding: 6px 0; }
.qc-label dd { margin: 0; padding: 6px 0; color: var(--ink); font-weight: 600; border-bottom: 1px dashed #C5CACD; }
.qc-label dd.pass { color: #1E7A3C; }
.qc-label dd.pass::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--led); margin-right: 8px; vertical-align: 1px; }
.qc-label dd.blank { min-height: 34px; }
.ticks { margin-bottom: 20px; }
.ticks li { position: relative; padding: 10px 0 10px 32px; border-bottom: 1px solid var(--line); color: var(--ink); }
.ticks li::before {
  content: ""; position: absolute; left: 4px; top: 17px; width: 12px; height: 7px;
  border-left: 2.5px solid var(--gold); border-bottom: 2.5px solid var(--gold); transform: rotate(-45deg);
}

/* ---- What we buy ---- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; max-width: 860px; }
.chips li { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--gold-lt); padding: 9px 16px; border-radius: var(--r-sm); color: var(--ink); font-weight: 500; font-size: 15.5px; }
.steps-home { max-width: 860px; margin-bottom: 32px; }

/* ---- Sections ---- */
.sec { padding: 88px 0; }
.sec-panel { background: var(--panel); }
.sec-head { max-width: 640px; margin-bottom: 40px; }
.sec-head p { color: var(--muted); }

.svc-list { border-top: 2px solid var(--ink); }
.svc-row {
  display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 32px;
  padding: 32px 0; border-bottom: 1px solid var(--line);
}
.svc-head h3 { margin: 0 0 4px; font-size: 22px; }
.svc-head h3 a { color: var(--ink); text-decoration: none; }
.svc-head h3 a:hover { color: var(--gold); }
.svc-head .en { font-size: 14px; margin: 0; }
.svc-text { margin: 0; }
.svc-items li, .spec li {
  position: relative; padding-left: 18px; margin-bottom: 6px; font-size: 15.5px; color: var(--ink);
}
.svc-items li::before, .spec li::before {
  content: ""; position: absolute; left: 0; top: .72em; width: 8px; height: 3px; background: var(--gold);
}
.more { margin: 28px 0 0; }


.band { background: var(--steel); color: #C9D3D8; padding: 64px 0; }
.band h2 { color: #fff; font-size: clamp(22px, 2.4vw, 30px); }
.band p { margin: 0; }
.band-row { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.band-cta { display: flex; gap: 12px; flex-wrap: wrap; flex: none; }

/* ---- Inner pages ---- */
.page-hero { padding: 64px 0 48px; background: var(--panel); border-bottom: 1px solid var(--line); }
.page-hero .lead { margin: 0; }
.toc { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.toc a {
  display: inline-block; padding: 8px 16px; border: 1px solid var(--steel-line); border-radius: var(--r-sm);
  color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; background: #fff;
}
.toc a:hover { border-color: var(--gold); color: var(--gold); }

.svc-block { padding: 80px 0; border-bottom: 1px solid var(--line); }
.svc-block:nth-of-type(even) { background: #FAFAF8; }
.svc-grid { display: grid; grid-template-columns: 340px 1fr; gap: 56px; }
.svc-side { position: sticky; top: 104px; align-self: start; }
.svc-side .en { font-size: 15px; }
.svc-main { max-width: 680px; }
.spec { background: var(--panel); border-radius: var(--r-md); padding: 22px 26px; margin: 8px 0 24px; }
.spec h3 { font-size: 16px; margin-bottom: 12px; }
.spec ul { columns: 2; column-gap: 28px; }
.spec li { break-inside: avoid; }
.steps { margin-bottom: 28px; }
.steps h3 { font-size: 16px; }
.steps ol { display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: s; border-top: 2px solid var(--steel); }
.steps li { counter-increment: s; padding: 14px 14px 0 0; font-size: 15px; color: var(--ink); }
.steps li::before {
  content: counter(s); display: block; font: 700 26px/1 var(--font); font-stretch: 70%; color: var(--gold); margin-bottom: 6px;
}

.about-grid { display: grid; grid-template-columns: 1fr 320px; gap: 72px; }
.prose { max-width: 40em; }
.prose p:first-child { font-size: 20px; color: var(--ink); }
.about-side img { width: 200px; margin-bottom: 28px; }
.about-side .spec ul { columns: 1; }

.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.contact-list { margin-bottom: 24px; border-top: 2px solid var(--ink); }
.contact-list li { display: grid; grid-template-columns: 92px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.contact-list .k { color: var(--muted); font-size: 15px; }
.contact-list a { color: var(--ink); font-weight: 600; text-decoration: none; word-break: break-word; }
.contact-list a:hover { color: var(--gold); }
.contact-list .en { font-size: 14px; }
.map { margin: 28px 0 10px; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 3; background: var(--panel); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

.form-card { background: var(--panel); border-radius: var(--r-md); padding: 36px; border-top: 4px solid var(--gold); }
.form-card h2 { font-size: 26px; margin-bottom: 4px; }
.enquiry { display: grid; gap: 16px; margin-top: 18px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.enquiry label { display: grid; gap: 6px; font-size: 15px; font-weight: 500; color: var(--ink); }
.enquiry input, .enquiry select, .enquiry textarea {
  width: 100%; font: 400 16px/1.5 var(--font); color: var(--ink);
  background: #fff; border: 1px solid #C5CACD; border-radius: var(--r-sm); padding: 11px 13px;
}
.enquiry textarea { resize: vertical; min-height: 140px; }
.enquiry input:focus, .enquiry select:focus, .enquiry textarea:focus { outline: 2px solid var(--gold); outline-offset: 0; border-color: var(--gold); }
.enquiry [aria-invalid="true"] { border-color: #B3261E; }
.enquiry button { justify-self: start; }
.enquiry button[disabled] { opacity: .6; cursor: wait; }
.hp { position: absolute !important; left: -9999px; }
.form-msg { padding: 14px 16px; border-radius: var(--r-sm); margin: 14px 0 0; font-weight: 500; }
.form-msg.ok { background: #E7F4EA; color: #1E5B2C; }
.form-msg.err { background: #FBEAE8; color: #8A1F17; }

/* ---- Footer ---- */
.site-foot { background: var(--steel); color: #B9C5CC; padding: 64px 0 0; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1fr 1fr .8fr 1.5fr; gap: 36px; padding-bottom: 48px; }
.foot-brand img { width: 140px; }
.foot-h { color: #fff; font-size: 16px; margin-bottom: 14px; }
.foot-list li { margin-bottom: 10px; }
.foot-list a { color: #D6DEE2; text-decoration: none; }
.foot-list a:hover { color: var(--gold-lt); }
.foot-contact li { display: flex; gap: 10px; align-items: flex-start; }
.foot-contact a { display: flex; gap: 10px; align-items: flex-start; word-break: break-word; }
.foot-contact .ico { color: var(--gold-lt); flex: none; margin-top: 4px; }
.foot-base { border-top: 1px solid var(--steel-line); padding: 18px 24px; font-size: 13.5px; color: #8EA0AB; }
.foot-base p { margin: 0; }

.wa-float { display: none; }

/* ---- Responsive ---- */
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { justify-self: start; max-width: 520px; }
  .hero-photo { background: linear-gradient(180deg, #fff 0 52%, #EEEFED 52%); }
  .process-row { grid-template-columns: 1fr; gap: 28px; }
  .process-tri { width: 22%; opacity: .9; }
  .svc-cards { grid-template-columns: 1fr 1fr; }
  .equip { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
  .pros { grid-template-columns: 1fr 1fr; }
  .pros li, .pros li:not(:nth-child(3n+1)) { padding: 26px 20px 24px 0; border-left: 0; }
  .pros li:nth-child(2n) { padding-left: 20px; border-left: 1px solid var(--line); }
  .equip-bar { display: none; }
  .hero-photo .hero-grid { grid-template-columns: 1fr; }
  .hero-photo h1 { font-size: clamp(30px, 4.6vw, 44px); }
  .hero-photo .hero-copy { padding-top: 24px; }
  .pro-grid, .dark-grid { grid-template-columns: 1fr; gap: 40px; }
  .dark-visual { justify-self: start; }
  .parts { grid-template-columns: 1fr 1fr; }
  .parts li, .parts li:not(:nth-child(3n+1)) { padding: 24px 20px 20px 0; border-left: 0; }
  .parts li:nth-child(2n) { padding-left: 20px; border-left: 1px solid var(--line); }
  .warranty-grid { grid-template-columns: 1fr; gap: 36px; }
  .label-wrap { max-width: 460px; }
  .svc-row { grid-template-columns: 1fr 1fr; }
  .svc-items { grid-column: 2; }
  .svc-grid { grid-template-columns: 1fr; gap: 20px; }
  .svc-side { position: static; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .fix-pair { grid-template-columns: 1fr; gap: 0; }
  .fix-arrow { transform: rotate(90deg); margin: 4px 0; }
  .burger {
    display: inline-flex; align-items: center; justify-content: center;
    width: 46px; height: 46px; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; cursor: pointer;
  }
  .burger span:first-child, .burger span:first-child::before, .burger span:first-child::after {
    display: block; width: 20px; height: 2px; background: var(--ink); position: relative; transition: transform .2s, background-color .2s;
  }
  .burger span:first-child::before, .burger span:first-child::after { content: ""; position: absolute; left: 0; }
  .burger span:first-child::before { top: -6px; }
  .burger span:first-child::after { top: 6px; }
  .burger[aria-expanded="true"] span:first-child { background: transparent; }
  .burger[aria-expanded="true"] span:first-child::before { transform: translateY(6px) rotate(45deg); }
  .burger[aria-expanded="true"] span:first-child::after { transform: translateY(-6px) rotate(-45deg); }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 24px 20px;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--gold); padding-left: 12px; }
  .nav .nav-wa { margin: 16px 0 0; justify-content: center; }
  .wa-float {
    display: inline-flex; align-items: center; gap: 8px;
    position: fixed; right: 16px; bottom: 16px; z-index: 40;
    background: #1F8F4E; color: #fff; text-decoration: none; font-weight: 600; font-size: 15px;
    padding: 12px 18px; border-radius: 999px; box-shadow: 0 10px 24px -8px rgba(0,0,0,.4);
  }
  .wa-float .ico { width: 22px; height: 22px; }
  .wa-float:hover { color: #fff; background: #187A42; }
  .site-foot { padding-bottom: 72px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .head-row { min-height: 64px; }
  .brand img:first-child { width: 38px; }
  .brand-word { width: 150px; }
  .hero { padding: 40px 0 56px; }
  .lead { font-size: 17px; }
  .hero-cta .btn { flex: 1 1 100%; justify-content: center; }
  .nw { white-space: normal; }
  .label-wrap { padding: 18px; }
  .hero-slash { top: 16px; height: 36px; width: 28%; }
  .pros { grid-template-columns: 1fr; }
  .pros li, .pros li:nth-child(2n) { padding: 22px 0; border-left: 0; }
  .topbar { background: var(--steel); }
  .topbar-row { justify-content: space-between; gap: 12px; font-size: 13px; }
  .tb-addr { display: none !important; }
  .tb-wa { display: none !important; }
  .lang-switch { margin-left: auto; padding-left: 10px; }
  .process { padding-top: 70px; }
  .process-band { background: #EEEFED; padding: 44px 0; }
  .process-tri { display: none; }
  .process-steps { grid-template-columns: 1fr 1fr; row-gap: 22px; }
  .pt { font-size: 16px; }
  .svc-cards { grid-template-columns: 1fr; }
  .svc-card { aspect-ratio: 16 / 11; }
  .pro-media .badges { margin: -28px 0 0 10px; padding: 4px 3%; }
  .pro-media .badges li { font-size: 13px; white-space: nowrap; padding: 12px 2px; }
  .hs-label { font-size: 12px; padding: 3px 8px; }
  .hs-tip { display: none; }
  .hs-panel:not([hidden]) {
    display: grid; gap: 2px; margin: 12px 12px 0; padding: 12px 14px; background: #fff; color: var(--ink);
    border-left: 4px solid var(--gold); border-radius: var(--r-sm); font-size: 14px; line-height: 1.55;
    box-shadow: 0 12px 28px -18px rgba(16,25,32,.5);
  }
  .hs-panel strong { font-size: 15px; }
  .hs-panel b { font-size: 12.5px; color: var(--gold); margin-top: 4px; }
  .job-card { right: 10px; bottom: 10px; padding: 8px 12px; font-size: 13px; }
  .job-k { font-size: 12px; }
  .stage-tag { left: 10px; top: 10px; font-size: 12.5px; padding: 4px 9px; }
  .al-label { font-size: 12px; padding: 3px 8px; left: 14px; }
  .al-dot { width: 18px; height: 18px; left: -9px; top: -9px; }
  .stage-btn { font-size: 13px; }
  .stages { gap: 8px; }
  .fix-pair { grid-template-columns: 1fr; gap: 0; }
  .fix-arrow { transform: rotate(90deg); margin: 4px 0; }
  .badges li { font-size: 14px; padding: 12px 6px; }
  .steps-v ol { grid-template-columns: 1fr 1fr; }
  .parts h3 { font-size: 17px; }
  .parts p { font-size: 14.5px; }
  .chips li { font-size: 14.5px; padding: 8px 12px; }
  .sec { padding: 64px 0; }
  .svc-row { grid-template-columns: 1fr; gap: 12px; }
  .svc-items { grid-column: auto; }
  .band-row { flex-direction: column; align-items: flex-start; }
  .band-cta, .band-cta .btn { width: 100%; justify-content: center; }
  .page-hero { padding: 44px 0 36px; }
  .svc-block { padding: 56px 0; }
  .spec ul { columns: 1; }
  .steps ol { grid-template-columns: 1fr 1fr; row-gap: 12px; }
  .row2 { grid-template-columns: 1fr; }
  .form-card { padding: 24px 18px; }
  .enquiry button { justify-self: stretch; justify-content: center; }
  .contact-list li { grid-template-columns: 76px 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ---- Motion (only when site.js adds .fx: JS on and reduced motion off) ---- */
/* Hero, once on load: slash, headline, photo wipe, part labels one by one, then "維修完成". */
.fx .hero-slash { transform: translateX(-101%); transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.fx .hero-photo .hero-copy > *, .fx .hero-photo h1 .nw { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.fx .hero-photo h1 { opacity: 1; transform: none; }
.fx .hero-frame { clip-path: polygon(0 0, 0 0, -16% 100%, 0 100%); transition: clip-path 1.1s cubic-bezier(.6,0,.2,1) .3s; }
.fx .hs { opacity: 0; transform: scale(.3); transform-origin: 0 0; transition: opacity .35s ease, transform .5s cubic-bezier(.3,1.6,.5,1); }
.fx .job-card { opacity: 0; transform: translateY(20px); transition: opacity .4s ease, transform .5s cubic-bezier(.2,.8,.2,1); }
.fx .stage-3.is-on .job-card { opacity: 1; transform: none; transition-delay: .5s; }
.fx.hero-in .hero-slash { transform: none; }
.fx.hero-in .hero-photo .hero-copy > *, .fx.hero-in .hero-photo h1 .nw { opacity: 1; transform: none; }
.fx.hero-in .hero-photo h1 .nw { display: inline-block; }
.fx.hero-in .hero-photo h1 .nw:first-child { transition-delay: .15s; }
.fx.hero-in .hero-photo h1 .nw:last-child { transition-delay: .28s; }
.fx.hero-in .hero-photo .lead { transition-delay: .42s; }
.fx.hero-in .hero-photo .en-lead { transition-delay: .5s; }
.fx.hero-in .hero-photo .hero-cta { transition-delay: .58s; }
.fx.hero-in .hero-photo .hero-contact { transition-delay: .66s; }
.fx.hero-in .hero-frame { clip-path: polygon(0 0, 116% 0, 100% 100%, 0 100%); }
.fx .stage-2.is-on .hs, .fx .stage-2.entering .hs { opacity: 1; transform: none; transition-delay: var(--hd, .6s); }
.fx .hero-media.stilled .hs { transition-delay: 0s; }
.fx .hero-layer { --sc: 1.05; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
@keyframes heroScan { 0% { left: 0; opacity: 0; } 8% { opacity: 1; } 90% { opacity: 1; } 100% { left: 100%; opacity: 0; } }

/* Scroll reveals. --d is a stagger delay set by site.js. */
.fx .rv { transition: opacity .7s ease, transform .8s cubic-bezier(.2,.8,.2,1), clip-path 1s cubic-bezier(.6,0,.2,1), color .9s ease; transition-delay: var(--d, 0ms); }
.fx .rv[data-fx="rise"]:not(.in) { opacity: 0; transform: translateY(28px); }
.fx .rv[data-fx="ink"]:not(.in) { color: #C5CACD; transform: translateY(12px); }
.fx .sec-dark .rv[data-fx="ink"]:not(.in) { color: #5E707B; }
.fx .rv[data-fx="wipe"] { clip-path: inset(0 0 0 0 round 6px); }
.fx .rv[data-fx="wipe"]:not(.in) { clip-path: inset(0 100% 0 0 round 6px); }
.fx .rv[data-fx="slide-l"]:not(.in) { opacity: 0; transform: translateX(-70px); }
.fx .rv[data-fx="slide-r"]:not(.in) { transform: translateX(105%); }
.fx .rv[data-fx="pop"]:not(.in) { opacity: 0; transform: scale(.6); }
/* the red ring "finds" the burst capacitor after the photo arrives */
.fx .fix-bad .fix-mark { opacity: 0; transform: translate(-50%, -50%) scale(1.8); transition: opacity .4s ease .7s, transform .6s cubic-bezier(.3,1.4,.5,1) .7s; }
.fx .fix-bad.in .fix-mark { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.process-mark, .rack-bg img { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hs-dot { animation: none; }
  .stage.entering, .stage-3.is-on img, .tag-bad::before, .stage-btn.playing .sb-bar i, .al-dot { animation: none; }
  .stage .al { transition: none; }
  .stage-tag { transition: none; }
  .svc-card img { transition: none; }
  .part-photo img { transition: none; }
}
