/* 方案三 前台樣式（首頁＋產品頁）
 * 版面、配色、字級照 Design 畫布「方案三｜桌機首頁」；換風格＝改 :root 變數。
 * 每個區塊一段，區塊名稱對應 home.js 的 render 函式。
 */

/* ===== 設計變數 ===== */
:root {
  --navy-950: #0A1C2E;
  --navy-900: #0F2A44;
  --navy-700: #1D3F61;
  --blue: #1D4F7A;
  --ink: #18222C;
  --slate: #4A5A69;
  --slate-2: #5F6E7C;
  --steel-100: #E8EEF4;
  --steel-200: #C9D6E2;
  --steel-300: #A9BCCD;
  --steel-400: #8FA3B5;
  --steel-600: #5F7487;
  --line: #DCE3E9;
  --line-soft: #E3E9EE;
  --grid-line: #E6ECF1;
  --bg-soft: #F3F6F8;
  --bg-softer: #F7F9FA;
  --orange: #F26B1D;
  --orange-hover: #E05B0F;
  --orange-text: #B5470C;
  --orange-tint: #FFF4EC;
  --field: #8494A3;
  --error: #C0262D;

  --font-sans: 'Noto Sans TC', "Microsoft JhengHei", "微軟正黑體", sans-serif;
  --font-cond: 'Barlow Condensed', 'Noto Sans TC', "Microsoft JhengHei", "微軟正黑體", sans-serif;
  --font-mono: 'JetBrains Mono', Consolas, 'Noto Sans TC', "Microsoft JhengHei", "微軟正黑體", sans-serif;

  --wrap: 1280px;
  --gutter: clamp(16px, 4vw, 40px);
  --sec-pad: 96px;
  --radius: 2px;
  --header-h: 81px;

  --grid-dark: linear-gradient(rgba(201,214,226,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(201,214,226,.07) 1px, transparent 1px), linear-gradient(rgba(201,214,226,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(201,214,226,.045) 1px, transparent 1px);
}

/* ===== 基本 ===== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--navy-950); font-family: var(--font-sans); color: var(--ink); font-size: 16px; line-height: 1.6; }
svg { display: block; flex-shrink: 0; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
::placeholder { color: var(--slate-2); opacity: 1; }
a { color: var(--blue); }
a:hover { color: var(--navy-900); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; padding: 10px 16px; background: var(--orange); color: var(--navy-900); font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
.site { background: #fff; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.noscript { padding: 40px var(--gutter); background: #fff; text-align: center; }
html.is-preview { scroll-behavior: auto; scrollbar-width: none; }
html.is-preview::-webkit-scrollbar { display: none; }
.preview-bar { padding: 10px var(--gutter); background: var(--orange); color: var(--navy-900); font-size: 14px; line-height: 22px; font-weight: 700; text-align: center; }

/* 按鈕 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: var(--radius); font-weight: 700; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.btn svg { transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--orange); color: var(--navy-900); }
.btn-primary:hover { background: var(--orange-hover); color: var(--navy-900); }
.btn-cta { height: 48px; padding: 0 22px; font-size: 16px; }
.btn-lg { height: 56px; padding: 0 28px; font-size: 17px; }
.btn-ghost-light { border: 1.5px solid var(--steel-200); background: transparent; color: #fff; }
.btn-ghost-light:hover { border-color: #fff; background: rgba(255,255,255,.08); color: #fff; }
.btn-outline { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 18px; border: 1.5px solid var(--navy-900); border-radius: var(--radius); background: #fff; color: var(--navy-900); font-size: 15px; font-weight: 700; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color .15s, color .15s; }
.btn-outline:hover { background: var(--navy-900); color: #fff; }
.link-more { display: inline-flex; align-items: center; gap: 8px; height: 44px; font-size: 16px; font-weight: 700; color: var(--blue); text-decoration: none; background: none; border: 0; padding: 0; cursor: pointer; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; line-height: 24px; font-weight: 700; color: var(--blue); text-decoration: none; }
.link-more svg, .link-arrow svg { transition: transform .2s; }
.link-more:hover svg, .link-arrow:hover svg { transform: translateX(3px); }

/* 線稿底格（產品、分類圖） */
.drawbox { display: flex; align-items: center; justify-content: center; overflow: hidden; background-color: var(--bg-softer); background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px); background-size: 16px 16px; }
.drawbox img { width: 100%; height: 100%; object-fit: cover; }
.noimg { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; color: var(--slate); }

/* ===== 頂部聯絡列 ===== */
.topbar { background: var(--navy-950); color: var(--steel-300); font-size: 13px; line-height: 20px; }
.topbar .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 24px; padding-top: 8px; padding-bottom: 8px; }
.topbar__group { display: flex; flex-wrap: wrap; gap: 4px 24px; }

/* ===== 頁首 ===== */
.site-header { position: sticky; top: 0; z-index: 40; background: #fff; border-bottom: 1px solid var(--line); }
.site-header .wrap { position: relative; min-height: 80px; padding-top: 12px; padding-bottom: 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px 40px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--navy-900); text-decoration: none; }
.brand:hover { color: var(--navy-900); }
.brand__text { display: flex; flex-direction: column; gap: 2px; }
.brand__zh { font-size: 22px; line-height: 26px; font-weight: 900; letter-spacing: .12em; }
.brand__en { font-family: var(--font-cond); font-size: 13px; line-height: 16px; font-weight: 600; letter-spacing: .28em; color: var(--slate); }
.header-actions { display: flex; align-items: center; gap: 8px 40px; }
.nav { display: flex; gap: 0 28px; }
.nav a { position: relative; font-size: 16px; line-height: 44px; font-weight: 500; color: var(--ink); text-decoration: none; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 2px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav__contact { display: none; }
.menu-btn { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--navy-900); cursor: pointer; }
.menu-btn .i-close { display: none; }
.site-header.is-open .menu-btn .i-open { display: none; }
.site-header.is-open .menu-btn .i-close { display: block; }

/* ===== 首屏 hero ===== */
.hero { position: relative; background-color: var(--navy-900); color: #fff; scroll-margin-top: var(--header-h); }
.hero--grid { background-image: var(--grid-dark); background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px; }
.hero--photo { background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px, 100% 100%, cover; background-position: 0 0, 0 0, 0 0, 0 0, 0 0, center; background-repeat: repeat, repeat, repeat, repeat, no-repeat, no-repeat; }
.hero .wrap { padding-top: 80px; }
.hero__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(500px, 100%), 1fr)); gap: 48px; align-items: center; }
.eyebrow { display: flex; align-items: center; gap: 12px; font-family: var(--font-mono); font-size: 13px; line-height: 20px; letter-spacing: .08em; color: var(--orange); }
.eyebrow::before { content: ""; flex: 0 0 10px; height: 10px; background: var(--orange); }
.hero h1 { margin: 24px 0 0; font-size: clamp(40px, 4.8vw, 70px); line-height: 1.18; font-weight: 900; letter-spacing: .02em; color: #fff; overflow-wrap: anywhere; }
.hero h1 .line { display: block; }
.hero h1 .hl { color: var(--orange); }
.hero__sub { margin: 24px 0 0; max-width: 540px; font-size: 18px; line-height: 32px; color: var(--steel-200); }
.hero__actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 16px; }
.hero__figure { margin: 0; border: 1px solid rgba(201,214,226,.35); background: rgba(10,28,46,.6); padding: 20px 20px 0; }
.hero__fighead { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; font-family: var(--font-mono); font-size: 12px; line-height: 16px; letter-spacing: .06em; color: var(--steel-300); }
.hero-drawing { width: 100%; height: auto; margin-top: 8px; }
.hero__specs { margin: 12px -20px 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid rgba(201,214,226,.35); }
.hero__specs > div { padding: 10px 14px; }
.hero__specs > div + div { border-left: 1px solid rgba(201,214,226,.35); }
.spec-k { font-family: var(--font-mono); font-size: 11px; line-height: 16px; letter-spacing: .06em; color: var(--steel-300); }
.spec-v { margin-top: 2px; font-size: 14px; line-height: 20px; font-weight: 700; color: #fff; }
.stats { margin-top: 64px; display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); border-top: 1px solid rgba(201,214,226,.3); }
.stat { position: relative; padding: 28px 0 32px 28px; border-left: 1px solid rgba(201,214,226,.3); }
.stat::before { content: ""; position: absolute; left: -2px; top: 0; width: 3px; height: 24px; background: var(--orange); }
.stat__num { display: flex; align-items: baseline; gap: 6px; }
.stat__value { font-family: var(--font-cond); font-size: 64px; line-height: 64px; font-weight: 600; color: #fff; }
.stat__unit { font-size: 18px; line-height: 24px; font-weight: 700; color: #fff; }
.stat__label { margin-top: 8px; font-size: 15px; line-height: 24px; color: var(--steel-200); }

/* ===== 區塊共用標題 ===== */
.sec { padding: var(--sec-pad) 0; scroll-margin-top: var(--header-h); }
.sec-head__kicker { display: flex; align-items: center; gap: 12px; font-family: var(--font-mono); font-size: 13px; line-height: 20px; letter-spacing: .08em; }
.sec-head__no { font-weight: 700; color: var(--orange-text); }
.sec-head__rule { width: 48px; height: 1px; background: var(--orange-text); }
.sec-head__label { color: var(--slate); }
.sec-head h2 { margin: 16px 0 0; font-size: clamp(30px, 3vw, 42px); line-height: 1.3; font-weight: 900; color: var(--navy-900); }
.sec-head p { margin: 16px 0 0; font-size: 17px; line-height: 30px; color: var(--slate); }
.sec-head--split { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 40px; }
.sec--dark .sec-head__no { color: var(--orange); }
.sec--dark .sec-head__rule { background: var(--orange); }
.sec--dark .sec-head__label { color: var(--steel-300); }
.sec--dark .sec-head h2 { color: #fff; }
.sec--dark .sec-head p { color: var(--steel-200); }

/* ===== 01 產品分類 ===== */
.sec-categories { background: #fff; }
.cat-grid { margin-top: 48px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.cat-card { background: #fff; padding: 24px; display: flex; flex-direction: column; }
.cat-card__code { display: flex; justify-content: space-between; align-items: center; font-family: var(--font-mono); font-size: 12px; line-height: 18px; letter-spacing: .08em; color: var(--slate); }
.cat-card__code::after { content: ""; width: 8px; height: 8px; background: var(--orange); }
.cat-card .drawbox { margin-top: 12px; height: 124px; }
.cat-card .drawbox svg { width: 220px; height: 124px; }
.cat-card h3 { margin: 14px 0 0; font-size: 22px; line-height: 30px; font-weight: 700; color: var(--navy-900); }
.cat-card__spec { margin: 4px 0 0; font-family: var(--font-mono); font-size: 13px; line-height: 24px; color: var(--slate); }
.cat-card .link-arrow { margin-top: 12px; align-self: flex-start; }

/* ===== 02 精選產品 ===== */
.sec-featured { background-color: var(--bg-soft); background-image: linear-gradient(var(--line-soft) 1px, transparent 1px), linear-gradient(90deg, var(--line-soft) 1px, transparent 1px); background-size: 32px 32px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ftable-wrap { margin-top: 40px; background: #fff; border: 1px solid var(--line); }
.ftable { width: 100%; border-collapse: collapse; text-align: left; }
.ftable th { padding: 14px 24px; border-bottom: 1.5px solid var(--navy-900); font-family: var(--font-mono); font-size: 12px; line-height: 18px; font-weight: 500; letter-spacing: .08em; color: var(--slate); }
.ftable th:first-child { width: 208px; }
.ftable th:last-child, .ftable td:last-child { text-align: right; }
.ftable td { padding: 20px 24px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.ftable tr:last-child td { border-bottom: 0; }
.ftable .drawbox { width: 160px; height: 102px; border: 1px solid var(--line-soft); }
.ftable .drawbox svg { width: 158px; height: 100px; }
.p-name { font-size: 18px; line-height: 28px; font-weight: 700; color: var(--navy-900); }
.p-model { margin-top: 2px; font-family: var(--font-mono); font-size: 14px; line-height: 22px; font-weight: 700; letter-spacing: .04em; color: var(--orange-text); }
.p-mat { font-size: 15px; line-height: 24px; }
.p-key { font-family: var(--font-mono); font-size: 14px; line-height: 24px; }
.p-sub { font-size: 14px; line-height: 24px; color: var(--slate); }
.empty-note { margin: 40px 0 0; padding: 32px; border: 1px dashed var(--field); background: #fff; color: var(--slate); text-align: center; }

/* ===== 03 製造能力 ===== */
.sec-capability { background-color: var(--ink); background-image: linear-gradient(rgba(201,214,226,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(201,214,226,.05) 1px, transparent 1px); background-size: 40px 40px; color: #fff; }
.cap-body { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 48px; align-items: stretch; }
.cap-table { flex: 1.2 1 560px; min-width: 0; }
.etable { width: 100%; border-collapse: collapse; text-align: left; }
.etable th { padding: 12px 0; border-bottom: 1.5px solid var(--orange); font-family: var(--font-mono); font-size: 12px; line-height: 18px; font-weight: 500; letter-spacing: .08em; color: var(--steel-300); }
.etable td { padding: 16px 0; border-bottom: 1px solid rgba(201,214,226,.18); }
.etable .num { padding-right: 32px; text-align: right; white-space: nowrap; }
.e-name { font-size: 16px; line-height: 28px; font-weight: 500; color: #fff; }
.e-qty { font-family: var(--font-cond); font-size: 24px; line-height: 28px; font-weight: 600; color: #fff; }
.e-unit { margin-left: 4px; font-size: 14px; line-height: 28px; color: var(--steel-200); }
.e-range { font-family: var(--font-mono); font-size: 14px; line-height: 28px; color: var(--steel-200); }
.cap-figure { flex: 1 1 420px; min-width: 0; margin: 0; padding: 24px; border: 1px solid rgba(201,214,226,.25); display: flex; flex-direction: column; }
.cap-figure__head { display: flex; justify-content: space-between; gap: 12px; font-family: var(--font-mono); font-size: 12px; line-height: 20px; letter-spacing: .06em; color: var(--steel-300); }
.machine-drawing { width: 100%; height: auto; margin-top: 12px; }
.cap-figure figcaption { margin-top: 16px; font-size: 15px; line-height: 24px; color: var(--steel-200); }
.cap-figure strong { color: #fff; font-weight: 700; }
.process { margin-top: 64px; }
.process__head { display: flex; align-items: center; gap: 12px; font-family: var(--font-mono); font-size: 13px; line-height: 20px; letter-spacing: .08em; color: var(--steel-300); }
.process__head::after { content: ""; flex: 1; height: 1px; background: rgba(201,214,226,.25); }
.process ol { margin: 24px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 24px 0; }
.step__top { display: flex; align-items: center; }
.step__no { flex: 0 0 44px; height: 44px; display: flex; align-items: center; justify-content: center; background: var(--orange); color: var(--navy-900); font-family: var(--font-cond); font-size: 20px; line-height: 20px; font-weight: 700; }
.step__line { flex: 1; border-top: 1.5px dashed var(--steel-600); }
.step__body { padding-right: 24px; }
.proc-icon { margin-top: 20px; }
.step h3 { margin: 14px 0 0; font-size: 20px; line-height: 28px; font-weight: 700; color: #fff; }
.step p { margin: 6px 0 0; font-size: 14px; line-height: 22px; color: var(--steel-300); }

/* ===== 04 品質認證 ===== */
.sec-certs { background: #fff; }
.sec-certs > .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 48px 64px; }
.certs-text { flex: 1 1 440px; min-width: 0; }
.qpoints { margin: 32px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 16px; }
.qpoints li { display: flex; align-items: flex-start; gap: 14px; font-size: 16px; line-height: 26px; }
.qpoints__mark { flex: 0 0 26px; height: 26px; display: flex; align-items: center; justify-content: center; background: var(--orange); }
.certs-board { flex: 1.3 1 560px; min-width: 0; position: relative; padding: 32px; border: 1px solid var(--line); background: #fff; }
.corner { position: absolute; width: 18px; height: 18px; border: 0 solid var(--orange); }
.corner--tl { left: -1px; top: -1px; border-left-width: 2px; border-top-width: 2px; }
.corner--tr { right: -1px; top: -1px; border-right-width: 2px; border-top-width: 2px; }
.corner--bl { left: -1px; bottom: -1px; border-left-width: 2px; border-bottom-width: 2px; }
.corner--br { right: -1px; bottom: -1px; border-right-width: 2px; border-bottom-width: 2px; }
.badges { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(160px, 100%), 1fr)); gap: 24px; }
.badge { margin: 0; display: flex; flex-direction: column; align-items: center; text-align: center; }
.badge__seal { position: relative; width: 160px; height: 160px; }
.badge-rings { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
.badge__inner { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.badge__org { font-family: var(--font-mono); font-size: 12px; line-height: 16px; letter-spacing: .2em; color: var(--slate); }
.badge__code { font-family: var(--font-cond); font-size: 44px; line-height: 46px; font-weight: 700; color: var(--navy-900); }
.badge__ok { font-size: 11px; line-height: 16px; letter-spacing: .1em; color: var(--slate); }
.badge figcaption { margin-top: 16px; }
.badge__title { font-family: var(--font-cond); font-size: 22px; line-height: 28px; font-weight: 700; color: var(--navy-900); }
.badge__name { font-size: 15px; line-height: 22px; color: var(--slate); }

/* ===== 05 最新消息 ===== */
.sec-news { background: var(--bg-soft); border-top: 1px solid var(--line); }
.news-list { margin-top: 40px; border-top: 2px solid var(--navy-900); }
.news-item { border-bottom: 1px solid var(--line); }
.news-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 40px; padding: 28px 0; }
.news-date { flex: 0 0 120px; display: block; }
.news-date__md { display: block; font-family: var(--font-cond); font-size: 34px; line-height: 36px; font-weight: 600; color: var(--navy-900); }
.news-date__y { display: block; font-family: var(--font-mono); font-size: 13px; line-height: 18px; letter-spacing: .08em; color: var(--slate); }
.news-tag { flex: 0 0 auto; padding: 3px 10px; border: 1px solid var(--navy-900); font-size: 13px; line-height: 20px; color: var(--navy-900); }
.news-main { flex: 1 1 420px; min-width: 0; }
.news-main h3 { margin: 0; font-size: 19px; line-height: 30px; font-weight: 700; color: var(--ink); }
.news-main p { margin: 0; font-size: 15px; line-height: 24px; color: var(--slate); }
.news-toggle { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0; border: 0; background: none; font-size: 15px; font-weight: 700; color: var(--blue); cursor: pointer; }
.news-toggle svg { transition: transform .2s; }
.news-toggle[aria-expanded="true"] svg { transform: rotate(90deg); }
.news-body { margin: -8px 0 0 160px; padding: 0 0 28px; max-width: 760px; font-size: 15px; line-height: 26px; color: var(--ink); }
.news-body p { margin: 0 0 8px; }

/* ===== 06 線上詢價 ===== */
.sec-inquiry { background: #fff; border-top: 1px solid var(--line); }
.sec-inquiry > .wrap { display: flex; flex-wrap: wrap; gap: 48px 56px; }
.inq-text { flex: 1 1 380px; min-width: 0; }
.inq-steps { margin: 40px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 20px; }
.inq-steps li { display: flex; align-items: flex-start; gap: 16px; }
.inq-steps__no { flex: 0 0 40px; height: 40px; display: flex; align-items: center; justify-content: center; border: 1.5px solid var(--navy-900); font-family: var(--font-cond); font-size: 18px; line-height: 18px; font-weight: 700; color: var(--navy-900); }
.inq-steps__t { font-size: 17px; line-height: 26px; font-weight: 700; color: var(--ink); }
.inq-steps__d { font-size: 14px; line-height: 22px; color: var(--slate); }
.inq-call { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.inq-call__hint { font-size: 14px; line-height: 22px; color: var(--slate); }
.inq-call__phone { display: inline-block; margin-top: 4px; font-family: var(--font-cond); font-size: 36px; line-height: 40px; font-weight: 700; letter-spacing: .02em; color: var(--navy-900); text-decoration: none; }
.inq-call__mail { margin-top: 4px; font-family: var(--font-mono); font-size: 15px; line-height: 22px; color: var(--blue); }
.inq-form { flex: 1.6 1 600px; min-width: 0; margin: 0; position: relative; padding: 40px; border: 1px solid var(--steel-200); background: #fff; }
.inq-form__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; font-family: var(--font-mono); font-size: 12px; line-height: 20px; letter-spacing: .08em; color: var(--slate); }
.req { color: var(--orange-text); }
.form-alert { margin-top: 16px; padding: 12px 16px; border-left: 3px solid var(--error); background: #FDF1F1; color: var(--error); font-size: 15px; line-height: 22px; font-weight: 700; }
.form-alert:empty { display: none; }
.fgrid { margin-top: 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 20px 24px; }
.field--gap { margin-top: 20px; }
.field > label:not(.dropzone), .field > .label { display: block; font-size: 15px; line-height: 22px; font-weight: 700; color: var(--ink); }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field textarea { margin-top: 8px; display: block; width: 100%; height: 48px; padding: 0 14px; border: 1px solid var(--field); border-radius: var(--radius); background: #fff; font-size: 16px; transition: border-color .15s, box-shadow .15s; }
.field textarea { height: 132px; padding: 12px 14px; line-height: 26px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--navy-900); box-shadow: 0 0 0 3px rgba(242,107,29,.35); }
.field [aria-invalid="true"] { border-color: var(--error); box-shadow: 0 0 0 1px var(--error); }
.field.flash input { animation: flash 1.2s ease-out; }
@keyframes flash { 0% { background: #FFE1CC; } 100% { background: #fff; } }
.field__err { margin-top: 6px; font-size: 14px; line-height: 20px; color: var(--error); }
.field__err:empty { display: none; }
.file-input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.file-input:focus-visible + .dropzone { outline: 3px solid var(--orange); outline-offset: 2px; }
.dropzone { margin-top: 8px; display: flex; align-items: center; gap: 16px; min-height: 88px; padding: 16px 20px; border: 1.5px dashed var(--field); background: var(--bg-softer); cursor: pointer; transition: border-color .15s, background-color .15s; }
.dropzone:hover, .dropzone.is-over { border-color: var(--orange); background: var(--orange-tint); }
.dropzone__icon { flex: 0 0 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: var(--navy-900); }
.dropzone__text { display: flex; flex-direction: column; }
.dropzone__t { font-size: 16px; line-height: 24px; font-weight: 700; color: var(--navy-900); }
.dropzone__d { font-size: 14px; line-height: 22px; color: var(--slate); }
.file-list { margin: 10px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.file-list li { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; padding: 0 4px 0 10px; border: 1px solid var(--line); background: #fff; font-size: 14px; line-height: 34px; }
.file-list li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-list button { width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; padding: 0; border: 0; background: none; color: var(--slate); cursor: pointer; }
.file-list button:hover { color: var(--error); }
.inq-form__foot { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; }
.inq-form__foot p { margin: 0; flex: 1 1 280px; font-size: 14px; line-height: 22px; color: var(--slate); }
.inq-form .btn-lg { padding: 0 32px; }
.inq-done { text-align: left; }
.inq-done__mark { width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; background: var(--orange); }
.inq-done h3 { margin: 20px 0 0; font-size: 26px; line-height: 36px; font-weight: 900; color: var(--navy-900); }
.inq-done h3:focus { outline: none; }
.inq-done > p { margin: 8px 0 0; font-size: 16px; line-height: 28px; color: var(--slate); }
.inq-done dl { margin: 24px 0 0; display: grid; grid-template-columns: max-content 1fr; gap: 8px 20px; padding: 20px; background: var(--bg-softer); border: 1px solid var(--line); font-size: 15px; line-height: 24px; }
.inq-done dt { color: var(--slate); }
.inq-done dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.inq-done__acts { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.inq-done__demo { margin: 20px 0 0; padding-top: 16px; border-top: 1px dashed var(--line); font-size: 13px; line-height: 22px; color: var(--slate); }

/* ===== 頁尾 ===== */
.site-footer { background: var(--navy-950); color: var(--steel-200); padding: 72px 0 0; scroll-margin-top: var(--header-h); }
.foot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 40px; }
.foot-brand { display: flex; align-items: center; gap: 12px; }
.foot-brand .brand__zh { color: #fff; }
.foot-brand .brand__en { color: var(--steel-300); }
.foot-col { scroll-margin-top: calc(var(--header-h) + 24px); }
.foot-col h2 { margin: 0; font-size: 15px; line-height: 22px; font-weight: 700; color: #fff; }
.foot-about h2 { margin-top: 20px; }
.foot-about p { margin: 8px 0 0; max-width: 280px; font-size: 14px; line-height: 24px; color: var(--steel-300); }
.foot-col ul { margin: 16px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 14px; line-height: 24px; }
.foot-col a { color: var(--steel-200); text-decoration: none; }
.foot-col a:hover { color: #fff; text-decoration: underline; }
.foot-bottom { margin-top: 56px; padding: 20px 0 24px; border-top: 1px solid rgba(201,214,226,.18); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 13px; line-height: 20px; color: var(--steel-300); }
.foot-bottom__right { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot-bottom a { color: var(--steel-300); }
.foot-bottom a:hover { color: #fff; }

/* ===== 產品頁 ===== */
.page-head { background-color: var(--navy-900); background-image: var(--grid-dark); background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px; color: #fff; }
.page-head .wrap { padding-top: 56px; padding-bottom: 56px; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px 48px; }
.crumb { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; font-family: var(--font-mono); font-size: 13px; line-height: 20px; letter-spacing: .08em; color: var(--steel-300); }
.crumb li + li::before { content: "／"; margin-right: 8px; color: var(--steel-600); }
.crumb a { color: var(--steel-200); text-decoration: none; }
.crumb a:hover { color: #fff; text-decoration: underline; }
.page-head h1 { margin: 16px 0 0; font-size: clamp(34px, 3.6vw, 52px); line-height: 1.2; font-weight: 900; }
.page-head__intro { margin: 16px 0 0; max-width: 640px; font-size: 17px; line-height: 30px; color: var(--steel-200); }
.page-head__meta { display: flex; border: 1px solid rgba(201,214,226,.35); background: rgba(10,28,46,.5); }
.page-head__meta div { padding: 14px 22px; }
.page-head__meta div + div { border-left: 1px solid rgba(201,214,226,.35); }
.page-head__meta b { display: block; font-family: var(--font-cond); font-size: 40px; line-height: 40px; font-weight: 600; }
.page-head__meta span { font-size: 13px; line-height: 20px; color: var(--steel-300); }
.tabs-bar { position: sticky; top: var(--header-h); z-index: 30; background: #fff; border-bottom: 1px solid var(--line); }
.tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; height: 56px; padding: 0 16px; border: 0; border-bottom: 3px solid transparent; background: none; font-size: 16px; font-weight: 500; color: var(--slate); white-space: nowrap; cursor: pointer; }
.tab:hover { color: var(--navy-900); }
.tab[aria-selected="true"] { border-bottom-color: var(--orange); color: var(--navy-900); font-weight: 700; }
.tab__count { min-width: 22px; padding: 0 6px; border-radius: 2px; background: var(--bg-soft); font-family: var(--font-mono); font-size: 12px; line-height: 20px; color: var(--slate); text-align: center; }
.catalog { padding: 48px 0 96px; background-color: var(--bg-soft); background-image: linear-gradient(var(--line-soft) 1px, transparent 1px), linear-gradient(90deg, var(--line-soft) 1px, transparent 1px); background-size: 32px 32px; }
.cat-group + .cat-group { margin-top: 64px; }
.cat-group__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; padding-bottom: 14px; border-bottom: 2px solid var(--navy-900); }
.cat-group__code { font-family: var(--font-mono); font-size: 13px; line-height: 20px; font-weight: 700; letter-spacing: .08em; color: var(--orange-text); }
.cat-group__name { margin: 0; font-size: 26px; line-height: 34px; font-weight: 900; color: var(--navy-900); }
.cat-group__spec { font-family: var(--font-mono); font-size: 13px; line-height: 20px; color: var(--slate); }
.prod-grid { margin-top: 24px; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(270px, 100%), 1fr)); gap: 24px; }
.prod-card { display: flex; flex-direction: column; border: 1px solid var(--line); background: #fff; transition: border-color .2s, box-shadow .2s; }
.prod-card:hover { border-color: var(--navy-900); box-shadow: 0 10px 28px rgba(10,28,46,.08); }
.prod-card .drawbox { height: 160px; border-bottom: 1px solid var(--line-soft); }
.prod-card .drawbox svg { width: 230px; height: 146px; }
.prod-card__body { flex: 1; display: flex; flex-direction: column; padding: 20px; }
.prod-card__top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.prod-card__model { font-family: var(--font-mono); font-size: 14px; line-height: 22px; font-weight: 700; letter-spacing: .04em; color: var(--orange-text); }
.prod-card__cat { font-size: 12px; line-height: 20px; color: var(--slate); }
.prod-card h3 { margin: 4px 0 0; font-size: 19px; line-height: 28px; font-weight: 700; color: var(--navy-900); }
.prod-card__mat { margin-top: 8px; font-size: 14px; line-height: 22px; }
.prod-card__key { font-family: var(--font-mono); font-size: 13px; line-height: 22px; color: var(--slate); }
.prod-card__sum { margin: 8px 0 0; font-size: 14px; line-height: 22px; color: var(--slate); }
.prod-card__acts { margin-top: auto; padding-top: 16px; display: flex; gap: 8px; }
.prod-card__acts > * { flex: 1 1 0; padding: 0 10px; }
.btn-plain { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 16px; border: 1px solid var(--field); border-radius: var(--radius); background: #fff; color: var(--navy-900); font-size: 15px; font-weight: 700; cursor: pointer; text-decoration: none; }
.btn-plain:hover { border-color: var(--navy-900); }
.cta-band { background-color: var(--navy-900); background-image: var(--grid-dark); background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px; color: #fff; }
.cta-band .wrap { padding-top: 56px; padding-bottom: 56px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; }
.cta-band h2 { margin: 0; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.35; font-weight: 900; }
.cta-band p { margin: 8px 0 0; font-size: 16px; line-height: 28px; color: var(--steel-200); }

/* 產品詳細對話框 */
.pdlg { width: min(980px, calc(100% - 32px)); max-height: calc(100% - 48px); padding: 0; border: 0; background: #fff; color: var(--ink); box-shadow: 0 24px 64px rgba(10,28,46,.35); }
.pdlg::backdrop { background: rgba(10,28,46,.62); }
.pdlg__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 20px 24px; border-bottom: 2px solid var(--navy-900); }
.pdlg__model { font-family: var(--font-mono); font-size: 14px; line-height: 22px; font-weight: 700; letter-spacing: .04em; color: var(--orange-text); }
.pdlg__title { margin: 2px 0 0; font-size: 26px; line-height: 34px; font-weight: 900; color: var(--navy-900); }
.pdlg__close { flex: 0 0 44px; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--navy-900); cursor: pointer; }
.pdlg__close:hover { border-color: var(--navy-900); }
.pdlg__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; padding: 24px; }
.pdlg .drawbox { aspect-ratio: 11 / 7; border: 1px solid var(--line-soft); }
.pdlg .drawbox svg { width: 92%; height: 92%; }
.pdlg__summary { margin: 16px 0 0; font-size: 16px; line-height: 28px; color: var(--slate); }
.pdlg__mat { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; height: 28px; padding: 0 10px; border: 1px solid var(--line); background: var(--bg-softer); font-size: 13px; color: var(--ink); }
.stable { width: 100%; border-collapse: collapse; text-align: left; }
.stable caption { padding-bottom: 10px; text-align: left; font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; color: var(--slate); }
.stable th { width: 34%; padding: 11px 14px; border-bottom: 1px solid var(--line); background: var(--bg-softer); font-size: 14px; line-height: 22px; font-weight: 500; color: var(--slate); }
.stable td { padding: 11px 14px; border-bottom: 1px solid var(--line); font-family: var(--font-mono); font-size: 14px; line-height: 22px; }
.stable tr:first-child th, .stable tr:first-child td { border-top: 1.5px solid var(--navy-900); }
.pdlg__foot { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; padding: 16px 24px; border-top: 1px solid var(--line); background: var(--bg-softer); }

/* ===== 平板（768～1199） ===== */
@media (max-width: 1199px) {
  .menu-btn { display: inline-flex; }
  .header-actions { gap: 12px; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; padding: 8px var(--gutter) 20px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 16px 32px rgba(10,28,46,.14); max-height: calc(100vh - 80px); overflow-y: auto; }
  .site-header.is-open .nav { display: flex; }
  .nav a { line-height: 52px; font-size: 17px; border-bottom: 1px solid var(--grid-line); }
  .nav a::after { display: none; }
  .nav a[aria-current="page"] { color: var(--orange-text); font-weight: 700; }
  .nav__contact { display: block; padding-top: 16px; font-size: 14px; line-height: 24px; color: var(--slate); }
  .nav__contact b { display: block; font-family: var(--font-cond); font-size: 28px; line-height: 34px; color: var(--navy-900); }
  .hero h1 { font-size: clamp(40px, 6.2vw, 70px); }
  .hero__text { max-width: 720px; }
  .news-body { margin-left: 0; }
  .process ol { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .step__body { padding-right: 16px; }
  .step h3 { font-size: 18px; line-height: 26px; }
  .step p { font-size: 13px; line-height: 20px; }
  .news-row { gap: 12px 24px; }
  .news-main { flex-basis: 300px; }
}
@media (max-width: 1023px) {
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ===== 精選表格改卡片（< 900） ===== */
@media (max-width: 899px) {
  .ftable thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .ftable, .ftable tbody { display: block; }
  .ftable tr { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 6px 16px; padding: 20px; border-bottom: 1px solid var(--line); }
  .ftable tr:last-child { border-bottom: 0; }
  .ftable td { display: block; padding: 0; border: 0; text-align: left; }
  .ftable td:first-child { grid-row: 1 / span 3; }
  .ftable td:last-child { grid-column: 1 / -1; margin-top: 10px; text-align: left; }
  .ftable td:last-child .btn-outline { width: 100%; }
  .ftable .drawbox { width: 132px; height: 86px; }
  .ftable .drawbox svg { width: 128px; height: 82px; }
  .pdlg__body { grid-template-columns: 1fr; }
}

/* ===== 手機（< 768） ===== */
@media (max-width: 767px) {
  :root { --sec-pad: 64px; --header-h: 65px; }
  .topbar { display: none; }
  .site-header .wrap { min-height: 64px; padding-top: 10px; padding-bottom: 10px; gap: 8px; }
  .brand { gap: 10px; }
  .brand svg { width: 36px; height: 36px; }
  .brand__zh { font-size: 19px; line-height: 22px; }
  .brand__en { font-size: 11px; line-height: 14px; letter-spacing: .2em; }
  .header-actions { gap: 8px; }
  .btn-cta { height: 44px; padding: 0 14px; font-size: 15px; gap: 6px; }
  .btn-cta svg { display: none; }
  .nav { max-height: calc(100vh - 64px); }

  .hero .wrap { padding-top: 44px; }
  .hero__grid { gap: 36px; }
  .eyebrow { font-size: 12px; letter-spacing: .04em; align-items: flex-start; }
  .eyebrow::before { margin-top: 5px; }
  .hero h1 { margin-top: 18px; font-size: clamp(34px, 10vw, 44px); }
  .hero__sub { margin-top: 18px; font-size: 16px; line-height: 28px; }
  .hero__actions { margin-top: 28px; gap: 12px; }
  .hero__actions .btn { flex: 1 1 140px; padding: 0 16px; }
  .hero__figure { padding: 14px 14px 0; }
  .hero__specs { margin: 10px -14px 0; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__specs > div:nth-child(3) { border-left: 0; }
  .hero__specs > div:nth-child(n+3) { border-top: 1px solid rgba(201,214,226,.35); }
  .stats { margin-top: 40px; }
  .stat { padding: 18px 0 20px 12px; }
  .stat__num { gap: 3px; flex-wrap: wrap; }
  .stat__value { font-size: 38px; line-height: 40px; }
  .stat__unit { font-size: 14px; line-height: 20px; }
  .stat__label { margin-top: 4px; font-size: 13px; line-height: 20px; }

  .sec-head h2 { font-size: 28px; }
  .sec-head p { font-size: 16px; line-height: 28px; }
  .cat-grid { margin-top: 32px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat-card { padding: 14px 12px 16px; }
  .cat-card__code { font-size: 11px; }
  .cat-card .drawbox { margin-top: 10px; height: 92px; }
  .cat-card .drawbox svg { width: 100%; height: 92px; }
  .cat-card h3 { margin-top: 10px; font-size: 17px; line-height: 24px; }
  .cat-card__spec { font-size: 11.5px; line-height: 18px; }
  .cat-card .link-arrow { margin-top: 8px; font-size: 14px; }
  .ftable-wrap { margin-top: 28px; }
  .ftable tr { grid-template-columns: 104px minmax(0, 1fr); padding: 16px; gap: 4px 14px; }
  .ftable .drawbox { width: 104px; height: 68px; }
  .ftable .drawbox svg { width: 100px; height: 64px; }
  .p-name { font-size: 17px; line-height: 26px; }

  .cap-body { margin-top: 32px; gap: 32px; }
  .cap-table, .cap-figure { flex-basis: 100%; }
  .etable th:nth-child(2) { padding-right: 16px; }
  .etable .num { padding-right: 16px; }
  .e-name { font-size: 15px; line-height: 24px; }
  .e-range { font-size: 13px; line-height: 22px; }
  .cap-figure { padding: 16px; }
  .process { margin-top: 48px; }
  .process ol { grid-template-columns: 1fr; gap: 0; }
  .step { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 16px; }
  .step__top { flex-direction: column; align-self: stretch; }
  .step__no { width: 44px; flex: 0 0 44px; }
  .step__line { flex: 1; width: 0; min-height: 16px; border-top: 0; border-left: 1.5px dashed var(--steel-600); }
  .step__arrow { transform: rotate(90deg); margin: 2px 0 4px; }
  .step__body { padding: 0 0 24px; display: grid; grid-template-columns: 32px minmax(0, 1fr); column-gap: 12px; }
  .proc-icon { margin-top: 6px; grid-row: 1 / span 2; }
  .step h3 { margin-top: 6px; font-size: 18px; line-height: 26px; }
  .step p { margin-top: 2px; }

  .sec-certs > .wrap { gap: 36px; }
  .certs-text, .certs-board { flex-basis: 100%; }
  .qpoints { margin-top: 24px; }
  .certs-board { padding: 24px 10px; }
  .badges { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .badge__seal { width: 96px; height: 96px; }
  .badge__org { font-size: 9px; line-height: 12px; letter-spacing: .14em; }
  .badge__code { font-size: 26px; line-height: 28px; }
  .badge__ok { font-size: 9px; line-height: 12px; letter-spacing: .04em; }
  .badge figcaption { margin-top: 10px; }
  .badge__title { font-size: 16px; line-height: 20px; }
  .badge__name { font-size: 12px; line-height: 18px; }

  .news-list { margin-top: 28px; }
  .news-row { gap: 10px 14px; padding: 22px 0; }
  .news-date { flex: 0 0 auto; display: flex; align-items: baseline; gap: 8px; }
  .news-date__md { font-size: 28px; line-height: 30px; }
  .news-main { flex-basis: 100%; }
  .news-main h3 { font-size: 17px; line-height: 27px; }
  .news-toggle { height: 36px; }
  .news-body { margin-top: -6px; padding-bottom: 22px; }

  .sec-inquiry > .wrap { gap: 36px; }
  .inq-text, .inq-form { flex-basis: 100%; }
  .inq-steps { margin-top: 28px; }
  .inq-call { margin-top: 28px; }
  .inq-form { padding: 20px 16px 24px; }
  .dropzone { align-items: flex-start; padding: 14px; gap: 12px; }
  .dropzone__icon { flex-basis: 40px; height: 40px; }
  .dropzone__t { font-size: 15px; line-height: 22px; }
  .inq-form .btn-lg { width: 100%; }

  .site-footer { padding-top: 48px; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
  .foot-about, .foot-contact { grid-column: 1 / -1; }
  .foot-about p { max-width: none; }
  .foot-bottom { margin-top: 40px; }

  .page-head .wrap { padding-top: 36px; padding-bottom: 36px; }
  .page-head__intro { font-size: 16px; line-height: 28px; }
  .page-head__meta { width: 100%; }
  .page-head__meta div { flex: 1; padding: 12px 16px; }
  .page-head__meta b { font-size: 32px; line-height: 34px; }
  .tab { height: 50px; padding: 0 12px; font-size: 15px; }
  .catalog { padding: 32px 0 64px; }
  .cat-group + .cat-group { margin-top: 48px; }
  .cat-group__name { font-size: 22px; line-height: 30px; }
  .prod-grid { gap: 16px; }
  .cta-band .wrap { padding-top: 40px; padding-bottom: 40px; }
  .cta-band .btn { width: 100%; }

  .pdlg { width: 100%; max-width: 100%; height: 100%; max-height: 100%; margin: 0; }
  .pdlg__head { padding: 16px; }
  .pdlg__title { font-size: 22px; line-height: 30px; }
  .pdlg__body { padding: 16px; gap: 20px; }
  .pdlg__foot { padding: 12px 16px; position: sticky; bottom: 0; }
  .pdlg__foot > * { flex: 1 1 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
