/* ==========================================================================
   四川晶纳科技有限公司 - 企业官网全局样式
   风格：工业科技风 / 白灰背景 + 红色点缀 / 响应式
   ========================================================================== */

:root {
  --red: #d0192a;
  --red-dark: #a80f1e;
  --red-light: #ff4d5a;
  --red-bg: #fdeeee;
  --blue: #14508c;
  --blue-dark: #0e3a68;
  --ink: #1b222c;
  --ink-2: #2b3442;
  --gray: #6b7686;
  --line: #e5e8ee;
  --bg: #f5f6f9;
  --bg-2: #eef0f4;
  --radius: 14px;
  --shadow: 0 8px 24px rgba(24, 32, 46, .08);
  --shadow-hover: 0 14px 34px rgba(24, 32, 46, .14);
  --font: "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--ink); background: #fff; line-height: 1.75; font-size: 15.5px; overflow-x: hidden; max-width: 100vw; }
img { max-width: 100%; display: block; height: auto; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { font-family: inherit; }
.container { width: min(1180px, 92%); margin: 0 auto; }
section { padding: 78px 0; }

/* ---------- 通用板块标题 ---------- */
.section-head { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.section-head .kicker { display: inline-block; color: var(--red); font-weight: 700; font-size: 13px; letter-spacing: .24em; margin-bottom: 10px; }
.section-head h2 { font-size: clamp(26px, 4vw, 36px); color: var(--ink); line-height: 1.35; }
.section-head p { color: var(--gray); margin-top: 12px; }

/* ---------- 按钮 ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 32px; border-radius: 10px; font-size: 15px; font-weight: 600; border: 1px solid transparent; cursor: pointer; transition: all .22s ease; }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 8px 20px rgba(208, 25, 42, .32); }
.btn-red:hover { background: var(--red-dark); transform: translateY(-2px); }
.btn-ghost { border-color: rgba(255, 255, 255, .45); color: #fff; background: transparent; }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .1); }
.btn-outline { border-color: var(--red); color: var(--red); background: #fff; }
.btn-outline:hover { background: var(--red); color: #fff; }

/* ==========================================================================
   顶部导航（白色 / 浅灰底 + 红色 Logo 区）
   ========================================================================== */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .97); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); transition: box-shadow .25s ease; }
.site-header.is-scrolled { box-shadow: 0 4px 18px rgba(20, 28, 42, .09); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; position: relative; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark { width: 46px; height: 46px; border-radius: 9px; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 16px; letter-spacing: 1px; flex: none; }
span.logo-mark { background: var(--red); color: #fff; box-shadow: 0 4px 14px rgba(208, 25, 42, .35); }
img.logo-mark { object-fit: contain; background: #fff; }
.logo-text strong { display: block; font-size: 17px; line-height: 1.3; color: var(--ink); letter-spacing: .5px; }
.logo-text em { font-style: normal; font-size: 10.5px; color: var(--gray); letter-spacing: .18em; }
.nav { display: flex; gap: 6px; }
.nav a { padding: 8px 18px; font-size: 15px; color: var(--ink-2); border-radius: 8px; font-weight: 500; transition: all .18s ease; }
.nav a:hover { color: var(--red); background: var(--red-bg); }
.nav a.active { color: var(--red); font-weight: 700; }
.nav-toggle { display: none; border: none; background: none; cursor: pointer; padding: 10px 6px; }
.nav-toggle span { display: block; width: 24px; height: 2.5px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: all .25s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ==========================================================================
   工业设备风格占位图（内嵌 SVG，深色设备 + 红色激光）
   ========================================================================== */
.ph { background-size: cover; background-position: center; background-repeat: no-repeat; background-color: #161d28; }
.ph-device { background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='800' height='520' viewBox='0 0 800 520'><defs><linearGradient id='a' x1='0' y1='0' x2='1' y2='1'><stop offset='0' stop-color='%23141a23'/><stop offset='1' stop-color='%23252f3e'/></linearGradient><linearGradient id='b' x1='0' y1='0' x2='0' y2='1'><stop offset='0' stop-color='%23344254'/><stop offset='1' stop-color='%23242f3e'/></linearGradient></defs><rect width='800' height='520' fill='url(%23a)'/><g stroke='%232b3849' stroke-width='1' opacity='.6'><path d='M0 65h800M0 130h800M0 195h800M0 260h800M0 325h800M0 390h800M0 455h800M100 0v520M200 0v520M300 0v520M400 0v520M500 0v520M600 0v520M700 0v520'/></g><rect x='190' y='150' width='420' height='250' rx='14' fill='url(%23b)' stroke='%2346566e' stroke-width='2'/><rect x='224' y='182' width='150' height='96' rx='6' fill='%231a222d' stroke='%233c4b60'/><rect x='240' y='202' width='112' height='8' rx='4' fill='%23d0192a' opacity='.9'/><rect x='240' y='222' width='74' height='6' rx='3' fill='%23687a90'/><rect x='240' y='236' width='94' height='6' rx='3' fill='%234a5b72'/><circle cx='552' cy='228' r='36' fill='%231a222d' stroke='%233c4b60' stroke-width='2'/><circle cx='552' cy='228' r='15' fill='none' stroke='%23d0192a' stroke-width='3'/><rect x='330' y='118' width='140' height='46' rx='8' fill='%233a4759' stroke='%234d5d76' stroke-width='2'/><rect x='392' y='164' width='16' height='168' fill='%23ff4d5a'/><rect x='384' y='164' width='32' height='168' fill='%23d0192a' opacity='.22'/><circle cx='400' cy='332' r='7' fill='%23ff7a85'/><rect x='290' y='330' width='220' height='26' rx='5' fill='%2318212c' stroke='%233c4b60'/><g stroke='%23d0192a' stroke-width='2.5' stroke-linecap='round' opacity='.9'><path d='M316 343h26M356 343h26M396 343h26M436 343h26M476 343h14'/></g><text x='400' y='468' font-family='Arial,sans-serif' font-size='19' fill='%237c8aa0' text-anchor='middle'>精密激光微纳加工设备 · 占位图</text></svg>"); }
.ph-lab { background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='800' height='600' viewBox='0 0 800 600'><defs><linearGradient id='a' x1='0' y1='0' x2='0' y2='1'><stop offset='0' stop-color='%23161d28'/><stop offset='1' stop-color='%23273343'/></linearGradient></defs><rect width='800' height='600' fill='url(%23a)'/><g fill='none' stroke='%23212d3e' stroke-width='1'><path d='M0 80h800M0 180h800M0 280h800M0 480h800M0 560h800M120 0v600M280 0v600M440 0v600M600 0v600M760 0v600'/></g><rect x='40' y='430' width='720' height='26' fill='%231d2735' stroke='%23334358' stroke-width='2'/><g fill='%23334358'><circle cx='80' cy='443' r='3'/><circle cx='140' cy='443' r='3'/><circle cx='200' cy='443' r='3'/><circle cx='260' cy='443' r='3'/><circle cx='320' cy='443' r='3'/><circle cx='380' cy='443' r='3'/><circle cx='440' cy='443' r='3'/><circle cx='500' cy='443' r='3'/><circle cx='560' cy='443' r='3'/><circle cx='620' cy='443' r='3'/><circle cx='680' cy='443' r='3'/><circle cx='740' cy='443' r='3'/></g><rect x='100' y='316' width='180' height='114' rx='8' fill='%232b3648' stroke='%2342536b' stroke-width='2'/><rect x='118' y='334' width='70' height='34' rx='4' fill='%231a222d' stroke='%233a4a60'/><rect x='196' y='334' width='66' height='6' rx='3' fill='%23d0192a'/><rect x='196' y='348' width='48' height='6' rx='3' fill='%23546578'/><rect x='520' y='300' width='170' height='130' rx='8' fill='%232b3648' stroke='%2342536b' stroke-width='2'/><circle cx='605' cy='356' r='26' fill='%231a222d' stroke='%233a4a60' stroke-width='2'/><circle cx='605' cy='356' r='10' fill='none' stroke='%23d0192a' stroke-width='3'/><rect x='286' y='366' width='226' height='5' fill='%23ff4d5a'/><rect x='278' y='362' width='242' height='13' fill='%23d0192a' opacity='.2'/><rect x='276' y='356' width='14' height='14' fill='%23475a75' transform='rotate(45 283 363)'/><rect x='508' y='356' width='14' height='14' fill='%23475a75' transform='rotate(45 515 363)'/><text x='400' y='552' font-family='Arial,sans-serif' font-size='19' fill='%237c8aa0' text-anchor='middle'>超快激光洁净实验室 · 占位图</text></svg>"); }
.ph-laser { background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='800' height='520' viewBox='0 0 800 520'><defs><linearGradient id='a' x1='0' y1='0' x2='1' y2='1'><stop offset='0' stop-color='%23101520'/><stop offset='1' stop-color='%231d2634'/></linearGradient></defs><rect width='800' height='520' fill='url(%23a)'/><g stroke='%23243244' stroke-width='1' opacity='.7'><path d='M0 100h800M0 220h800M0 340h800M0 460h800M160 0v520M320 0v520M480 0v520M640 0v520'/></g><rect x='362' y='52' width='76' height='44' rx='6' fill='%23344153' stroke='%23495b74' stroke-width='2'/><rect x='394' y='96' width='12' height='238' fill='%23ff4d5a'/><rect x='386' y='96' width='28' height='238' fill='%23d0192a' opacity='.22'/><rect x='230' y='334' width='340' height='28' rx='5' fill='%23192230' stroke='%233c4b60' stroke-width='2'/><g stroke='%23ff7a85' stroke-width='2.5' stroke-linecap='round'><path d='M390 330l-18-22M410 330l18-22M400 330v-26M370 330l-10-14M430 330l10-14'/></g><ellipse cx='400' cy='362' rx='120' ry='10' fill='%23d0192a' opacity='.3'/><text x='400' y='470' font-family='Arial,sans-serif' font-size='19' fill='%237c8aa0' text-anchor='middle'>飞秒激光精密加工 · 占位图</text></svg>"); }
.ph-chip { background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='800' height='520' viewBox='0 0 800 520'><defs><linearGradient id='a' x1='0' y1='0' x2='1' y2='1'><stop offset='0' stop-color='%23131926'/><stop offset='1' stop-color='%231f2836'/></linearGradient></defs><rect width='800' height='520' fill='url(%23a)'/><g stroke='%23222e40' stroke-width='1' opacity='.8'><path d='M0 100h800M0 220h800M0 340h800M0 460h800M160 0v520M320 0v520M480 0v520M640 0v520'/></g><rect x='300' y='170' width='200' height='200' rx='10' fill='%231d2837' stroke='%23445772' stroke-width='2'/><rect x='335' y='205' width='130' height='130' rx='6' fill='none' stroke='%23324460' stroke-width='2'/><g fill='none' stroke='%2342536b' stroke-width='3' stroke-linecap='round'><path d='M300 210h-90M300 250h-90M300 290h-90M300 330h-90M500 210h90M500 250h90M500 290h90M500 330h90M350 170v-80M400 170v-80M450 170v-80M350 370v80M400 370v80M450 370v80'/></g><g fill='%23d0192a'><circle cx='200' cy='210' r='5'/><circle cx='200' cy='250' r='5'/><circle cx='200' cy='290' r='5'/><circle cx='200' cy='330' r='5'/><circle cx='600' cy='210' r='5'/><circle cx='600' cy='250' r='5'/><circle cx='600' cy='290' r='5'/><circle cx='600' cy='330' r='5'/></g><g fill='%2342536b'><circle cx='350' cy='82' r='5'/><circle cx='400' cy='82' r='5'/><circle cx='450' cy='82' r='5'/><circle cx='350' cy='458' r='5'/><circle cx='400' cy='458' r='5'/><circle cx='450' cy='458' r='5'/></g><text x='400' y='500' font-family='Arial,sans-serif' font-size='19' fill='%237c8aa0' text-anchor='middle'>半导体微纳结构 · 占位图</text></svg>"); }

/* ==========================================================================
   首页 Banner（工业设备大图 + 红色激光）
   ========================================================================== */
.hero { position: relative; min-height: 90vh; display: flex; align-items: center; color: #fff; padding: 120px 0 100px; overflow: hidden; background-color: #0d1219; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: 0; display: block; filter: brightness(1.16) contrast(1.06) saturate(1.12); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(100deg, rgba(8, 12, 19, .68) 0%, rgba(8, 12, 19, .42) 34%, rgba(8, 12, 19, .14) 62%, rgba(8, 12, 19, .02) 84%, rgba(8, 12, 19, 0) 100%); pointer-events: none; }
.hero-inner { position: relative; z-index: 2; max-width: 860px; }
.hero-tag, .hero h1, .hero-sub, .hero-meta { text-shadow: 0 2px 20px rgba(0, 0, 0, .8), 0 1px 3px rgba(0, 0, 0, .7); }
.hero-tag { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; letter-spacing: .3em; color: #e8ecf2; margin-bottom: 22px; }
.hero-tag::before { content: ""; width: 42px; height: 3px; background: var(--red); border-radius: 2px; }
.hero h1 { font-size: clamp(30px, 5vw, 54px); line-height: 1.28; font-weight: 800; letter-spacing: .01em; }
.hero h1 .bar { color: var(--red-light); font-weight: 400; padding: 0 6px; }
.hero-sub { margin-top: 18px; font-size: clamp(15px, 2.2vw, 21px); color: #d3dae4; letter-spacing: .08em; font-weight: 500; }
.hero-sub b { color: #fff; }
.hero-actions { margin-top: 38px; display: flex; gap: 16px; flex-wrap: wrap; }
.hero-meta { margin-top: 46px; display: flex; gap: 28px; flex-wrap: wrap; font-size: 13.5px; color: #9faebf; }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta i { width: 7px; height: 7px; background: var(--red); border-radius: 50%; flex: none; }

/* ---------- 子页面头部横幅 ---------- */
.page-hero { position: relative; color: #fff; padding: 88px 0 68px; background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='1600' height='800' viewBox='0 0 1600 800'><defs><linearGradient id='g' x1='0' y1='0' x2='1' y2='1'><stop offset='0' stop-color='%230d1219'/><stop offset='.5' stop-color='%23182230'/><stop offset='1' stop-color='%23202b3a'/></linearGradient></defs><rect width='1600' height='800' fill='url(%23g)'/><g stroke='%23212d3e' stroke-width='1' opacity='.7'><path d='M0 100h1600M0 200h1600M0 300h1600M0 400h1600M0 500h1600M0 600h1600M0 700h1600M100 0v800M200 0v800M300 0v800M400 0v800M500 0v800M600 0v800M700 0v800M800 0v800M900 0v800M1000 0v800M1100 0v800M1200 0v800M1300 0v800M1400 0v800M1500 0v800'/></g><g fill='%23212c3c'><rect x='1010' y='470' width='420' height='230' rx='12'/><rect x='1070' y='380' width='300' height='100' rx='10'/></g><g fill='none' stroke='%233a4a61' stroke-width='2'><rect x='1010' y='470' width='420' height='230' rx='12'/><rect x='1070' y='380' width='300' height='100' rx='10'/></g><circle cx='1220' cy='330' r='26' fill='none' stroke='%23d0192a' stroke-width='3'/><circle cx='1220' cy='330' r='40' fill='none' stroke='%23d0192a' stroke-width='1.5' opacity='.5'/><g stroke-linecap='round'><line x1='1180' y1='90' x2='560' y2='770' stroke='%23d0192a' stroke-width='4' opacity='.85'/><line x1='1195' y1='70' x2='575' y2='790' stroke='%23ff5563' stroke-width='1.5' opacity='.6'/><line x1='1240' y1='60' x2='640' y2='800' stroke='%23d0192a' stroke-width='2' opacity='.5'/></g><ellipse cx='580' cy='760' rx='200' ry='22' fill='%23d0192a' opacity='.28'/><g fill='%23ff5563'><circle cx='580' cy='750' r='3'/><circle cx='610' cy='740' r='2'/><circle cx='555' cy='738' r='2'/></g><path d='M0 700h1600' fill='none' stroke='%23455670' stroke-width='2' opacity='.8'/></svg>") center 35% / cover no-repeat #0e131a; }
.page-hero--device { background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='1600' height='800' viewBox='0 0 1600 800'><defs><linearGradient id='a' x1='0' y1='0' x2='1' y2='1'><stop offset='0' stop-color='%23141a23'/><stop offset='1' stop-color='%23252f3e'/></linearGradient></defs><rect width='1600' height='800' fill='url(%23a)'/><g stroke='%232b3849' stroke-width='1' opacity='.6'><path d='M0 130h1600M0 260h1600M0 390h1600M0 520h1600M0 650h1600M200 0v800M400 0v800M600 0v800M800 0v800M1000 0v800M1200 0v800M1400 0v800'/></g><rect x='420' y='250' width='760' height='380' rx='16' fill='%232d3a4b' stroke='%2346566e' stroke-width='3'/><rect x='470' y='300' width='270' height='150' rx='8' fill='%231a222d' stroke='%233c4b60'/><rect x='500' y='330' width='180' height='12' rx='6' fill='%23d0192a'/><rect x='500' y='360' width='120' height='9' rx='4' fill='%23687a90'/><circle cx='1010' cy='370' r='55' fill='%231a222d' stroke='%233c4b60' stroke-width='3'/><circle cx='1010' cy='370' r='24' fill='none' stroke='%23d0192a' stroke-width='4'/><rect x='740' y='190' width='220' height='66' rx='10' fill='%233a4759' stroke='%234d5d76' stroke-width='3'/><rect x='838' y='256' width='24' height='250' fill='%23ff4d5a'/><rect x='826' y='256' width='48' height='250' fill='%23d0192a' opacity='.22'/><circle cx='850' cy='506' r='10' fill='%23ff7a85'/><rect x='620' y='502' width='440' height='40' rx='6' fill='%2318212c' stroke='%233c4b60' stroke-width='2'/><g stroke='%23d0192a' stroke-width='4' stroke-linecap='round'><path d='M660 522h40M730 522h40M800 522h40M870 522h40M940 522h20'/></g><text x='800' y='720' font-family='Arial,sans-serif' font-size='26' fill='%237c8aa0' text-anchor='middle'>精密激光微纳加工设备 · 占位图</text></svg>"); background-position: center; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9, 13, 19, .88) 0%, rgba(9, 13, 19, .5) 55%, rgba(9, 13, 19, .2) 100%); }

/* 区块背景：真实素材（应用案例 / 联系我们 / 产品种类） */
/* 应用案例：顶部横幅用掩膜版实拍；关于我们：用玻璃基微透镜阵列实拍 */
.page-hero--cases {
  background-image:
    linear-gradient(90deg, rgba(8,12,18,.84) 0%, rgba(8,12,18,.76) 30%, rgba(8,12,18,.54) 58%, rgba(8,12,18,.45) 80%, rgba(8,12,18,.60) 100%),
    url("../images/hero-cases.jpg");
  background-position: 0 0, center 42%;
  background-size: cover, cover;
  background-repeat: no-repeat, no-repeat;
  background-color: #0e131a;
}
.page-hero--contact {
  background-image: url("../images/bg-contact.jpg");
  background-position: center 42%;
  background-size: cover;
  background-repeat: no-repeat;
}
.page-hero--products {
  background-image: url("../images/products-hero-bg.jpg");
  background-position: center 45%;
  background-size: cover;
  background-repeat: no-repeat;
}
/* 联系页素材偏浅，加深遮罩保证白色标题与描述可读 */
.page-hero--contact::before {
  background: linear-gradient(90deg, rgba(9, 13, 19, .93) 0%, rgba(9, 13, 19, .8) 55%, rgba(9, 13, 19, .64) 100%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero .kicker { display: inline-block; color: var(--red-light); font-size: 13px; letter-spacing: .26em; font-weight: 700; margin-bottom: 12px; }
.page-hero h1, .page-hero h2 { font-size: clamp(26px, 4vw, 40px); font-weight: 800; }
.page-hero p { color: #c3ccd8; margin-top: 12px; max-width: 640px; }

/* 关于我们：头部横幅采用实拍原图（与联系我们页一致，几乎不加遮罩） */
.page-hero--about {
  background-image: url("../images/about-hero.jpg");
  background-position: center 45%;
  background-size: cover;
  background-repeat: no-repeat;
  background-color: #0e131a;
  color: #fff;
}
/* 仅保留极轻的左侧渐变，保证白色标题可读，照片原色不受影响 */
.page-hero--about::before {
  background: linear-gradient(90deg, rgba(9, 13, 19, .42) 0%, rgba(9, 13, 19, .22) 55%, rgba(9, 13, 19, .06) 100%);
}
.page-hero--about .kicker { color: var(--red-light); }
.page-hero--about p { color: #e2e7ee; }

/* ==========================================================================
   首页：简介
   ========================================================================== */
.intro { background: #fff; }
.intro-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.intro-media { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.intro-text .kicker { color: var(--red); font-weight: 700; font-size: 13px; letter-spacing: .24em; }
.intro-text h2 { font-size: clamp(24px, 3.4vw, 34px); margin: 10px 0 18px; line-height: 1.4; }
.intro-text p { color: var(--ink-2); margin-bottom: 14px; }
.check-list { margin-top: 22px; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); font-weight: 500; }
.check-list i { flex: none; width: 22px; height: 22px; border-radius: 6px; background: var(--red-bg); color: var(--red); display: inline-flex; align-items: center; justify-content: center; font-style: normal; font-size: 13px; font-weight: 800; margin-top: 4px; }

/* ==========================================================================
   核心数据卡片（白底 + 圆角 + 阴影 + 红色数字）
   ========================================================================== */
.stats { background: var(--bg); padding: 72px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 22px; }
.stat-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 34px 20px 30px; text-align: center; border-top: 3px solid transparent; transition: all .25s ease; }
.stat-card:hover { border-top-color: var(--red); transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.stat-num { font-size: clamp(32px, 3.8vw, 44px); font-weight: 800; color: var(--red); line-height: 1.15; letter-spacing: -.01em; }
.stat-num small { font-size: .55em; font-weight: 700; margin-left: 3px; }
.stat-label { color: var(--ink-2); font-size: 14.5px; margin-top: 8px; font-weight: 500; }

/* ==========================================================================
   产品服务（图标卡片）
   ========================================================================== */
.services { background: #fff; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(212px, 1fr)); gap: 22px; }
.svc-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 22px 30px; text-align: center; box-shadow: var(--shadow); transition: all .25s ease; }
.svc-card:hover { border-color: #f2bcc2; box-shadow: var(--shadow-hover); transform: translateY(-5px); }
.svc-icon { width: 60px; height: 60px; margin: 0 auto 18px; border-radius: 14px; background: var(--red-bg); display: flex; align-items: center; justify-content: center; color: var(--red); }
.svc-icon svg { width: 32px; height: 32px; }
.svc-card h3 { font-size: 17px; color: var(--ink); }
.svc-card p { font-size: 13.5px; color: var(--gray); margin-top: 9px; line-height: 1.7; }
/* 带要点列表的卡片：左对齐 */
.svc-card.is-list { text-align: left; padding: 26px 24px 24px; }
.svc-card.is-list .check-list { margin-top: 14px; gap: 10px; }
.svc-card.is-list .check-list li { font-size: 13.5px; }

/* ==========================================================================
   应用领域（标签 / 卡片）
   ========================================================================== */
.apps { background: var(--bg); }
.apps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.app-tag { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 22px 20px; display: flex; align-items: center; gap: 15px; box-shadow: var(--shadow); transition: all .22s ease; }
.app-tag:hover { border-color: #f2bcc2; transform: translateY(-3px); }
.app-ico { flex: none; width: 46px; height: 46px; border-radius: 11px; background: var(--red-bg); color: var(--red); display: flex; align-items: center; justify-content: center; }
.app-ico svg { width: 25px; height: 25px; }
.app-tag h3 { font-size: 15.5px; color: var(--ink); line-height: 1.4; }
.app-tag span { font-size: 12px; color: var(--gray); display: block; letter-spacing: .08em; }

/* ==========================================================================
   底部联系入口（红色横幅）
   ========================================================================== */
.cta-band { background: linear-gradient(120deg, #b3121f 0%, #d0192a 55%, #e52536 100%); color: #fff; padding: 64px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-inner h2 { font-size: clamp(22px, 3.2vw, 30px); font-weight: 800; }
.cta-inner p { margin-top: 8px; color: rgba(255, 255, 255, .85); }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-white { background: #fff; color: var(--red); }
.btn-white:hover { background: #fdf0f1; transform: translateY(-2px); }
.btn-line { border-color: rgba(255, 255, 255, .6); color: #fff; }
.btn-line:hover { background: rgba(255, 255, 255, .14); border-color: #fff; }
/* 首页 CTA「在线咨询」：深色实心，与白色「联系我们」形成一深一浅的层次 */
.btn-dark { background: #0d1219; color: #fff; border-color: #0d1219; box-shadow: 0 8px 20px rgba(0, 0, 0, .28); }
.btn-dark:hover { background: #1b2634; border-color: #1b2634; transform: translateY(-2px); }

/* ==========================================================================
   产品服务页：白底卡片（左红色图标 + 右标题说明）
   ========================================================================== */
.pd-list { display: grid; gap: 26px; }
.pd-card { display: grid; grid-template-columns: 168px 1fr; gap: 30px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); transition: all .25s ease; align-items: start; }
.pd-card:hover { border-color: #f2bcc2; box-shadow: var(--shadow-hover); }
.pd-icon { width: 168px; aspect-ratio: 1 / 1; border-radius: 14px; background: var(--red-bg); color: var(--red); display: flex; align-items: center; justify-content: center; }
.pd-icon svg { width: 76px; height: 76px; }
.pd-body h3 { font-size: 20px; color: var(--ink); display: flex; align-items: center; gap: 12px; }
.pd-body h3 .no { font-size: 13px; font-weight: 800; color: var(--red); background: var(--red-bg); border-radius: 7px; padding: 2px 10px; letter-spacing: .05em; }
.pd-body p { color: var(--ink-2); margin-top: 12px; }
.pd-tags { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.pd-tags span { font-size: 12.5px; color: var(--gray); background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 4px 14px; }
.pd-more { margin-top: 20px; }

/* ==========================================================================
   关于我们页
   ========================================================================== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.about-media { aspect-ratio: 4 / 3; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; background: #161d28; }
.about-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.about-text h2 { font-size: clamp(22px, 3vw, 30px); margin: 10px 0 16px; }
.about-text p { color: var(--ink-2); margin-bottom: 14px; }
.kicker { color: var(--red); font-weight: 700; font-size: 13px; letter-spacing: .24em; }
.vision-card { background: #fff; border-left: 4px solid var(--red); border-radius: 0 var(--radius) var(--radius) 0; box-shadow: var(--shadow); padding: 30px 34px; }
.vision-card h3 { color: var(--ink); font-size: 18px; margin-bottom: 8px; }
.vision-card p { color: var(--ink-2); }
.value-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; }
.value-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow); }
.value-card .num { font-size: 15px; font-weight: 800; color: var(--red); letter-spacing: .1em; }
.value-card h3 { margin: 8px 0 8px; font-size: 17px; }
.value-card p { font-size: 14px; color: var(--gray); }

/* ==========================================================================
   应用案例页（卡片化）
   ========================================================================== */
.case-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); gap: 26px; }
.case-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: all .25s ease; display: flex; flex-direction: column; }
.case-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.case-img { aspect-ratio: 16 / 10; overflow: hidden; background: #0d1219; }
.case-img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.case-card:hover .case-img img { transform: scale(1.04); }
.case-body { padding: 26px 24px 28px; flex: 1; display: flex; flex-direction: column; }
.case-body h3 { font-size: 19px; color: var(--ink); }
.case-badge { display: inline-block; align-self: flex-start; font-size: 12px; font-weight: 700; color: var(--red); background: var(--red-bg); border-radius: 999px; padding: 3px 14px; margin-bottom: 12px; letter-spacing: .05em; }
.case-meta { margin-top: 16px; border-top: 1px dashed var(--line); padding-top: 6px; }
.case-meta .row { display: flex; gap: 12px; padding: 8px 0; font-size: 14px; color: var(--ink-2); line-height: 1.65; }
.case-meta b { flex: none; color: var(--red); font-weight: 700; }

/* 应用案例：分类导航与分区标题 */
.case-nav { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 36px; }
.case-nav a {
  font-size: 14px; font-weight: 600; color: var(--ink-2); background: #fff;
  border: 1px solid var(--line); border-radius: 999px; padding: 8px 18px;
  transition: color .18s ease, border-color .18s ease, background .18s ease;
}
.case-nav a:hover { color: var(--red); border-color: var(--red); background: var(--red-bg); }
.case-section { margin: 0 0 54px; scroll-margin-top: 100px; }
.case-cat {
  display: flex; align-items: baseline; gap: 14px;
  padding-bottom: 14px; margin-bottom: 24px; border-bottom: 2px solid var(--line);
}
.case-cat .num { font-size: 13px; font-weight: 700; color: var(--red); letter-spacing: .06em; }
.case-cat h2 { font-size: clamp(20px, 2.4vw, 25px); margin: 0; }
.case-cat em {
  font-style: normal; font-size: 12.5px; letter-spacing: .14em;
  color: var(--gray); text-transform: uppercase;
}
@media (max-width: 768px) {
  .case-nav a { font-size: 13px; padding: 7px 14px; }
  .case-section { margin-bottom: 38px; }
  .case-cat { gap: 10px; }
}

/* ==========================================================================
   联系我们页
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 28px; align-items: start; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 34px 30px; }
.contact-card h3 { font-size: 20px; color: var(--ink); margin-bottom: 22px; padding-left: 14px; border-left: 4px solid var(--red); line-height: 1.3; }
.info-item { display: flex; gap: 16px; margin-bottom: 20px; }
.info-item:last-child { margin-bottom: 0; }
.info-ico { flex: none; width: 46px; height: 46px; border-radius: 11px; background: var(--red-bg); color: var(--red); display: flex; align-items: center; justify-content: center; }
.info-ico svg { width: 24px; height: 24px; }
.info-item h4 { font-size: 15px; color: var(--ink); }
.info-item p { font-size: 14px; color: var(--gray); margin-top: 2px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; color: var(--ink-2); margin-bottom: 7px; }
.form-group label em { color: var(--red); font-style: normal; margin-left: 2px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; border: 1px solid var(--line); border-radius: 9px; padding: 12px 14px; font: inherit; font-size: 14.5px; color: var(--ink); background: #fafbfc; transition: border-color .2s ease, box-shadow .2s ease; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(208, 25, 42, .1); background: #fff; }
.form-group textarea { resize: vertical; min-height: 120px; }
.btn-submit { width: 100%; }

/* 字段标签行 + 一键粘贴按钮 */
.form-label-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 7px; }
.form-label-row label { margin-bottom: 0; }
.paste-btn { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; font: inherit; font-size: 12.5px; font-weight: 600; color: var(--red); background: var(--red-bg); border: 1px solid rgba(208, 25, 42, .18); border-radius: 999px; cursor: pointer; transition: color .18s ease, background .18s ease, border-color .18s ease; }
.paste-btn svg { width: 14px; height: 14px; }
.paste-btn:hover { color: #fff; background: var(--red); border-color: var(--red); }
.paste-btn.is-error { color: var(--ink-2); background: #fff; border-color: var(--line); }

/* 产品子页 · 仿真效果图集 */
.sim-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; margin: 18px 0 6px; }
.sim-gallery figure { margin: 0; padding: 12px; background: #fafbfc; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); cursor: zoom-in; transition: transform .2s ease, box-shadow .2s ease; }
.sim-gallery figure:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.sim-gallery img { display: block; width: 100%; height: auto; border-radius: 8px; background: #fff; }
.sim-gallery figcaption { margin-top: 10px; font-size: 13px; line-height: 1.6; color: var(--gray); text-align: center; }
.sim-note { margin-top: 10px; font-size: 13px; line-height: 1.7; color: var(--gray); }
.form-msg { display: none; margin-top: 14px; padding: 12px 16px; border-radius: 9px; background: var(--bg); color: var(--ink-2); border: 1px solid var(--line); font-size: 14px; }
.form-msg.show { display: block; }
/* main.js 会附加 .success / .error，此前未定义 -> 错误提示也显示成绿色 */
.form-msg.success { background: #eaf7ee; color: #1d7a3a; border-color: #bfe5cc; }
.form-msg.error   { background: #fdeef0; color: #b3152a; border-color: #f5c2ca; }
/* 剪贴板自动复制失败时的兜底面板（main.js 动态插入） */
.copy-fallback { margin-top: 12px; }
.copy-fallback-tip { font-size: 13px; line-height: 1.6; color: var(--ink-2); margin-bottom: 8px; }
.copy-fallback-text { display: block; width: 100%; box-sizing: border-box; padding: 12px 14px; margin-bottom: 12px; border: 1px solid var(--line); border-radius: 9px; background: var(--bg); color: var(--ink); font: inherit; font-size: 14px; line-height: 1.8; resize: vertical; }
.copy-fallback-text:focus { outline: none; border-color: var(--red); background: #fff; }
.copy-fallback-go { display: flex; width: 100%; text-decoration: none; }

/* ==========================================================================
   页脚
   ========================================================================== */
.site-footer { background: #161c26; color: #9aa5b5; padding: 60px 0 0; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr; gap: 44px; padding-bottom: 44px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-brand .logo-mark { box-shadow: none; }
.footer-brand strong { color: #fff; font-size: 17px; display: block; line-height: 1.3; }
.footer-brand em { font-style: normal; font-size: 10.5px; letter-spacing: .18em; color: #6f7c8e; }
.site-footer h4 { color: #fff; font-size: 15.5px; margin-bottom: 18px; letter-spacing: .05em; }
.footer-desc { color: #8b97a8; line-height: 1.85; }
.footer-links a { display: block; padding: 5px 0; color: #9aa5b5; transition: color .18s ease; }
.footer-links a:hover { color: var(--red-light); }
.footer-contact li { display: flex; gap: 10px; padding: 5px 0; color: #9aa5b5; }
.footer-contact b { color: #c6cfda; font-weight: 600; flex: none; }
.footer-bottom { border-top: 1px solid #262f3d; padding: 20px 0; text-align: center; font-size: 13px; color: #7d8a9c; }
.footer-bottom a { color: #8b97a8; transition: color .18s ease; }
.footer-bottom a:hover { color: var(--red-light); }


/* ==========================================================================
   在线咨询悬浮按钮（红色）+ 白色弹窗
   ========================================================================== */
.consult-fab { position: fixed; right: 22px; bottom: 28px; z-index: 200; width: 60px; height: 60px; border-radius: 50%; background: var(--red); color: #fff; border: none; box-shadow: 0 10px 26px rgba(208, 25, 42, .45); cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 12px; font-weight: 600; letter-spacing: .04em; transition: all .22s ease; }
.consult-fab:hover { background: var(--red-dark); transform: translateY(-3px); }
.consult-fab svg { width: 22px; height: 22px; }
.consult-modal { position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center; background: rgba(12, 17, 25, .58); padding: 20px; }
.consult-modal.open { display: flex; }
.consult-panel { background: #fff; border-radius: 16px; width: min(420px, 100%); padding: 34px 30px 30px; box-shadow: 0 30px 70px rgba(10, 15, 25, .35); position: relative; }
.consult-panel h3 { font-size: 20px; color: var(--ink); padding-left: 14px; border-left: 4px solid var(--red); margin-bottom: 8px; }
.consult-panel > p { color: var(--gray); font-size: 14px; margin-bottom: 20px; }
.consult-close { position: absolute; top: 14px; right: 16px; width: 34px; height: 34px; border: none; background: var(--bg); border-radius: 50%; color: var(--gray); font-size: 17px; cursor: pointer; transition: all .2s ease; }
.consult-close:hover { background: var(--red-bg); color: var(--red); }
.consult-list li { display: flex; gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: 14.5px; color: var(--ink-2); }
.consult-list li:last-child { border-bottom: none; }
.consult-list b { flex: none; color: var(--red); font-weight: 700; }
.consult-panel .btn { width: 100%; margin-top: 20px; }

/* ==========================================================================
   响应式适配
   ========================================================================== */
@media (max-width: 980px) {
  .intro-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .pd-card { grid-template-columns: 120px 1fr; gap: 22px; }
  .pd-icon { width: 120px; }
  .pd-icon svg { width: 54px; height: 54px; }
}

@media (max-width: 768px) {
  section { padding: 56px 0; }
  .hero { min-height: 72vh; padding: 90px 0 76px; }
  .nav-toggle { display: block; }
  .nav { position: absolute; top: 76px; left: -4.5%; right: -4.5%; background: #fff; flex-direction: column; gap: 2px; padding: 10px 4.5% 16px; box-shadow: 0 18px 30px rgba(20, 28, 42, .14); border-top: 1px solid var(--line); display: none; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 12px; }
  .nav a.active { background: var(--red-bg); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .stat-card { padding: 26px 14px 24px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .cta-inner { flex-direction: column; text-align: center; }
  .pd-card { grid-template-columns: 1fr; text-align: left; }
  .pd-icon { width: 76px; }
  .pd-icon svg { width: 40px; height: 40px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .consult-fab { right: 16px; bottom: 20px; }
}

@media (max-width: 480px) {
  section { padding: 44px 0; }
  .container { width: 94%; }
  .stats-grid { grid-template-columns: 1fr; gap: 12px; }
  .stat-card { padding: 22px 16px 20px; }
  .hero { min-height: 64vh; padding: 80px 0 60px; }
  .hero h1 { font-size: 28px; line-height: 1.32; }
  .hero-sub { font-size: 15px; margin-top: 14px; }
  .hero-actions { flex-direction: column; gap: 12px; margin-top: 30px; }
  .hero-actions .btn { width: 100%; padding: 12px 24px; }
  .hero-meta { gap: 16px; margin-top: 32px; font-size: 12.5px; }
  .cta-actions { flex-direction: column; width: 100%; }
  .cta-actions .btn { width: 100%; }
  .section-head { margin-bottom: 36px; }
  .section-head h2 { font-size: 24px; }
  .case-body { padding: 22px 18px 24px; }
  .case-body h3 { font-size: 17px; }
  .contact-card { padding: 24px 18px; }
  .info-item { gap: 12px; margin-bottom: 16px; }
  .info-ico { width: 40px; height: 40px; }
  .info-ico svg { width: 20px; height: 20px; }
  .info-item h4 { font-size: 14px; }
  .info-item p { font-size: 13px; word-break: break-all; }
  .nav-wrap { height: 64px; }
  .logo-mark { width: 40px; height: 40px; font-size: 14px; }
  .logo-text strong { font-size: 15px; }
  .logo-text em { font-size: 9.5px; }
  .nav { top: 64px; }
  .consult-fab { width: 54px; height: 54px; right: 14px; bottom: 16px; font-size: 10px; }
  .consult-panel { padding: 26px 22px 24px; }
  .site-footer { padding: 44px 0 0; }
  .footer-bottom { padding: 16px 0; font-size: 12px; line-height: 1.7; }
  .footer-bottom a { display: inline-block; }
  .pd-card { padding: 22px 18px; gap: 18px; }
  .pd-icon { width: 64px; }
  .pd-icon svg { width: 34px; height: 34px; }
  .pd-body h3 { font-size: 17px; flex-wrap: wrap; }
  .vision-card { padding: 22px 20px; }
  .value-card { padding: 22px 18px; }
  .product-block-head { padding: 22px 22px 18px; gap: 12px; }
  .product-block-head .num { width: 36px; height: 36px; font-size: 13px; }
  .product-block-head h2 { font-size: 19px; }
  .product-block-body .text { padding: 22px 22px 24px; }
  .adv-list li { font-size: 14px; }
  .app-note { padding: 14px 16px; font-size: 13.5px; }
  .placeholder-img { min-height: 220px; }
  .microlens-visual { aspect-ratio: 16 / 11; }
  .microlens-info h3 { font-size: 18px; gap: 8px; flex-wrap: wrap; }
  .microlens-info h3 .ttl { font-size: 17px; }
  .microlens-info p { font-size: 14px; }
  .microlens-info .meta { gap: 8px; margin-top: 14px; }
  .microlens-info .meta span { font-size: 12px; padding: 3px 12px; }
  .footer-contact li { font-size: 13.5px; line-height: 1.7; word-break: break-all; }
  .footer-bottom { word-break: break-all; line-height: 1.8; }
  .footer-bottom a { margin: 0 2px; }
  .optics-title { font-size: 26px !important; }
  .optics-tag { font-size: 11.5px; padding: 4px 12px; }
  .intro-text h2 { font-size: 22px; }
  .page-hero h1, .page-hero h2 { font-size: 24px; }
  .page-hero { padding: 60px 0 50px; }
  .app-tag h3 { font-size: 14.5px; }
  .svc-card { padding: 26px 18px 24px; }
  .svc-card h3 { font-size: 16px; }
  .svc-card p { font-size: 13px; }
  .cta-band { padding: 48px 0; }
  .cta-inner h2 { font-size: 20px; }
  .cta-inner p { font-size: 14px; }
  .stats .stats-grid { gap: 12px; }
}

/* ==========================================================================

/* ==========================================================================
   产品应用页 - 板块（标题 + 优势列表 + 配图位置 + 应用介绍）
   ========================================================================== */
.product-block { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; margin-bottom: 36px; transition: box-shadow .25s ease; }
.product-block:hover { box-shadow: var(--shadow-hover); }
.product-block-head { display: flex; align-items: center; gap: 16px; padding: 30px 36px 22px; border-bottom: 1px solid var(--line); }
.product-block-head .num { background: var(--red); color: #fff; width: 42px; height: 42px; border-radius: 9px; display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 800; flex: none; }
.product-block-head h2 { font-size: clamp(22px, 2.6vw, 28px); color: var(--ink); line-height: 1.3; margin: 0; }
.product-block-head .pbh-title { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1; }
.product-block-head .en { font-size: 13px; color: var(--gray); letter-spacing: .04em; font-weight: 500; line-height: 1.4; }
.product-block-body { display: block; }
.product-block-body .text { padding: 30px 36px 34px; }
/* 产品图片：位于板块内容下方，通栏展示 */
.product-block-body .visual-bottom { position: relative; overflow: hidden; background: #161d28; }
.product-block-body .visual-bottom img { display: block; width: 100%; height: 420px; min-height: 260px; object-fit: cover; transition: transform .5s ease; }
.product-block-body .visual-bottom:hover img { transform: scale(1.04); }
@media (max-width: 880px) { .product-block-body .visual-bottom img { height: 240px; min-height: 180px; } }
.product-block.reverse .product-block-body .visual { order: -1; }
.adv-title { color: var(--red-dark); font-size: 13.5px; font-weight: 800; letter-spacing: .3em; margin-bottom: 16px; }
/* 板块内「点击查看详情」行动区 */
.block-cta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 2px 0 22px; }
.block-cta .btn { padding: 11px 26px; font-size: 14.5px; border-radius: 9px; }
.block-cta .cta-hint { font-size: 13px; color: var(--gray); letter-spacing: .02em; }
.adv-list, .basic-list { display: grid; gap: 10px; }
.adv-list li, .basic-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); font-size: 14.5px; line-height: 1.7; }
.adv-list li::before, .basic-list li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--red); margin-top: 10px; }
/* 基础知识：整段文字，字号更大、颜色比正文更深 */
.basic-text {
  color: #141a22; font-size: 17px; line-height: 1.95;
  margin-bottom: 22px; text-align: justify;
}
@media (max-width: 880px) { .basic-text { font-size: 15.5px; } }
/* 基础知识（要点列表形式）：同样放大字号、加深颜色 */
.basic-list { gap: 12px; }
.basic-list li { font-size: 17px; line-height: 1.9; color: #141a22; }
.basic-list li::before { width: 7px; height: 7px; margin-top: 12px; }
@media (max-width: 880px) {
  .basic-list li { font-size: 15.5px; }
  .basic-list li::before { margin-top: 11px; }
}

/* 参数表格：点击标题展开 / 收起 */
.spec-toggle {
  display: flex; align-items: center; gap: 9px;
  width: 100%; margin: 0 0 14px; padding: 0;
  border: 0; background: none; cursor: pointer;
  font: inherit; font-size: 13px; font-weight: 700; letter-spacing: .18em;
  color: var(--red); text-align: left;
}
.spec-toggle::after {
  content: ""; flex: none; width: 7px; height: 7px;
  border-right: 2px solid var(--red); border-bottom: 2px solid var(--red);
  transform: rotate(45deg); margin-top: -3px;
  transition: transform .3s ease, margin-top .3s ease;
}
.spec-toggle[aria-expanded="true"]::after { transform: rotate(-135deg); margin-top: 3px; }
.spec-toggle:hover { opacity: .72; }
.spec-panel { max-height: 0; overflow: hidden; transition: max-height .45s ease; }
.spec-panel.is-open { max-height: none; }
.spec-panel .spec-wrap { overflow-x: auto; }
.spec-block > .spec-wrap { overflow-x: auto; }

/* 参数系列标题：每个 h4 系列独立展开 / 收起 */
.spec-hint { font-size: 12.5px; color: var(--gray); margin: 0 0 12px; }
.spec-block .spec-toggle,
.spec-panel .spec-toggle {
  font-size: 15px; font-weight: 700; letter-spacing: .02em; line-height: 1.5;
  color: var(--ink); margin: 18px 0 10px; padding-left: 11px;
  border-left: 3px solid var(--red);
  transition: color .18s ease, border-color .18s ease;
}
.spec-block .spec-toggle:hover,
.spec-panel .spec-toggle:hover { opacity: 1; color: var(--red); }
.spec-block .spec-toggle::after,
.spec-panel .spec-toggle::after { border-color: #b9c0cc; }
.spec-block .spec-toggle[aria-expanded="true"]::after,
.spec-panel .spec-toggle[aria-expanded="true"]::after { border-color: var(--red); }
@media (max-width: 768px) {
  .spec-block .spec-toggle,
  .spec-panel .spec-toggle { font-size: 14px; }
}

/* 包含产品 / 应用场景：短标签横排胶囊（此前无样式，会渲染成零间距纯文本堆叠） */
.subitem-list, .scene-list { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.subitem-list li {
  font-size: 13.5px; line-height: 1.5; color: var(--ink);
  background: var(--bg); border: 1px solid var(--line);
  border-radius: 999px; padding: 5px 14px;
  transition: border-color .2s ease, color .2s ease;
}
.subitem-list li:hover { border-color: #f2bcc2; color: var(--red); }
.scene-list li {
  font-size: 13.5px; line-height: 1.5; color: var(--ink-2);
  background: var(--red-bg); border: 1px solid #f6d9dd;
  border-radius: 8px; padding: 5px 13px;
}
@media (max-width: 880px) {
  .subitem-list, .scene-list { gap: 8px; }
  .subitem-list li, .scene-list li { font-size: 12.5px; padding: 4px 11px; }
}

/* 参数表格 */
.spec-wrap { overflow-x: auto; margin-bottom: 22px; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.spec-table th, .spec-table td {
  border: 1px solid var(--line); padding: 10px 14px;
  text-align: left; line-height: 1.6; vertical-align: top;
}
.spec-table thead th {
  background: var(--red-bg); color: var(--ink);
  font-size: 13px; font-weight: 700; letter-spacing: .06em; white-space: nowrap;
}
.spec-table tbody th {
  background: var(--bg); color: var(--ink);
  font-weight: 600; width: 38%; white-space: nowrap;
}
.spec-table td { color: var(--ink-2); }
.spec-table tbody tr:hover th,
.spec-table tbody tr:hover td { background: #fff7f8; }
@media (max-width: 880px) {
  .spec-table { font-size: 13px; }
  .spec-table th, .spec-table td { padding: 8px 10px; }
  .spec-table tbody th { width: 44%; }
}
.app-note { margin-top: 24px; padding: 16px 20px; background: var(--red-bg); border-left: 3px solid var(--red); border-radius: 0 8px 8px 0; color: var(--ink-2); font-size: 14px; }
.app-note strong { color: var(--ink); display: block; margin-bottom: 6px; font-size: 13.5px; letter-spacing: .1em; }

@media (max-width: 880px) {
  .product-block-body .visual-bottom { min-height: 240px; }
  .product-block-head, .product-block-body .text { padding-left: 24px; padding-right: 24px; }
  .pd-hero .thumb img { height: 240px; }
  .pd-blue { position: static; width: auto; margin: -30px 14px 0; padding: 20px 20px; }
  .pd-blue h2 { font-size: 16px; }
}

/* 可点击放大的配图容器 */
.js-lightbox { cursor: zoom-in; }

/* 占位图（4 个产品板块使用不同占位场景） */
.placeholder-img { width: 100%; height: 100%; min-height: 360px; background-size: cover; background-position: center; background-repeat: no-repeat; background-color: #161d28; position: relative; display: flex; align-items: center; justify-content: center; }
.placeholder-img::after { content: attr(data-label); color: #6b7c93; font-size: 14px; letter-spacing: .14em; font-family: var(--font); padding: 8px 18px; background: rgba(10, 15, 25, .55); border-radius: 999px; backdrop-filter: blur(4px); }
.product-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.ph-tgv { background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='800' height='600' viewBox='0 0 800 600'><defs><linearGradient id='a' x1='0' y1='0' x2='0' y2='1'><stop offset='0' stop-color='%23141a23'/><stop offset='1' stop-color='%23253040'/></linearGradient></defs><rect width='800' height='600' fill='url(%23a)'/><g stroke='%23243648' stroke-width='1' opacity='.7'><path d='M0 100h800M0 200h800M0 300h800M0 400h800M0 500h800M120 0v600M280 0v600M440 0v600M600 0v600M760 0v600'/></g><rect x='100' y='180' width='600' height='240' rx='8' fill='%232a3548' stroke='%2342536b' stroke-width='2'/><rect x='100' y='178' width='600' height='6' fill='%2342536b'/><rect x='100' y='416' width='600' height='6' fill='%2342536b'/><g><circle cx='200' cy='300' r='22' fill='%230e131a' stroke='%23d0192a' stroke-width='3'/><rect x='196' y='178' width='8' height='244' fill='%23d0192a' opacity='.7'/><rect x='196' y='178' width='8' height='244' fill='%23ff4d5a' opacity='.25'/><circle cx='200' cy='178' r='6' fill='%23ff7a85'/><circle cx='200' cy='422' r='6' fill='%23ff7a85'/></g><g><circle cx='320' cy='300' r='22' fill='%230e131a' stroke='%23d0192a' stroke-width='3'/><rect x='316' y='178' width='8' height='244' fill='%23d0192a' opacity='.7'/><circle cx='320' cy='178' r='6' fill='%23ff7a85'/><circle cx='320' cy='422' r='6' fill='%23ff7a85'/></g><g><circle cx='440' cy='300' r='22' fill='%230e131a' stroke='%23d0192a' stroke-width='3'/><rect x='436' y='178' width='8' height='244' fill='%23d0192a' opacity='.7'/><circle cx='440' cy='178' r='6' fill='%23ff7a85'/><circle cx='440' cy='422' r='6' fill='%23ff7a85'/></g><g><circle cx='560' cy='300' r='22' fill='%230e131a' stroke='%23d0192a' stroke-width='3'/><rect x='556' y='178' width='8' height='244' fill='%23d0192a' opacity='.7'/><circle cx='560' cy='178' r='6' fill='%23ff7a85'/><circle cx='560' cy='422' r='6' fill='%23ff7a85'/></g><g><circle cx='620' cy='300' r='18' fill='%230e131a' stroke='%23ff4d5a' stroke-width='2'/><rect x='617' y='178' width='6' height='244' fill='%23ff4d5a' opacity='.6'/></g><text x='400' y='500' font-family='Arial,sans-serif' font-size='20' fill='%237c8aa0' text-anchor='middle'>TGV 玻璃通孔截面示意图 · 占位图</text></svg>"); }
.ph-substrate { background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='800' height='600' viewBox='0 0 800 600'><defs><linearGradient id='a' x1='0' y1='0' x2='1' y2='1'><stop offset='0' stop-color='%23141a23'/><stop offset='1' stop-color='%23253040'/></linearGradient></defs><rect width='800' height='600' fill='url(%23a)'/><g stroke='%23243648' stroke-width='1' opacity='.7'><path d='M0 100h800M0 220h800M0 340h800M0 460h800M0 540h800M120 0v600M280 0v600M440 0v600M600 0v600M720 0v600'/></g><rect x='80' y='200' width='640' height='280' rx='6' fill='%23223040' stroke='%2346566e' stroke-width='2'/><rect x='160' y='150' width='120' height='50' rx='4' fill='%231a222d' stroke='%23d0192a' stroke-width='2'/><rect x='400' y='150' width='120' height='50' rx='4' fill='%231a222d' stroke='%23d0192a' stroke-width='2'/><rect x='560' y='150' width='90' height='50' rx='4' fill='%231a222d' stroke='%23d0192a' stroke-width='2'/><g fill='none' stroke='%23d0192a' stroke-width='2.5'><path d='M220 200v20M460 200v20M605 200v20'/><path d='M180 220h80M420 220h80M580 220h50'/></g><g fill='none' stroke='%23ff4d5a' stroke-width='2' opacity='.85'><path d='M120 360h60l40-30h80l60 30h80l40-30h60l40 30h60M120 400h60l40 30h80l60-30h80l40 30h60l40-30h60'/></g><g fill='%23d0192a'><circle cx='150' cy='240' r='4'/><circle cx='150' cy='440' r='4'/><circle cx='650' cy='240' r='4'/><circle cx='650' cy='440' r='4'/></g><text x='400' y='540' font-family='Arial,sans-serif' font-size='20' fill='%237c8aa0' text-anchor='middle'>玻璃基芯片封装载板 · 占位图</text></svg>"); }
.ph-cpo { background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='800' height='600' viewBox='0 0 800 600'><defs><linearGradient id='a' x1='0' y1='0' x2='1' y2='1'><stop offset='0' stop-color='%23141a23'/><stop offset='1' stop-color='%23253040'/></linearGradient></defs><rect width='800' height='600' fill='url(%23a)'/><g stroke='%23243648' stroke-width='1' opacity='.7'><path d='M0 100h800M0 200h800M0 300h800M0 400h800M0 500h800M120 0v600M280 0v600M440 0v600M600 0v600M720 0v600'/></g><rect x='160' y='180' width='480' height='240' rx='10' fill='%23223040' stroke='%2346566e' stroke-width='2'/><g fill='none' stroke='%23d0192a' stroke-width='3' stroke-linecap='round'><path d='M170 230h420M170 270h160l40-30h60l40 30h120M170 310h140l40 30h80l40-30h120M170 350h160l40-30h60l40 30h120M170 390h420'/></g><g fill='none' stroke='%23ff4d5a' stroke-width='2.5' opacity='.9' stroke-linecap='round'><path d='M170 220v-30M590 220v-30'/><circle cx='170' cy='186' r='5' fill='%23ff4d5a' stroke='none'/><circle cx='590' cy='186' r='5' fill='%23ff4d5a' stroke='none'/></g><g><rect x='200' y='160' width='80' height='14' rx='3' fill='%23d0192a'/><rect x='520' y='160' width='80' height='14' rx='3' fill='%23d0192a'/><rect x='350' y='160' width='100' height='14' rx='3' fill='%23ff4d5a'/></g><g fill='%23d0192a'><circle cx='400' cy='300' r='8'/><circle cx='400' cy='300' r='14' fill='none' stroke='%23d0192a' stroke-width='2' opacity='.6'/><circle cx='400' cy='300' r='22' fill='none' stroke='%23d0192a' stroke-width='1.5' opacity='.35'/></g><text x='400' y='500' font-family='Arial,sans-serif' font-size='20' fill='%237c8aa0' text-anchor='middle'>CPO 光电共封装 · 占位图</text></svg>"); }
.ph-micro { background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='800' height='600' viewBox='0 0 800 600'><defs><linearGradient id='a' x1='0' y1='0' x2='0' y2='1'><stop offset='0' stop-color='%23141a23'/><stop offset='1' stop-color='%23253040'/></linearGradient></defs><rect width='800' height='600' fill='url(%23a)'/><g stroke='%23243648' stroke-width='1' opacity='.7'><path d='M0 100h800M0 220h800M0 340h800M0 460h800M0 540h800M120 0v600M280 0v600M440 0v600M600 0v600M720 0v600'/></g><rect x='80' y='180' width='640' height='240' rx='6' fill='%23223040' stroke='%2346566e' stroke-width='2'/><g fill='none' stroke='%23d0192a' stroke-width='3' stroke-linejoin='round'><path d='M120 230h80l40-30h60l40 30h60l40-30h60l40 30h60l40-30h60M120 290h60l40 30h60l40-30h60l40 30h60l40-30h60l40 30h60M120 350h80l40-30h60l40 30h60l40-30h60l40 30h60l40-30h60'/></g><g fill='%23d0192a'><circle cx='200' cy='230' r='7'/><circle cx='340' cy='200' r='6'/><circle cx='480' cy='230' r='7'/><circle cx='620' cy='200' r='6'/><circle cx='200' cy='350' r='7'/><circle cx='340' cy='380' r='6'/><circle cx='480' cy='350' r='7'/><circle cx='620' cy='380' r='6'/><circle cx='180' cy='290' r='5'/><circle cx='300' cy='290' r='5'/><circle cx='420' cy='290' r='5'/><circle cx='540' cy='290' r='5'/><circle cx='660' cy='290' r='5'/></g><g fill='none' stroke='%23ff4d5a' stroke-width='2' opacity='.7' stroke-dasharray='4 3'><path d='M120 200h560M120 400h560'/></g><text x='400' y='490' font-family='Arial,sans-serif' font-size='20' fill='%237c8aa0' text-anchor='middle'>微流控芯片通道 · 占位图</text></svg>"); }

/* ==========================================================================
   光学微纳加工特色板块（大标题 + 微透镜单独成行 + DOE/玻璃基板/TGV 子项）
   ========================================================================== */
.optics-block { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 42px 38px 36px; box-shadow: var(--shadow); margin-bottom: 30px; position: relative; overflow: hidden; }
.optics-block::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: linear-gradient(180deg, var(--red), var(--red-light)); }
.optics-block-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.optics-block-head .left { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.optics-tag { background: var(--red); color: #fff; padding: 5px 14px; border-radius: 999px; font-size: 12.5px; font-weight: 700; letter-spacing: .2em; flex: none; }
.optics-title { font-size: clamp(28px, 3.8vw, 40px); font-weight: 800; color: var(--ink); line-height: 1.2; margin: 0; }
.optics-title em { font-style: normal; color: var(--red); }
.optics-subtitle { color: var(--gray); max-width: 520px; font-size: 14.5px; }
.optics-divider { height: 1px; background: var(--line); margin: 30px 0 28px; }

.microlens-hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 32px; align-items: center; }
.microlens-visual { aspect-ratio: 16 / 10; border-radius: 14px; background: linear-gradient(135deg, #0e131a 0%, #1c2535 50%, #283448 100%); position: relative; overflow: hidden; box-shadow: 0 10px 26px rgba(10, 15, 25, .18); }
.microlens-visual::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 30% 40%, rgba(208, 25, 42, .18), transparent 50%); pointer-events: none; }
.microlens-visual svg { width: 100%; height: 100%; display: block; }
.microlens-info h3 { font-size: 24px; color: var(--ink); display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.microlens-info h3 .no { font-size: 13px; font-weight: 800; color: var(--red); background: var(--red-bg); border-radius: 7px; padding: 3px 12px; letter-spacing: .05em; flex: none; }
.microlens-info h3 .ttl { font-size: 22px; line-height: 1.35; }
.microlens-info p { color: var(--ink-2); margin-top: 12px; font-size: 14.5px; line-height: 1.8; }
.microlens-info .meta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.microlens-info .meta span { font-size: 12.5px; color: var(--gray); background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 4px 14px; }

.optics-subgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.optics-sub { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 26px 22px; box-shadow: var(--shadow); transition: all .22s ease; }
.optics-sub:hover { border-color: #f2bcc2; transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.optics-sub .ico { width: 52px; height: 52px; background: var(--red-bg); color: var(--red); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.optics-sub .ico svg { width: 28px; height: 28px; }
.optics-sub h4 { font-size: 16.5px; color: var(--ink); }
.optics-sub p { font-size: 13.5px; color: var(--gray); margin-top: 6px; line-height: 1.7; }

@media (max-width: 980px) {
  .microlens-hero { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .optics-block { padding: 28px 22px 26px; }
  .optics-block-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .optics-subtitle { max-width: 100%; }
  .optics-subgrid { grid-template-columns: 1fr; }
  .optics-sub { padding: 22px 18px; }
}

/* ==========================================================================
   一级导航 - 「产品应用」悬浮下拉二级菜单
   ========================================================================== */
.nav-dropdown { position: relative; }
.nav-dropdown .nav-link {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 18px; font-size: 15px; font-weight: 500;
  color: var(--ink-2); border-radius: 8px; cursor: pointer;
  transition: color .18s ease, background .18s ease, box-shadow .18s ease;
}
.nav-dropdown .nav-link:hover,
.nav-dropdown:focus-within .nav-link,
.nav-dropdown.open .nav-link { color: var(--red); background: var(--red-bg); }
.nav-dropdown .nav-link.active { color: var(--red); font-weight: 700; }
.nav-dropdown .caret {
  width: 7px; height: 7px; flex: none;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform .22s ease; opacity: .6;
}
.nav-dropdown:hover .caret,
.nav-dropdown:focus-within .caret,
.nav-dropdown.open .caret { transform: translateY(1px) rotate(225deg); opacity: 1; }

.nav-dropdown .dropdown-menu {
  position: absolute; top: calc(100% + 2px); left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 300px; padding: 12px; display: grid; gap: 3px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 20px 46px rgba(24, 32, 46, .16);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .2s ease, transform .2s ease, visibility .2s; z-index: 120;
}
.nav-dropdown .dropdown-menu::before {
  content: ""; position: absolute; top: -6px; left: 50%;
  transform: translateX(-50%) rotate(45deg); width: 12px; height: 12px;
  background: #fff; border-top: 1px solid var(--line); border-left: 1px solid var(--line);
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu,
.nav-dropdown.open .dropdown-menu {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown .dropdown-menu a {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 14px; font-size: 14.5px; font-weight: 500;
  color: var(--ink-2); border-radius: 9px; white-space: nowrap;
  transition: color .16s ease, background .16s ease, padding-left .16s ease;
}
.nav-dropdown .dropdown-menu a::before {
  content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%;
  background: var(--red); opacity: .3;
  transition: opacity .16s ease, transform .16s ease;
}
.nav-dropdown .dropdown-menu a:hover { background: var(--red-bg); color: var(--red); padding-left: 18px; }
.nav-dropdown .dropdown-menu a:hover::before,
.nav-dropdown .dropdown-menu a.active::before { opacity: 1; transform: scale(1.15); }
.nav-dropdown .dropdown-menu a.active { color: var(--red); font-weight: 700; }

@media (max-width: 768px) {
  .nav-dropdown { width: 100%; }
  .nav-dropdown .nav-link { display: flex; justify-content: space-between; width: 100%; padding: 12px 12px; }
  .nav-dropdown .nav-link.active { background: var(--red-bg); }
  .nav-dropdown .caret { display: none; }
  .nav-dropdown .dropdown-menu {
    position: static; transform: none; min-width: 0; opacity: 1; visibility: visible;
    pointer-events: auto; box-shadow: none; border: none; background: transparent;
    border-radius: 0; padding: 2px 0 6px 16px; margin-left: 4px;
    border-left: 2px solid var(--red-bg);
  }
  .nav-dropdown .dropdown-menu::before { display: none; }
  .nav-dropdown .dropdown-menu a { padding: 10px 12px; font-size: 14px; white-space: normal; }
  .nav-dropdown .dropdown-menu a:hover { padding-left: 15px; }
}

/* ==========================================================================
   产品应用子页 - 统一模板（8 段）
   1 顶部 banner / 2 应用简介 / 3 可加工项目 / 4 样品图片
   5 技术参数 / 6 典型案例 / 7 适用材料 / 8 在线咨询 CTA
   ========================================================================== */

/* ---------- 1) 顶部 banner 横幅 ---------- */
.pp-banner {
  position: relative; overflow: hidden; color: #fff;
  padding: 118px 0 84px;
  background: linear-gradient(135deg, #2a0407 0%, #6b0d17 48%, #b3101f 100%);
}
.pp-banner::before {
  content: ""; position: absolute; inset: 0; opacity: .55;
  background-image: linear-gradient(rgba(255, 154, 162, .14) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 154, 162, .14) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 30% 50%, #000 30%, transparent 80%);
  mask-image: radial-gradient(ellipse at 30% 50%, #000 30%, transparent 80%);
}
.pp-banner::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 82% 26%, rgba(255, 90, 104, .38), transparent 52%),
              radial-gradient(circle at 18% 82%, rgba(107, 13, 23, .6), transparent 60%);
}
.pp-banner .container { position: relative; z-index: 2; }
.pp-banner .crumb { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255, 255, 255, .74); margin-bottom: 18px; }
.pp-banner .crumb a { color: rgba(255, 255, 255, .74); transition: color .18s ease; }
.pp-banner .crumb a:hover { color: #fff; }
.pp-banner .crumb span { opacity: .5; }
.pp-banner .kicker {
  display: inline-block; color: #ffb3bb; font-size: 12.5px; font-weight: 700;
  letter-spacing: .28em; margin-bottom: 14px; padding: 4px 14px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 154, 162, .38); border-radius: 999px;
}
.pp-banner h1 { font-size: clamp(28px, 4.4vw, 46px); font-weight: 800; line-height: 1.26; letter-spacing: .01em; max-width: 860px; }
.pp-banner h1 .accent { color: #ffc9cf; }
.pp-banner .desc { margin-top: 18px; max-width: 760px; color: rgba(255, 226, 230, .9); font-size: clamp(15px, 1.6vw, 17px); line-height: 1.85; }
.pp-banner .quick { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.pp-banner .quick span { display: inline-flex; align-items: center; gap: 7px; padding: 6px 14px; font-size: 13px; color: #ffe0e4; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 154, 162, .32); border-radius: 999px; }
.pp-banner .quick span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #ff9aa2; flex: none; }
.pp-banner-actions { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }
.pp-banner-actions a, .pp-banner-actions button { padding: 13px 32px; border-radius: 10px; font-size: 15px; font-weight: 600; font-family: inherit; cursor: pointer; border: 1px solid transparent; display: inline-flex; align-items: center; justify-content: center; transition: all .22s ease; }
.pp-banner-actions .btn-solid { background: #fff; color: var(--red); box-shadow: 0 12px 26px rgba(8, 8, 12, .28); }
.pp-banner-actions .btn-solid:hover { background: #ffe3e6; transform: translateY(-2px); }
.pp-banner-actions .btn-line { color: #fff; border: 1px solid rgba(255, 255, 255, .5); }
.pp-banner-actions .btn-line:hover { background: rgba(255, 255, 255, .14); border-color: #fff; }

/* ---------- 通用板块标题（产品子页） ---------- */
.pp-sec .section-head h2::before,
.pp-intro h2::before {
  content: ""; display: block; width: 38px; height: 3px; border-radius: 2px;
  background: var(--red); margin: 0 auto 14px;
}
.pp-intro h2::before { margin: 0 0 14px; }

/* ---------- 2) 应用简介 ---------- */
.pp-intro { background: #fff; }
.pp-intro-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: start; }
.pp-intro h2 { font-size: clamp(24px, 3vw, 32px); color: var(--ink); margin-bottom: 18px; }
.pp-intro .lead { font-size: 16px; color: var(--ink-2); line-height: 1.9; margin-bottom: 16px; }
.pp-intro p { color: var(--ink-2); line-height: 1.9; margin-bottom: 14px; }
.pp-features { margin-top: 20px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.pp-features li { display: flex; gap: 12px; padding: 15px 16px; background: var(--red-bg); border-radius: 10px; color: var(--ink-2); font-size: 14.5px; line-height: 1.6; }
.pp-features li i { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--red); color: #fff; font-style: normal; font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.pp-intro-side { position: sticky; top: 96px; padding: 28px 26px; border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: 14px; background: linear-gradient(160deg, var(--red-bg) 0%, #fff 62%); }
.pp-intro-side h4 { font-size: 16px; color: var(--ink); margin-bottom: 14px; }
.pp-intro-side .row { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; font-size: 14px; color: var(--ink-2); border-bottom: 1px dashed var(--line); }
.pp-intro-side .row:last-child { border-bottom: none; }
.pp-intro-side .row b { color: var(--red); font-weight: 700; }

/* ---------- 3) 可加工项目列表 ---------- */
.pp-items { background: var(--bg); }
.pp-items-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.pp-item { position: relative; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 28px 24px 26px; transition: all .22s ease; }
.pp-item::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.pp-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: #f2bcc2; }
.pp-item:hover::before { transform: scaleX(1); }
.pp-item .ico { width: 50px; height: 50px; border-radius: 12px; background: var(--red-bg); color: var(--red); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.pp-item .ico svg { width: 26px; height: 26px; }
.pp-item h3 { font-size: 17px; color: var(--ink); margin-bottom: 8px; }
.pp-item p { font-size: 13.5px; color: var(--gray); line-height: 1.72; }
.pp-item .tag { display: inline-block; margin-top: 12px; padding: 3px 10px; font-size: 12px; font-weight: 600; color: var(--red); background: var(--red-bg); border-radius: 999px; }

/* ---------- 4) 样品图片展示区 ---------- */
.pp-samples { background: #fff; }
.pp-samples-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.pp-sample { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); transition: all .22s ease; }
.pp-sample:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.pp-sample .img { position: relative; aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #2a0407 0%, #a30d1c 100%); }
.pp-sample .img::before { content: ""; position: absolute; inset: 0; opacity: .5; background-image: linear-gradient(rgba(255, 154, 162, .14) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 154, 162, .14) 1px, transparent 1px); background-size: 36px 36px; }
.pp-sample .img span { position: relative; color: #ffb3bb; font-size: 12.5px; letter-spacing: .14em; padding: 6px 16px; background: rgba(10, 5, 8, .5); border-radius: 999px; }
.pp-sample .caption { padding: 18px 20px 20px; }
.pp-sample .caption h4 { font-size: 15.5px; color: var(--ink); margin-bottom: 6px; }
.pp-sample .caption p { font-size: 13px; color: var(--gray); line-height: 1.7; }

/* ---------- 5) 技术参数表格 ---------- */
.pp-params { background: var(--bg); }
.pp-params-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
.pp-params-table th, .pp-params-table td { padding: 16px 24px; text-align: left; font-size: 14.5px; }
.pp-params-table thead th { background: linear-gradient(90deg, var(--red) 0%, var(--red-dark) 100%); color: #fff; font-weight: 700; font-size: 14px; letter-spacing: .04em; }
.pp-params-table tbody tr { border-bottom: 1px solid var(--line); transition: background .18s ease; }
.pp-params-table tbody tr:last-child { border-bottom: none; }
.pp-params-table tbody tr:hover { background: #fdf6f7; }
.pp-params-table tbody th { width: 30%; font-weight: 600; color: var(--ink); background: var(--red-bg); }
.pp-params-table tbody td { color: var(--ink-2); }
.pp-params-note { margin-top: 18px; padding: 14px 18px; background: #fff; border: 1px dashed #f2bcc2; border-radius: 10px; color: var(--gray); font-size: 13.5px; line-height: 1.72; }
.pp-params-note b { color: var(--red); }

/* ---------- 6) 典型案例 ---------- */
.pp-cases { background: #fff; }
.pp-cases-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); gap: 26px; }
.pp-case-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); transition: all .25s ease; }
.pp-case-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); border-color: #f2bcc2; }
.pp-case-card .visual { position: relative; aspect-ratio: 16 / 9; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #2a0407 0%, #b3101f 100%); }
.pp-case-card .visual::before { content: ""; position: absolute; inset: 0; opacity: .6; background-image: linear-gradient(rgba(255, 154, 162, .16) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 154, 162, .16) 1px, transparent 1px); background-size: 40px 40px; }
.pp-case-card .visual span { position: relative; color: #ffb3bb; font-size: 12.5px; letter-spacing: .12em; padding: 6px 18px; background: rgba(10, 5, 8, .5); border-radius: 999px; }
.pp-case-card .body { flex: 1; display: flex; flex-direction: column; padding: 24px 24px 26px; }
.pp-case-card .badge { align-self: flex-start; padding: 3px 12px; margin-bottom: 12px; font-size: 12px; font-weight: 700; color: var(--red); background: var(--red-bg); border-radius: 999px; }
.pp-case-card h3 { font-size: 18px; color: var(--ink); margin-bottom: 10px; }
.pp-case-card p { font-size: 14px; color: var(--ink-2); line-height: 1.72; }
.pp-case-card .meta { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line); display: grid; gap: 7px; }
.pp-case-card .meta .row { display: flex; gap: 12px; font-size: 13.5px; color: var(--ink-2); }
.pp-case-card .meta b { flex: none; min-width: 72px; color: var(--red); font-weight: 700; }

/* ---------- 7) 适用材料 ---------- */
.pp-materials { background: var(--bg); }
.pp-materials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; }
.pp-material { padding: 22px 16px; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); transition: all .22s ease; }
.pp-material:hover { transform: translateY(-3px); border-color: var(--red); box-shadow: 0 14px 30px rgba(208, 25, 42, .12); }
.pp-material .ico { width: 44px; height: 44px; margin: 0 auto 12px; border-radius: 50%; background: var(--red-bg); color: var(--red); display: flex; align-items: center; justify-content: center; }
.pp-material .ico svg { width: 22px; height: 22px; }
.pp-material h4 { font-size: 14.5px; color: var(--ink); margin-bottom: 4px; }
.pp-material p { font-size: 12px; color: var(--gray); letter-spacing: .04em; }

/* ---------- 8) 在线咨询 CTA ---------- */
.pp-cta { padding: 72px 0; color: #fff; background: linear-gradient(120deg, #6b0d17 0%, #b3101f 52%, #d0192a 100%); }
.pp-cta-inner { max-width: 720px; margin: 0 auto; text-align: center; }
.pp-cta h2 { font-size: clamp(24px, 3.4vw, 34px); font-weight: 800; }
.pp-cta p { margin-top: 12px; color: rgba(255, 226, 230, .92); }
.pp-cta-actions { margin-top: 28px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.pp-cta-actions a, .pp-cta-actions button { padding: 13px 32px; border-radius: 10px; font-size: 15px; font-weight: 600; font-family: inherit; cursor: pointer; border: 1px solid transparent; display: inline-flex; align-items: center; justify-content: center; transition: all .22s ease; }
.pp-cta-actions .btn-white { background: #fff; color: var(--red); }
.pp-cta-actions .btn-white:hover { background: #ffe3e6; transform: translateY(-2px); }
.pp-cta-actions .btn-outline-w { color: #fff; border-color: rgba(255, 255, 255, .55); background: transparent; }
.pp-cta-actions .btn-outline-w:hover { background: rgba(255, 255, 255, .14); border-color: #fff; }

/* ---------- 产品子页响应式 ---------- */
@media (max-width: 980px) {
  .pp-intro-grid { grid-template-columns: 1fr; gap: 34px; }
  .pp-intro-side { position: static; }
  .pp-features { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .pp-banner { padding: 92px 0 64px; }
  .pp-banner h1 { font-size: 26px; }
  .pp-params-table th, .pp-params-table td { padding: 12px 14px; font-size: 13.5px; }
  .pp-case-card .body { padding: 20px 18px 22px; }
  .pp-cta { padding: 56px 0; }
}
@media (max-width: 480px) {
  .pp-banner { padding: 80px 0 52px; }
  .pp-banner h1 { font-size: 24px; }
  .pp-banner .desc { font-size: 14.5px; }
  .pp-banner-actions { flex-direction: column; }
  .pp-banner-actions a, .pp-banner-actions button { width: 100%; }
  .pp-item { padding: 22px 18px 20px; }
  .pp-item h3 { font-size: 16px; }
  .pp-params-table { display: block; overflow-x: auto; white-space: nowrap; }
  .pp-params-table tbody th { width: auto; }
  .pp-material { padding: 18px 12px; }
  .pp-material h4 { font-size: 13.5px; }
  .pp-cta h2 { font-size: 22px; }
  .pp-cta-actions { flex-direction: column; }
  .pp-cta-actions a, .pp-cta-actions button { width: 100%; }
}

/* ==========================================================================
   补充：产品种类页（products.html）板块卡片化 / 服务流程 / 占位图
   ========================================================================== */

/* 产品板块：把每个 product-detail 区块收成一张白色卡片 */
.product-detail { background: var(--bg); padding: 0 0 34px; }
.stats + .product-detail { padding-top: 46px; }
.product-detail .container {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  box-shadow: var(--shadow); overflow: hidden;
}
.product-detail .product-block-head { padding: 30px 34px 20px; border-bottom: 1px solid var(--line); }
.product-detail .product-block-body .text { padding: 28px 34px 30px; }
.product-detail .product-block-body .visual { min-height: 340px; background: #161d28; }
.product-detail--alt .product-block-body .visual { order: -1; }
.product-block-head .sub { font-size: 13.5px; color: var(--gray); margin-top: 6px; font-weight: 400; }

/* 精简版数据卡片 */
.stats--compact { padding: 48px 0; }
.stats--compact .stat-card { padding: 26px 18px 22px; }

/* 服务流程（带序号计数器） */
.process { background: var(--bg); padding: 0 0 78px; }
.process-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(258px, 1fr)); gap: 20px; counter-reset: step; }
.process-list li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px 26px 26px; transition: all .22s ease; }
.process-list li:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: #f2bcc2; }
.process-list li::before {
  counter-increment: step; content: "0" counter(step);
  position: absolute; top: 20px; right: 24px; line-height: 1;
  font-size: 28px; font-weight: 800; color: var(--red-bg); letter-spacing: -.02em;
}
.process-list b { display: block; font-size: 16.5px; color: var(--ink); }
.process-list b::after { content: ""; display: block; width: 30px; height: 3px; border-radius: 2px; background: var(--red); margin: 10px 0 12px; }
.process-list span { display: block; font-size: 13.5px; color: var(--gray); line-height: 1.72; }

/* 联系我们页：左侧信息卡堆叠 */
.contact-side { display: grid; gap: 28px; align-content: start; }

/* 补充占位图（产品种类页使用） */
.ph-microlens { background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='800' height='600' viewBox='0 0 800 600'><defs><linearGradient id='a' x1='0' y1='0' x2='0' y2='1'><stop offset='0' stop-color='%23141a23'/><stop offset='1' stop-color='%23253040'/></linearGradient></defs><rect width='800' height='600' fill='url(%23a)'/><g stroke='%23243648' stroke-width='1' opacity='.7'><path d='M0 120h800M0 240h800M0 360h800M0 480h800M160 0v600M320 0v600M480 0v600M640 0v600'/></g><g fill='none' stroke='%23d0192a' stroke-width='2.5'><circle cx='200' cy='200' r='52'/><circle cx='400' cy='200' r='52'/><circle cx='600' cy='200' r='52'/><circle cx='200' cy='400' r='52'/><circle cx='400' cy='400' r='52'/><circle cx='600' cy='400' r='52'/></g><g fill='none' stroke='%23ff4d5a' stroke-width='1.6' opacity='.75'><circle cx='200' cy='200' r='30'/><circle cx='400' cy='200' r='30'/><circle cx='600' cy='200' r='30'/><circle cx='200' cy='400' r='30'/><circle cx='400' cy='400' r='30'/><circle cx='600' cy='400' r='30'/></g><g fill='%23ff7a85'><circle cx='200' cy='200' r='7'/><circle cx='400' cy='200' r='7'/><circle cx='600' cy='200' r='7'/><circle cx='200' cy='400' r='7'/><circle cx='400' cy='400' r='7'/><circle cx='600' cy='400' r='7'/></g><text x='400' y='520' font-family='Arial,sans-serif' font-size='20' fill='%237c8aa0' text-anchor='middle'>微透镜阵列 · 占位图</text></svg>"); }
.ph-doe { background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='800' height='600' viewBox='0 0 800 600'><defs><linearGradient id='a' x1='0' y1='0' x2='1' y2='1'><stop offset='0' stop-color='%23141a23'/><stop offset='1' stop-color='%23253040'/></linearGradient></defs><rect width='800' height='600' fill='url(%23a)'/><g stroke='%23243648' stroke-width='1' opacity='.7'><path d='M0 100h800M0 200h800M0 300h800M0 400h800M0 500h800M160 0v600M320 0v600M480 0v600M640 0v600'/></g><rect x='120' y='180' width='120' height='240' rx='8' fill='%232a3548' stroke='%2342536b' stroke-width='2'/><g fill='none' stroke='%23d0192a' stroke-width='3'><path d='M180 210v180'/><path d='M180 210c34 0 34 30 0 30'/><path d='M180 270c54 0 54 30 0 30'/><path d='M180 330c74 0 74 30 0 30'/></g><g stroke='%23ff4d5a' stroke-width='3' stroke-linecap='round'><path d='M300 250h430M300 300h430M300 350h430'/></g><g fill='%23ff7a85'><circle cx='740' cy='250' r='9'/><circle cx='740' cy='300' r='9'/><circle cx='740' cy='350' r='9'/></g><g fill='%23d0192a'><circle cx='640' cy='250' r='6'/><circle cx='640' cy='300' r='6'/><circle cx='640' cy='350' r='6'/></g><text x='400' y='520' font-family='Arial,sans-serif' font-size='20' fill='%237c8aa0' text-anchor='middle'>DOE 衍射光学元件 · 占位图</text></svg>"); }
.ph-maskless { background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='800' height='600' viewBox='0 0 800 600'><defs><linearGradient id='a' x1='0' y1='0' x2='0' y2='1'><stop offset='0' stop-color='%23141a23'/><stop offset='1' stop-color='%23253040'/></linearGradient></defs><rect width='800' height='600' fill='url(%23a)'/><g stroke='%23243648' stroke-width='1' opacity='.7'><path d='M0 120h800M0 240h800M0 360h800M0 480h800M160 0v600M320 0v600M480 0v600M640 0v600'/></g><rect x='360' y='80' width='80' height='70' rx='8' fill='%23344153' stroke='%23495b74' stroke-width='2'/><rect x='392' y='150' width='16' height='116' fill='%23d0192a' opacity='.85'/><path d='M400 266l-42 62h84z' fill='none' stroke='%23ff4d5a' stroke-width='3'/><rect x='140' y='392' width='520' height='92' rx='6' fill='%23223040' stroke='%2346566e' stroke-width='2'/><g fill='none' stroke='%23d0192a' stroke-width='3'><path d='M180 438h80M280 438h58M358 438h120M498 438h82'/></g><g fill='%23ff7a85'><circle cx='180' cy='438' r='6'/><circle cx='580' cy='438' r='6'/></g><text x='400' y='545' font-family='Arial,sans-serif' font-size='20' fill='%237c8aa0' text-anchor='middle'>无掩膜光刻直写 · 占位图</text></svg>"); }

@media (max-width: 980px) {
  .product-detail .product-block-head { padding: 26px 24px 18px; }
  .product-detail .product-block-body .text { padding: 24px 24px 26px; }
  .product-detail .product-block-body .visual { min-height: 260px; }
  .product-detail--alt .product-block-body .visual { order: 0; }
}
@media (max-width: 768px) {
  .process { padding: 0 0 56px; }
  .process-list { grid-template-columns: 1fr; }
  .process-list li { padding: 24px 20px 22px; }
  .process-list li::before { font-size: 24px; top: 16px; right: 18px; }
  .contact-side { gap: 20px; }
  .stats--compact { padding: 40px 0; }
}
@media (max-width: 480px) {
  .product-detail .product-block-head { padding: 22px 18px 16px; }
  .product-detail .product-block-body .text { padding: 20px 18px 22px; }
  .product-detail .product-block-body .visual { min-height: 210px; }
  .process-list b { font-size: 15.5px; }
}

/* ==========================================================================
   产品详情板块（产品子页：微透镜系列 / DOE / 玻璃基板）
   ========================================================================== */
.pp-detail { background: linear-gradient(180deg, #ffffff 0%, var(--bg) 100%); }

/* 关键指标概览条 */
.dt-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; margin-bottom: 46px; }
.dt-fact { padding: 22px 18px; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); }
.dt-fact b { display: block; font-size: 24px; font-weight: 800; color: var(--red); line-height: 1.15; letter-spacing: -.01em; }
.dt-fact span { display: block; margin-top: 7px; font-size: 13px; color: var(--gray); }

/* 图文详情 */
.dt-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 46px; align-items: start; margin-bottom: 54px; }
.dt-media { position: relative; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.dt-media .ph { aspect-ratio: 4 / 3; }
.dt-media .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 18px; font-size: 12.5px; line-height: 1.6; color: #ffd9dd; background: linear-gradient(180deg, rgba(10, 5, 8, 0) 0%, rgba(10, 5, 8, .84) 100%); }
.dt-text { display: grid; gap: 26px; }
.dt-block h3 { display: flex; align-items: center; gap: 10px; font-size: 18px; color: var(--ink); margin-bottom: 10px; }
.dt-block h3::before { content: ""; flex: none; width: 4px; height: 17px; border-radius: 2px; background: var(--red); }
.dt-block p { font-size: 14.5px; color: var(--ink-2); line-height: 1.9; }
.dt-list { margin-top: 14px; display: grid; gap: 9px; }
.dt-list li { position: relative; padding-left: 22px; font-size: 14px; color: var(--ink-2); line-height: 1.75; }
.dt-list li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 7px; height: 7px; border-radius: 2px; background: var(--red); }
.dt-list li b { color: var(--ink); }

/* 板块小标题（工艺流程 / 可定制维度 / 常见问题） */
.dt-process, .dt-opts, .dt-faq { margin-bottom: 54px; }
.dt-faq { margin-bottom: 0; }
.dt-process > h3, .dt-opts > h3, .dt-faq > h3 { text-align: center; font-size: clamp(19px, 2.2vw, 23px); color: var(--ink); margin-bottom: 26px; }

/* 可定制维度 */
.dt-opts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(248px, 1fr)); gap: 18px; }
.dt-opt { padding: 24px 22px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); transition: all .22s ease; }
.dt-opt:hover { transform: translateY(-3px); border-color: #f2bcc2; box-shadow: var(--shadow-hover); }
.dt-opt h4 { font-size: 15.5px; color: var(--ink); margin-bottom: 8px; }
.dt-opt h4::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 9px; border-radius: 50%; background: var(--red); vertical-align: middle; }
.dt-opt p { font-size: 13.5px; color: var(--gray); line-height: 1.72; }

/* 常见问题（details 折叠） */
.dt-faq-list { display: grid; gap: 12px; max-width: 920px; margin: 0 auto; }
.dt-q { background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); overflow: hidden; transition: border-color .2s ease; }
.dt-q[open] { border-color: #f2bcc2; }
.dt-q summary { position: relative; padding: 16px 54px 16px 20px; font-size: 15px; font-weight: 600; color: var(--ink); cursor: pointer; list-style: none; transition: color .2s ease, background .2s ease; }
.dt-q summary::-webkit-details-marker { display: none; }
.dt-q summary::after { content: ""; position: absolute; right: 24px; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--red); border-bottom: 2px solid var(--red); transform: translateY(-70%) rotate(45deg); transition: transform .25s ease; }
.dt-q[open] summary { color: var(--red); background: var(--red-bg); }
.dt-q[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.dt-q p { padding: 14px 20px 18px; font-size: 14px; color: var(--ink-2); line-height: 1.85; }

/* 产品详情板块响应式 */
@media (max-width: 980px) {
  .dt-grid { grid-template-columns: 1fr; gap: 32px; }
  .dt-media .ph { aspect-ratio: 16 / 9; }
}
@media (max-width: 768px) {
  .dt-facts { gap: 12px; margin-bottom: 34px; }
  .dt-fact { padding: 18px 12px; }
  .dt-fact b { font-size: 20px; }
  .dt-fact span { font-size: 12.5px; }
  .dt-grid { margin-bottom: 38px; }
  .dt-block h3 { font-size: 16.5px; }
  .dt-process, .dt-opts { margin-bottom: 38px; }
  .dt-process > h3, .dt-opts > h3, .dt-faq > h3 { margin-bottom: 20px; }
  .dt-media .cap { padding: 12px 14px; font-size: 12px; }
  .dt-opt { padding: 20px 18px; }
  .dt-q summary { padding: 14px 48px 14px 16px; font-size: 14.5px; }
  .dt-q summary::after { right: 20px; }
  .dt-q p { padding: 12px 16px 16px; font-size: 13.5px; }
}
@media (max-width: 480px) {
  .dt-facts { grid-template-columns: repeat(2, 1fr); }
  .dt-fact b { font-size: 18px; }
  .dt-block p { font-size: 14px; }
  .dt-list li { font-size: 13.5px; }
  .dt-opt h4 { font-size: 15px; }
  .dt-opt p { font-size: 13px; }
}

/* ===================== 三大产品板块 · 横屏展开放置 ===================== */
.product-photo-wide {
  position: relative;
  display: block;
  width: 100%;
  background: #0d1219;
  overflow: hidden;
  cursor: zoom-in;
  border-bottom: 1px solid var(--line);
}
.product-photo-wide img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: cover;
  transition: transform .45s ease;
}
.product-photo-wide:hover img { transform: scale(1.025); }
.product-photo-wide::after {
  content: "点击查看大图";
  position: absolute;
  right: 18px;
  bottom: 16px;
  padding: 6px 14px;
  background: rgba(8, 12, 20, .72);
  color: #fff;
  font-size: 12px;
  letter-spacing: .08em;
  border-radius: 999px;
  opacity: 0;
  transition: opacity .25s ease;
  pointer-events: none;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.product-photo-wide:hover::after { opacity: 1; }

/* 重构后的 .product-block-body：仅含 .text，取消原 1fr/1fr grid */
.product-block-body { display: block; }
.product-block-body .visual { display: none; }

/* ===================== 产品实拍图（可见，点击灯箱放大） ===================== */
.shots-title { padding: 0 36px; font-size: 14px; margin-bottom: 16px; }
/* 单张时整宽 */
.product-shots .shot:only-child { grid-column: 1 / -1; }
/* 三张时三等分，保持整齐 */
.product-shots:has(> .shot:nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.product-shots {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 0 36px 34px;
}
.shot {
  position: relative;
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #161d28;
  border: 1px solid var(--line);
  cursor: zoom-in;
  transition: box-shadow .25s ease, border-color .25s ease;
}
.shot:hover { box-shadow: 0 10px 26px rgba(13, 18, 25, .16); border-color: #d9dde4; }
.shot img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1080 / 608;
  object-fit: cover;
  transition: transform .45s ease;
}
.shot:hover img { transform: scale(1.04); }
.shot::after {
  content: "点击查看大图";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 14px 11px;
  font-size: 12.5px;
  letter-spacing: .02em;
  color: #fff;
  background: linear-gradient(transparent, rgba(8, 12, 20, .8));
  opacity: 0;
  transition: opacity .25s ease;
  pointer-events: none;
}
.shot:hover::after,
.shot:focus-visible::after { opacity: 1; }
.shot:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

@media (max-width: 980px) {
  .shots-title { padding: 0 24px; }
  .product-shots,
  .product-shots:has(> .shot:nth-child(3):last-child) { grid-template-columns: 1fr; gap: 14px; padding: 0 24px 28px; }
}
@media (max-width: 480px) {
  .shots-title { padding: 0 18px; }
  .product-shots { padding: 0 18px 24px; }
  .shot::after { opacity: 1; font-size: 11.5px; padding: 22px 12px 9px; }
}

/* ===================== 灯箱（点击图片放大预览） ===================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(8, 12, 20, .92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  padding: 32px;
}
.lightbox.open {
  display: flex;
  animation: lbFadeIn .2s ease;
}
.lightbox img {
  max-width: 96vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .65);
  background: #0d1219;
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease;
}
.lightbox-close:hover { background: rgba(255, 255, 255, .26); }
.lightbox-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 24px;
  text-align: center;
  color: #fff;
  font-size: 14px;
  letter-spacing: .06em;
  opacity: .85;
  pointer-events: none;
}
@keyframes lbFadeIn { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 768px) {
  .product-photo-wide img { max-height: 280px; }
  .product-photo-wide::after { opacity: 1; font-size: 11px; }
  .lightbox { padding: 16px; }
  .lightbox-close { top: 12px; right: 14px; width: 40px; height: 40px; }
}

/* ===================== 首屏封面大图（玻璃基芯片实拍） ===================== */
/* 封面背景已在文件开头 .hero 主规则中定义（../images/hero.jpg） */

/* 公司简介 · 精密激光微纳加工设备实拍 */
.intro-media img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* 产品种类 · 操作提示（替代原先冗余的二级标题） */
.prod-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin: -14px auto 34px;
  padding: 8px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f7f9fc;
  color: var(--gray);
  font-size: 13px;
  letter-spacing: .04em;
}
.prod-hint::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }

/* 产品种类 · 板块内产品实拍图集 */
.cat-gallery {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px; margin: 4px 0 22px;
}
.cat-gallery figure {
  margin: 0; background: #f7f9fc; border: 1px solid var(--line);
  border-radius: 11px; padding: 8px; text-align: center;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.cat-gallery figure:hover { border-color: var(--red); box-shadow: var(--shadow); }
.cat-gallery img {
  display: block; width: 100%; height: 132px; object-fit: contain;
  border-radius: 7px; background: #fff; cursor: zoom-in;
}
/* 图片整块可点击跳转到对应产品页 */
.cat-gallery figure a { display: block; color: inherit; text-decoration: none; cursor: pointer; }
.cat-gallery figure a:hover { opacity: .92; }
.cat-gallery figcaption {
  margin-top: 7px; font-size: 12.5px; line-height: 1.6; color: var(--gray); letter-spacing: .02em;
}

/* 镀膜 · 实测光谱曲线图集 */
.chart-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(272px, 1fr)); gap: 16px; margin: 6px 0 18px; }
.chart-grid figure {
  margin: 0; background: #fff; border: 1px solid var(--line);
  border-radius: 12px; padding: 10px 10px 8px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.chart-grid figure:hover { border-color: var(--red); box-shadow: var(--shadow); }
.chart-grid img {
  display: block; width: 100%; height: 208px; object-fit: contain;
  background: #fff; cursor: zoom-in;
}
.chart-grid figcaption {
  margin-top: 8px; font-size: 12.5px; color: var(--gray);
  line-height: 1.6; text-align: center; letter-spacing: .01em;
}

/* 应用领域标签云 */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.tag-cloud span {
  padding: 8px 16px; border-radius: 999px; font-size: 13.5px;
  background: var(--red-bg); color: var(--red-dark); border: 1px solid rgba(208, 25, 42, .16);
}
.tag-cloud span.is-gray { background: #f4f6fa; color: var(--ink-2); border-color: var(--line); }

/* 数据指标卡 */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; margin-top: 6px; }
.stat-card {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 22px 20px; box-shadow: var(--shadow);
}
.stat-card b { display: block; font-size: 26px; color: var(--red); letter-spacing: .02em; line-height: 1.2; }
.stat-card span { display: block; margin-top: 8px; font-size: 13.5px; color: var(--gray); line-height: 1.7; }

/* ===================== 光学微纳加工 · 核心方向横幅（静态展示） ===================== */
.optics-banner {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  margin-bottom: 36px;
  background: #0d1219;
}
.optics-banner img { display: block; width: 100%; height: auto; max-height: 560px; object-fit: cover; }

/* ===================== 产品种类 · 点击标题下滑展开 / 收起 ===================== */
.product-block-head { cursor: pointer; user-select: none; -webkit-user-select: none; }
/* 标题右侧展开 / 收起箭头 */
.product-block-head::after {
  content: "";
  margin-left: auto;
  flex: none;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--gray);
  border-bottom: 2px solid var(--gray);
  transform: rotate(45deg);
  transition: transform .3s ease, border-color .3s ease;
}
.product-block.is-open .product-block-head::after {
  transform: rotate(225deg);
  border-color: var(--red);
}
.product-block-head:hover h2 { color: var(--red); }

/* 展开内容（横屏图 + 详情文字）随折叠收放，下滑动画 */
.product-block .product-photo-wide,
.product-block .product-block-body {
  overflow: hidden;
  transition: max-height .5s ease, opacity .4s ease;
}
.product-block.is-open .product-photo-wide { max-height: 620px; opacity: 1; }
/* 展开后不做高度限制，保证参数表格完整可见 */
.product-block.is-open .product-block-body { max-height: none; opacity: 1; }
.product-block:not(.is-open) .product-photo-wide { max-height: 0; opacity: 0; border-bottom: none; }
.product-block:not(.is-open) .product-block-body { max-height: 0; opacity: 0; }

@media (max-width: 768px) {
  .product-block.is-open .product-photo-wide { max-height: 320px; }
  .product-block.is-open .product-block-body { max-height: none; }
  .optics-banner img { max-height: 260px; }
  .optics-banner::after { opacity: 1; }
}

/* ===================== 联系我们 · 右侧缩小版微信二维码 ===================== */
.contact-form-col { display: flex; flex-direction: column; gap: 24px; }
.contact-qr-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.contact-qr-card img {
  flex: none;
  width: 84px;
  height: 84px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
}
.contact-qr-card h4 { font-size: 14.5px; color: var(--ink); margin: 0 0 4px; }
.contact-qr-card p { font-size: 12.5px; color: var(--gray); margin: 0; line-height: 1.7; }

/* 微透镜核心产品 · 删掉占位 SVG 后自动单列布局 */
.microlens-hero:not(:has(.microlens-visual)) { grid-template-columns: 1fr; }

/* 光学微纳加工板块恢复为白底卡片（原有工厂实拍背景图已移除，文字回落到基底深色样式） */

/* ===================== 微信二维码 · 点击放大 ===================== */
.contact-qr-card {
  cursor: zoom-in;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.contact-qr-card:hover {
  border-color: var(--red);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}
.contact-qr-card .qr-img-wrap {
  position: relative;
  display: inline-block;
  flex: none;
  border-radius: 8px;
  overflow: hidden;
}
.contact-qr-card .qr-zoom-ico {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 12, 20, .55);
  color: #fff;
  opacity: 0;
  transition: opacity .2s ease;
  pointer-events: none;
}
.contact-qr-card .qr-zoom-ico svg { width: 28px; height: 28px; }
.contact-qr-card:hover .qr-zoom-ico { opacity: 1; }
.contact-qr-card::after {
  content: "查看大图";
  margin-left: auto;
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  background: var(--red-bg);
  color: var(--red);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .04em;
  border-radius: 999px;
  transition: background .2s ease, color .2s ease;
}
.contact-qr-card:hover::after {
  background: var(--red);
  color: #fff;
}

/* ===================== 联系我们页 · 微信二维码放大弹窗 ===================== */
.qr-popup {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(8, 12, 20, .92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  padding: 32px;
  animation: qrFadeIn .2s ease;
}
.qr-popup.open { display: flex; }
.qr-popup-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  max-width: 92vw;
  max-height: 92vh;
  animation: qrZoomIn .25s ease;
}
.qr-popup-inner img {
  max-width: min(520px, 88vw);
  max-height: 78vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .6);
  background: #fff;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .12);
  cursor: zoom-out;
}
.qr-popup-cap {
  color: #fff;
  font-size: 14px;
  letter-spacing: .12em;
  opacity: .9;
  text-align: center;
  margin: 0;
}
.qr-popup-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease, transform .2s ease;
}
.qr-popup-close:hover { background: rgba(255, 255, 255, .28); transform: rotate(90deg); }
@keyframes qrFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes qrZoomIn { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: scale(1); } }

/* ===================== 联系我们页 · 提交需求弹窗（扫码添加好友 + 复制参数） ===================== */
.submit-popup {
  position: fixed;
  inset: 0;
  z-index: 230;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(8, 12, 20, .82);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  padding: 24px;
  animation: qrFadeIn .2s ease;
}
.submit-popup.open { display: flex; }
.submit-popup-panel {
  position: relative;
  width: 100%;
  max-width: 420px;
  max-height: 92vh;
  overflow-y: auto;
  box-sizing: border-box;
  padding: 26px 24px 20px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
  text-align: center;
  animation: qrZoomIn .25s ease;
}
.submit-popup-panel h3 { font-size: 19px; margin: 0 0 6px; color: var(--ink); }
.submit-popup-status { font-size: 13px; line-height: 1.6; margin: 0 0 14px; color: var(--red-dark); font-weight: 600; }
.submit-popup-status.is-warn { color: #b26a00; }
.submit-popup-qr {
  display: block;
  width: 172px;
  height: auto;
  margin: 0 auto 12px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.submit-popup-tip { font-size: 12.5px; line-height: 1.75; color: var(--ink-2); margin: 0; }
.submit-popup-tip a { color: var(--red-dark); }
.submit-popup-manual {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin: 10px 0 0;
  padding: 10px 12px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  resize: vertical;
}
.submit-popup-manual[hidden] { display: none; }
.submit-popup-actions { display: flex; gap: 10px; margin-top: 16px; }
.submit-popup-actions .btn { flex: 1; }
.submit-popup-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: #f1f3f6;
  color: #6b7480;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease, color .2s ease;
}
.submit-popup-close:hover { background: var(--red); color: #fff; }

@media (max-width: 768px) {
  .qr-popup { padding: 18px; }
  .qr-popup-inner img { max-width: 88vw; padding: 14px; }
  .qr-popup-cap { font-size: 13px; }
  .qr-popup-close { top: 12px; right: 14px; width: 42px; height: 42px; font-size: 24px; }
}

@media (max-width: 560px) {
  .submit-popup { padding: 16px; }
  .submit-popup-panel { padding: 22px 18px 16px; }
  .submit-popup-qr { width: 150px; }
}

/* ===================== 联系我们页 · 到访指引 4 卡片 ===================== */
.visit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.visit-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px 22px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all .22s ease;
}
.visit-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); border-color: #f2bcc2; }
.visit-ico {
  width: 54px;
  height: 54px;
  background: var(--red-bg);
  color: var(--red);
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.visit-ico svg { width: 28px; height: 28px; }
.visit-card h4 { font-size: 16px; color: var(--ink); margin: 0 0 10px; }
.visit-card p { font-size: 13.5px; color: var(--gray); line-height: 1.8; margin: 0; }

@media (max-width: 980px) { .visit-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .visit-grid { grid-template-columns: 1fr; } }

/* 留言表单小提示 */
.contact-form-tip { color: var(--gray); font-size: 13.5px; margin: -4px 0 22px; }

/* 404 页面快速入口卡片 */
.quick-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 8px;
}
.quick-card {
  display: block;
  padding: 26px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: border-color .22s ease, transform .22s ease, box-shadow .22s ease;
}
.quick-card h3 { font-size: 17px; color: var(--ink); margin-bottom: 8px; }
.quick-card p { font-size: 13.5px; color: var(--gray); line-height: 1.7; margin: 0; }
.quick-card:hover {
  border-color: var(--red);
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(13, 18, 25, .1);
}
@media (max-width: 980px) { .quick-links { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .quick-links { grid-template-columns: 1fr; } }

/* ==========================================================================
   产品详情页：左侧产品导航 + 图片板块（图文并列）+ 详细参数
   ========================================================================== */
.pd-layout { display: grid; grid-template-columns: 232px 1fr; gap: 28px; padding: 44px 0 56px; align-items: start; }

/* 左侧产品导航（简洁版） */
.pd-side {
  position: sticky; top: 96px; background: #fff;
  border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow); padding: 12px;
}
.pd-nav { display: grid; gap: 2px; }
.pd-nav a {
  display: block; padding: 10px 12px; border-radius: 8px;
  border-left: 2px solid transparent;
  font-size: 14px; color: var(--ink-2); font-weight: 500;
  transition: color .18s ease, background .18s ease, border-color .18s ease;
}
.pd-nav a:hover { color: var(--red); background: var(--red-bg); }
.pd-nav a.is-active { color: var(--red); background: var(--red-bg); font-weight: 600; border-left-color: var(--red); }
/* 子类导航：缩进 + 浅色，层级清晰 */
.pd-nav a.nav-sub { padding-left: 22px; font-size: 13.5px; color: var(--gray); }
.pd-nav a.nav-sub::before { content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: #c9cfda; margin-right: 8px; vertical-align: 2px; }
.pd-nav a.nav-sub:hover { color: var(--red); }
.pd-nav a.nav-sub:hover::before { background: var(--red); }
.pd-nav a.nav-sub.is-active { color: var(--red); font-weight: 600; }
.pd-nav a.nav-sub.is-active::before { background: var(--red); }
/* 二级子类（折射型下的柱面 / 方形 / 六边形 / 圆形 / 线阵）：更深缩进、更小字号 */
.pd-nav a.nav-sub2 { padding-left: 38px; font-size: 12.5px; color: var(--gray); }
.pd-nav a.nav-sub2::before { content: ""; display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: #d7dce4; margin-right: 8px; vertical-align: 2px; }
.pd-nav a.nav-sub2:hover { color: var(--red); }
.pd-nav a.nav-sub2:hover::before { background: var(--red); }
.pd-nav a.nav-sub2.is-active { color: var(--red); font-weight: 600; }
.pd-nav a.nav-sub2.is-active::before { background: var(--red); }
/* 衍射分束器件下的两个独立小板块（一维 / 二维） */
.pd-nav a.nav-block {
  margin: 3px 0 3px 14px; padding: 7px 10px 7px 11px;
  border-left: 2px solid #e3e7ee; border-radius: 4px;
  background: #f8f9fb; font-size: 12.5px; color: var(--gray);
}
.pd-nav a.nav-block::before { display: none; }
.pd-nav a.nav-block:hover { color: var(--red); background: var(--red-bg); border-left-color: var(--red); }
.pd-nav a.nav-block.is-active { color: var(--red); background: var(--red-bg); border-left-color: var(--red); font-weight: 600; }
.pd-side .pd-back {
  display: block; margin-top: 10px; padding: 10px 12px 2px;
  border-top: 1px dashed var(--line); font-size: 13px; color: var(--gray);
}
.pd-side .pd-back:hover { color: var(--red); }

/* 右侧详情列：min-width 归零，避免宽参数表把整页撑出横向滚动条 */
.pd-main { min-width: 0; }

/* 产品名称区 */
.pd-head {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  box-shadow: var(--shadow); padding: 24px; margin-bottom: 26px;
}
.pd-head .name h1 { font-size: clamp(23px, 2.8vw, 31px); color: var(--ink); margin: 0 0 8px; line-height: 1.3; }
.pd-head .name .en { display: block; font-size: 14px; color: var(--gray); letter-spacing: .06em; margin-bottom: 14px; }
.pd-head .name .tag {
  display: inline-block; font-size: 13px; color: #fff;
  background: var(--red); border-radius: 999px; padding: 5px 15px; letter-spacing: .06em;
}

/* 图片板块：产品大图，产品介绍卡片位于图片右下方（主题红） */
.pd-hero { position: relative; margin-bottom: 26px; }
.pd-hero .thumb { border-radius: 18px; overflow: hidden; background: #161d28; }
.pd-hero .thumb img { display: block; width: 100%; height: 460px; object-fit: cover; cursor: zoom-in; transition: transform .6s ease; }
/* 掩膜版：实拍图为举持双盒，加高主图避免裁掉产品边缘 */
.pd-hero--mask .thumb img { height: 540px; object-position: center 48%; }
@media (max-width: 900px) { .pd-hero--mask .thumb img { height: 320px; } }
@media (max-width: 560px) { .pd-hero--mask .thumb img { height: 260px; } }
.pd-hero .thumb:hover img { transform: scale(1.03); }

/* 产品介绍卡片（红色，图片右下角） */
.pd-blue {
  position: absolute; right: 26px; bottom: 26px; width: min(48%, 560px);
  background: rgba(208, 25, 42, .95); border-radius: 16px; padding: 22px 26px;
  box-shadow: 0 16px 38px rgba(23, 29, 38, .28);
}
.pd-blue h2 { color: #fff; font-size: 18px; letter-spacing: .06em; margin: 0 0 10px; }
.pd-blue .basic-text { color: #fff; font-size: 15px; line-height: 1.85; }
.pd-blue .basic-list li { color: #fff; font-size: 15px; line-height: 1.8; }
.pd-blue .basic-list li::before { background: #fff; }

/* 详细介绍区块 */
.pd-article {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  box-shadow: var(--shadow); padding: 30px 34px; margin-bottom: 26px;
}
.pd-article h3 {
  font-size: 17px; color: var(--red-dark); letter-spacing: .1em;
  margin: 0 0 14px; padding-left: 12px; border-left: 3px solid var(--red);
}
.pd-article p { color: var(--ink-2); font-size: 15.5px; line-height: 1.95; margin-bottom: 12px; text-align: justify; }
.pd-article p:last-child { margin-bottom: 0; }
.pd-article ul { display: grid; gap: 8px; margin: 6px 0 14px; }
.pd-article li { position: relative; padding-left: 16px; color: var(--ink-2); font-size: 15px; line-height: 1.8; }
.pd-article li::before { content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.pd-article .hint { font-size: 13.5px; color: var(--gray); margin-bottom: 0; }
/* 重点内容加深（深红加粗） */
.hl { color: var(--red-dark); font-weight: 700; }
.pd-article .sub-h3 { margin-top: 24px; font-size: 15.5px; letter-spacing: .04em; }
.pd-article .tag-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 0; }
.pd-article .tag-list li {
  padding: 7px 16px; background: var(--red-bg); border-radius: 999px;
  color: var(--red-dark); font-size: 13.5px; font-weight: 600; line-height: 1.6;
}
.pd-article .tag-list li::before { content: none; display: none; }

/* 子类入口卡片 */
.sub-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(214px, 1fr)); gap: 14px; margin-bottom: 26px; }
.sub-link {
  display: block; background: #fff; border: 1px solid var(--line);
  border-radius: 14px; padding: 18px 20px; box-shadow: var(--shadow);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.sub-link:hover { border-color: var(--red); box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.sub-link strong { display: block; color: var(--ink); font-size: 15.5px; margin-bottom: 6px; }
.sub-link strong::after { content: " →"; color: var(--red); font-weight: 600; }
.sub-link span { font-size: 12.5px; color: var(--gray); line-height: 1.7; }

/* 参数表格板块 */
.spec-block {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  box-shadow: var(--shadow); padding: 26px 28px; margin-bottom: 26px;
}
.spec-block > h3 { font-size: 18px; color: var(--ink); margin: 0 0 4px; }
.spec-block > .sub { font-size: 13.5px; color: var(--gray); margin-bottom: 18px; }
.spec-block h4 { font-size: 15px; color: var(--ink); margin: 22px 0 12px; padding-left: 11px; border-left: 3px solid var(--red); }
/* 参数表完整展开，不做高度限制 */
.spec-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.spec-scroll .spec-table { margin: 0; border: 0; }
.spec-note { font-size: 13px; color: var(--gray); line-height: 1.75; margin-top: 12px; }

@media (max-width: 980px) {
  .pd-layout { grid-template-columns: 1fr; }
  .pd-side { position: static; }
  .pd-head { grid-template-columns: 1fr; }
}

/* ===================== 应用案例：板块折叠（点击标题下滑展开） ===================== */
.case-section.is-collapsible {
  margin: 0 0 14px; padding: 0; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
}
.case-section.is-collapsible .case-toggle {
  display: flex; align-items: center; gap: 14px; width: 100%; margin: 0;
  padding: 18px 22px; background: #fff; border: 0; border-radius: 0;
  text-align: left; cursor: pointer; font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 700; line-height: 1.35; color: var(--ink);
  transition: background .18s ease, color .18s ease;
}
.case-section.is-collapsible .case-toggle:hover { background: var(--red-bg); color: var(--red-dark); }
.case-section.is-collapsible .case-toggle:focus-visible { outline: 2px solid var(--red); outline-offset: -2px; }
.case-toggle .num { flex: none; font-size: 13px; font-weight: 800; color: var(--red); letter-spacing: .06em; }
.case-toggle-text { flex: 1; min-width: 0; }
.case-toggle-text em {
  display: block; margin-top: 4px; font-style: normal; font-size: 12.5px; font-weight: 500;
  letter-spacing: .14em; color: var(--gray); text-transform: uppercase;
}
.case-count {
  flex: none; font-size: 12.5px; font-weight: 600; color: var(--gray);
  background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 3px 12px;
}
.case-arrow {
  flex: none; position: relative; width: 26px; height: 26px; border-radius: 50%;
  border: 1px solid var(--line); transition: border-color .2s ease, background .2s ease;
}
.case-arrow::after {
  content: ""; position: absolute; left: 8px; top: 7px; width: 7px; height: 7px;
  border-right: 2px solid #b9c0cc; border-bottom: 2px solid #b9c0cc;
  transform: rotate(45deg); transition: transform .28s ease, border-color .2s ease;
}
.case-toggle[aria-expanded="true"] { box-shadow: inset 0 -1px 0 var(--line); }
.case-toggle[aria-expanded="true"] .num { color: var(--red); }
.case-toggle[aria-expanded="true"] .case-arrow { border-color: var(--red); background: var(--red-bg); }
.case-toggle[aria-expanded="true"] .case-arrow::after { transform: rotate(-135deg); border-color: var(--red); }
.case-panel { max-height: 0; overflow: hidden; transition: max-height .42s ease; }
.case-panel.is-open { max-height: none; }
.case-panel > .case-grid { padding: 22px; }

/* 分类导航里的「展开全部 / 收起全部」 */
.case-expand-all {
  margin-left: auto; font-size: 13px; font-weight: 600; color: var(--red);
  background: var(--red-bg); border: 1px solid transparent; border-radius: 999px;
  padding: 7px 16px; cursor: pointer; transition: background .18s ease, color .18s ease;
}
.case-expand-all:hover { background: var(--red); color: #fff; }

@media (max-width: 768px) {
  .case-section.is-collapsible .case-toggle { padding: 15px 16px; gap: 10px; }
  .case-count { display: none; }
  .case-panel > .case-grid { padding: 16px; }
}

/* 窄屏兜底：单列排布，避免卡片最小宽度撑破容器 */
@media (max-width: 520px) {
  .case-section.is-collapsible .case-grid { grid-template-columns: 1fr; }
  .case-toggle-text em { font-size: 11.5px; letter-spacing: .1em; }
}

/* ===================== 产品板块：标题右侧的详情入口 ===================== */
.pbh-link {
  flex: none; margin-left: auto; white-space: nowrap;
  font-size: 13.5px; font-weight: 600; color: var(--red);
  background: var(--red-bg); border: 1px solid transparent; border-radius: 999px;
  padding: 8px 17px; line-height: 1.2;
  transition: background .18s ease, color .18s ease;
}
.pbh-link:hover { background: var(--red); color: #fff; }
.pbh-link:active { background: var(--red-dark); color: #fff; }
@media (max-width: 768px) {
  .pbh-link { font-size: 12.5px; padding: 7px 13px; }
}

/* 详情页产品实拍：16:9 实拍照片，按较大尺寸清晰展示 */
.pd-article .cat-gallery { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.pd-article .cat-gallery img { height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.pd-article .cat-gallery figure { padding: 9px; }

/* 产品实拍图集：瀑布流列布局，兼容竖构图实拍（不裁切画面） */
.pd-article .cat-gallery { display: block; column-count: 3; column-gap: 14px; }
.pd-article .cat-gallery figure {
  display: inline-block; width: 100%; margin: 0 0 14px; vertical-align: top;
  break-inside: avoid; -webkit-column-break-inside: avoid; page-break-inside: avoid;
}
.pd-article .cat-gallery img { height: auto; aspect-ratio: auto; object-fit: cover; }
@media (max-width: 1100px) { .pd-article .cat-gallery { column-count: 2; } }
@media (max-width: 560px) { .pd-article .cat-gallery { column-count: 1; } }

/* 产品图集页：瀑布流，保留原始比例 */
.gallery-page .cat-gallery { display: block; column-count: 3; column-gap: 14px; }
.gallery-page .cat-gallery figure {
  display: inline-block; width: 100%; margin: 0 0 14px; vertical-align: top;
  break-inside: avoid; -webkit-column-break-inside: avoid; page-break-inside: avoid;
}
.gallery-page .cat-gallery img { height: auto; aspect-ratio: auto; object-fit: cover; }
@media (max-width: 1100px) { .gallery-page .cat-gallery { column-count: 2; } }
@media (max-width: 560px) { .gallery-page .cat-gallery { column-count: 1; } }

/* 详情页图集：按图片数量控制列宽，保证排版整齐一致 */
.pd-article.gal-1 .cat-gallery { column-count: 1; max-width: 760px; margin-left: auto; margin-right: auto; }
.pd-article.gal-2 .cat-gallery { column-count: 2; }
.pd-article.gal-3 .cat-gallery { column-count: 3; }
@media (max-width: 900px) {
  .pd-article.gal-2 .cat-gallery, .pd-article.gal-3 .cat-gallery { column-count: 1; }
}
/* 产品图集分组标题 */
.gallery-page .gal-group {
  font-size: 17px; font-weight: 700; color: #16181d; line-height: 1.45;
  margin: 30px 0 14px; padding-left: 10px; border-left: 3px solid #d0192a;
}
.gallery-page .gal-group a { color: #d0192a; font-size: 13px; font-weight: 500; margin-left: 10px; }
.gallery-page .gal-group a:hover { text-decoration: underline; }
@media (max-width: 560px) { .gallery-page .gal-group a { display: block; margin-left: 0; margin-top: 4px; } }

/* 详情页页首缩略示意图 */
.pd-lead-shot { margin: 0 0 20px; }
.pd-lead-row {
  display: flex; justify-content: center; align-items: flex-start; gap: 12px; flex-wrap: wrap;
}
.pd-lead-row figure { margin: 0; text-align: center; flex: 0 1 auto; }
.pd-lead-row img {
  height: 260px; width: auto; max-width: 100%; display: block;
  border-radius: 8px; background: #fff; box-shadow: 0 2px 10px rgba(20, 24, 33, .08);
  image-rendering: -webkit-optimize-contrast; cursor: zoom-in;
}
.pd-lead-shot figcaption { font-size: 12.5px; line-height: 1.6; color: #6b7280; margin-top: 8px; }
@media (max-width: 900px) { .pd-lead-row img { height: 220px; } .pd-lead-row { gap: 10px; } }
@media (max-width: 560px) { .pd-lead-row img { height: 240px; } .pd-lead-row { gap: 8px; } }

/* ---------- 产品实拍图点击跳转对应产品页 ---------- */
.cat-gallery a { display: block; }
.cat-gallery a img { cursor: pointer; }
.cat-gallery figure.link-fig:hover figcaption { color: var(--red-dark); }
.product-block-body a.visual-bottom { display: block; }
/* ==========================================================================
   产品种类页：左侧固定目录 + 层级化子类目录（4 大类 / 折射下 5 小类）
   ========================================================================== */
.cat-layout { display: grid; grid-template-columns: 232px 1fr; gap: 28px; align-items: start; }
.cat-side {
  position: sticky; top: 96px; background: #fff;
  border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow); padding: 12px;
}
.cat-side-title { margin: 4px 10px 10px; font-size: 12px; letter-spacing: .14em; color: var(--gray); font-weight: 600; }
.cat-nav { gap: 1px; }
.cat-nav a { font-size: 13.5px; padding: 9px 12px; }
.cat-main { min-width: 0; }

/* 微透镜板块：层级化子类目录 */
.sub-links--tree { display: block; }
.sub-links--tree .sub-group { margin-bottom: 16px; }
.sub-links--tree .sub-group:last-child { margin-bottom: 26px; }
.sub-links--tree .sub-link--parent { display: block; border-left: 3px solid var(--red); background: linear-gradient(120deg, var(--red-bg), #fff 72%); }
.sub-sub {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(198px, 1fr));
  gap: 12px; margin-top: 12px; padding-left: 16px; border-left: 2px solid var(--red-bg);
}
.sub-sub .sub-link { padding: 13px 15px; }
.sub-sub .sub-link strong { font-size: 14.5px; margin-bottom: 4px; }
.sub-sub .sub-link span { font-size: 12px; }

/* 目录锚点定位时避开吸顶导航 */
#weilens, #doe, #glass-micro, #coating { scroll-margin-top: 92px; }

@media (max-width: 980px) {
  .cat-layout { grid-template-columns: 1fr; gap: 18px; }
  .cat-side { position: static; }
}
/* ===================== 中英文切换按钮 ===================== */
.lang-toggle {
  display: inline-flex; align-items: center; gap: 3px;
  margin-right: 12px; padding: 7px 12px;
  border: 1px solid rgba(20, 26, 34, .22); border-radius: 999px;
  background: rgba(20, 26, 34, .04);
  font: inherit; font-size: 12.5px; font-weight: 600; line-height: 1;
  color: rgba(20, 26, 34, .62); cursor: pointer;
  transition: border-color .2s ease, background .2s ease, color .2s ease;
}
.lang-toggle:hover { border-color: var(--red); background: var(--red-bg); }
.lang-toggle .lt-sep { opacity: .45; font-weight: 400; }
.lang-toggle .lt-opt.is-on { color: var(--red); }
.lang-toggle .lt-en { letter-spacing: .04em; }
@media (max-width: 720px) {
  .lang-toggle { margin-right: 6px; padding: 6px 10px; font-size: 12px; }
}