/* ============================================================
   YUEYI CNC — site stylesheet
   Single file, no framework, no external font requests.
   ============================================================ */

:root{
  --navy:#0b1c3d; --navy2:#0f2a5c; --blue:#123a8f; --blue-l:#2a5fd4;
  --accent:#f26a21; --accent-d:#d9540f;
  --ink:#101726; --ink2:#39465c; --muted:#6b7a90; --line:#e3e9f2;
  --bg:#ffffff; --bg2:#f6f8fc;
  --shadow:0 16px 36px -16px rgba(16,35,70,.28);
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Inter,"Helvetica Neue",Arial,sans-serif;
  color:var(--ink);background:var(--bg);font-size:16px;line-height:1.65;-webkit-font-smoothing:antialiased;
}
img{display:block;max-width:100%}
a{text-decoration:none;color:inherit}
button{font-family:inherit}
.wrap{max-width:1200px;margin:0 auto;padding:0 32px}
.center{text-align:center}
.mt34{margin-top:34px}

/* ---------- top bar ---------- */
.topbar{background:var(--navy);color:#c9d6ec;font-size:12.5px;letter-spacing:.02em}
.topbar .wrap{display:flex;align-items:center;justify-content:center;height:38px;overflow:hidden}
.topbar span{display:inline-flex;align-items:center;gap:7px;padding:0 18px;border-right:1px solid rgba(255,255,255,.14);white-space:nowrap}
.topbar span:last-child{border-right:none}
.topbar b{color:#fff;font-weight:600}
.dot{width:5px;height:5px;border-radius:50%;background:#4ade80;display:inline-block}

/* ---------- header ---------- */
header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.94);backdrop-filter:blur(12px);border-bottom:1px solid var(--line)}
header .wrap{display:flex;align-items:center;gap:36px;height:72px;position:relative}
.logo img{height:34px;width:auto}
nav{display:flex;gap:26px;font-size:14.5px;font-weight:600;color:var(--ink2);margin-left:8px}
nav a{padding:6px 0;border-bottom:2px solid transparent;transition:.15s}
nav a:hover{color:var(--blue)}
nav a.on{color:var(--blue);border-bottom-color:var(--accent)}
.hdr-right{margin-left:auto;display:flex;align-items:center;gap:18px}
.lang{font-size:13px;color:var(--muted);font-weight:600}
.burger{display:none;width:40px;height:40px;border:1px solid var(--line);border-radius:9px;background:#fff;cursor:pointer;
  flex-direction:column;align-items:center;justify-content:center;gap:4px}
.burger i{display:block;width:17px;height:2px;background:var(--ink2);border-radius:2px}

/* ---------- buttons ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:9px;
  font-weight:700;font-size:14.5px;border-radius:9px;padding:12px 22px;
  transition:.18s;border:1.5px solid transparent;cursor:pointer;font-family:inherit;
}
.btn-accent{background:var(--accent);color:#fff}
.btn-accent:hover{background:var(--accent-d)}
.btn-ghost{border-color:rgba(255,255,255,.4);color:#fff}
.btn-ghost:hover{background:rgba(255,255,255,.12)}
.btn-line{border-color:#c9d5e8;color:var(--blue);background:#fff}
.btn-line:hover{border-color:var(--blue)}
.btn-lg{padding:14px 26px;font-size:15.5px}

/* ---------- hero (home) ---------- */
.hero{position:relative;background:var(--navy);color:#fff;overflow:hidden}
.hero-bg{position:absolute;inset:0;background:url("../img/workshop-cnc.jpg") center 35%/cover no-repeat;opacity:.62}
.hero-bg:after{content:"";position:absolute;inset:0;
  background:linear-gradient(100deg,rgba(7,20,44,.93) 0%,rgba(9,26,58,.82) 40%,rgba(11,28,61,.45) 70%,rgba(11,28,61,.22) 100%)}
.hero .wrap{position:relative;display:grid;grid-template-columns:1fr 396px;gap:56px;padding-top:76px;padding-bottom:76px;align-items:center}
.eyebrow{font-size:11.5px;letter-spacing:.2em;text-transform:uppercase;color:#7fa8ff;font-weight:700;margin-bottom:18px}
h1{font-size:47px;line-height:1.14;letter-spacing:-1.2px;font-weight:800;margin-bottom:20px}
h1 em{font-style:normal;color:#7fa8ff}
.hero p.sub{font-size:16.5px;line-height:1.7;color:#c3d2ea;max-width:540px;margin-bottom:26px}
.chips{display:flex;flex-wrap:wrap;gap:9px;margin-bottom:30px}
.chip{font-size:12.5px;font-weight:600;color:#dbe6f8;border:1px solid rgba(255,255,255,.22);
  background:rgba(255,255,255,.07);padding:6px 13px;border-radius:99px;display:inline-flex;align-items:center;gap:7px}
.chip svg{width:13px;height:13px;fill:#4ade80;flex-shrink:0}
.hero-cta{display:flex;gap:12px;flex-wrap:wrap}

/* quote card in hero */
.qcard{background:#fff;border-radius:16px;padding:26px 26px 22px;color:var(--ink);
  box-shadow:0 26px 60px -12px rgba(4,14,34,.55);border:1px solid rgba(255,255,255,.6)}
.qcard .qc-top{font-size:11.5px;letter-spacing:.13em;text-transform:uppercase;color:var(--muted);font-weight:700}
.qcard h3{font-size:19px;font-weight:800;margin:5px 0 16px;letter-spacing:-.3px}
.qlist{list-style:none;display:flex;flex-direction:column;gap:9px;margin-bottom:18px}
.qlist li{display:flex;gap:9px;font-size:13.6px;color:var(--ink2);line-height:1.45}
.qlist svg{width:16px;height:16px;fill:#12855a;flex-shrink:0;margin-top:2px}
.qcard .btn{width:100%;margin-bottom:9px}
.qnote{font-size:11.5px;color:var(--muted);text-align:center;line-height:1.5}

/* ---------- upload dropzone ---------- */
.drop{border:1.5px dashed #c3d0e6;border-radius:11px;background:#f8fafd;padding:18px 14px;text-align:center;margin-bottom:11px;
  cursor:pointer;transition:.15s;display:block}
.drop:hover,.drop.over{border-color:var(--accent);background:#fff8f4}
.drop strong{display:block;font-size:14px;margin-bottom:3px}
.drop small{color:var(--muted);font-size:11.5px;line-height:1.5;display:block}
.filelist{list-style:none;margin:0 0 12px;display:flex;flex-direction:column;gap:6px}
.filelist li{display:flex;align-items:center;gap:8px;font-size:12.5px;background:#f1f6fd;border:1px solid #dbe6f5;
  border-radius:7px;padding:7px 10px;color:var(--ink2)}
.filelist .fn{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.filelist .fs{color:var(--muted);font-size:11px;margin-left:auto;flex-shrink:0}
.filelist .rm{border:none;background:none;color:#c0392b;cursor:pointer;font-size:15px;line-height:1;padding:0 2px;flex-shrink:0}

/* ---------- logos ---------- */
.logos{padding:40px 0 44px;border-bottom:1px solid var(--line)}
.logocap{text-align:center;font-size:13px;color:var(--muted);letter-spacing:.04em;margin-bottom:26px}
.logocap b{color:var(--ink);font-weight:700}
.logorow{display:flex;align-items:center;justify-content:space-between;gap:30px;flex-wrap:wrap}
.wm{font-weight:800;font-size:23px;letter-spacing:-.5px;color:#1a2434;opacity:.62;filter:grayscale(1);transition:.2s;white-space:nowrap}
.logorow:hover .wm{opacity:.9;filter:grayscale(0)}
.wm.s{font-size:19px;letter-spacing:.06em}
.wm.w{font-family:Georgia,serif;font-style:italic;font-weight:700}

/* ---------- stats ---------- */
.stats{background:var(--navy);color:#fff}
.stats .wrap{display:grid;grid-template-columns:repeat(5,1fr)}
.stat{padding:32px 20px;border-right:1px solid rgba(255,255,255,.1);text-align:center}
.stat:last-child{border-right:none}
.stat .n{font-size:29px;font-weight:800;letter-spacing:-1px;line-height:1.1;color:#fff}
.stat .n span{font-size:15px;font-weight:700;color:#7fa8ff}
.stat .l{font-size:12px;color:#9fb3d1;margin-top:5px;letter-spacing:.03em}

/* ---------- section shell ---------- */
section.block{padding:86px 0}
.sec-head{max-width:660px;margin-bottom:44px}
.sec-head .eyebrow{color:var(--blue-l);margin-bottom:12px}
.sec-head h2{font-size:34px;line-height:1.22;letter-spacing:-.8px;font-weight:800;margin-bottom:14px}
.sec-head p{font-size:16px;color:var(--ink2);line-height:1.7}
.sec-head.wide{max-width:820px}
.alt{background:var(--bg2)}

/* ---------- capabilities ---------- */
.caps{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.cap{background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden;transition:.2s;display:flex;flex-direction:column}
.cap:hover{box-shadow:var(--shadow);transform:translateY(-2px)}
.cap .ph{height:158px;background-color:#fff;background-position:center;background-repeat:no-repeat;background-size:74%;
  position:relative;border-bottom:1px solid #f1f5fa}
.cap .ph.b1{background-image:url("../img/process-die-casting.jpg")}
.cap .ph.b2{background-image:url("../img/process-sheet-metal.webp")}
.cap .ph.b3{background-image:url("../img/process-powder-metallurgy.webp")}
.cap .ph.b4{background-image:url("../img/process-3d-printing.jpg")}
.cap .bd{padding:18px 20px 20px;display:flex;flex-direction:column;flex:1}
.cap h4{font-size:16.5px;font-weight:750;margin-bottom:6px;letter-spacing:-.2px}
.cap p{font-size:13.5px;color:var(--muted);line-height:1.55;margin-bottom:11px}
.spec{display:flex;gap:14px;flex-wrap:wrap;font-size:11.5px;color:var(--ink2);font-weight:600;
  border-top:1px dashed var(--line);padding-top:11px;margin-top:auto}
.spec span{color:var(--muted);font-weight:500}
.spec b{color:var(--blue);font-weight:700}

/* ---------- quality steps ---------- */
.qgrid{display:grid;grid-template-columns:1fr 1fr;gap:52px;align-items:start}
.steps{list-style:none;counter-reset:s}
.steps li{position:relative;padding:0 0 22px 52px;counter-increment:s}
.steps li:before{content:counter(s,decimal-leading-zero);position:absolute;left:0;top:0;width:34px;height:34px;border-radius:9px;
  background:#e8effc;color:var(--blue);font-size:12.5px;font-weight:800;display:flex;align-items:center;justify-content:center}
.steps li:after{content:"";position:absolute;left:16.5px;top:40px;bottom:4px;width:1px;background:#dbe5f4}
.steps li:last-child:after{display:none}
.steps b{display:block;font-size:15px;margin-bottom:3px}
.steps p{font-size:13.5px;color:var(--muted);line-height:1.55}

/* ---------- document list ---------- */
.docs{background:#fff;border:1px solid var(--line);border-radius:14px;padding:8px}
.docs .dh{padding:14px 16px 12px;border-bottom:1px solid var(--line);margin-bottom:6px}
.docs .dh b{font-size:14.5px}
.docs .dh small{display:block;color:var(--muted);font-size:12.5px;margin-top:2px}
.doc{display:flex;align-items:center;gap:12px;padding:11px 16px;border-radius:8px;font-size:13.7px}
.doc:hover{background:#f5f8fd}
.doc .ic{width:26px;height:26px;border-radius:6px;background:#fdeee5;color:var(--accent);font-size:9.5px;font-weight:800;
  display:flex;align-items:center;justify-content:center;flex-shrink:0}
.doc .ar{margin-left:auto;font-size:11.5px;color:var(--blue);font-weight:700}

/* ---------- cases ---------- */
.cases{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.case{border:1px solid var(--line);border-radius:14px;overflow:hidden;background:#fff;display:flex;flex-direction:column;
  transition:.2s}
.case:hover{box-shadow:var(--shadow);transform:translateY(-2px)}
.case .ph{height:190px;background:center/cover no-repeat}
.case .ph.c1{background-image:url("../img/industry-semiconductor.webp")}
.case .ph.c2{background-image:url("../img/industry-medical.webp")}
.case .ph.c3{background-image:url("../img/industry-energy.webp")}
.case .bd{padding:20px;display:flex;flex-direction:column;flex:1}
.kicker{font-size:10.5px;letter-spacing:.14em;text-transform:uppercase;color:var(--accent);font-weight:800;margin-bottom:8px}
.case h4{font-size:16px;line-height:1.35;margin-bottom:8px;letter-spacing:-.2px}
.case p{font-size:13.2px;color:var(--muted);line-height:1.55;margin-bottom:14px}
.metric{display:flex;gap:18px;border-top:1px dashed var(--line);padding-top:12px;margin-top:auto}
.metric div{font-size:11.5px;color:var(--muted)}
.metric b{display:block;font-size:17px;color:var(--ink);font-weight:800;letter-spacing:-.4px}

/* ---------- testimonials ---------- */
.quotes{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.quote{background:#fff;border:1px solid var(--line);border-radius:14px;padding:24px;display:flex;flex-direction:column}
.stars{color:#f5a623;font-size:13px;letter-spacing:2px;margin-bottom:12px}
.quote p{font-size:14px;color:var(--ink2);line-height:1.65;margin-bottom:18px}
.who{display:flex;align-items:center;gap:11px;border-top:1px solid var(--line);padding-top:14px;margin-top:auto}
.av{width:36px;height:36px;border-radius:50%;background:var(--blue);color:#fff;font-size:13px;font-weight:800;
  display:flex;align-items:center;justify-content:center;flex-shrink:0}
.who b{display:block;font-size:13.5px}
.who small{color:var(--muted);font-size:11.5px;line-height:1.4;display:block}

/* ---------- faq ---------- */
.faq{max-width:860px;margin:0 auto}
details{border-bottom:1px solid var(--line);padding:18px 0}
details summary{font-size:15.5px;font-weight:650;cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:20px;align-items:center}
details summary::-webkit-details-marker{display:none}
details summary:after{content:"+";font-size:20px;color:var(--blue);font-weight:400;line-height:1}
details[open] summary:after{content:"–"}
details p{font-size:14px;color:var(--ink2);line-height:1.7;padding-top:12px;max-width:760px}

/* ---------- final cta ---------- */
.final{background:var(--navy);color:#fff;padding:78px 0}
.final .wrap{display:grid;grid-template-columns:1fr 460px;gap:60px;align-items:center}
.final h2{font-size:36px;line-height:1.2;letter-spacing:-.9px;margin-bottom:14px}
.final p{color:#c3d2ea;font-size:15.5px;line-height:1.7;margin-bottom:22px;max-width:440px}
.flist{list-style:none;display:flex;flex-direction:column;gap:10px;font-size:14px;color:#dbe6f8}
.flist li{display:flex;gap:9px;align-items:flex-start}
.flist svg{width:16px;height:16px;fill:#4ade80;flex-shrink:0;margin-top:3px}

/* ---------- form ---------- */
.formc{background:#fff;border-radius:16px;padding:26px;color:var(--ink)}
.formc h4{font-size:16.5px;margin-bottom:4px}
.formc > p{font-size:12.5px;color:var(--muted);margin-bottom:16px}
.fgrid{display:grid;grid-template-columns:1fr 1fr;gap:11px;margin-bottom:11px}
.fld{border:1px solid #d8e1ee;border-radius:8px;padding:10px 12px;font-size:13.5px;font-family:inherit;width:100%;color:var(--ink);
  background:#fff;transition:.15s}
.fld:focus{outline:none;border-color:var(--blue-l);box-shadow:0 0 0 3px rgba(42,95,212,.1)}
.fld::placeholder{color:#9aa8bc}
.fld.full{grid-column:1/-1}
textarea.fld{resize:vertical;min-height:88px;line-height:1.55}
.formc .btn{width:100%;margin-top:4px}
.tiny{font-size:11px;color:var(--muted);text-align:center;margin-top:10px;line-height:1.5}
.field{margin-bottom:11px}
.field label{display:block;font-size:12px;font-weight:700;color:var(--ink2);margin-bottom:5px;letter-spacing:.01em}
.field label .req{color:#c0392b}
.check{display:flex;gap:9px;align-items:flex-start;font-size:12.5px;color:var(--ink2);line-height:1.5;margin-bottom:12px}
.check input{margin-top:3px;flex-shrink:0}
.alert{display:none;border-radius:10px;padding:14px 16px;font-size:13.5px;line-height:1.6;margin-bottom:14px}
.alert.ok:not(:empty){display:block;background:#e8f7ef;border:1px solid #b7e3ca;color:#12603d}
.alert.err:not(:empty){display:block;background:#fdecea;border:1px solid #f5c2be;color:#a32c20}
.alert b{display:block;margin-bottom:3px}

/* ---------- inner page hero ---------- */
.phero{position:relative;background:var(--navy);color:#fff;overflow:hidden;padding:58px 0 54px}
.phero .bg{position:absolute;inset:0;background:center/cover no-repeat;opacity:.34}
.phero .bg:after{content:"";position:absolute;inset:0;background:linear-gradient(95deg,rgba(7,20,44,.95),rgba(9,26,58,.72) 60%,rgba(11,28,61,.55))}
.phero .wrap{position:relative;max-width:1050px}
.crumb{font-size:12px;color:#8fa8cc;letter-spacing:.04em;margin-bottom:16px}
.crumb a:hover{color:#fff}
.crumb i{font-style:normal;margin:0 7px;opacity:.5}
.phero h1{font-size:38px;line-height:1.2;letter-spacing:-.9px;margin-bottom:14px;max-width:820px}
.phero p{font-size:16px;color:#c3d2ea;line-height:1.7;max-width:700px}
.phero .chips{margin:22px 0 0}
.phero-slim{padding:44px 0 40px}
.phero-slim h1{font-size:32px}

/* ---------- prose ---------- */
.prose{max-width:820px}
.prose h2{font-size:26px;line-height:1.3;letter-spacing:-.5px;margin:38px 0 14px}
.prose h3{font-size:19px;line-height:1.35;margin:28px 0 10px;letter-spacing:-.2px}
.prose p{font-size:15.5px;color:var(--ink2);line-height:1.8;margin-bottom:16px}
.prose ul,.prose ol{margin:0 0 18px 22px}
.prose li{font-size:15.5px;color:var(--ink2);line-height:1.8;margin-bottom:7px}
.prose strong{color:var(--ink);font-weight:700}
.prose a{color:var(--blue);font-weight:600;border-bottom:1px solid #c9d9f5}
.pull{border-left:3px solid var(--accent);background:var(--bg2);border-radius:0 10px 10px 0;padding:18px 22px;margin:24px 0;
  font-size:15px;color:var(--ink2);line-height:1.75}

/* ---------- tables ---------- */
.tbl-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:12px;margin:22px 0}
table{width:100%;border-collapse:collapse;font-size:13.8px;min-width:520px}
thead th{background:#f2f6fc;color:var(--ink);font-weight:700;text-align:left;padding:12px 16px;border-bottom:1px solid var(--line);
  font-size:12.5px;letter-spacing:.03em;text-transform:uppercase;white-space:nowrap}
tbody td{padding:12px 16px;border-bottom:1px solid #eef2f8;color:var(--ink2);vertical-align:top}
tbody tr:last-child td{border-bottom:none}
tbody tr:hover td{background:#fafcff}
td b,th b{color:var(--ink)}
td.num{font-variant-numeric:tabular-nums;white-space:nowrap}

/* ---------- certificate cards ---------- */
.certs{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.cert{border:1px solid var(--line);border-radius:14px;padding:24px;background:#fff}
.cert .badge{width:46px;height:46px;border-radius:11px;background:#e8effc;color:var(--blue);display:flex;align-items:center;
  justify-content:center;font-size:11px;font-weight:800;margin-bottom:14px;letter-spacing:.02em}
.cert h4{font-size:16px;margin-bottom:6px}
.cert p{font-size:13.4px;color:var(--muted);line-height:1.6}
.cert .meta{margin-top:12px;padding-top:11px;border-top:1px dashed var(--line);font-size:11.5px;color:var(--muted)}

/* ---------- two column / split ---------- */
.split{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center}
.split.wide-right{grid-template-columns:.85fr 1.15fr}
.split .img{border-radius:14px;overflow:hidden;background:#fff}
.split .img img{width:100%;height:100%;object-fit:cover;display:block}
.split .txt h2{font-size:30px;line-height:1.25;letter-spacing:-.7px;margin-bottom:14px}
.split .txt p{font-size:15.5px;color:var(--ink2);line-height:1.75;margin-bottom:14px}

/* ---------- feature list ---------- */
.feats{list-style:none;display:grid;grid-template-columns:1fr 1fr;gap:16px 26px;margin:22px 0}
.feats li{display:flex;gap:10px;font-size:14.2px;color:var(--ink2);line-height:1.6}
.feats svg{width:17px;height:17px;fill:#12855a;flex-shrink:0;margin-top:3px}
.feats b{color:var(--ink)}

/* ---------- timeline ---------- */
.timeline{list-style:none;border-left:2px solid var(--line);padding-left:26px;margin-top:8px}
.timeline li{position:relative;padding-bottom:24px}
.timeline li:before{content:"";position:absolute;left:-33px;top:6px;width:12px;height:12px;border-radius:50%;background:#fff;
  border:2.5px solid var(--accent)}
.timeline b{display:block;font-size:15.5px;margin-bottom:3px}
.timeline .yr{font-size:12px;font-weight:800;color:var(--accent);letter-spacing:.08em;text-transform:uppercase;margin-bottom:2px}
.timeline p{font-size:13.6px;color:var(--muted);line-height:1.6}

/* ---------- case detail ---------- */
.case-hero-img{width:100%;height:340px;object-fit:cover;border-radius:14px;border:1px solid var(--line)}
.factbox{background:var(--bg2);border:1px solid var(--line);border-radius:14px;padding:6px 20px}
.factbox dl{display:grid;grid-template-columns:auto 1fr;gap:0}
.factbox dt{font-size:12px;color:var(--muted);padding:12px 0;border-bottom:1px solid #e8eef7;font-weight:600}
.factbox dd{font-size:13.4px;color:var(--ink);padding:12px 0;border-bottom:1px solid #e8eef7;text-align:right;font-weight:600}
.factbox dl > *:nth-last-child(-n+2){border-bottom:none}
.resultrow{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:26px 0}
.resultrow .r{background:#fff;border:1px solid var(--line);border-radius:12px;padding:20px;text-align:center}
.resultrow .r b{display:block;font-size:27px;font-weight:800;letter-spacing:-.8px;color:var(--navy)}
.resultrow .r span{font-size:12px;color:var(--muted);letter-spacing:.02em}
.nextprev{display:flex;justify-content:space-between;gap:20px;border-top:1px solid var(--line);margin-top:46px;padding-top:22px;font-size:14px}
.nextprev a{color:var(--blue);font-weight:700}

/* ---------- cta band ---------- */
.band{background:var(--navy);color:#fff;padding:52px 0}
.band .wrap{display:flex;align-items:center;justify-content:space-between;gap:36px;flex-wrap:wrap}
.band h2{font-size:27px;line-height:1.3;letter-spacing:-.6px;margin-bottom:6px}
.band p{color:#b9cae6;font-size:14.5px;line-height:1.6}
.band .acts{display:flex;gap:12px;flex-wrap:wrap}

/* ---------- gallery ---------- */
.gallery{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}
.gallery img{width:100%;height:260px;object-fit:cover;border-radius:12px;border:1px solid var(--line)}
.gallery .g1{grid-column:span 2}
.gallery .g1 img{height:360px}

/* ---------- footer ---------- */
footer{background:#08152c;color:#8ea3c2;font-size:13px;padding:56px 0 26px}
footer .cols{display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr;gap:40px;padding-bottom:38px;border-bottom:1px solid rgba(255,255,255,.1)}
footer h5{color:#fff;font-size:12px;letter-spacing:.12em;text-transform:uppercase;margin-bottom:14px;font-weight:700}
footer li{list-style:none;margin-bottom:9px}
footer a:hover{color:#fff}
.fbrand img{height:32px;margin-bottom:14px;filter:brightness(0) invert(1) opacity(.92)}
.fbrand p{line-height:1.75;max-width:280px}
.fbot{display:flex;justify-content:space-between;gap:20px;padding-top:20px;font-size:11.5px;color:#6b7f9e;flex-wrap:wrap}

/* ---------- concept annotation (only on the old concept page) ---------- */
.anno{position:fixed;right:18px;bottom:18px;background:#111a2b;color:#dbe6f8;font-size:11.5px;
  padding:10px 14px;border-radius:9px;z-index:99;letter-spacing:.03em;box-shadow:0 10px 30px rgba(0,0,0,.25)}
.anno b{color:#f2a06a}

/* ---------- mobile nav overlay ---------- */
.mnav{display:none;position:fixed;inset:72px 0 0;background:#fff;z-index:49;padding:20px 32px;overflow:auto}
.mnav.open{display:block}
.mnav a{display:block;padding:14px 0;border-bottom:1px solid var(--line);font-size:16px;font-weight:600;color:var(--ink2)}
.mnav .btn{width:100%;margin-top:20px}

/* ---------- case detail + quote page layout ---------- */
.casebody{display:grid;grid-template-columns:1fr 320px;gap:56px;margin-top:40px;align-items:start}
.qpage{display:grid;grid-template-columns:1.35fr .65fr;gap:52px;align-items:start}
.sticky{position:sticky;top:96px}
.skip:focus{left:12px!important;top:12px;background:#fff;padding:8px 14px;border-radius:8px;z-index:200;border:1px solid #c9d5e8}

/* ---------- tables on small screens ---------- */
.tbl-hint{display:none}
@media(max-width:640px){
  .tbl-wrap{border-radius:10px;background:#fff}
  .tbl-wrap .tbl-hint{display:block;position:sticky;left:0;width:max-content;
    font-size:10.5px;letter-spacing:.14em;text-transform:uppercase;color:#8595ad;
    padding:9px 14px 8px;background:#fff;border-bottom:1px solid #eef2f8}
  .tbl-wrap table{font-size:12.6px}
  .tbl-wrap th,.tbl-wrap td{padding:10px 12px}
  .tbl-wrap td:nth-child(2) b{font-size:13.6px}
  .tbl-wrap.cols3 table{min-width:530px}
  .tbl-wrap.cols4 table{min-width:610px}
  .tbl-wrap.cols5 table{min-width:720px}
  .tbl-wrap.cols6 table{min-width:800px}
}

/* ---------- responsive ---------- */
@media(max-width:1080px){
  .caps{grid-template-columns:repeat(2,1fr)}
  .certs{grid-template-columns:1fr 1fr}
}
@media(max-width:960px){
  .hero .wrap,.qgrid,.final .wrap,.split,.split.wide-right,.casebody,.qpage{grid-template-columns:1fr;gap:34px}
  .sticky{position:static}
  .cases,.quotes{grid-template-columns:1fr}
  .stats .wrap{grid-template-columns:repeat(2,1fr)}
  .stat{border-bottom:1px solid rgba(255,255,255,.1)}
  h1{font-size:31px;letter-spacing:-.7px}
  .hero h1 br{display:none}
  .sec-head h2,.final h2{font-size:27px}
  .phero h1{font-size:28px}
  .phero-slim h1{font-size:25px}
  nav{display:none}
  .burger{display:flex}
  .hdr-right .lang{display:none}
  .hdr-right .btn{display:none}
  footer .cols{grid-template-columns:1fr 1fr}
  .topbar span:nth-child(n+3){display:none}
  .gallery{grid-template-columns:1fr 1fr}
  .gallery .g1{grid-column:span 2}
  .resultrow{grid-template-columns:1fr}
  .case-hero-img{height:220px}
  section.block{padding:60px 0}
}
@media(max-width:620px){
  .wrap{padding:0 20px}
  .caps{grid-template-columns:1fr}
  .certs{grid-template-columns:1fr}
  .feats{grid-template-columns:1fr}
  .gallery{grid-template-columns:1fr}
  .gallery .g1{grid-column:span 1}
  .gallery .g1 img{height:220px}
  .band .wrap{flex-direction:column;align-items:flex-start;gap:20px}
  footer .cols{grid-template-columns:1fr;gap:26px}
  .fgrid{grid-template-columns:1fr}
  .qcard{padding:20px}
}
