/* ============================================================
   DS VISUAL — official site stylesheet (variant B: clean light)
   Shenzhen DS Visual Technology Co., Ltd.
   ============================================================ */

/* ---------- design tokens ---------- */
:root {
  --c-navy:    #10243c;   /* deep navy - headings */
  --c-navy-2:  #16324f;   /* secondary navy */
  --c-blue:    #0e4da4;   /* primary accent */
  --c-blue-2:  #1f7ad6;
  --c-blue-soft: #eaf2fc;
  --c-blue-bg: #eef4fb;
  --c-bg:      #ffffff;
  --c-bg-alt:  #f7f9fc;
  --c-line:    #e5e9f0;
  --c-text:    #1e293b;
  --c-muted:   #66798f;
  --c-muted-2: #94a3b8;
  --c-ok:      #0e9f6a;
  --c-orange:  #f97316;   /* hover 强调色：卡片整卡可点时标题变橙（比蓝更醒目） */
  --radius:    8px;
  --radius-lg: 14px;
  --shadow-card: 0 1px 2px rgba(16,36,60,.06), 0 10px 24px -18px rgba(16,36,60,.28);
  --shadow-hover: 0 20px 40px -18px rgba(16,36,60,.35);
  --font: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  --wrap: 1280px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--c-text); line-height: 1.6; background: var(--c-bg); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ---------- buttons ---------- */
.btn { display: inline-block; padding: 12px 26px; border-radius: var(--radius); font-weight: 600; font-size: 15px; border: 1.5px solid transparent; cursor: pointer; transition: .18s; }
.btn-solid { background: var(--c-blue); color: #fff; box-shadow: 0 6px 16px -6px rgba(14,77,164,.5); }
.btn-solid:hover { background: #0b3f87; }
.btn-ghost { border-color: #b9c9db; color: var(--c-navy-2); background: #fff; }
.btn-ghost:hover { border-color: var(--c-blue); color: var(--c-blue); }
.btn-white { background: #fff; color: var(--c-blue); }
.btn-white:hover { background: var(--c-blue-soft); }

/* ---------- top strip ---------- */
.strip { background: var(--c-navy-2); color: #c9d8ea; font-size: 12.5px; }
.strip .wrap { display: flex; justify-content: space-between; align-items: center; height: 34px; }
.strip a { color: #fff; }
.strip .sep { opacity: .5; margin: 0 10px; }
.strip .lang a { font-weight: 600; color: #bfd9ff; }
.strip .lang a:hover { color: #fff; }

/* ---------- header / nav ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.97); backdrop-filter: blur(6px); box-shadow: 0 1px 0 var(--c-line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 18px; }
.logo { display: flex; align-items: center; gap: 11px; color: var(--c-navy); flex: none; }
.logo .mark { width: 42px; height: 42px; border-radius: 9px; background: linear-gradient(135deg, #0e4da4, #1f7ad6); display: grid; place-items: center; font-weight: 800; font-size: 15px; color: #fff; box-shadow: 0 4px 10px -3px rgba(14,77,164,.45); }
.logo b { font-size: 18px; letter-spacing: .3px; line-height: 1.15; }
.logo small { display: block; font-size: 10px; color: #7b8ca3; letter-spacing: 1.8px; font-weight: 600; }
.nav { display: flex; gap: 2px; align-items: center; }
.nav a { color: #42536a; padding: 9px 13px; border-radius: 7px; font-size: 14.5px; font-weight: 500; }
.nav a:hover { color: var(--c-blue); background: var(--c-blue-soft); }
.nav a.active { color: var(--c-blue); font-weight: 700; }
.nav .cta { background: var(--c-blue); color: #fff !important; font-weight: 600 !important; padding: 10px 18px; }
.nav .cta:hover { background: #0b3f87 !important; color: #fff !important; }
.burger { display: none; background: none; border: 1px solid #ccd6e2; color: var(--c-navy); border-radius: 7px; padding: 6px 11px; font-size: 18px; cursor: pointer; line-height: 1.2; }

/* ---------- page hero (inner pages) ---------- */
.page-hero { background: linear-gradient(175deg, var(--c-blue-bg), #f8fafc 80%); border-bottom: 1px solid var(--c-line); padding: 54px 0 46px; text-align: center; }
.page-hero .kicker { color: var(--c-blue); font-weight: 700; font-size: 13px; letter-spacing: 2.4px; text-transform: uppercase; }
.page-hero h1 { font-size: clamp(27px, 3.4vw, 40px); color: var(--c-navy); margin: 10px auto 10px; letter-spacing: -.3px; max-width: 820px; line-height: 1.2; }
.page-hero p { color: var(--c-muted); max-width: 680px; margin: 0 auto; font-size: 15.5px; }

/* ---------- sections ---------- */
.section { padding: 70px 0; }
.section.alt { background: var(--c-bg-alt); border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); }
.sec-head { max-width: 760px; margin-bottom: 40px; }
.sec-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.sec-head .kicker { color: var(--c-blue); font-weight: 700; font-size: 13px; letter-spacing: 2.4px; text-transform: uppercase; }
.sec-head h2 { font-size: clamp(24px, 3vw, 34px); color: var(--c-navy); margin: 9px 0 10px; letter-spacing: -.3px; }
.sec-head p { color: var(--c-muted); font-size: 15.5px; }

/* ---------- grids ---------- */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 44px; align-items: center; }

/* ---------- product cards ---------- */
.card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); transition: .22s; border: 1px solid transparent; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); border-color: #d6e3f3; }
.card .ph { aspect-ratio: 4/3; background: var(--c-bg-alt); overflow: hidden; }
.card .ph img { width: 100%; height: 100%; object-fit: cover; transition: .45s; }
.card:hover .ph img { transform: scale(1.05); }
.card .bd { padding: 16px 18px 18px; }
.card h3 { font-size: 16px; color: var(--c-navy); }
.card p { font-size: 13px; color: var(--c-muted); margin-top: 5px; line-height: 1.5; }
.card .lnk { display: inline-block; margin-top: 12px; color: var(--c-blue); font-size: 13.5px; font-weight: 700; }
.card .lnk:hover { text-decoration: underline; }

/* ---------- case tiles ---------- */
.case-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.case { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3; box-shadow: 0 14px 26px -16px rgba(16,36,60,.4); }
.case img { width: 100%; height: 100%; object-fit: cover; transition: .45s; }
.case:hover img { transform: scale(1.07); }
.case figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 38px 16px 14px; background: linear-gradient(transparent, rgba(13,30,50,.86)); color: #fff; font-size: 14px; font-weight: 600; }

/* ---------- trust bar ---------- */
.trust { border-bottom: 1px solid var(--c-line); background: #fff; }
.trust .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding: 22px 24px; }
.trust .item { display: flex; gap: 13px; align-items: center; }
.trust .ico { width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--c-blue-soft); color: var(--c-blue); display: grid; place-items: center; font-size: 18px; }
.trust b { display: block; font-size: 14.5px; color: var(--c-navy-2); }
.trust span { font-size: 12px; color: #7d8b9e; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--c-navy), var(--c-blue)); }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 26px; padding-top: 46px; padding-bottom: 46px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: clamp(20px, 2.6vw, 30px); margin-bottom: 6px; }
.cta-band p { color: #b9cfe9; font-size: 15px; }

/* ---------- news ---------- */
.news-card { border: 1px solid var(--c-line); border-radius: var(--radius-lg); padding: 22px 24px; background: #fff; transition: .2s; height: 100%; }
.news-card:hover { box-shadow: 0 16px 30px -16px rgba(16,36,60,.3); border-color: #c9d8ea; }
.news-card time { font-size: 12px; color: var(--c-muted-2); letter-spacing: .3px; }
.news-card h3 { font-size: 16px; color: var(--c-navy-2); margin: 8px 0 6px; line-height: 1.45; }
.news-card p { font-size: 13.5px; color: #74849a; }

/* ---------- footer ---------- */
/* 0910 用户定：底栏三列（方形LOGO+公司名/SLOGAN ｜ 地址 ｜ 联系方式），无小标题、不放链接；
   底纹浅色；高度经过两轮压缩（现约为最初 344px 的 30%） */
.site-footer { background: #f4f6f9; color: #54687e; font-size: 13px; border-top: 1px solid #e6ecf3; }
.site-footer .wrap { display: grid; grid-template-columns: 1.5fr 1.25fr 1.15fr; gap: 28px; padding: 9px 24px 4px; }
.site-footer h4 { color: #0f1f33; font-size: 13.5px; margin-bottom: 7px; letter-spacing: .5px; }
.site-footer a { color: #54687e; display: block; margin-bottom: 6px; }
.site-footer a:hover { color: #0e4da4; }
.site-footer .logo { color: #0f1f33; margin-bottom: 8px; }
/* 0910 用户定：左列 = 公司方形 LOGO 放最左，其右侧上下两行（上＝公司名称，下＝SLOGAN）；
   三列的**行 1 必须上下对齐** → 左列 flex 顶部对齐（不要 center，会被 logo 高度顶下去） */
.site-footer .fbrand { display: flex; align-items: flex-start; gap: 12px; }
.site-footer .fbrand .logo { margin-bottom: 0; flex: 0 0 auto; }
.site-footer .fbrand img.brand-square { height: 36px; width: auto; display: block; }
.site-footer .fbrand-txt { min-width: 0; }
.site-footer .fname { color: #0f1f33; font-size: 13.5px; font-weight: 600; line-height: 1.3; margin-bottom: 2px; }
.site-footer .about-t { font-size: 12.5px; line-height: 1.4; color: #5f7186; }
.site-footer .ct { margin-bottom: 4px; line-height: 1.4; }
.site-footer .ct b { color: #22334a; font-weight: 600; }
.copy { border-top: 1px solid #e6ecf3; padding: 2px 0; text-align: center; font-size: 11.5px; line-height: 1.4; color: #5f7186; }
.copy .beian { margin-left: 8px; }
.copy .beian a { display: inline; color: #5f7186; text-decoration: none; margin: 0; }
.copy .beian a:hover { color: #22334a; text-decoration: underline; }
.copy .beian a + a { margin-left: 10px; }
.copy .beian-ico { display: inline; width: 16px; height: 18px; vertical-align: -4px; margin-right: 3px; border: 0; }

/* ---------- misc page bits ---------- */
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.pager a, .pager span { min-width: 36px; padding: 7px 12px; border: 1px solid var(--c-line); border-radius: 7px; text-align: center; font-size: 14px; color: var(--c-muted); }
.pager a:hover { border-color: var(--c-blue); color: var(--c-blue); }
.pager .cur { background: var(--c-blue); color: #fff; border-color: var(--c-blue); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
  .case-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; gap: 28px; }
  .trust .wrap { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .site-footer .wrap { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  .strip .hide-m { display: none; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 10px 18px 18px; box-shadow: 0 22px 34px rgba(16,36,60,.18); border-bottom: 1px solid var(--c-line); align-items: stretch; }
  .nav.open { display: flex; }
  .nav a { display: block; padding: 12px 6px; }
  .nav .cta { text-align: center; margin-top: 6px; }
  .burger { display: block; }
  .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .case-grid { grid-template-columns: 1fr; }
  .trust .wrap { grid-template-columns: 1fr; gap: 12px; padding: 16px 24px; }
  .section { padding: 48px 0; }
  .cta-band .wrap { justify-content: center; text-align: center; }
  .site-footer .wrap { grid-template-columns: 1fr; gap: 26px; }
}

/* ---------- brand logo (formal) ---------- */
.logo img.brand { height: 40px !important; max-height: 40px !important; width: auto !important; display: block; }
@media (max-width: 767px) { .logo img.brand { height: 32px !important; } }
.site-footer .logo img.brand { height: 34px !important; }

/* ---------- product slide multi-image / spec images / lightbox ---------- */
.sp-wrap { width: 100%; }
.sp-main { position: relative; border-radius: 14px; overflow: hidden; background: #eef2f8; box-shadow: 0 18px 40px -26px rgba(15,40,80,.55); }
.sp-main img.sp-img { width: 100%; height: auto; display: block; }
.sp-count { position: absolute; right: 10px; bottom: 10px; background: rgba(10,22,40,.62); color: #fff;
  font-size: 12px; padding: 3px 9px; border-radius: 20px; letter-spacing: .5px; }
.sp-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; padding: 2px 2px 6px; }
.sp-thumbs img { width: 96px; height: 54px; object-fit: cover; border-radius: 8px; cursor: pointer;
  border: 2px solid transparent; opacity: .7; flex: 0 0 auto; transition: opacity .15s, border-color .15s; }
.sp-thumbs img:hover { opacity: 1; }
.sp-thumbs img.on { border-color: var(--c-blue); opacity: 1; }
.spec-imgs img { width: 100%; max-width: 1280px; height: auto; border-radius: 0; margin: 0 auto 14px; display: block; cursor: zoom-in; }
.lightbox { position: fixed; inset: 0; background: rgba(8,16,30,.93); display: grid; place-items: center;
  z-index: 300; cursor: zoom-out; padding: 24px; }
.lightbox img { max-width: 96vw; max-height: 92vh; border-radius: 6px; box-shadow: 0 30px 70px -30px #000; }
@media (max-width: 767px) {
  .sp-thumbs img { width: 72px; height: 40px; }
  .sp-main { border-radius: 10px; }
}

/* ---------- 纯图卖点屏（文字已做进图内）---------- */
/* 0910 用户定：卖点图 = 固定宽度（与顶部大图/参数图同宽）+ 高度随图自适应（21:9）+ 无圆角无阴影无框。
   结构规则（.slide.img-only / .wrap / .pic）放在**详情页骨架的内联样式**里，避免被骨架同名规则覆盖。 */
.slide.img-only .sp-main { border-radius: 0; box-shadow: none; background: transparent; aspect-ratio: 21 / 9; }
.slide.img-only .sp-main img.sp-img { width: 100%; height: 100%; object-fit: contain; display: block; }

/* ---------- 产品列表：三维度筛选 + 卡片两行 ---------- */
.filters { background: #f7fafd; border: 1px solid var(--c-line); border-radius: 14px; padding: 16px 18px; margin: 0 0 26px; }
.frow { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.frow:last-child { margin-bottom: 0; }
.flab { flex: 0 0 84px; width: 84px; font-weight: 700; color: var(--c-navy); font-size: 13.5px;
  text-align: justify; text-align-last: justify; }
.ftab { border: 1px solid var(--c-line); background: #fff; color: #42536a; border-radius: 20px;
  padding: 6px 14px; font-size: 13.5px; cursor: pointer; transition: all .15s; }
.ftab:hover { border-color: var(--c-blue); color: var(--c-blue); }
.ftab.on { background: var(--c-blue); border-color: var(--c-blue); color: #fff; }
.finput { width: 78px; padding: 6px 9px; border: 1px solid var(--c-line); border-radius: 8px; font-size: 13.5px; }
.fsep, .fsuf { color: #74849a; font-size: 13.5px; }
.fbtn-round { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--c-blue);
  background: var(--c-blue); color: #fff; display: inline-grid; place-items: center; padding: 0;
  margin-left: 10px; cursor: pointer; transition: all .15s; }
.fbtn-round:hover { background: #1b5fb0; border-color: #1b5fb0; transform: translateY(-1px); }
.pc-cat { font-size: 13px; color: #7a8ba0; margin: 2px 0 8px; letter-spacing: .2px; word-break: break-all; }
/* 整张卡片即链接（产品中心 / 项目案例 / 创意定制 / 首页 / 详情页相关产品）——点卡片任意位置进详情页 */
a.card.clk { display: block; color: inherit; text-decoration: none; }
a.card.clk:hover h3 { color: var(--c-orange); }
a.card.clk:focus-visible { outline: 3px solid #ffd3ae; outline-offset: 2px; }
.flt-hide { display: none !important; }

/* ---------- 主视觉 Banner（首页轮播 / 栏目大图，M5-10） ---------- */
.hero-c { background: linear-gradient(175deg, #eef4fb 0%, #f8fafc 70%, #fff 100%);
  border-bottom: 0; }                 /* 无边框：全图时上下无缝，保持"无边界视窗"感 */
.hc { position: relative; overflow: hidden; }
.hc-track { display: flex; transition: transform .55s cubic-bezier(.4,0,.2,1); }
.hc-slide { flex: 0 0 100%; min-width: 100%; visibility: hidden; position: relative; }
.hc-slide.on { visibility: visible; }
.hc-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 44px; align-items: center;
  padding-top: 66px; padding-bottom: 66px; }
.hc-kick { display: inline-flex; align-items: center; gap: 8px; background: #e2edfc; color: #0b4a9e;
  border: 1px solid #c9ddf8; border-radius: 999px; padding: 5px 14px; font-size: 12.5px;
  font-weight: 600; margin-bottom: 18px; }
.hc-kick::before { content: "\25CF"; font-size: 10px; }
.hc-h { font-size: clamp(30px, 4vw, 47px); line-height: 1.12; color: #10243c;
  letter-spacing: -.3px; margin-bottom: 16px; }
.hc-h .accent { color: #0e4da4; }
.hc-p { color: #5a6d85; font-size: 17px; max-width: 560px; margin-bottom: 28px; }
.hc-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hc-pic { position: relative; }
.hc-pic img { width: 100%; height: 430px; object-fit: cover; border-radius: 18px;
  box-shadow: 0 30px 60px -20px rgba(16,36,60,.35); display: block; }
/* 第 2 张起：只放图片（无文字）——absolute 铺满整屏：无内边距/无圆角/无阴影，
   且不参与高度计算（高度由第 1 张决定）→ 切换不跳高、视觉上是一整幅「无边界视窗」 */
.hc-imgonly { position: absolute; inset: 0; }
.hc-imgonly img { width: 100%; height: 100%; object-fit: cover; object-position: center;
  border-radius: 0; box-shadow: none; display: block; }
.hc-cap { position: absolute; left: 16px; bottom: 16px; background: rgba(16,36,60,.82);
  color: #fff; padding: 9px 16px; border-radius: 9px; font-size: 13.5px; }
.hc-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px;
  border: 1px solid #d6e2f2; border-radius: 50%; background: rgba(255,255,255,.92);
  color: #0e4da4; font-size: 23px; line-height: 1; display: grid; place-items: center;
  cursor: pointer; z-index: 3; padding: 0; }
.hc-nav:hover { background: #fff; box-shadow: 0 8px 20px -8px rgba(16,36,60,.45); }
.hc-prev { left: 14px; }
.hc-next { right: 14px; }
.hc-dots { position: absolute; left: 0; right: 0; bottom: 18px; display: flex; gap: 8px;
  justify-content: center; z-index: 3; }
.hc-dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; background: #b9cbe4;
  cursor: pointer; padding: 0; transition: all .2s; }
.hc-dots button.on { background: #0e4da4; width: 22px; border-radius: 99px; }
/* 栏目页顶部大图 Banner */
.page-hero.bnr-img { position: relative; padding: 96px 0 88px; background: #0d2b4f;
  border-bottom: 0; overflow: hidden; }
.page-hero.bnr-img .bnr-bg { position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: .52; }
.page-hero.bnr-img::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,24,44,.42) 0%, rgba(8,24,44,.74) 100%); }
.page-hero.bnr-img .wrap { position: relative; z-index: 2; }
.page-hero.bnr-img .kicker { color: #9cc4ff; }
.page-hero.bnr-img h1 { color: #fff; }
.page-hero.bnr-img h1 .accent { color: #9cc4ff; }
.page-hero.bnr-img p { color: #dbe7f7; }
@media (max-width: 900px) {
  .hc-grid { grid-template-columns: 1fr; gap: 26px; padding-top: 44px; padding-bottom: 52px; }
  .hc-pic img { height: 260px; }

  .hc-h { font-size: clamp(26px, 7vw, 34px); }
  .hc-p { font-size: 15.5px; margin-bottom: 20px; }
  .hc-nav { display: none; }
  .page-hero.bnr-img { padding: 66px 0 58px; }
}
