@charset "utf-8";
/* ==========================================================================
   新航圆 · 现代前端设计系统  modern.css
   Shanghai Newhangyuan Lighthouse Electric Co., Ltd
   简洁 · 高端 · 响应式  |  航空障碍灯生产厂家
   ========================================================================== */

:root {
    --navy:      #0a2540;   /* 主色 深航空蓝 */
    --navy-2:    #0e3358;
    --blue:      #0f5fb0;   /* 品牌蓝 */
    --blue-soft: #e8f1fb;
    --accent:    #e8442b;   /* 信号红 · 障碍灯灯光 */
    --accent-2:  #ff5a3c;
    --amber:     #f5a623;   /* logo 太阳暖黄 */
    --ink:       #0f1a26;   /* 正文 */
    --ink-2:     #43566b;   /* 次级文字 */
    --muted:     #7d8ea0;   /* 弱化文字 */
    --line:      #e6ebf1;   /* 分隔线 */
    --line-2:    #eef2f6;
    --bg:        #ffffff;
    --bg-soft:   #f5f8fb;   /* 浅背景 */
    --bg-soft-2: #eef3f8;
    --white:     #ffffff;
    --radius:    14px;
    --radius-sm: 10px;
    --shadow:    0 10px 30px rgba(10, 37, 64, .08);
    --shadow-lg: 0 24px 60px rgba(10, 37, 64, .14);
    --shadow-sm: 0 4px 16px rgba(10, 37, 64, .06);
    --maxw:      1240px;
    --ease:      cubic-bezier(.22, .61, .36, 1);
    --font: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Source Han Sans SC",
            -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }

/* overflow-x: clip 裁掉移动端离屏抽屉菜单造成的横向滚动，
   且不会像 overflow:hidden 那样把 html 变成滚动容器、破坏 sticky 头部 */
html { overflow-x: clip; }
body {
    font-family: var(--font);
    color: var(--ink);
    background: var(--bg);
    font-size: 16px;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: clip;
}

a { color: inherit; text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; border: 0; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.25; color: var(--navy); letter-spacing: -.01em; }
i, em { font-style: normal; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; font-size: 15px; outline: none; }
.clearfix::after { content: ""; display: block; clear: both; }
::selection { background: var(--accent); color: #fff; }

/* ---------- 布局容器 ---------- */
.wrap, .container { width: 92%; max-width: var(--maxw); margin: 0 auto; }
.section-pad { padding: 92px 0; }

/* ---------- 通用按钮 ---------- */
.btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 30px; border-radius: 999px;
    font-size: 15px; font-weight: 600; letter-spacing: .01em;
    transition: all .3s var(--ease); border: 1.5px solid transparent;
    white-space: nowrap;
}
.btn svg, .btn .arrow { transition: transform .3s var(--ease); }
.btn:hover svg, .btn:hover .arrow { transform: translateX(4px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 10px 24px rgba(232, 68, 43, .28); }
.btn-primary:hover { background: var(--accent-2); color: #fff; transform: translateY(-2px); box-shadow: 0 16px 32px rgba(232, 68, 43, .34); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); color: #fff; transform: translateY(-2px); }
.btn-ghost { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn-outline { border-color: var(--line); color: var(--navy); background: #fff; }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- 章节标题 ---------- */
.sec-head { text-align: center; margin-bottom: 54px; }
.sec-head .eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
    color: var(--accent); margin-bottom: 16px;
}
.sec-head .eyebrow::before, .sec-head .eyebrow::after { content: ""; width: 26px; height: 2px; background: var(--accent); opacity: .5; }
.sec-head h2 { font-size: clamp(26px, 3.4vw, 40px); }
.sec-head p { color: var(--ink-2); font-size: 16px; margin-top: 14px; max-width: 640px; margin-inline: auto; }
.sec-head.left { text-align: left; }
.sec-head.left .eyebrow::before, .sec-head.left p { margin-inline: 0; }
.sec-head.light h2 { color: #fff; }
.sec-head.light p { color: rgba(255,255,255,.72); }

/* ==========================================================================
   顶部 · 头部 / 导航
   ========================================================================== */
.site-topbar {
    background: var(--navy); color: rgba(255,255,255,.72);
    font-size: 13.5px; border-bottom: 1px solid rgba(255,255,255,.07);
}
.site-topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 40px; }
.site-topbar a { color: rgba(255,255,255,.72); }
.site-topbar a:hover { color: #fff; }
.site-topbar .tb-left { display: flex; gap: 22px; }
.site-topbar .tb-left span { display: inline-flex; align-items: center; gap: 6px; }
.site-topbar .tb-right { display: flex; gap: 18px; }

.site-header {
    position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.96);
    -webkit-backdrop-filter: saturate(180%) blur(10px);
    backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow .3s var(--ease);
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(10,37,64,.08); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 14px; }

.brand { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.brand img { height: 52px; width: 52px; object-fit: contain; flex-shrink: 0; }
.brand .brand-txt { display: flex; flex-direction: column; line-height: 1.2; }
.brand .brand-txt b { font-size: 19px; color: var(--navy); font-weight: 800; letter-spacing: .01em; }
.brand .brand-txt small { font-size: 11px; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }

.main-nav { flex-shrink: 0; }
.main-nav ul { display: flex; align-items: center; gap: 2px; }
.main-nav a {
    display: block; padding: 10px 13px; font-size: 15px; font-weight: 600; color: var(--ink);
    border-radius: 999px; position: relative; transition: all .25s var(--ease);
    white-space: nowrap;
}
.main-nav a:hover, .main-nav li.active a, .main-nav li.in a { color: var(--accent); }
.main-nav li.active a, .main-nav li.in a { background: var(--blue-soft); color: var(--blue); }

/* 「商品分类」展开菜单 —— 仅移动端显示 */
.nav-cate { display: none; }
.cate-arrow { display: inline-block; width: 8px; height: 8px; border: solid currentColor; border-width: 0 2px 2px 0;
    margin-top: -3px; transform: rotate(45deg); transition: transform .25s var(--ease); }
.nav-cate.open .cate-arrow { transform: rotate(-135deg); }
.main-nav .nav-sub { display: none; }
.main-nav .nav-cate.open .nav-sub { display: block; }

/* 菜单内搜索 —— 仅移动端显示 */
.nav-search { display: none; }

.header-cta { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.header-tel { display: flex; align-items: center; gap: 10px; }
.header-tel .ico { width: 40px; height: 40px; border-radius: 50%; background: var(--blue-soft); color: var(--blue);
    display: grid; place-items: center; flex-shrink: 0; }
.header-tel .t { line-height: 1.15; }
.header-tel .t small { display: block; font-size: 11px; color: var(--muted); }
.header-tel .t b { font-size: 18px; color: var(--accent); font-weight: 800; letter-spacing: .02em; }

.nav-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 12px;
    background: #fff; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: .3s var(--ease); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-backdrop { position: fixed; inset: 0; background: rgba(10,37,64,.4); opacity: 0; visibility: hidden;
    transition: .3s var(--ease); z-index: 998; }
.nav-backdrop.show { opacity: 1; visibility: visible; }

/* ==========================================================================
   首页 · 主视觉 Banner
   ========================================================================== */
.hero { position: relative; overflow: hidden; background: var(--navy); }
.hero-slider { position: relative; }
.hero-slide { position: relative; display: none; }
.hero-slide.active { display: block; animation: heroFade 1s var(--ease); }
@keyframes heroFade { from { opacity: 0; } to { opacity: 1; } }
.hero-slide .media { position: relative; height: clamp(420px, 56vw, 660px); }
.hero-slide .media img { width: 100%; height: 100%; object-fit: cover; }
.hero-slide .media::after { content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(6,22,40,.82) 0%, rgba(6,22,40,.5) 45%, rgba(6,22,40,.18) 100%); }
.hero-caption { position: absolute; inset: 0; display: flex; align-items: center; }
.hero-caption .wrap { width: 92%; }
.hero-caption .inner { max-width: 640px; color: #fff; }
.hero-caption .tag { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px;
    background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); font-size: 13px; font-weight: 600;
    letter-spacing: .04em; margin-bottom: 22px; }
.hero-caption .tag .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(232,68,43,.3); animation: beacon 1.4s infinite; }
@keyframes beacon { 0%,100% { opacity: 1; } 50% { opacity: .3; } }
.hero-caption h1 { color: #fff; font-size: clamp(30px, 5vw, 58px); line-height: 1.1; margin-bottom: 20px; font-weight: 800; }
.hero-caption h1 span { color: var(--amber); }
.hero-caption p { font-size: clamp(15px, 2vw, 19px); color: rgba(255,255,255,.82); margin-bottom: 34px; max-width: 520px; }
.hero-caption .actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-dots { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 5; }
.hero-dots button { width: 34px; height: 4px; border-radius: 4px; border: 0; background: rgba(255,255,255,.4); transition: .3s var(--ease); }
.hero-dots button.active { background: var(--accent); width: 46px; }

/* 主视觉下方 · 数据条 */
.hero-stats { background: var(--navy-2); border-top: 1px solid rgba(255,255,255,.08); }
.hero-stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.hero-stats .stat { padding: 30px 20px; text-align: center; color: #fff; border-right: 1px solid rgba(255,255,255,.08); }
.hero-stats .stat:last-child { border-right: 0; }
.hero-stats .stat b { display: block; font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; color: #fff; letter-spacing: -.02em; }
.hero-stats .stat b span { color: var(--amber); font-size: .7em; }
.hero-stats .stat small { font-size: 14px; color: rgba(255,255,255,.66); }

/* ==========================================================================
   首页 · 产品展示
   ========================================================================== */
.products-sec { background: var(--bg-soft); }
.prod-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 44px; }
.prod-filter a {
    padding: 10px 22px; border-radius: 999px; font-size: 15px; font-weight: 600;
    background: #fff; color: var(--ink-2); border: 1px solid var(--line); transition: all .25s var(--ease);
}
.prod-filter a:hover, .prod-filter a.on { background: var(--navy); color: #fff; border-color: var(--navy); }

.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.prod-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
    transition: all .35s var(--ease); position: relative;
}
.prod-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.prod-card .thumb { position: relative; aspect-ratio: 1/1; background: linear-gradient(160deg, #fafcfe, #eef3f8); overflow: hidden; }
.prod-card .thumb img { width: 100%; height: 100%; object-fit: contain; padding: 24px; transition: transform .5s var(--ease); }
.prod-card:hover .thumb img { transform: scale(1.06); }
.prod-card .thumb .view { position: absolute; inset: 0; background: rgba(10,37,64,.55); display: grid; place-items: center;
    opacity: 0; transition: .35s var(--ease); }
.prod-card:hover .thumb .view { opacity: 1; }
.prod-card .thumb .view span { padding: 11px 24px; background: #fff; color: var(--navy); border-radius: 999px; font-size: 14px; font-weight: 600;
    transform: translateY(10px); transition: .35s var(--ease); }
.prod-card:hover .thumb .view span { transform: translateY(0); }
.prod-card .info { padding: 20px 22px; }
.prod-card .info h3 { font-size: 17px; margin-bottom: 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--navy); }
.prod-card:hover .info h3 { color: var(--accent); }
.prod-card .info .model { font-size: 13.5px; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.prod-card .info .model b { color: var(--blue); font-weight: 700; }

.sec-more { text-align: center; margin-top: 50px; }

/* ==========================================================================
   首页 · 关于我们
   ========================================================================== */
.about-sec { position: relative; overflow: hidden; }
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.about-media { position: relative; }
.about-media .main-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/3; }
.about-media .main-img img { width: 100%; height: 100%; object-fit: cover; }
.about-media .badge { position: absolute; right: -18px; bottom: -18px; background: var(--accent); color: #fff;
    border-radius: var(--radius); padding: 22px 26px; box-shadow: 0 20px 40px rgba(232,68,43,.32); }
.about-media .badge b { display: block; font-size: 40px; font-weight: 800; line-height: 1; color: #fff; }
.about-media .badge small { font-size: 13px; opacity: .9; }
.about-text .lead { font-size: 17px; color: var(--ink-2); line-height: 1.9; margin: 20px 0 28px; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 32px; }
.about-features li { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; background: var(--bg-soft); border-radius: var(--radius-sm); border: 1px solid var(--line-2); }
.about-features li .ico { width: 40px; height: 40px; border-radius: 10px; background: var(--navy); color: var(--amber); display: grid; place-items: center; flex-shrink: 0; }
.about-features li b { display: block; font-size: 15.5px; color: var(--navy); }
.about-features li small { font-size: 13px; color: var(--muted); }

/* ==========================================================================
   首页 · 优势 / 为什么选择
   ========================================================================== */
.why-sec { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.why-sec::before { content: ""; position: absolute; top: -120px; right: -120px; width: 460px; height: 460px;
    background: radial-gradient(circle, rgba(232,68,43,.22), transparent 70%); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.why-card { padding: 34px 28px; border-radius: var(--radius); background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.09); transition: .35s var(--ease); }
.why-card:hover { background: rgba(255,255,255,.08); transform: translateY(-6px); border-color: rgba(245,166,35,.4); }
.why-card .ico { width: 58px; height: 58px; border-radius: 14px; background: linear-gradient(135deg, var(--accent), var(--amber));
    display: grid; place-items: center; margin-bottom: 22px; color: #fff; }
.why-card h3 { color: #fff; font-size: 19px; margin-bottom: 10px; }
.why-card p { color: rgba(255,255,255,.66); font-size: 14.5px; line-height: 1.75; }

/* ==========================================================================
   首页 · 新闻资讯
   ========================================================================== */
.news-sec { background: var(--bg-soft); }
.news-tabs { display: flex; justify-content: center; gap: 12px; margin-bottom: 44px; }
.news-tabs a { padding: 11px 30px; border-radius: 999px; font-size: 15px; font-weight: 600; color: var(--ink-2);
    background: #fff; border: 1px solid var(--line); transition: .25s var(--ease); }
.news-tabs a.on, .news-tabs a:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.news-panel { display: none; grid-template-columns: 1fr 1fr; gap: 36px; }
.news-panel.show { display: grid; }
.news-feature { border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); border: 1px solid var(--line);
    display: flex; flex-direction: column; transition: .3s var(--ease); }
.news-feature:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.news-feature .pic { aspect-ratio: 16/9; overflow: hidden; }
.news-feature .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.news-feature:hover .pic img { transform: scale(1.05); }
.news-feature .fbody { padding: 26px 28px; }
.news-feature .date { display: inline-flex; align-items: baseline; gap: 4px; color: var(--accent); font-weight: 700; margin-bottom: 10px; }
.news-feature .date b { font-size: 30px; line-height: 1; }
.news-feature h3 { font-size: 20px; margin-bottom: 10px; }
.news-feature:hover h3 { color: var(--accent); }
.news-feature p { color: var(--ink-2); font-size: 14.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-list { display: flex; flex-direction: column; }
.news-list li { border-bottom: 1px dashed var(--line); }
.news-list li:last-child { border-bottom: 0; }
.news-list a { display: flex; align-items: center; gap: 18px; padding: 18px 6px; transition: .25s var(--ease); }
.news-list a:hover { padding-left: 14px; }
.news-list .day { flex-shrink: 0; width: 62px; height: 62px; border-radius: 12px; background: #fff; border: 1px solid var(--line);
    display: flex; flex-direction: column; align-items: center; justify-content: center; transition: .25s var(--ease); }
.news-list .day b { font-size: 22px; color: var(--navy); line-height: 1; }
.news-list .day small { font-size: 11px; color: var(--muted); }
.news-list a:hover .day { background: var(--navy); border-color: var(--navy); }
.news-list a:hover .day b { color: #fff; }
.news-list a:hover .day small { color: rgba(255,255,255,.7); }
.news-list .txt { min-width: 0; }
.news-list .txt h4 { font-size: 16px; font-weight: 600; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.news-list a:hover .txt h4 { color: var(--accent); }
.news-list .txt p { font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ==========================================================================
   首页 · CTA 行动号召
   ========================================================================== */
.cta-sec { background: linear-gradient(120deg, var(--accent), var(--amber)); position: relative; overflow: hidden; }
.cta-sec .wrap { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 56px 0; flex-wrap: wrap; }
.cta-sec h2 { color: #fff; font-size: clamp(24px, 3vw, 36px); }
.cta-sec p { color: rgba(255,255,255,.9); font-size: 16px; margin-top: 8px; }
.cta-sec .btn-white { background: #fff; color: var(--accent); }
.cta-sec .btn-white:hover { background: var(--navy); color: #fff; transform: translateY(-2px); }

/* ==========================================================================
   内页 · 通用
   ========================================================================== */
.page-hero { position: relative; background: var(--navy); overflow: hidden; }
.page-hero .bg { position: absolute; inset: 0; }
.page-hero .bg img { width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,37,64,.9), rgba(10,37,64,.55)); }
.page-hero .wrap { position: relative; z-index: 2; padding: 78px 0 66px; }
.page-hero .eyebrow { color: var(--amber); font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.page-hero h1 { color: #fff; font-size: clamp(28px, 4vw, 46px); margin: 12px 0; }
.page-hero p { color: rgba(255,255,255,.72); max-width: 620px; }

.breadcrumb { background: #fff; border-bottom: 1px solid var(--line); }
.breadcrumb .wrap { display: flex; align-items: center; gap: 8px; height: 56px; font-size: 14px; color: var(--muted); flex-wrap: wrap; }
.breadcrumb a { color: var(--ink-2); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { color: var(--line); }
.breadcrumb .cur { color: var(--navy); font-weight: 600; }

.inner { padding: 72px 0; }
.inner-grid { display: grid; grid-template-columns: 280px 1fr; gap: 44px; align-items: start; }
.inner-grid.reverse { grid-template-columns: 1fr; }

/* 侧栏 */
.sidebar { position: sticky; top: 104px; }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 26px; box-shadow: var(--shadow-sm); }
.side-card .side-head { background: var(--navy); color: #fff; padding: 22px 26px; }
.side-card .side-head b { font-size: 19px; color: #fff; }
.side-card .side-head small { display: block; font-size: 12px; color: rgba(255,255,255,.6); letter-spacing: .1em; text-transform: uppercase; margin-top: 2px; }
.side-nav li a { display: flex; align-items: center; justify-content: space-between; padding: 15px 26px; font-size: 15.5px; font-weight: 500;
    color: var(--ink-2); border-bottom: 1px solid var(--line-2); transition: .25s var(--ease); }
.side-nav li:last-child a { border-bottom: 0; }
.side-nav li a::after { content: "›"; color: var(--line); font-size: 18px; transition: .25s var(--ease); }
.side-nav li a:hover, .side-nav li.on a { background: var(--blue-soft); color: var(--blue); padding-left: 32px; }
.side-nav li a:hover::after, .side-nav li.on a::after { color: var(--accent); transform: translateX(-2px); }

.side-contact { background: linear-gradient(160deg, var(--navy), var(--navy-2)); border-radius: var(--radius); padding: 30px 28px; color: #fff; }
.side-contact h3 { color: #fff; font-size: 18px; margin-bottom: 6px; }
.side-contact .sub { color: rgba(255,255,255,.6); font-size: 13px; margin-bottom: 20px; }
.side-contact .row { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.1); }
.side-contact .row .ico { color: var(--amber); flex-shrink: 0; margin-top: 3px; }
.side-contact .row small { display: block; color: rgba(255,255,255,.55); font-size: 12px; }
.side-contact .row b { font-size: 16px; color: #fff; font-weight: 600; }

/* 内容主体 · 富文本 */
.rich { font-size: 16px; line-height: 1.95; color: var(--ink-2); }
.rich p { margin: 0 0 16px; }
.rich img { border-radius: var(--radius-sm); margin: 12px auto; }
.rich h1, .rich h2, .rich h3 { color: var(--navy); margin: 30px 0 14px; }
.rich strong { color: var(--navy); }
.rich table { width: 100%; border-collapse: collapse; margin: 18px 0; }
.rich table td, .rich table th { border: 1px solid var(--line); padding: 10px 14px; }
.rich a { color: var(--blue); text-decoration: underline; }

.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 40px 44px; box-shadow: var(--shadow-sm); }
.panel-title { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.panel-title h2 { font-size: 26px; }
.panel-title .bar { width: 5px; height: 26px; border-radius: 3px; background: var(--accent); }

/* ==========================================================================
   产品 · 列表 / 详情
   ========================================================================== */
.prod-list-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }

.detail-top { display: grid; grid-template-columns: 460px 1fr; gap: 48px; margin-bottom: 20px; }
.detail-gallery { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: linear-gradient(160deg, #fafcfe, #eef3f8); box-shadow: var(--shadow-sm); }
.detail-gallery img { width: 100%; aspect-ratio: 1/1; object-fit: contain; padding: 32px; }
.detail-summary h1 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 8px; }
.detail-summary .model-tag { display: inline-block; padding: 6px 16px; border-radius: 999px; background: var(--blue-soft); color: var(--blue); font-size: 14px; font-weight: 700; margin-bottom: 24px; }
.detail-specs { border-top: 1px solid var(--line); margin: 12px 0 28px; }
.detail-specs .srow { display: flex; padding: 15px 0; border-bottom: 1px solid var(--line-2); font-size: 15.5px; }
.detail-specs .srow .k { width: 130px; flex-shrink: 0; color: var(--muted); }
.detail-specs .srow .v { color: var(--navy); font-weight: 600; }
.detail-specs .srow .v.price { color: var(--accent); font-size: 18px; }
.detail-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.detail-body { margin-top: 48px; }
.detail-body .tabs-nav { display: flex; gap: 4px; border-bottom: 2px solid var(--line); margin-bottom: 30px; }
.detail-body .tabs-nav span { padding: 14px 30px; font-size: 17px; font-weight: 700; color: var(--muted); position: relative; }
.detail-body .tabs-nav span.on { color: var(--navy); }
.detail-body .tabs-nav span.on::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 3px; background: var(--accent); }

/* ==========================================================================
   新闻 · 列表 / 详情
   ========================================================================== */
.article-list { display: flex; flex-direction: column; gap: 22px; }
.article-item { display: grid; grid-template-columns: 220px 1fr; gap: 28px; background: #fff; border: 1px solid var(--line);
    border-radius: var(--radius); overflow: hidden; transition: .3s var(--ease); }
.article-item:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: transparent; }
.article-item .ai-pic { overflow: hidden; }
.article-item .ai-pic img { width: 100%; height: 100%; min-height: 160px; object-fit: cover; transition: transform .5s var(--ease); }
.article-item:hover .ai-pic img { transform: scale(1.06); }
.article-item .ai-body { padding: 26px 30px 26px 6px; display: flex; flex-direction: column; justify-content: center; }
.article-item.no-pic { grid-template-columns: 1fr; }
.article-item.no-pic .ai-body { padding: 28px 32px; }
.article-item .ai-date { font-size: 13px; color: var(--accent); font-weight: 700; letter-spacing: .04em; margin-bottom: 8px; }
.article-item h3 { font-size: 21px; margin-bottom: 10px; }
.article-item:hover h3 { color: var(--accent); }
.article-item p { color: var(--ink-2); font-size: 14.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 14px; }
.article-item .more { color: var(--blue); font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }

.article-head { text-align: center; padding-bottom: 28px; border-bottom: 1px solid var(--line); margin-bottom: 34px; }
.article-head h1 { font-size: clamp(24px, 3.2vw, 36px); margin-bottom: 16px; }
.article-head .meta { display: flex; justify-content: center; gap: 22px; color: var(--muted); font-size: 14px; flex-wrap: wrap; }
.article-head .meta span { display: inline-flex; align-items: center; gap: 6px; }
.article-abstract { background: var(--bg-soft); border-left: 4px solid var(--accent); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding: 18px 24px; color: var(--ink-2); font-size: 15px; margin-bottom: 30px; }
.article-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.article-nav a, .article-nav span { font-size: 14.5px; color: var(--ink-2); }
.article-nav a:hover { color: var(--accent); }

.pages { text-align: center; margin: 46px 0 0; }
.pages a, .pages span { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 12px;
    margin: 0 4px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink-2); font-size: 14px; background: #fff; transition: .25s var(--ease); }
.pages a:hover { border-color: var(--accent); color: var(--accent); }
.pages .current { background: var(--navy); border-color: var(--navy); color: #fff; }

.empty-state { text-align: center; padding: 80px 20px; color: var(--muted); }
.empty-state svg { margin: 0 auto 18px; opacity: .4; }
.empty-state b { display: block; font-size: 18px; color: var(--ink-2); margin-bottom: 6px; }

/* ==========================================================================
   联系 / 留言
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; }
.contact-cards { display: grid; gap: 16px; }
.contact-card { display: flex; gap: 16px; align-items: flex-start; padding: 24px 26px; background: #fff; border: 1px solid var(--line);
    border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: .3s var(--ease); }
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.contact-card .ico { width: 52px; height: 52px; border-radius: 14px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; flex-shrink: 0; }
.contact-card b { display: block; font-size: 13px; color: var(--muted); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 4px; }
.contact-card p { font-size: 17px; color: var(--navy); font-weight: 600; line-height: 1.5; }

.msg-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 40px 44px; box-shadow: var(--shadow-sm); }
.msg-form .frow { margin-bottom: 20px; }
.msg-form .frow.two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.msg-form label { display: block; font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: 8px; }
.msg-form label .req { color: var(--accent); }
.msg-form input, .msg-form textarea { width: 100%; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
    background: var(--bg-soft); color: var(--ink); transition: .25s var(--ease); }
.msg-form input:focus, .msg-form textarea:focus { border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px var(--blue-soft); }
.msg-form textarea { resize: vertical; min-height: 130px; }
.msg-form .verify-row { display: flex; gap: 14px; align-items: stretch; }
.msg-form .verify-row input { flex: 1; }
.msg-form .verify-row img { height: 50px; border-radius: var(--radius-sm); cursor: pointer; border: 1px solid var(--line); }
.msg-form .btnsubmit { width: 100%; padding: 16px; border: 0; border-radius: 999px; background: var(--accent); color: #fff;
    font-size: 16px; font-weight: 700; transition: .3s var(--ease); box-shadow: 0 10px 24px rgba(232,68,43,.28); }
.msg-form .btnsubmit:hover { background: var(--accent-2); transform: translateY(-2px); }
.msg-form .btnsubmit:disabled { opacity: .6; cursor: default; transform: none; }

/* 留言提交提示（当前页反馈） */
.msg-tip { display: none; margin-bottom: 20px; padding: 14px 18px; border-radius: var(--radius-sm); font-size: 14.5px; font-weight: 600; }
.msg-tip.ok  { background: rgba(26,157,90,.1); color: #158a4e; border: 1px solid rgba(26,157,90,.3); }
.msg-tip.err { background: rgba(232,68,43,.08); color: var(--accent); border: 1px solid rgba(232,68,43,.28); }

/* 微信二维码 */
.contact-qr { margin-top: 4px; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow-sm); text-align: center; }
.contact-qr img { width: 168px; height: 168px; object-fit: contain; margin: 0 auto 12px; border-radius: var(--radius-sm); }
.contact-qr span { display: block; font-size: 13.5px; color: var(--muted); }

/* ==========================================================================
   页脚
   ========================================================================== */
.site-footer { background: var(--navy); color: rgba(255,255,255,.66); padding-top: 72px; font-size: 14.5px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand .fb-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.footer-brand .fb-logo img { height: 48px; background: #fff; border-radius: 10px; padding: 6px; }
.footer-brand .fb-logo b { color: #fff; font-size: 18px; font-weight: 800; }
.footer-brand p { line-height: 1.85; color: rgba(255,255,255,.55); max-width: 320px; }
.footer-col h4 { color: #fff; font-size: 16px; margin-bottom: 22px; position: relative; padding-bottom: 12px; }
.footer-col h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 2px; background: var(--accent); }
.footer-col li { margin-bottom: 12px; }
.footer-col a { color: rgba(255,255,255,.6); }
.footer-col a:hover { color: #fff; padding-left: 4px; }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 16px; align-items: flex-start; }
.footer-contact li .ico { color: var(--amber); flex-shrink: 0; margin-top: 3px; }
.footer-contact li span { color: rgba(255,255,255,.7); line-height: 1.6; }
.footer-bottom { padding: 26px 0; text-align: center; font-size: 13.5px; color: rgba(255,255,255,.42); line-height: 1.9; }
.footer-bottom a { color: rgba(255,255,255,.55); }
.footer-bottom a:hover { color: #fff; }

/* 返回顶部 & 悬浮联系 */
.floating { position: fixed; right: 22px; bottom: 26px; z-index: 900; display: flex; flex-direction: column; gap: 10px; }
.floating a, .floating button { width: 50px; height: 50px; border-radius: 14px; background: #fff; border: 1px solid var(--line);
    display: grid; place-items: center; color: var(--navy); box-shadow: var(--shadow); transition: .3s var(--ease); }
.floating a:hover, .floating button:hover { background: var(--accent); color: #fff; border-color: var(--accent); transform: translateY(-3px); }
#backTop { opacity: 0; visibility: hidden; transform: translateY(10px); }
#backTop.show { opacity: 1; visibility: visible; transform: translateY(0); }

/* 搜索弹层（顶部搜索） */
.header-search { position: relative; }
.header-search .hs-toggle { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; color: var(--navy); }
.header-search .hs-toggle:hover { border-color: var(--accent); color: var(--accent); }
.search-drawer { position: fixed; top: 0; left: 0; right: 0; background: #fff; box-shadow: 0 20px 50px rgba(10,37,64,.14);
    transform: translateY(-100%); transition: transform .35s var(--ease); z-index: 1100; padding: 26px 0; }
.search-drawer.open { transform: translateY(0); }
.search-drawer form { display: flex; gap: 12px; align-items: center; }
.search-drawer input { flex: 1; min-width: 0; padding: 16px 20px; border: 1.5px solid var(--line); border-radius: 999px; font-size: 17px; }
.search-drawer input:focus { border-color: var(--blue); }
.search-drawer .btn { flex-shrink: 0; }
.search-drawer .hs-close { flex-shrink: 0; width: 50px; height: 50px; border: 0; background: var(--bg-soft); border-radius: 50%; font-size: 22px; color: var(--muted); }
@media (max-width: 560px) {
    .search-drawer { padding: 16px 0; }
    .search-drawer form { gap: 8px; }
    .search-drawer input { padding: 13px 16px; font-size: 15px; }
    .search-drawer .btn { padding: 13px 18px; }
    .search-drawer .hs-close { width: 44px; height: 44px; font-size: 20px; }
}

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1100px) {
    .prod-grid { grid-template-columns: repeat(3, 1fr); }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
    .header-cta .header-tel { display: none; }
}
@media (max-width: 960px) {
    .section-pad { padding: 64px 0; }
    .about-grid { grid-template-columns: 1fr; gap: 48px; }
    .about-media .badge { right: 20px; }
    .news-panel.show { grid-template-columns: 1fr; }
    .inner-grid { grid-template-columns: 1fr; }
    .sidebar { position: static; order: 2; }
    .detail-top { grid-template-columns: 1fr; gap: 30px; }
    .detail-gallery { max-width: 460px; }
    .contact-grid { grid-template-columns: 1fr; }
    .prod-list-grid { grid-template-columns: repeat(2, 1fr); }

    .main-nav { position: fixed; top: 0; right: 0; width: 280px; height: 100vh; background: #fff; z-index: 999;
        box-shadow: -10px 0 40px rgba(10,37,64,.16); transform: translateX(100%); transition: transform .35s var(--ease); padding: 90px 0 30px; overflow-y: auto; }
    .main-nav.open { transform: translateX(0); }
    .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
    .main-nav a { padding: 16px 30px; border-bottom: 1px solid var(--line-2); border-radius: 0; }
    .main-nav li.active a { background: var(--blue-soft); }
    .nav-toggle { display: flex; }

    /* 移动端「商品分类」 */
    .nav-cate { display: block; }
    .nav-cate-toggle { display: flex; align-items: center; justify-content: space-between; }
    .nav-sub { background: var(--bg-soft); border-bottom: 1px solid var(--line-2); }
    .nav-sub a { padding: 13px 30px 13px 46px; font-size: 14.5px; color: var(--ink-2); border-bottom: 1px solid var(--line); }
    .nav-sub li:last-child a { border-bottom: 0; }
    .nav-sub a:hover { background: var(--blue-soft); color: var(--blue); }

    /* 移动端隐藏「产品中心」，改用可展开的「产品分类」 */
    .main-nav li[data-mhide] { display: none; }

    /* 移动端隐藏顶部搜索图标，搜索改到菜单下方 */
    .header-search { display: none; }
    .nav-search { display: block; padding: 18px 24px 6px; border-top: 1px solid var(--line-2); margin-top: 6px; }
    .nav-search form { display: flex; align-items: center; background: var(--bg-soft); border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; }
    .nav-search form:focus-within { border-color: var(--blue); background: #fff; }
    .nav-search input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 12px 8px 12px 18px; font-size: 15px; color: var(--ink); }
    .nav-search button { flex-shrink: 0; width: 48px; height: 44px; border: 0; background: var(--accent); color: #fff; display: grid; place-items: center; }
    .nav-hot { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 12px; }
    .nav-hot span { font-size: 12px; color: var(--muted); }
    .nav-hot a { padding: 5px 12px; background: var(--blue-soft); color: var(--blue); border-radius: 999px; font-size: 13px; font-weight: 500; border-bottom: 0; }
    .nav-hot a:hover { background: var(--blue); color: #fff; }
}
@media (max-width: 720px) {
    body { font-size: 15px; }
    .site-topbar { display: none; }
    .site-header .wrap { height: 68px; }
    /* 移动端：hero / 面包屑 与上方的头部菜单之间留出一点间距 */
    .hero { margin-top: 8px; }
    .breadcrumb { margin-top: 8px; }
    .brand img { height: 42px; }
    .brand .brand-txt b { font-size: 16px; }
    .brand .brand-txt small { display: none; }
    .hero-stats .wrap { grid-template-columns: 1fr 1fr; }
    .hero-stats .stat:nth-child(2) { border-right: 0; }
    .hero-stats .stat:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.08); }
    .prod-grid, .prod-list-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
    .why-grid { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; }
    .article-item, .article-item.no-pic { grid-template-columns: 1fr; }
    .article-item .ai-pic img { min-height: 200px; }
    .article-item .ai-body { padding: 24px 26px; }
    .panel, .msg-form { padding: 28px 22px; }
    .msg-form .frow.two { grid-template-columns: 1fr; }
    .about-features { grid-template-columns: 1fr; }
    .prod-card .info { padding: 16px; }
    .page-hero .wrap { padding: 54px 0 44px; }
    .cta-sec .wrap { flex-direction: column; text-align: center; padding: 44px 0; }
}
@media (max-width: 460px) {
    .prod-grid, .prod-list-grid { grid-template-columns: 1fr; }
    .hero-caption .actions { flex-direction: column; }
    .hero-caption .actions .btn { justify-content: center; }
}
