/* =========================================================
   BRIGHT / WHITE THEME OVERRIDES  v2
   背景一律白/极浅灰；文字深色；红蓝作为强调色
   Loaded AFTER style.css + blocks.css on all pages
   ========================================================= */

:root{
  --blue:#1B66E0;
  --blue-dk:#1249AC;
  --red:#D42B2B;
  --hair:#E6EAF0;
}

body{background:#fff}

/* ---------- 01 · HERO — light two-column banner ---------- */
.hero--light{
  background:
    radial-gradient(900px 420px at 85% 10%, rgba(27,102,224,.06), transparent 60%),
    linear-gradient(105deg,#FFFFFF 0%,#F5F8FC 55%,#EDF2F9 100%);
  color:#1A2434;
  border-bottom:1px solid var(--hair);
}
/* kill the dark overlay inherited from style.css .hero::before */
.hero--light::before{display:none}
.hero--light .hero-grid{
  display:grid;grid-template-columns:1.04fr .96fr;gap:44px;align-items:center;
  padding:70px 0 40px;
}
.hero--light .brand-title{
  color:var(--red);font-weight:800;letter-spacing:-.01em;
  font-size:clamp(1.65rem,3.1vw,2.45rem);line-height:1.18;
  margin:0 0 20px;
}
.hero--light .kicker{
  background:#FDECEC;border:1px solid rgba(212,43,43,.3);color:var(--red);
  display:inline-flex;align-items:center;gap:10px;padding:7px 16px;border-radius:100px;
  font-size:.8rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;margin-bottom:20px;
}
.hero--light .slogans{max-width:none}
.hero--light .slogans li{color:#2B3648;font-weight:600}
.hero--light .hero-actions{margin-bottom:30px}
.hero--light .hero-stats{
  border-top:1px solid var(--hair);padding-top:20px;max-width:none;margin-bottom:0;
}
.hero--light .hero-stats div{padding-right:34px;margin-right:34px;border-right:1px solid var(--hair)}
.hero--light .hero-stats div:last-child{border-right:0;margin:0;padding:0}
.hero--light .hero-stats b{color:var(--blue)}
.hero--light .hero-stats span{color:#5A6B7E}

/* ---------- 01b · HERO — full-bleed photo, text floating over image (daivd style) ---------- */
.hero--cover{
  position:relative;isolation:isolate;overflow:hidden;
  display:flex;align-items:center;
  min-height:min(68vh,580px);padding:0;color:#101C31;
  background:#FFFFFF;border-bottom:0;
}
.hero--cover .hero-cover-bg{
  position:absolute;inset:0;z-index:-2;
  background:url("../img/hero-banner.jpg?v=14") right center/cover no-repeat;
  background-color:#FFFFFF;
}
/* darkening gradient on the left so white text reads clearly over the photo */
.hero--cover::before{
  content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:linear-gradient(93deg,
    rgba(10,15,26,.62) 0%,
    rgba(10,15,26,.50) 30%,
    rgba(10,15,26,.22) 52%,
    rgba(10,15,26,.05) 68%,
    rgba(10,15,26,0) 80%);
}
.hero--cover .hero-cover-inner{flex:1 0 100%;width:100%;min-width:0;padding:38px 0 42px}
.hero--cover .hero-cover-copy{max-width:600px}
.hero--cover .kicker{
  background:rgba(212,43,43,.94);border:1px solid rgba(255,255,255,.28);color:#fff;
  display:inline-flex;align-items:center;gap:10px;padding:6px 15px;border-radius:100px;
  font-size:.75rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;margin-bottom:12px;
  box-shadow:0 6px 18px rgba(16,24,40,.16);
}
.hero--cover .brand-title{
  color:#E8262B;font-weight:800;letter-spacing:-.01em;
  font-size:clamp(1.35rem,2.15vw,1.9rem);line-height:1.18;margin:0 0 12px;
  text-shadow:0 2px 12px rgba(0,0,0,.6),0 1px 3px rgba(0,0,0,.45);
}
.hero--cover .slogans{margin:0 0 15px}
.hero--cover .slogans li{color:#fff;font-weight:600;font-size:14.5px;text-shadow:0 1px 6px rgba(0,0,0,.65)}
.hero--cover .slogans svg{filter:none}
.hero--cover .hero-actions{margin-bottom:18px}
.hero--cover .hero-stats{border-top:1px solid rgba(255,255,255,.32);padding-top:13px;margin-bottom:0}
.hero--cover .hero-stats div{border-right:1px solid rgba(255,255,255,.32)}
.hero--cover .hero-stats div:last-child{border-right:0;margin:0;padding:0}
.hero--cover .hero-stats b{color:#fff;font-size:19px;line-height:1.1;display:block;text-shadow:0 1px 5px rgba(0,0,0,.55)}
.hero--cover .hero-stats span{color:rgba(255,255,255,.85);font-size:11.5px;line-height:1.32;display:block;margin-top:2px;text-shadow:0 1px 4px rgba(0,0,0,.5)}
.hero--cover .hero-stats div{padding-right:10px}
.btn--ghost-light{background:rgba(255,255,255,.82);color:#101C31;border:2px solid rgba(16,28,49,.26)}
.btn--ghost-light:hover{background:#fff;color:var(--blue);border-color:var(--blue)}
.hero--cover .hero-cover-badge{
  position:absolute;left:26px;bottom:26px;z-index:3;
  background:rgba(255,255,255,.96);border:1px solid var(--hair);border-radius:100px;
  box-shadow:0 10px 26px rgba(16,24,40,.14);padding:10px 18px;
  font-size:.82rem;font-weight:800;letter-spacing:.05em;text-transform:uppercase;color:var(--blue);
  backdrop-filter:blur(4px);
}
@media(max-width:980px){
  .hero--cover{min-height:0}
  .hero--cover .hero-cover-inner{padding:62px 0 74px}
  .hero--cover::before{
    background:linear-gradient(180deg,
      rgba(255,255,255,.96) 0%,
      rgba(255,255,255,.92) 45%,
      rgba(255,255,255,.88) 100%);
  }
  .hero--cover .hero-cover-bg{background-position:76% center}
  .hero--cover .brand-title{color:#0F1B2E;text-shadow:0 1px 0 rgba(255,255,255,.85)}
  .hero--cover .slogans li{color:#2E3D55}
  .hero--cover .slogans svg{filter:none}
  .hero--cover .hero-stats{border-top-color:rgba(16,28,49,.16)}
  .hero--cover .hero-stats div{border-right-color:rgba(16,28,49,.16)}
  .hero--cover .hero-stats b{color:var(--blue)}
  .hero--cover .hero-stats span{color:#5A6B7E}
  .hero--cover .hero-cover-copy{max-width:none}
  .hero--cover .hero-cover-badge{position:static;display:inline-block;margin-top:22px}
}

.hero-art{position:relative;min-height:430px;display:flex;align-items:center}
/* --- hero photo card: wide banner, shown in full (no crop) --- */
.hero-photo{
  position:relative;margin:0;width:100%;
  background:#fff;border:1px solid var(--hair);border-radius:18px;
  box-shadow:0 24px 54px rgba(16,24,40,.16);overflow:hidden;
}
.hero-photo img{width:100%;height:auto;display:block}
.hero-photo .art-badge{
  position:absolute;left:18px;bottom:18px;z-index:2;
  background:rgba(255,255,255,.94);border:1px solid var(--hair);border-radius:100px;
  box-shadow:0 8px 20px rgba(16,24,40,.14);padding:10px 18px;
  font-size:.82rem;font-weight:800;letter-spacing:.05em;text-transform:uppercase;color:var(--blue);
  backdrop-filter:blur(4px);
}
@media(max-width:980px){
  .hero--light .hero-grid{grid-template-columns:1fr;padding:54px 0 26px}
  .hero-art{min-height:320px;order:-1;margin-bottom:8px}
}

/* blue CTA (reference banner button) */
.btn--blue{background:var(--blue);color:#fff}
.btn--blue:hover{background:var(--blue-dk);color:#fff}
.btn--ghost-dark{background:transparent;color:#1A2434;border:2px solid #1A2434}
.btn--ghost-dark:hover{background:#1A2434;color:#fff}
.btn--navy{background:var(--blue);color:#fff}
.btn--navy:hover{background:var(--blue-dk);color:#fff}
.btn--outline:hover{background:var(--blue);color:#fff;border-color:var(--blue)}

/* ---------- 02 · PRODUCT CARDS — white cards ---------- */
.pcards .pcard{
  display:flex;flex-direction:column;justify-content:flex-start;
  background:#fff;border:1px solid var(--hair);border-radius:12px;
  aspect-ratio:auto;padding:0;color:#1A2434;
}
.pcards .pcard::before{display:none}
.pcards .pcard .bg{
  position:static;aspect-ratio:4/3;width:100%;
  background-color:#fff;background-size:contain;background-repeat:no-repeat;background-position:center;
  border-bottom:1px solid var(--hair);
}
.pcards .pcard:hover .bg{transform:scale(1.05)}
.pcards .pcard h3{color:#101828;margin:16px 20px 8px;font-size:1.12rem}
.pcards .pcard p{color:#5A6B7E;margin:0 20px 14px}
.pcards .pcard .pc-btn{background:var(--blue);color:#fff}
.pcards .pcard:hover .pc-btn{background:var(--blue-dk);color:#fff}
.pcards .pcard:hover{box-shadow:var(--shadow-lg);transform:translateY(-3px)}

/* ---------- 03 · TOP UTILITY BAR — white ---------- */
.utilbar{background:#fff;color:#4A5A70;border-bottom:1px solid var(--hair)}
.utilbar a{color:#3B4A5F}
.utilbar a:hover{color:var(--blue)}
.utilbar .tag{background:#EEF3FB;color:var(--blue);border-color:#CFE0FA}
.utilbar .soc a svg{color:var(--blue)}

/* ---------- 04 · dark section → white ---------- */
.section--dark{background:#fff;color:#3B4A5F;border-top:1px solid var(--hair)}
.section--dark h2{color:var(--red)}
.section--dark h3{color:var(--ink)}
.section--dark .eyebrow{color:var(--blue)}
.section--dark .sec-head p{color:#5A6B7E}
.section--alt{background:#F7FAFD}

/* ---------- 05 · MODEL FINDER panel — white card ---------- */
.finder{background:#fff;color:var(--ink);border:1px solid var(--hair);box-shadow:var(--shadow)}
.finder h2{color:var(--red)}
.finder>p{color:#5A6B7E}
.finder-row input{background:#fff;color:var(--ink);border:1px solid #CBD5E1}
.finder-row input::placeholder{color:#94A3B8}
.finder-row input:focus{outline-color:var(--blue)}
.finder-hint{color:var(--faint)}
.finder-hint code{background:#F1F5F9;color:var(--blue)}
.results .res{background:#fff;border:1px solid var(--hair)}
.res b{color:var(--blue)}
.res .d{color:#5A6B7E}
.res .pill{background:#EAF1FE;color:var(--blue);border-color:#C7DBFC}
.res .pill--oem{background:#FDECEC;color:var(--red);border-color:#F3C6C6}

/* ---------- 06 · CERTIFICATES — white cards ---------- */
.cert{background:#fff;border:1px solid var(--hair)}
.cert b{color:var(--ink)}
.cert .no{color:var(--blue)}
.cert p{color:#5A6B7E}

/* ---------- 07 · CTA BAND — white ---------- */
.cta-band{background:#fff;color:var(--ink);border-top:1px solid var(--hair)}
.cta-band::before{background:radial-gradient(circle,rgba(212,43,43,.07),transparent 65%)}
.cta-band h2{color:var(--red)}
.cta-band p{color:#5A6B7E}
.cta-band .btn{background:var(--blue);color:#fff}
.cta-band .btn:hover{background:var(--blue-dk);color:#fff}

/* ---------- 08 · FOOTER — white ---------- */
.footer{background:#fff;color:#5A6B7E;border-top:1px solid var(--hair)}
.footer h4{color:var(--ink)}
.footer a{color:#5A6B7E}
.footer a:hover{color:var(--blue)}
.footer .fbrand b{color:var(--ink)}
.footer .fbrand span{color:var(--red)}
.fsocial a{background:#F1F5F9}
.fsocial a svg{color:var(--blue)}
.fsocial a:hover{background:var(--blue)}
.fsocial a:hover svg{color:#fff}
.footer-bottom{border-top:1px solid var(--hair);color:var(--faint)}

/* ---------- 09 · QC tabs — white bar ---------- */
.qc{background:#fff}
.qc-nav{background:#fff;border-bottom:1px solid var(--hair)}
.qc-btn{color:#5A6B7E}
.qc-btn:hover{color:var(--blue);background:#F4F8FE}
.qc-btn.is-active{color:var(--blue);background:#EAF1FE;border-bottom-color:var(--blue)}
.caps-view{background:#fff;border:1px solid var(--hair)}

/* ---------- 10 · TABLES ---------- */
.tbl th{background:#F4F7FB;color:var(--ink);border-bottom:1px solid var(--hair)}
.tbl td:first-child{color:var(--ink)}
.tbl tr:hover td{background:#F4F8FE}

/* ---------- 11 · SUBPAGE HERO — full-bleed photo + overlay text (v21 · unified with home hero) ---------- */
.pagehero{
  background:#FFFFFF;color:#101C31;border-bottom:0;
  position:relative;isolation:isolate;overflow:hidden;
}
.pagehero::before{background:none;display:none}
/* photo layer — same wide banner as the home hero, same dark cinematic treatment */
.pagehero--cover .pagehero-cover-bg{
  position:absolute;inset:0;z-index:-2;
  background:
    linear-gradient(93deg,
      rgba(10,15,26,.80) 0%,
      rgba(10,15,26,.62) 26%,
      rgba(10,15,26,.30) 50%,
      rgba(10,15,26,.08) 68%,
      rgba(10,15,26,0) 82%),
    url("../img/hero-banner.jpg?v=14") right center/cover no-repeat;
  background-color:#101C31;
}
/* pattern.css loads last — silence its photo + ring decor on these pages */
.pagehero.pagehero--cover::before,
.pagehero.pagehero--cover::after{display:none}
.pagehero--cover{padding:66px 0 72px;min-height:min(56vh,470px);display:flex;align-items:center}
.pagehero--cover>.container{width:100%}
.pagehero--cover .container{position:relative;z-index:1}
.pagehero h1{
  color:#0F1B2E;font-size:clamp(1.7rem,3.2vw,2.6rem);margin:0 0 12px;
  text-shadow:0 1px 0 rgba(255,255,255,.85);
}
.pagehero p{color:#33415C;max-width:660px}
/* white copy + read-safe shadow — identical treatment to the home hero */
.pagehero--cover h1{color:#fff;text-shadow:0 2px 10px rgba(0,0,0,.55)}
.pagehero--cover p{color:rgba(255,255,255,.92);text-shadow:0 1px 6px rgba(0,0,0,.5)}
.pagehero--cover .crumbs,.pagehero--cover .crumbs a{color:rgba(255,255,255,.82)}
.pagehero--cover .crumbs a:hover{color:#FFD666}
@media(max-width:820px){
  .pagehero--cover{padding:56px 0 60px;min-height:0}
  .pagehero--cover .pagehero-cover-bg{
    background:
      linear-gradient(180deg,rgba(10,15,26,.88) 0%,rgba(10,15,26,.74) 55%,rgba(10,15,26,.56) 100%),
      url("../img/hero-banner.jpg?v=14") 62% center/cover no-repeat;
    background-color:#101C31;
  }
}

/* ---------- 12 · BRIGHTEN photos, soften photo overlays ---------- */
.caps-view img,.sat-item img,.qc-ico,.split-media img,.app-strip img{
  filter:brightness(1.15) saturate(1.06);
}
.caps-cap{background:linear-gradient(transparent,rgba(16,24,40,.72))}
.app-strip span{background:linear-gradient(transparent,rgba(16,24,40,.72))}
.app::after{background:linear-gradient(to top,rgba(16,24,40,.86) 0%,rgba(16,24,40,.28) 55%,transparent 100%)}

/* ---------- 14 · STATS strip (also used standalone on about page) ---------- */
.hero-stats{background:transparent;border-top:1px solid var(--hair)}
.hero-stats div{border-right:1px solid var(--hair);background:transparent}
.hero-stats div:last-child{border-right:0;margin-right:0;padding-right:0}
.hero-stats b{color:var(--blue)}
.hero-stats span{color:#5A6B7E}

/* ---------- 13 · misc accents ---------- */
.note{background:#FFF8E6;border-color:#F5DFA0}
.qc-note{background:#FFF9E6;border-left-color:var(--orange);color:#7A5B00}

/* ===== CHENGLI brand logo (replaces old SWTG mark) ===== */
.logo-img{height:56px;width:auto;display:block}
.fbrand-img{height:50px;width:auto;display:block}
@media(max-width:980px){
  .logo-img{height:48px}
  .fbrand-img{height:44px}
}

/* ===== WeChat QR block: smaller, right-aligned ===== */
.soc-media{max-width:340px;margin-left:auto}
@media(max-width:860px){.soc-media{max-width:280px;margin:0 auto}}

/* ===== v20 audit fixes (2026-10-18) ===== */
/* slogan 图标与 CSS ::before 圆勾重复，只保留 SVG 图标 */
.hero .slogans li::before{display:none}
/* 移动端宽表格在容器内横向滚动，不撑破页面 */
@media (max-width:760px){
  .tbl{display:block;overflow-x:auto;-webkit-overflow-scrolling:touch}
  .tbl th,.tbl td{white-space:nowrap}
}


/* ---------- 22 · VIDEO PAGE ---------- */
.video-wrap{
  max-width:960px;margin:0 auto;background:#0B1524;border-radius:14px;padding:10px;
  box-shadow:0 24px 60px rgba(16,24,40,.18);
}
.video-cap{
  text-align:center;color:#5A6B7E;margin:16px 0 0;font-size:.92rem;
  display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;
}
.video-points{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:30px}
.vp-card{
  background:#fff;border:1px solid var(--hair);border-radius:12px;padding:22px 20px;
  box-shadow:0 6px 22px rgba(16,24,40,.06);
}
.vp-card svg{width:30px;height:30px;margin-bottom:10px}
.vp-card h3{margin:0 0 8px;font-size:1.04rem;color:#101C31}
.vp-card p{margin:0;color:#4A586E;font-size:.94rem;line-height:1.55}
.video-cta{
  margin-top:34px;background:linear-gradient(93deg,#101C31,#1B2C49);border-radius:14px;
  padding:30px 34px;display:flex;align-items:center;justify-content:space-between;gap:22px;flex-wrap:wrap;
}
.video-cta h2{margin:0 0 6px;color:#fff;font-size:1.35rem}
.video-cta p{margin:0;color:rgba(255,255,255,.78)}
@media(max-width:860px){
  .video-points{grid-template-columns:1fr}
  .video-cta{padding:24px 22px}
}
