/* =========================================================
   Kewei Crane ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â homepage (NovaPlas-style redesign)
   Theme: Kewei Blue on white / deep-navy dark bands
   ========================================================= */
:root {
  --kw-blue-dark: #0a2a5e;
  --kw-navy: #071c3f;
  --kw-navy-2: #0b2450;
  --kw-blue: #0e4199;
  --kw-blue-mid: #1a56b8;
  --kw-blue-light: #2f7bd9;
  --kw-blue-soft: #e8f0fb;
  --kw-ink: #17233b;
  --kw-muted: #64748b;
  --kw-line: #e2e8f2;
  --kw-shadow: 0 18px 44px rgba(10, 42, 94, .12);
}

html { scroll-behavior: smooth; }
body {
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--kw-ink);
  background: #fff;
  overflow-x: hidden;
  font-size: 18px;       /* global type bump */
  line-height: 1.75;
}
a { text-decoration: none; }
img { max-width: 100%; }
.section-pad { padding: 90px 0; }
h1, h2, h3, h4, h5 { font-weight: 800; letter-spacing: -.01em; }

/* ---------- NovaPlas-style headings (left aligned) ---------- */
.sec-label {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--kw-blue); font-weight: 800; letter-spacing: 2.5px;
  text-transform: uppercase; font-size: .78rem; margin-bottom: 14px;
}
.sec-label::before { content: ""; width: 30px; height: 3px; background: var(--kw-blue-light); border-radius: 3px; }
.sec-title { font-size: 2.45rem; color: var(--kw-ink); line-height: 1.2; margin-bottom: 16px; }
.sec-title .hl { color: var(--kw-blue-light); }
.sec-desc { color: var(--kw-muted); font-size: 1rem; line-height: 1.75; }
@media (max-width: 767px) { .sec-title { font-size: 1.6rem; } }

/* ---------- Buttons ---------- */
.btn-kw {
  --bs-btn-bg: var(--kw-blue); --bs-btn-border-color: var(--kw-blue);
  --bs-btn-hover-bg: var(--kw-blue-dark); --bs-btn-hover-border-color: var(--kw-blue-dark);
  --bs-btn-active-bg: var(--kw-blue-dark); --bs-btn-active-border-color: var(--kw-blue-dark);
  --bs-btn-color: #fff; --bs-btn-hover-color: #fff;
  border-radius: 50rem; padding: .7rem 1.7rem; font-weight: 700;
}
/* outlined pill with arrow (NovaPlas signature) */
.btn-outline-pill {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1.6px solid rgba(255,255,255,.75); color: #fff; background: transparent;
  border-radius: 50rem; padding: .72rem 1.6rem; font-weight: 700; font-size: .95rem;
  transition: .3s;
}
.btn-outline-pill svg { transition: transform .3s; }
.btn-outline-pill:hover { background: #fff; color: var(--kw-blue-dark); border-color: #fff; }
.btn-outline-pill:hover svg { transform: translate(2px, -2px); }
.btn-outline-pill.dark {
  border-color: var(--kw-blue); color: var(--kw-blue);
}
.btn-outline-pill.dark:hover { background: var(--kw-blue); color: #fff; }
.btn-white-solid {
  background: #fff; color: var(--kw-blue); font-weight: 700; border-radius: 50rem;
  padding: .72rem 1.7rem; border: 0; transition: .25s; display: inline-flex; align-items: center; gap: 8px;
}
.btn-white-solid:hover { background: var(--kw-blue-soft); color: var(--kw-blue-dark); }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--kw-navy); color: rgba(255,255,255,.85); font-size: .82rem;
  position: relative; z-index: 1032;
}
.topbar a { color: rgba(255,255,255,.85); }
.topbar a:hover { color: #fff; }
.topbar .tb-item { display: inline-flex; align-items: center; gap: 7px; margin-right: 22px; }
.topbar .socials a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(255,255,255,.12); margin-left: 8px; transition: .25s;
}
.topbar .socials a:hover { background: var(--kw-blue-light); color: #fff; }

/* ---------- Navbar (transparent over hero -> white on scroll) ---------- */
.navbar-kw {
  background: transparent; padding: .9rem 0;
  transition: background .3s, box-shadow .3s, padding .3s;
  z-index: 1030;
}
.navbar-kw .navbar-brand img { height: 50px; transition: height .3s, filter .3s; }
.navbar-kw:not(.scrolled) .navbar-brand img { filter: brightness(0) invert(1); }
.navbar-kw.scrolled {
  background: #fff; box-shadow: 0 4px 20px rgba(10,42,94,.10); padding: .5rem 0;
}
.navbar-kw.scrolled .navbar-brand img { height: 44px; }
.navbar-kw .nav-link {
  color: #fff; font-weight: 600; font-size: .95rem; padding: 12px 16px !important;
  transition: color .25s;
}
.navbar-kw .nav-link:hover, .navbar-kw .nav-link.active { color: #9cc4ff; }
.navbar-kw.scrolled .nav-link { color: var(--kw-ink); }
.navbar-kw.scrolled .nav-link:hover, .navbar-kw.scrolled .nav-link.active { color: var(--kw-blue); }
.navbar-kw:not(.scrolled) .navbar-toggler svg { stroke: #fff; }
.dropdown-toggle-nocaret::after { display: none; }
.nav-arrow { display: inline-block; margin-left: 6px; transition: transform .25s; vertical-align: middle; }
.dropdown.show .nav-arrow { transform: rotate(180deg); }

.dropdown-menu {
  border: 0; border-top: 3px solid var(--kw-blue);
  border-radius: 10px; box-shadow: 0 16px 38px rgba(10,42,94,.18);
  padding: 8px; margin-top: 1px !important; min-width: 250px;
}
.dropdown-menu::before {
  content: ""; position: absolute; top: -8px; left: 28px;
  width: 14px; height: 14px; background: #fff;
  border-left: 3px solid var(--kw-blue); border-top: 3px solid var(--kw-blue);
  transform: rotate(45deg); border-top-left-radius: 3px;
}
.dropdown-item {
  border-radius: 8px; padding: 9px 14px; font-size: .92rem;
  display: flex; align-items: center; gap: 10px; color: var(--kw-ink); font-weight: 600;
}
.dropdown-item svg { color: var(--kw-blue-light); flex: 0 0 auto; }
.dropdown-item:hover { background: var(--kw-blue-soft); color: var(--kw-blue); }

/* desktop: dropdown opens on hover (Bootstrap click is suppressed in main.js) */
@media (min-width: 992px) {
  .navbar-kw .nav-item.dropdown:hover > .dropdown-menu,
  .navbar-kw .nav-item.dropdown:hover > .dropdown-menu.show { display: block; }
  .navbar-kw .nav-item.dropdown:hover > .dropdown-toggle .nav-arrow { transform: rotate(180deg); }
}

@media (max-width: 991px) {
  /* Solid white navbar so logo stays visible without depending on hero */
  .navbar-kw { background: #fff !important; box-shadow: 0 2px 14px rgba(0,0,0,.08); padding-top: 8px; padding-bottom: 8px; }
  .navbar-kw .nav-link, .navbar-kw .nav-link.active { color: var(--kw-ink); }
  .navbar-kw .nav-link:hover { color: var(--kw-blue); }
  .navbar-kw:not(.scrolled) .navbar-brand img { filter: none; }
  .navbar-kw:not(.scrolled) .navbar-toggler svg { stroke: var(--kw-blue); }
  .navbar-kw .navbar-brand img { height: 44px; }
  /* inline accordion-style submenu on mobile */
  .navbar-kw .dropdown-menu {
    position: static; float: none; display: none;
    box-shadow: none; border: none; border-radius: 0;
    padding: 0 0 8px 14px; margin: 0; background: transparent;
    border-left: 2px solid var(--kw-blue-soft);
  }
  .navbar-kw .dropdown.show .dropdown-menu { display: block; }
  .navbar-kw .dropdown-menu::before { display: none; }
  .navbar-kw .dropdown-item { padding: 8px 14px; color: var(--kw-ink); font-size: 1rem; }
  .navbar-kw .dropdown-item:hover { background: transparent; color: var(--kw-blue); }
  /* hide arrow when menu open looks weird in accordion */
  .navbar-kw .dropdown.show > .dropdown-toggle .nav-arrow { transform: rotate(180deg); }
}

/* ---------- Hero (NovaPlas dark hero + collage) ---------- */
.hero-wrap { position: relative; }
.hero-swiper {
  position: relative; margin-top: -107px; /* pull under topbar+nav */
  background:
    radial-gradient(1000px 500px at 85% 10%, rgba(47,123,217,.22), transparent 60%),
    linear-gradient(115deg, #061630 0%, var(--kw-navy) 45%, #0d3068 100%);
  color: #fff;
}
.hero-swiper .swiper-slide {min-height: 800px;display: flex;align-items: center;padding: 130px 0 70px;position: relative;overflow: hidden;}
@media (max-width: 991px) { .hero-swiper .swiper-slide { min-height: 0; padding: 130px 0 60px; } }

/* decorative ghost outlines */
.hero-deco { position: absolute; border: 1px solid rgba(255,255,255,.10); pointer-events: none; }
.hero-deco.d1 { width: 220px; height: 220px; right: 6%; top: 12%; }
.hero-deco.d2 { width: 120px; height: 120px; right: 30%; bottom: 10%; }
.hero-deco.d3 { width: 60px; height: 60px; left: 4%; bottom: 16%; border-color: rgba(111,164,245,.35); }

.hero-content { max-width: 620px; position: relative; z-index: 3; }
.hero-content .eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  letter-spacing: 3px; font-weight: 700; font-size: .8rem; color: #9cc4ff;
  text-transform: uppercase; margin-bottom: 22px;
}
.hero-content .eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--kw-blue-light); }
.hero-content h1 { font-size: 3.5rem; font-weight: 800; line-height: 1.12; margin-bottom: 20px; letter-spacing: -.02em; }
.hero-content h1 .hl { color: #4d94f0; }
.hero-content .hero-sub { color: rgba(255,255,255,.78); font-size: 1rem; line-height: 1.8; margin-bottom: 14px; }
.hero-content .slogan { letter-spacing: 4px; font-weight: 700; color: #9cc4ff; font-size: .85rem; margin-bottom: 30px; }
.hero-content .slogan span { margin: 0 10px; color: rgba(255,255,255,.4); }
@media (max-width: 767px) { .hero-content h1 { font-size: 2rem; } }

/* collage (right side) */
.hero-collage { position: relative; height: 480px; z-index: 2; }
.hc-card {
  position: absolute; border-radius: 12px; overflow: hidden;
  box-shadow: 0 24px 50px rgba(3,12,30,.55); background: #fff;
}
.hc-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hc-card .hl-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 7px; background: linear-gradient(90deg, var(--kw-blue-light), var(--kw-blue)); }
.hc-main { width: 58%; height: 300px; right: 0; top: 0; }
.hc-sub { width: 46%; height: 190px; right: 10%; bottom: 0; }
.hc-circle {
  position: absolute; left: 4%; top: 44%; width: 190px; height: 190px; border-radius: 50%;
  border: 2px dashed rgba(120,170,245,.85); overflow: hidden; background: #fff;
  box-shadow: 0 18px 40px rgba(3,12,30,.5); z-index: 3;
}
.hc-circle img { width: 100%; height: 100%; object-fit: cover; transform: scale(2.1); transform-origin: 30% 40%; }
.hc-line { position: absolute; border-top: 2px dashed rgba(120,170,245,.6); z-index: 2; }
.hc-line.l1 { width: 130px; left: 22%; top: 52%; transform: rotate(24deg); }
.hc-line.l2 { width: 100px; left: 40%; bottom: 24%; transform: rotate(-18deg); }
@media (max-width: 991px) {
  .hero-collage { height: 360px; margin-top: 40px; }
  .hc-main { height: 220px; } .hc-sub { height: 140px; }
  .hc-circle { width: 140px; height: 140px; top: 40%; }
}

/* hero swiper controls */
.hero-swiper .swiper-button-next, .hero-swiper .swiper-button-prev {
  width: 54px; height: 54px; border-radius: 50%;
  border: 1.6px solid rgba(255,255,255,.5); background: transparent; color: #fff; transition: .25s;
}
.hero-swiper .swiper-button-next:hover, .hero-swiper .swiper-button-prev:hover {
  background: #fff; color: var(--kw-blue-dark); border-color: #fff;
}
.hero-swiper .swiper-button-next::after, .hero-swiper .swiper-button-prev::after { font-size: 1.05rem; font-weight: 700; }
.hero-swiper .swiper-pagination-bullet {
  width: 30px; height: 5px; border-radius: 3px; background: rgba(255,255,255,.45); opacity: 1; transition: .25s;
}
.hero-swiper .swiper-pagination-bullet-active { background: #fff; width: 48px; }

/* hero banner slide — full-width background image */
.hero-banner-slide {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7,28,63,.72) 0%, rgba(7,28,63,.40) 45%, rgba(7,28,63,.10) 100%);
  z-index: 1;
}
.hero-banner-slide .hero-content { z-index: 3; }
@media (max-width: 767px) {
  .hero-overlay { background: linear-gradient(180deg, rgba(7,28,63,.55) 0%, rgba(7,28,63,.25) 100%); }
}

/* ---------- Numbered trio cards (What we do) ---------- */
.trio-section { position: relative; z-index: 5; margin-top: -110px; padding-bottom: 90px; }
.num-card {
  position: relative; background: var(--kw-navy-2); border-radius: 14px; overflow: hidden;
  height: 100%; color: #fff; display: flex; flex-direction: column; transition: .35s;
  box-shadow: 0 20px 44px rgba(7,28,63,.28);
}
.num-card:hover { transform: translateY(-6px); box-shadow: 0 28px 56px rgba(7,28,63,.38); }
.num-card .thumb {/* aspect-ratio: 16/10; */overflow: hidden;}
.num-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.num-card:hover .thumb img { transform: scale(1.08); }
.num-card .body { padding: 24px 26px 28px; position: relative; flex: 1; display: flex; flex-direction: column; }
.num-card .ghost {
  position: absolute; top: 6px; right: 18px; font-size: 4rem; font-weight: 800; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.22); user-select: none;
}
.num-card h5 { font-size: 1.15rem; font-weight: 800; margin-bottom: 10px; max-width: 75%; }
.num-card p { color: rgba(255,255,255,.66); font-size: .88rem; flex: 1; margin-bottom: 18px; }
.num-card .ghost-bar { position: absolute; left: 0; top: 0; width: 100%; height: 4px; background: linear-gradient(90deg, var(--kw-blue-light), transparent); }

/* ---------- About ---------- */
.about-img { position: relative; }
.about-img img { border-radius: 14px; width: 100%; object-fit: cover; box-shadow: var(--kw-shadow); }
.about-img .exp-badge {
  position: absolute; right: -14px; bottom: 26px;
  background: linear-gradient(135deg, var(--kw-blue), var(--kw-blue-light));
  color: #fff; border-radius: 14px; padding: 18px 24px; text-align: center;
  box-shadow: 0 14px 30px rgba(14,65,153,.35);
}
.about-img .exp-badge .num { font-size: 2rem; font-weight: 800; line-height: 1; }
.about-img .exp-badge .lbl { font-size: .8rem; opacity: .9; }
.about-list { list-style: none; padding: 0; margin: 18px 0 26px; }
.about-list li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; color: var(--kw-muted); }
.about-list li svg { color: var(--kw-blue); margin-top: 3px; flex: 0 0 auto; }
.stat-box { text-align: center; padding: 24px 10px; border-radius: 12px; background: #fff; border: 1px solid var(--kw-line); transition: .3s; }
.stat-box:hover { border-color: var(--kw-blue-light); box-shadow: var(--kw-shadow); transform: translateY(-3px); }
.stat-box .num {font-size: 3rem;font-weight: 800;color: var(--kw-blue);line-height: 1.1;}
.stat-box .lbl {color: var(--kw-muted);/* font-size: .9rem; */}

/* ---------- Dark statement band ---------- */
.statement {
  background:
    radial-gradient(800px 400px at 90% 20%, rgba(47,123,217,.25), transparent 60%),
    linear-gradient(115deg, #061630, var(--kw-navy) 55%, #0d3068);
  color: #fff; position: relative; overflow: hidden;
}
.statement::after {
  content: ""; position: absolute; right: -80px; bottom: -80px; width: 300px; height: 300px;
  border: 36px solid rgba(255,255,255,.05); border-radius: 50%;
}
.statement h2 { font-size: 2.55rem; line-height: 1.25; }
.statement .hl { color: #4d94f0; }
.statement p { color: rgba(255,255,255,.75); line-height: 1.8; }
.statement-img { position: relative; }
.statement-img img { border-radius: 14px; width: 100%; height: 340px; object-fit: cover; box-shadow: 0 24px 50px rgba(3,12,30,.5); }
.statement-img .hl-bar { position: absolute; left: 18px; right: 18px; bottom: 18px; height: 7px; border-radius: 4px; background: linear-gradient(90deg, var(--kw-blue-light), var(--kw-blue)); }

/* ---------- Advantage big cards ---------- */
.adv-card {
  position: relative; border-radius: 16px; overflow: hidden; min-height: 460px;
  display: flex; align-items: flex-end; color: #fff;
  box-shadow: 0 20px 44px rgba(7,28,63,.22); transition: .35s;
}
.adv-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px rgba(7,28,63,.32); }
.adv-card .bg { position: absolute; inset: 0; }
.adv-card .bg img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.adv-card:hover .bg img { transform: scale(1.06); }
.adv-card .shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,28,63,.001) 0%, rgba(7,28,63,.55) 75%, rgba(7,28,63,.72) 100%);
}
.adv-card .body { position: relative; z-index: 2; padding: 34px; width: 100%; }
.adv-badge {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 60px;
  background: var(--kw-blue); color: #fff; border-radius: 50rem;
  font-size: .8rem; font-weight: 700; letter-spacing: 1px; padding: 7px 16px; text-transform: uppercase;
}
.adv-card h3 { font-size: 1.85rem; margin-bottom: 10px; }
.adv-card p { color: rgba(255,255,255,.75); font-size: .95rem; max-width: 90%; }
@media (max-width: 767px) { .adv-card { min-height: 360px; } .adv-badge { margin-bottom: 30px; } }

/* ---------- OEM / ODM checklist + factory gallery ---------- */
.bg-soft { background: linear-gradient(180deg, #f4f8fe, #fff); }
.factory-swiper { border-radius: 16px; overflow: hidden; box-shadow: var(--kw-shadow); }
.factory-swiper .swiper-slide img { width: 100%; height: 420px; object-fit: cover; }
.factory-thumbs .swiper-slide {
  opacity: .55; border-radius: 10px; overflow: hidden; cursor: pointer; transition: .25s;
  border: 2px solid transparent;
}
.factory-thumbs .swiper-slide img { width: 100%; height: 84px; object-fit: cover; }
.factory-thumbs .swiper-slide-thumb-active { opacity: 1; border-color: var(--kw-blue); }
.check-list { list-style: none; padding: 0; margin: 22px 0 30px; }
.check-list li { display: flex; gap: 14px; margin-bottom: 18px; align-items: flex-start; }
.check-list .ic {
  flex: 0 0 30px; width: 30px; height: 30px; border-radius: 50%;
  background: var(--kw-blue); color: #fff;
  display: flex; align-items: center; justify-content: center; margin-top: 2px;
}
.check-list h6 { font-weight: 800; color: var(--kw-ink); margin-bottom: 3px; font-size: 1rem; }
.check-list p { color: var(--kw-muted); font-size: .9rem; margin: 0; }

/* ---------- Products ---------- */
.prod-card {
  background: #fff; border: 1px solid var(--kw-line); border-radius: 14px; overflow: hidden;
  height: 100%; transition: .3s; display: flex; flex-direction: column;
}
.prod-card:hover { box-shadow: var(--kw-shadow); transform: translateY(-5px); border-color: transparent; }
.prod-card .thumb { position: relative; overflow: hidden; aspect-ratio: 4/3; background: #f6f8fc; }
.prod-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.prod-card:hover .thumb img { transform: scale(1.07); }
.prod-card .ghost {
  position: absolute; top: 8px; right: 14px; font-size: 2.6rem; font-weight: 800; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.2px rgba(255,255,255,.85); user-select: none;
  text-shadow: 0 2px 8px rgba(7,28,63,.25);
}
.prod-card .body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.prod-card h5 { font-size: 1.15rem; font-weight: 800; color: var(--kw-ink); margin-bottom: 10px; }
.prod-card p { color: var(--kw-muted); font-size: .88rem; flex: 1; }
.prod-card .more {
  color: var(--kw-blue); font-weight: 700; font-size: .9rem;
  display: inline-flex; align-items: center; gap: 6px;
}
.prod-card .more svg { transition: transform .25s; }
.prod-card .more:hover svg { transform: translateX(4px); }
.product-swiper { padding-bottom: 40px; }
.product-swiper .swiper-pagination-bullet {
  width: 12px; height: 12px; margin: 0 6px;
  background: var(--kw-blue-light); opacity: .4;
  cursor: pointer; transition: .25s;
}
.product-swiper .swiper-pagination-clickable .swiper-pagination-bullet { cursor: pointer; }
.product-swiper .swiper-pagination-bullet:hover { opacity: .8; transform: scale(1.15); }
.product-swiper .swiper-pagination-bullet-active { opacity: 1; background: var(--kw-blue); width: 30px; border-radius: 6px; }

/* ---------- Partners ---------- */
.bg-soft2 { background: linear-gradient(180deg, #fff, #f4f8fe); padding-top:0px; }
.partner-chip {
  border: 1px solid var(--kw-line); border-radius: 12px; background: #fff;
  padding: 24px 12px; text-align: center; font-weight: 800; color: var(--kw-navy);
  letter-spacing: 1.5px; transition: .3s; height: 100%; display: flex; align-items: center; justify-content: center;
  font-size: .95rem; position: relative; overflow: hidden;
}
.partner-chip::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 0;
  background: var(--kw-blue-light); transition: width .3s;
}
.partner-chip:hover::after { width: 100%; }
.partner-chip:hover { color: var(--kw-blue); box-shadow: var(--kw-shadow); }

/* ---------- CTA ---------- */
.cta-band {
  background:
    radial-gradient(600px 300px at 90% 10%, rgba(47,123,217,.3), transparent 60%),
    linear-gradient(115deg, #061630, var(--kw-navy) 55%, #0d3068);
  color: #fff; border-radius: 18px; padding: 48px 52px; position: relative; overflow: hidden;
}
.cta-band::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; z-index:-1;
  border: 34px solid rgba(255,255,255,.07); border-radius: 50%;
}
.cta-band h3 { font-weight: 800; margin-bottom: 8px; font-size: 1.85rem; }
.cta-band p { color: rgba(255,255,255,.78); margin: 0; }

/* ---------- Footer ---------- */
.footer {
  background:
    repeating-linear-gradient(115deg, rgba(255,255,255,.018) 0 2px, transparent 2px 90px),
    radial-gradient(700px 350px at 85% 0%, rgba(47,123,217,.14), transparent 60%),
    var(--kw-navy);
  color: #b9c6de; position: relative;
}
.footer .f-title { color: #fff; font-weight: 800; font-size: 1.05rem; margin-bottom: 20px; position: relative; padding-bottom: 12px; }
.footer .f-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 3px; border-radius: 2px; background: var(--kw-blue-light); }
.footer a { color: #b9c6de; font-size: .92rem; }
.footer a:hover { color: #fff; }
.footer .f-links li { margin-bottom: 10px; list-style: none; }
.footer .f-links { padding: 0; }
.footer .tagline { font-weight: 800; color: #fff; font-size: 1.25rem; line-height: 1.4; }
.footer .tagline .hl { color: #4d94f0; }
.footer .f-contact li { display: flex; gap: 14px; margin-bottom: 16px; list-style: none; align-items: flex-start; }
.footer .f-contact .ci {
  flex: 0 0 38px; width: 38px; height: 38px; border-radius: 50%;
  background: var(--kw-blue); color: #fff; display: flex; align-items: center; justify-content: center;
}
.footer .f-contact .ct b { display: block; color: #fff; font-size: .95rem; margin-bottom: 2px; }
.footer .f-contact .ct { font-size: .9rem; line-height: 1.6; }
.footer .f-contact .ct a { color: #cfe0ff; }
.footer .f-contact .ct a:hover { color: #fff; text-decoration: underline; }
.footer .socials a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.09);
  color: #fff; margin-right: 10px; transition: .25s;
}
.footer .socials a:hover { background: var(--kw-blue); transform: translateY(-3px); }

/* ---------- Contact section (light) ---------- */
.contact-sec { background: linear-gradient(180deg, #fff, #f2f7fd); }
.contact-list { list-style: none; padding: 0; margin: 26px 0 24px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.contact-list .ci {
  flex: 0 0 42px; width: 42px; height: 42px; border-radius: 50%;
  background: var(--kw-blue-soft); color: var(--kw-blue);
  display: flex; align-items: center; justify-content: center;
}
.contact-list .ct { color: var(--kw-muted); font-size: .94rem; line-height: 1.65; }
.contact-list .ct b { display: block; color: var(--kw-ink); font-weight: 800; font-size: .98rem; margin-bottom: 2px; }
.contact-list .ct a { color: var(--kw-blue); font-weight: 600; }
.contact-list .ct a:hover { color: var(--kw-blue-dark); text-decoration: underline; }
.contact-socials a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--kw-blue-soft); color: var(--kw-blue); margin-right: 10px; transition: .25s;
}
.contact-socials a:hover { background: var(--kw-blue); color: #fff; transform: translateY(-3px); }

/* message form card (light) */
.msg-box { background: #fff; border: 1px solid var(--kw-line); border-radius: 16px; padding: 32px; box-shadow: var(--kw-shadow); }
.msg-box .form-title { font-weight: 800; font-size: 1.25rem; margin-bottom: 6px; color: var(--kw-ink); }
.msg-box .form-title::after { content: ""; display: block; width: 40px; height: 3px; border-radius: 2px; background: var(--kw-blue-light); margin-top: 12px; }
.msg-box .form-label { font-size: .82rem; font-weight: 700; color: var(--kw-ink); margin-bottom: 6px; letter-spacing: .3px; }
.msg-box .form-control, .msg-box .form-select {
  border: 1px solid var(--kw-line); border-radius: 10px; padding: .7rem .95rem;
  font-size: .92rem; background: #fbfcfe; color: var(--kw-ink);
}
.msg-box .form-control::placeholder { color: #9aa8bd; }
.msg-box .form-control:focus, .msg-box .form-select:focus {
  border-color: var(--kw-blue-light); box-shadow: 0 0 0 .2rem rgba(47,123,217,.15); background: #fff;
}
.msg-box .btn { padding: .8rem 2.2rem; }
@media (max-width: 575px) { .msg-box { padding: 22px; } }

.footer-bottom { border-top: 1px solid rgba(255,255,255,.09); font-size: .86rem; color: #8fa2c2; }
.footer-bottom a { color: #c3d2ec; }

/* ---------- Floating side contact (NovaPlas style) ---------- */
.side-fab {
  position: fixed; right: 0; top: 42%; z-index: 100; display: flex; flex-direction: column; gap: 6px;
}
.side-fab a {
  width: 44px; height: 44px; border-radius: 10px 0 0 10px;
  background: var(--kw-blue); color: #fff; display: flex; align-items: center; justify-content: center;
  transition: .25s; box-shadow: -4px 6px 16px rgba(7,28,63,.25);
}
.side-fab a:hover { background: var(--kw-blue-light); width: 50px; }

/* ---------- Back to top ---------- */
.back-top {
  position: fixed; right: 26px; bottom: 26px; width: 46px; height: 46px; border-radius: 12px;
  background: var(--kw-blue); color: #fff; border: 0; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px rgba(14,65,153,.35); opacity: 0; pointer-events: none; transition: .3s; z-index: 99;
}
.back-top.show { opacity: 1; pointer-events: auto; }
.back-top:hover { background: var(--kw-blue-dark); }

/* ---------- Global impact + installation service + certificates ---------- */
.impact-sec { background: linear-gradient(180deg, #eef4fd 0%, #f8fbff 55%, #fff 100%); }

/* result stat card */
.impact-stat {
  background: #fff; border: 1px solid var(--kw-line); border-radius: 16px;
  padding: 26px 24px 24px; height: 100%; position: relative; overflow: hidden; transition: .3s;
}
.impact-stat::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(180deg, var(--kw-blue-light), var(--kw-blue));
  transform: scaleY(0); transform-origin: top; transition: transform .35s;
}
.impact-stat:hover { transform: translateY(-5px); box-shadow: var(--kw-shadow); border-color: transparent; }
.impact-stat:hover::before { transform: scaleY(1); }
.impact-stat .ic {
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: 16px;
  background: var(--kw-blue-soft); color: var(--kw-blue);
  display: flex; align-items: center; justify-content: center;
}
.impact-stat .num {
  font-size: 2.7rem; font-weight: 800; color: var(--kw-blue);
  line-height: 1; letter-spacing: -.02em;
}
.impact-stat .lbl { font-weight: 800; color: var(--kw-ink); font-size: 1.05rem; margin-top: 10px; }
.impact-stat .sub { color: var(--kw-muted); font-size: .85rem; line-height: 1.6; margin-top: 4px; }
@media (max-width: 575px) { .impact-stat .num { font-size: 2.2rem; } }

/* horizontal stat variant (used in #global left column) */
.impact-stat.h-stat { display: flex; gap: 20px; align-items: center; padding: 24px 26px; }
.impact-stat.h-stat .ic { flex: 0 0 50px; width: 50px; height: 50px; margin-bottom: 0; }
.impact-stat.h-stat .hs-body { display: flex; gap: 20px; align-items: center; flex: 1; }
.impact-stat.h-stat .num { font-size: 3rem; flex: 0 0 auto; min-width: 130px; }
.impact-stat.h-stat .lbl { margin-top: 0; font-size: 1.12rem; }
.impact-stat.h-stat .sub { margin-top: 6px; }
@media (max-width: 575px) {
  .impact-stat.h-stat { flex-direction: column; align-items: flex-start; gap: 14px; }
  .impact-stat.h-stat .hs-body { flex-direction: column; align-items: flex-start; gap: 4px; }
  .impact-stat.h-stat .num { min-width: 0; font-size: 2.4rem; }
}

/* installation team band */
.install-card {
  display: flex; gap: 26px; align-items: center; position: relative; overflow: hidden; height: 100%;
  background:
    radial-gradient(420px 200px at 90% 0%, rgba(47,123,217,.32), transparent 60%),
    linear-gradient(115deg, #061630, var(--kw-navy) 50%, #12457f);
  color: #fff; border-radius: 16px; padding: 30px 34px;
  box-shadow: 0 20px 44px rgba(7,28,63,.26);
}
.install-card::after {
  content: "";
  position: absolute;
  right: 30%;
  bottom: -150px;
  width: 240px;
  height: 240px;
  border: 32px solid rgba(255,255,255,.06);
  border-radius: 50%;
}
.install-card .ic {
  position: relative; z-index: 2; flex: 0 0 58px; width: 58px; height: 58px; border-radius: 14px;
  background: linear-gradient(135deg, var(--kw-blue-mid), var(--kw-blue-light));
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 26px rgba(47,123,217,.42);
}
.install-card .ic-body { position: relative; z-index: 2; flex: 1; display: flex; flex-direction: column; align-self: stretch; justify-content: center; }
.install-card h4 {font-size: 1.3rem;/* margin-bottom: 10px; */}
.install-card p {color: rgba(255,255,255,.76);font-size: 1.2rem;margin-bottom: 16px;}
.install-card .inst-list {
  list-style: none; padding: 0; margin: 0 0 22px;
  display: flex; flex-wrap: wrap; gap: 10px 26px;
}
.install-card .inst-list li {
  display: flex; align-items: center; gap: 8px;
  font-size: .88rem; color: rgba(255,255,255,.88);
}
.install-card .inst-list li svg { color: #4d94f0; flex: 0 0 auto; }
.install-card .btn-install {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  background: rgba(255,255,255,.14); color: #fff;
  padding: 10px 22px; border-radius: 50rem;
  font-weight: 700; font-size: .88rem;
  border: 1px solid rgba(255,255,255,.32); transition: .25s;
}
.install-card .btn-install:hover { background: #fff; color: var(--kw-blue-dark); border-color: #fff; }
.install-card .btn-install:hover svg { transform: translateX(3px); }
.install-card .btn-install svg { transition: transform .25s; }
.install-card .inst-contact {
  margin-top: 22px; padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.16);
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-size: .86rem; color: rgba(255,255,255,.6);
}
.install-card .inst-contact .dot { margin: 0 6px; color: rgba(255,255,255,.35); }
.install-card .inst-contact a { color: #9cc4ff; font-weight: 700; }
.install-card .inst-contact a:hover { color: #fff; }
@media (max-width: 575px) { .install-card { padding: 24px; gap: 16px; flex-direction: column; align-items: flex-start; } }
/* engineer photo on the right of the installation band */
.install-card .ic-photo { position: relative; z-index: 2; flex: 0 0 280px; align-self: center; }
.install-card .ic-photo img {
  display: block; width: 100%; height: 190px; object-fit: cover;
  border-radius: 12px; border: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 16px 34px rgba(0,0,0,.38);
  /* desaturate + tone toward the navy band so the photo blends in */
  filter: grayscale(.45) brightness(.92) contrast(1.08) saturate(.9);
}
.install-card .ic-photo::after {
  content: ""; position: absolute; inset: 0; border-radius: 12px;
  background: linear-gradient(200deg, rgba(18,69,127,.30) 0%, rgba(6,22,48,.66) 100%);
  mix-blend-mode: multiply; pointer-events: none;
}
@media (max-width: 991px) { .install-card .ic-photo { flex: 0 0 220px; } .install-card .ic-photo img { height: 160px; } }
@media (max-width: 575px) { .install-card .ic-photo { flex: 0 0 auto; width: 100%; align-self: stretch; } .install-card .ic-photo img { height: 200px; } }

/* certificates panel */
.cert-panel {
  background: #fff; border: 1px solid var(--kw-line); border-radius: 16px;
  padding: 28px 26px 26px; height: 100%; box-shadow: var(--kw-shadow);
  display: flex; flex-direction: column;
}
.cert-panel .cert-label {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  background: var(--kw-blue-soft); color: var(--kw-blue); border-radius: 50rem;
  font-size: .74rem; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase;
  padding: 6px 14px; margin-bottom: 16px;
}
.cert-panel .cert-title { font-size: 1.35rem; color: var(--kw-ink); margin-bottom: 10px; }
.cert-panel .cert-desc { color: var(--kw-muted); font-size: .88rem; line-height: 1.7; margin-bottom: 22px; }
.cert-slots { display: grid; grid-template-columns: 1fr; gap: 18px; flex: 1; }
.cert-slot {
  position: relative; overflow: hidden; border-radius: 12px;
  border: 1px solid rgba(14,65,153,.16);
  background: linear-gradient(160deg, #f7faff, #e9f1fd);
  min-height: 260px; aspect-ratio: 16/10;
  display: flex; align-items: center; justify-content: center;
  transition: .3s;
}
.cert-slot:hover { border-color: var(--kw-blue); box-shadow: 0 16px 34px rgba(10,42,94,.18); }
.cert-slot img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; background: #fff; display: block;
}
.cert-slot .cert-tag {
  position: absolute; left: 16px; bottom: 14px; z-index: 3;
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(7,28,63,.82); color: #fff;
  padding: 7px 14px; border-radius: 50rem;
  font-size: .8rem; font-weight: 800; letter-spacing: 1.2px;
  backdrop-filter: blur(6px);
}
.cert-slot .cert-ph {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 20px;
}
.cert-slot .cert-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 60px; height: 60px; border-radius: 50%; margin-bottom: 12px;
  border: 2px solid rgba(14,65,153,.28); background: #fff;
  color: var(--kw-blue); font-weight: 800; font-size: .9rem; letter-spacing: .5px;
}
.cert-slot .cert-code {
  display: block; font-weight: 800; color: var(--kw-blue-dark);
  font-size: 1.1rem; letter-spacing: 1px;
}
.cert-slot .cert-note {
  display: block; margin-top: 6px; font-size: .7rem; color: var(--kw-muted);
  letter-spacing: 1.4px; text-transform: uppercase;
}
@media (max-width: 575px) { .cert-slots { gap: 14px; } .cert-slot { min-height: 220px; } }

/* reveal animation */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in {
	opacity: 1;
	transform: none;
	position:relative;
}
.install-card:before{
	 content:"";
	 display:block;
	 position:absolute;
	 right:0px;
	 width:300px;
	 height:100%;
	 top:0px;
	 background-size: 100%;
	background-attachment: scroll;
	background-image: url(../images/engineer.webp);
	background-repeat: no-repeat;
	background-position: right center;}










/* =========================================================
   Page templates (Kewei blue) — shared by category / category-10
   (news) / page-contact / single-all, overriding the legacy
   Themex palette defined in images/style2.css.
   ========================================================= */

/* ---------- Page banner (inner pages) ---------- */
.page-banner {
  position: relative; margin-top: -107px; overflow: hidden; color: #fff;
  background:
    radial-gradient(1000px 500px at 85% 10%, rgba(47,123,217,.22), transparent 60%),
    linear-gradient(115deg, #061630 0%, var(--kw-navy) 45%, #0d3068 100%);
  min-height: 320px;
  display: flex; align-items: center;
}
.page-banner-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center; background-repeat: no-repeat;
  opacity: .35; pointer-events: none;
}
.page-banner-bg img { width:100%; height:100%; object-fit:cover; display:block; }
.page-banner-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(7,28,63,.18) 0%, rgba(7,28,63,.55) 100%);
  pointer-events: none;
}
.page-banner-content {
  position: relative; z-index: 2; padding: 175px 0 90px;
}
.page-banner-title {
  font-size: 2.55rem; font-weight: 800; line-height: 1.15;
  letter-spacing: -.01em; margin: 0 0 8px;
}
.page-banner-title .hl { color: var(--kw-blue-light); }
.page-banner-desc {
  color: rgba(255,255,255,.78); font-size: 1rem; max-width: 720px;
  line-height: 1.75; margin: 0 0 14px;
}
.page-banner-crumb {
  display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin-top: 14px; font-size: .88rem; color: rgba(255,255,255,.66);
}
.page-banner-crumb a { color: #9cc4ff; }
.page-banner-crumb a:hover { color: #fff; }
.crumb-sep { opacity: .55; }
.crumb-current { color: #fff; font-weight: 700; }
@media (max-width: 991px) {
  .page-banner { min-height: 260px; }
  .page-banner-content { padding: 150px 0 60px; }
  .page-banner-title { font-size: 1.95rem; }
}
@media (max-width: 575px) {
  .page-banner-content { padding: 135px 0 50px; }
  .page-banner-title { font-size: 1.65rem; }
}

/* ---------- Sub-nav bar (breadcrumb + tabs row, used by news list) ---------- */
.subnav-bar {
  background: #fff; border-bottom: 1px solid var(--kw-line);
  position: sticky; top: 0; z-index: 30; box-shadow: 0 4px 18px rgba(10,42,94,.05);
}
.subnav-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 14px 0; flex-wrap: wrap;
}
.subnav-crumb {
  margin: 0; font-size: .88rem; color: var(--kw-muted);
  display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.subnav-crumb a { color: var(--kw-muted); font-weight: 600; }
.subnav-crumb a:hover { color: var(--kw-blue); }
.subnav-crumb svg { color: var(--kw-blue-light); fill: currentColor; }
/* .crumb-current / .crumb-sep default to white for the dark page-banner;
   on the white subnav bar they need dark so they stay visible */
.subnav-crumb .crumb-current { color: var(--kw-ink); font-weight: 700; }
.subnav-crumb .crumb-sep { color: var(--kw-muted); opacity: .6; }
.subnav-menu {
  list-style: none; padding: 0; margin: 0;
  display: flex; gap: 6px; flex-wrap: wrap; align-items: center;
}
.subnav-menu li a {
  display: inline-flex; align-items: center;
  padding: 8px 16px; border-radius: 50rem;
  color: var(--kw-ink); font-weight: 600; font-size: .88rem;
  transition: .25s; border: 1px solid transparent;
}
.subnav-menu li a:hover {
  color: var(--kw-blue); background: var(--kw-blue-soft);
}
.subnav-menu li a.active {
  background: var(--kw-blue); color: #fff; border-color: var(--kw-blue);
}
@media (max-width: 767px) {
  .subnav-inner { padding: 12px 0; gap: 12px; }
  .subnav-menu { width: 100%; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
  .subnav-menu li a { padding: 7px 13px; font-size: .84rem; white-space: nowrap; }
}

/* ---------- News list (single column horizontal cards) ---------- */
.nl-section { padding: 70px 0 90px; background: #fff; }
.nl-container { max-width: 1280px; margin: 0 auto; padding: 0 16px; }
.nl-list { display: grid; gap: 26px; }
.nl-card {
  display: grid; grid-template-columns: 320px 1fr; gap: 28px;
  background: #fff; border: 1px solid var(--kw-line); border-radius: 16px;
  overflow: hidden; transition: .3s; box-shadow: 0 8px 22px rgba(10,42,94,.04);
}
.nl-card:hover { box-shadow: var(--kw-shadow); transform: translateY(-3px); border-color: transparent; }
.nl-card-img {
  position: relative; aspect-ratio: 4/3; overflow: hidden; background: #f4f8fe;
}
.nl-card-img img {
  width: 100%; height: 100%; object-fit: cover; transition: transform .6s;
}
.nl-card:hover .nl-card-img img { transform: scale(1.06); }
.nl-card-body {
  display: flex; gap: 20px; padding: 26px 26px 26px 0; align-items: stretch;
}
.nl-card-text { flex: 1; min-width: 0; }
.nl-card-title {
  font-size: 1.25rem; font-weight: 800; line-height: 1.35; color: var(--kw-ink);
  margin: 0 0 10px;
}
.nl-card-title a { color: inherit; }
.nl-card-title a:hover { color: var(--kw-blue); }
.nl-card-summary {
  color: var(--kw-muted); font-size: .94rem; line-height: 1.7; margin: 0;
}
.nl-card-date {
  flex: 0 0 auto; text-align: center; padding: 14px 14px;
  border-left: 1px dashed var(--kw-line); align-self: stretch;
  display: flex; flex-direction: column; justify-content: center;
}
.nl-date-day {
  font-size: 2rem; font-weight: 800; color: var(--kw-blue);
  line-height: 1; letter-spacing: -.02em;
}
.nl-date-ym {
  margin-top: 6px; font-size: .78rem; color: var(--kw-muted);
  letter-spacing: 1px; text-transform: uppercase;
}
.nl-empty {
  text-align: center; color: var(--kw-muted); font-size: .94rem;
  padding: 50px 0; margin: 0;
}
.nl-page {
  display: flex; gap: 8px; justify-content: center;
  margin-top: 38px; flex-wrap: wrap;
}
.nl-page button {
  width: 40px; height: 40px; border-radius: 10px;
  background: #fff; border: 1px solid var(--kw-line);
  color: var(--kw-ink); font-weight: 700; font-size: .9rem;
  cursor: pointer; transition: .25s;
}
.nl-page button:hover { border-color: var(--kw-blue); color: var(--kw-blue); }
.nl-page button.active {
  background: var(--kw-blue); border-color: var(--kw-blue); color: #fff;
}
.nl-page button:disabled { opacity: .4; cursor: not-allowed; }
@media (max-width: 767px) {
  .nl-card { grid-template-columns: 1fr; }
  .nl-card-body { padding: 20px; flex-direction: column; }
  .nl-card-date { border-left: 0; border-top: 1px dashed var(--kw-line);
    flex-direction: row; gap: 8px; padding: 12px 0 0; justify-content: flex-start; }
  .nl-date-ym { margin-top: 0; }
}

/* ---------- Product list (left sidebar + right grid) ---------- */
.pl-section { padding: 70px 0 90px; background: #fff; }
.pl-layout {
  display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: start;
}
.pl-main { min-width: 0; }          /* keeps the product grid from blowing out the column */
.bg-mystic { background: linear-gradient(180deg, #f4f8fe, #fff); }
.pl-sidebar {
  position: sticky; top: 92px; display: flex; flex-direction: column; gap: 24px;
}
.pl-cats {
  background: #fff; border: 1px solid var(--kw-line); border-radius: 14px;
  padding: 22px 14px 14px; box-shadow: 0 6px 18px rgba(10,42,94,.04);
}
.pl-cats-title {
  display: block;
  font-size: 1.2rem;
  font-weight: 800;
  /* letter-spacing: 2px; */
  text-transform: uppercase;
  color: var(--kw-blue);
  padding: 0 10px 12px;
  border-bottom: 1px solid var(--kw-line);
  margin-bottom: 10px;
}
.pl-cats ul { list-style: none; padding: 0; margin: 0; }
.pl-cats li { margin: 2px 0; }
.pl-cat {
  display: flex; align-items: center; justify-content: space-between;
  border-radius: 10px; transition: .2s;
}
.pl-cat-link {
  flex: 1; padding: 10px 12px; border-radius: 10px;
  color: var(--kw-ink); font-weight: 600; font-size: .92rem;
  transition: .2s;
}
.pl-cat-link:hover { color: var(--kw-blue); background: var(--kw-blue-soft); }
.pl-cat-link.active {
  background: var(--kw-blue); color: #fff;
  box-shadow: 0 6px 16px rgba(14,65,153,.22);
}
.pl-toggle {
  width: 30px; height: 30px; margin-right: 4px;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; border: 0; color: var(--kw-muted);
  border-radius: 8px; cursor: pointer; transition: .25s;
}
.pl-toggle:hover { background: var(--kw-blue-soft); color: var(--kw-blue); }
.pl-toggle svg { width: 18px; height: 18px; transition: transform .25s; }
.pl-toggle.open svg { transform: rotate(90deg); }
.pl-sub {
  display: none; padding: 4px 0 8px 18px; flex-direction: column; gap: 2px;
}
.pl-sub.open { display: flex; }
.pl-sub a {
  display: block; padding: 7px 12px; border-radius: 8px;
  color: var(--kw-muted); font-size: .86rem; font-weight: 600;
  position: relative;
}
.pl-sub a::before {
  content: ""; position: absolute; left: 0; top: 50%;
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--kw-blue-light); transform: translateY(-50%);
  opacity: .55;
}
.pl-sub a:hover { color: var(--kw-blue); background: var(--kw-blue-soft); }
.pl-sub a.active { color: var(--kw-blue); background: var(--kw-blue-soft); }
.pl-sub a.active::before { background: var(--kw-blue); opacity: 1; }

.pl-hot {
  background: linear-gradient(155deg, var(--kw-navy), #0d3068);
  color: #fff; border-radius: 14px; padding: 22px 18px;
  position: relative; overflow: hidden;
}
.pl-hot::before {
  content: ""; position: absolute; right: -50px; top: -50px;
  width: 160px; height: 160px; border: 20px solid rgba(255,255,255,.07);
  border-radius: 50%;
}
.pl-hot-title {
  font-size: 1.2rem;
  font-weight: 800;
  /* letter-spacing: 2px; */
  text-transform: uppercase;
  color: #9cc4ff;
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,.16);
  position: relative;
  z-index: 1;
}
.pl-hot-item {
  display: flex; gap: 12px; align-items: center;
  padding: 10px 4px; border-radius: 10px; color: #fff;
  transition: .25s; position: relative; z-index: 1;
}
.pl-hot-item:hover { background: rgba(255,255,255,.08); transform: translateX(3px); }
.pl-hot-item img {
  width: 56px; height: 56px; object-fit: cover; border-radius: 10px;
  border: 1px solid rgba(255,255,255,.16); flex: 0 0 auto;
}
.pl-hot-item .t {
  font-size: .88rem; font-weight: 600; line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}

.pl-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 14px 22px; margin-bottom: 22px;
  background: #fff; border: 1px solid var(--kw-line); border-radius: 12px;
  box-shadow: 0 4px 14px rgba(10,42,94,.04);
}
.pl-count {
  margin: 0; color: var(--kw-muted); font-size: .92rem;
}
.pl-count strong { color: var(--kw-blue); font-weight: 800; }
.pl-view {
  display: inline-flex; gap: 4px; background: #f4f8fe;
  border-radius: 50rem; padding: 4px;
}
.pl-view button {
  width: 34px; height: 34px; border-radius: 50rem; border: 0;
  background: transparent; color: var(--kw-muted); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: .2s;
}
.pl-view button svg { width: 18px; height: 18px; }
.pl-view button:hover { color: var(--kw-blue); }
.pl-view button.active {
  background: var(--kw-blue); color: #fff;
}

.pl-grid {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px;
}
.pl-grid.pl-list { grid-template-columns: 1fr; gap: 18px; }
.pl-grid.pl-list .pl-card { flex-direction: row; align-items: stretch; }
.pl-grid.pl-list .pl-card-img {
  flex: 0 0 300px; width: 300px; aspect-ratio: auto; min-height: 210px;
}
.pl-grid.pl-list .pl-card-body { padding: 24px 28px; }
.pl-grid.pl-list .pl-card-title { font-size: 1.16rem; -webkit-line-clamp: 2; }
.pl-grid.pl-list .pl-card-desc { -webkit-line-clamp: 3; }
.pl-card {
  background: #fff; border: 1px solid var(--kw-line); border-radius: 14px;
  overflow: hidden; height: 100%; transition: .3s;
  display: flex; flex-direction: column;
}
.pl-card:hover {
  box-shadow: var(--kw-shadow); transform: translateY(-4px); border-color: transparent;
}
.pl-card-img {
  position: relative; overflow: hidden; aspect-ratio: 4/3; background: #f4f8fe;
}
.pl-card-img img {
  width: 100%; height: 100%; object-fit: cover; transition: transform .5s;
}
.pl-card:hover .pl-card-img img { transform: scale(1.07); }
.pl-card-body {
  padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1;
}
.pl-card-title {
  font-size: 1.05rem; font-weight: 800; color: var(--kw-ink);
  margin: 0 0 8px; line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
}
.pl-card-title:hover { color: var(--kw-blue); }
.pl-card-desc {
  color: var(--kw-muted); font-size: .86rem; line-height: 1.65;
  margin: 0 0 14px; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.pl-card-more {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--kw-blue); font-weight: 700; font-size: .86rem;
  transition: .2s;
}
.pl-card-more svg { width: 16px; height: 16px; transition: transform .25s; }
.pl-card-more:hover svg { transform: translateX(4px); }

.pl-empty {
  text-align: center; color: var(--kw-muted); font-size: .94rem;
  padding: 50px 0; margin: 0;
}

@media (max-width: 991px) {
  .pl-layout { grid-template-columns: 1fr; }
  .pl-sidebar { position: static; }
  .pl-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .pl-grid.pl-list .pl-card-img { flex: 0 0 240px; width: 240px; min-height: 180px; }
}
@media (max-width: 575px) {
  .pl-grid { grid-template-columns: 1fr; gap: 18px; }
  .pl-toolbar { flex-direction: column; align-items: stretch; }
  .pl-view { align-self: flex-end; }
  .pl-grid.pl-list .pl-card { flex-direction: column; }
  .pl-grid.pl-list .pl-card-img { flex: none; width: 100%; aspect-ratio: 4/3; min-height: 0; }
  .pl-grid.pl-list .pl-card-body { padding: 20px 22px 22px; }
}

/* ---------- Pagination (overrides style2.css) ---------- */
.pagination-bar { text-align: center; margin: 36px 0 8px; }
.pagination-bar ul {
  list-style: none; padding: 0; margin: 0;
  display: inline-flex; gap: 6px; flex-wrap: wrap; justify-content: center;
}
.pagination-bar ul li { display: inline-block; }
.pagination-bar ul li > a,
.pagination-bar ul li > span {
  min-width: 40px; height: 40px; padding: 0 14px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff; border: 1px solid var(--kw-line);
  color: var(--kw-ink); font-weight: 700; font-size: .92rem;
  border-radius: 10px; transition: .25s;
}
.pagination-bar ul li > a:hover {
  border-color: var(--kw-blue); color: var(--kw-blue);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(14,65,153,.15);
}
.pagination-bar ul li > .current,
.pagination-bar ul li.active > a,
.pagination-bar ul li.active > span {
  background: var(--kw-blue); border-color: var(--kw-blue); color: #fff;
}
.pagination-bar ul li.pageinfo {
  background: transparent; border: 0; color: var(--kw-muted); padding: 0 8px;
}

/* ---------- Single product layout (single-all.php) ---------- */
.single-box {
  display: flex; gap: 30px; align-items: flex-start;
  background: #fff; border: 1px solid var(--kw-line); border-radius: 18px;
  padding: 32px; box-shadow: 0 14px 36px rgba(10,42,94,.06);
}
.single-left { width: 270px; flex: 0 0 270px; }
.single-right { flex: 1; min-width: 0; }
@media (max-width: 991px) {
  .single-box { flex-direction: column; padding: 22px; }
  .single-left { width: 100%; flex: 0 0 auto; }
}

/* product detail page wrapper */
.product-info-wrap { background: linear-gradient(180deg, #f4f8fe, #fff); padding: 60px 0; }
.product-wrap { padding: 70px 0; background: #fff; }

/* photo + info */
.product-list .prut_content {
  /* display: grid; */
  /* grid-template-columns: 1fr 1.1fr; */
  /* gap: 36px; */
  /* align-items: start; */
}
.product-list .left-img { background: #fff; border-radius: 14px; padding: 16px;
  border: 1px solid var(--kw-line); }
.product-list .left-img img { width: 100%; border-radius: 10px; }
.product-list .right-pinfo.productList-table h1 {
  font-size: 1.85rem; line-height: 1.25; color: var(--kw-ink); font-weight: 800;
  margin: 0 0 16px;
}
.product-list .right-pinfo ul { list-style: none; padding: 0; margin: 0 0 18px; }
.product-list .right-pinfo ul li.table_line {
  padding: 12px 0; border-bottom: 1px dashed var(--kw-line);
  color: var(--kw-muted); font-size: .96rem; line-height: 1.7;
}
.product-list .right-pinfo .gdlr-core-button {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--kw-blue); color: #fff;
  padding: 12px 28px; border-radius: 50rem;
  font-weight: 700; font-size: .92rem; border: 0;
  text-transform: none; transition: .25s;
}
.product-list .right-pinfo .gdlr-core-button:hover {
  background: var(--kw-blue-dark); transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(14,65,153,.3);
}
.product_pic img { border: 1px solid var(--kw-line); border-radius: 10px; }
@media (max-width: 767px) {
  .product-list .prut_content { grid-template-columns: 1fr; gap: 22px; }
}

/* product tabs */
.product-tablist {
  display: flex; gap: 4px; margin: 26px 0 0; padding: 0;
  list-style: none; border-bottom: 1px solid var(--kw-line);
  background: transparent;
}
.product-tablist .nav-item { list-style: none; margin: 0; }
.product-tablist .nav-link {
  border: 0; border-radius: 0;
  background: transparent; color: var(--kw-ink);
  padding: 12px 20px; font-weight: 700; font-size: .94rem;
  position: relative; transition: .25s;
}
.product-tablist .nav-link::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: -1px;
  height: 3px; background: transparent; border-radius: 3px 3px 0 0;
  transition: .25s;
}
.product-tablist .nav-link:hover { color: var(--kw-blue); }
.product-tablist .nav-link.active {
  color: var(--kw-blue); background: transparent;
}
.product-tablist .nav-link.active::after {
  background: var(--kw-blue);
}
.product-tab-content { padding: 22px 0 0; }
.product_desc { color: var(--kw-ink); font-size: .96rem; line-height: 1.8; }
.product_desc ul { padding-left: 22px; margin: 0 0 18px; list-style: disc; }
.product_desc ul li { list-style: disc; margin-bottom: 8px; }
.product_desc h2 { font-size: 1.65rem; font-weight: 800; color: var(--kw-ink); margin: 22px 0 12px; }
.product_desc h3 { font-size: 1.2rem; font-weight: 700; color: var(--kw-blue); margin: 18px 0 10px; }
.product_desc p { margin-bottom: 14px; }
.product_desc table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.product_desc table tr:nth-child(even) { background: #f4f8fe; }
.product_desc table td { padding: 10px 12px; border-bottom: 1px solid var(--kw-line); }
.product_desc table tr:nth-child(1) { background: var(--kw-navy); color: #fff; }
.product_desc table tr:nth-child(1) td { padding: 12px; color: #fff; font-weight: 700; }
.product_desc ul.nav { padding-left: 0; list-style: none; }
.product_desc ul.nav .nav-item { list-style: none; }
.product_desc strong { color: var(--kw-blue-dark); }
#tab_1, #tab_2, #tab_3, #tab_4, #tab_5, #tab_6, #tab_7 {
  padding-top: 30px; scroll-margin-top: 110px;
}

/* related products carousel */
.product-card {
  background: #fff; border: 1px solid var(--kw-line); border-radius: 14px;
  overflow: hidden; transition: .3s; height: 100%;
}
.product-card:hover { box-shadow: var(--kw-shadow); transform: translateY(-4px); border-color: transparent; }
.product-card .product-img {
  aspect-ratio: 4/3; overflow: hidden; background: #f4f8fe;
}
.product-card .product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.product-card:hover .product-img img { transform: scale(1.07); }
.product-card .product-info { padding: 16px 18px 20px; }
.product-card .product-info h3 { font-size: 1rem; font-weight: 700; line-height: 1.4; margin: 0; }
.product-card .product-info h3 a { color: var(--kw-ink); }
.product-card .product-info h3 a:hover { color: var(--kw-blue); }

.section-title {
  text-align: center; margin-bottom: 36px;
}
.section-title span {
  display: inline-block; font-size: .8rem; font-weight: 800;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--kw-blue); margin-bottom: 8px;
  position: relative; padding: 0 32px;
}
.section-title::after {
  content: ""; display: block; width: 56px; height: 3px;
  margin: 12px auto 0; background: var(--kw-blue-light); border-radius: 3px;
}
.section-title h2 { font-size: 2rem; font-weight: 800; color: var(--kw-ink); margin: 0; }

/* ---------- Contact form section (overrides style2.css) ---------- */
.contact-form-section { padding: 80px 0; background: linear-gradient(180deg, #f4f8fe, #fff); }
.contact-form-section .contact-respond {
  background: #fff; border: 1px solid var(--kw-line); border-radius: 16px;
  padding: 36px; box-shadow: var(--kw-shadow);
}
/* NOTE: selector chains below are intentionally as long as the ones in
   images/style2.css so that these Kewei-blue rules win the cascade
   (same specificity, but assets/css/style.css loads later). */
.contact-form-section .contact-wrapper .contact-respond form .form_group {
  position: relative; margin-bottom: 18px;
}
.contact-form-section .contact-wrapper .contact-respond form .form_group .form_control {
  width: 100%; padding: .75rem 1rem .75rem 2.6rem;
  height: auto; min-height: 52px;
  background: #fbfcfe; border: 1px solid var(--kw-line); border-radius: 10px;
  color: var(--kw-ink); font-size: .94rem;
  transition: .25s;
}
.contact-form-section .contact-wrapper .contact-respond form .form_group textarea.form_control {
  min-height: 140px; padding-top: 1rem; padding-bottom: 1rem;
}
.contact-form-section .contact-wrapper .contact-respond form .form_group .form_control::placeholder { color: #9aa8bd; }
.contact-form-section .contact-wrapper .contact-respond form .form_group .form_control:focus {
  outline: none; border-color: var(--kw-blue-light);
  box-shadow: 0 0 0 .2rem rgba(47,123,217,.15);
  background: #fff;
}
.contact-form-section .contact-wrapper .contact-respond form .form_group i {
  position: absolute; left: 14px; top: 14px;
  color: var(--kw-blue); font-size: 1.05rem;
}
.contact-form-section .contact-wrapper .contact-respond form .form_group .main-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 36px; min-width: 180px;
  background: var(--kw-blue); color: #fff;
  border: 0; border-radius: 50rem;
  font-weight: 700; font-size: .95rem;
  cursor: pointer; transition: .25s;
}
.contact-form-section .contact-wrapper .contact-respond form .form_group .main-btn:hover {
  background: var(--kw-blue-dark); transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(14,65,153,.3);
}

/* ---------- Legacy page-title (top inner page hero, Themex compatible) ---------- */
.page-title {
  position: relative; overflow: hidden; color: #fff; text-align: center;
  background:
    radial-gradient(1000px 500px at 85% 10%, rgba(47,123,217,.22), transparent 60%),
    linear-gradient(115deg, #061630 0%, var(--kw-navy) 45%, #0d3068 100%);
  min-height: 260px; display: flex; align-items: center;
  margin-top: -107px;
}
.page-title::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7,28,63,.18), rgba(7,28,63,.55));
}
.page-title .content-box { position: relative; z-index: 2; padding: 175px 0 90px; }
.page-title .content-box .title h1 {
  font-size: 2.55rem; font-weight: 800; letter-spacing: -.01em;
  margin: 0 0 14px; line-height: 1.15;
  text-shadow: 0 4px 14px rgba(0,0,0,.25);
}
.page-title .content-box .bread-crumb {
  list-style: none; padding: 0; margin: 14px 0 0;
  display: inline-flex; align-items: center; gap: 14px; flex-wrap: wrap;
  justify-content: center;
  font-size: .9rem; color: rgba(255,255,255,.7);
}
.page-title .content-box .bread-crumb li a { color: rgba(255,255,255,.85); }
.page-title .content-box .bread-crumb li a:hover { color: #fff; }
.page-title .content-box .bread-crumb li.shape {
  width: 16px; height: 2px; background: rgba(255,255,255,.65); border-radius: 2px;
}
.page-title .content-box .bread-crumb li:last-child {
  color: #fff; font-weight: 700;
}

.auto-container {
  position: static; max-width: 1280px; margin: 0 auto;
  padding-left: 16px; padding-right: 16px;
}

/* ---------- Misc utilities used by category / single ---------- */
.icon-sm { width: 16px; height: 16px; display: inline-block; vertical-align: -3px; }

/* =========================================================
   Overrides for colours shipped inline by single-all.php
   (.nav-link.active { #eb5c20 !important } and .product_desc h3
   { #097400 }) — those inline rules were meant for the product
   tab strip only, but leak onto the site navbar. Everything
   below keeps the whole template in the Kewei-blue palette.
   ========================================================= */
/* site navbar keeps its neutral / blue active state */
.navbar-kw .nav-link.active {
  background-color: transparent !important;
  color: var(--kw-blue) !important;
}
.navbar-kw:not(.scrolled) .nav-link.active { color: #9cc4ff !important; }
@media (max-width: 991px) {
  .navbar-kw .nav-link.active { color: var(--kw-blue) !important; }
}
/* product tab strip uses a Kewei-blue underline, not an orange fill */
.product-tablist .nav-link.active {
  background-color: transparent !important;
  color: var(--kw-blue) !important;
}
/* product description headings inherit the site font + palette */
.product_desc h2, .product_desc h3, .product_desc h4 { font-family: inherit !important; }
.product_desc h3 { color: var(--kw-blue) !important; }
/* =========================================================
   Products 分类页 — 子分类卡片网格（category.php）
   ========================================================= */
.pl-catgrid-wrap { margin-bottom: 34px; }

.pl-subhead { margin-bottom: 18px; }
.pl-subhead--sub { margin-top: 38px; padding-top: 26px; border-top: 1px solid var(--kw-line); }
.pl-subhead-label {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--kw-blue); font-weight: 800; letter-spacing: 2.5px;
  text-transform: uppercase; font-size: .74rem; margin-bottom: 8px;
}
.pl-subhead-label::before {
  content: ""; width: 26px; height: 3px;
  background: var(--kw-blue-light); border-radius: 3px;
}
.pl-subhead-title {
  font-size: 1.5rem; color: var(--kw-ink); line-height: 1.25; margin: 0;
}

.pl-catgrid {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 22px;
  grid-template-columns: repeat(3, minmax(0,1fr));
}
.pl-catcard {
  display: flex; flex-direction: column; height: 100%;
  background: #fff; border: 1px solid var(--kw-line); border-radius: 14px;
  overflow: hidden; transition: .3s;
}
.pl-catcard:hover {
  border-color: transparent;
  box-shadow: var(--kw-shadow);
  transform: translateY(-4px);
}
.pl-catcard-img {
  display: block; position: relative; overflow: hidden;
  aspect-ratio: 4/3; background: #f4f8fe;
}
.pl-catcard-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s;
}
.pl-catcard:hover .pl-catcard-img img { transform: scale(1.07); }

.pl-catcard-body {
  display: flex; flex-direction: column; flex: 1;
  padding: 16px 18px 18px;
}
.pl-catcard-title {
  display: block; font-size: 1.1rem; font-weight: 800;
  color: var(--kw-ink); line-height: 1.35; margin-bottom: 6px;
}
.pl-catcard:hover .pl-catcard-title { color: var(--kw-blue); }
.pl-catcard-desc {
  display: block; color: var(--kw-muted);
  font-size: .84rem; line-height: 1.6; margin-bottom: 12px; flex: 1;
}
.pl-catcard-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin-top: auto;
}
.pl-catcard-count { color: var(--kw-muted); font-size: .8rem; }
.pl-catcard-more {
  display: inline-flex; align-items: center; gap: 4px;
  color: var(--kw-blue); font-weight: 700; font-size: 1rem;
}
.pl-catcard-more svg { width: 16px; height: 16px; transition: transform .25s; }
.pl-catcard:hover .pl-catcard-more svg { transform: translateX(4px); }

@media (max-width: 767px) {
  .pl-catgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .pl-subhead-title { font-size: 1.25rem; }
}
@media (max-width: 479px) {
  .pl-catgrid { grid-template-columns: 1fr; }
}
