:root {
    --primary: #0099ff;
    --sky: #179ce1;
    --accent: #ff6b08;
    --secondary: #54595f;
    --text: #7a7a7a;
    --line: #e8e8e8;
    --footer: #eeeeee;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--text); font: 15px/1.7 "Microsoft YaHei", "PingFang SC", Roboto, Arial, sans-serif; background: #fff; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
button { font: inherit; }
.container { width: min(1600px, calc(100% - 30px)); margin: 0 auto; }

.topbar { background: var(--secondary); color: #fff; font-size: 12px; font-weight: 400; padding: 0 0 5px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; min-height: 28px; gap: 12px; }
.topbar h2 { margin: 0; padding: 5px 0 0 5px; font-size: 12px; font-weight: 400; color: #fff; }
.lang-switch { display: flex; gap: 15px; align-items: center; padding-right: 5px; }
.lang-switch a { display: inline-flex; align-items: center; gap: 3px; color: #fff; font-size: 12px; font-weight: 400; }
.lang-switch img { width: 16px; height: 12px; object-fit: cover; display: block; }
.lang-switch a:hover { color: var(--accent); }

.site-header { background: #fff; }
.header-inner { display: flex; align-items: center; min-height: 82px; gap: 10px; }
.logo { flex: 0 0 auto; display: block; }
.logo img { width: 365px; max-width: 100%; height: auto; display: block; }
.menu-btn { display: none; margin-left: auto; border: 0; background: var(--primary); color: #fff; width: 46px; height: 40px; cursor: pointer; align-items: center; justify-content: center; }
.menu-btn svg { width: 22px; height: 22px; fill: #fff; }
.nav { display: flex; flex: 1; justify-content: space-between; list-style: none; margin: 0; padding: 0; }
.nav > li { position: relative; flex: 1; text-align: center; }
.nav > li > a { display: block; padding: 30px 8px; font-size: 16px; font-weight: 700; color: var(--secondary); }
.nav > li.active > a, .nav > li > a:hover { color: var(--primary); }
.nav > li > a:hover { color: var(--accent); }
.nav > li.active > a { color: var(--primary); }
.nav ul { display: none; position: absolute; top: 100%; left: 0; min-width: 220px; background: #fff; margin: 0; padding: 0; list-style: none; box-shadow: 0 5px 5px rgba(0,0,0,.3); z-index: 30; text-align: left; }
.nav li:hover > ul { display: block; }
.nav ul a { display: block; padding: 15px 18px; color: var(--secondary); font-weight: 400; font-size: 15px; }
.nav ul a:hover { color: var(--accent); background: #fff; }
.nav ul li.active > a { color: var(--primary); }

.hero { position: relative; height: 680px; background: #f2f2f2; overflow: hidden; }
.hero-track { display: flex; height: 100%; width: 100%; transition: transform .5s ease; }
.hero-slide { flex: 0 0 100%; height: 100%; background: #f2f2f2 center/cover no-repeat; }
.hero-nav { position: absolute; top: 50%; z-index: 2; transform: translateY(-50%); width: 48px; height: 48px; border: 0; background: transparent; color: #fff; cursor: pointer; filter: drop-shadow(0 1px 2px rgba(0,0,0,.45)); }
.hero-nav svg { width: 34px; height: 34px; fill: #fff; }
.hero-nav.prev { left: 8px; }
.hero-nav.next { right: 8px; }
.hero-dots { position: absolute; left: 0; right: 0; bottom: 16px; display: flex; justify-content: center; gap: 8px; z-index: 2; }
.hero-dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; background: rgba(255,255,255,.55); cursor: pointer; padding: 0; }
.hero-dots button.on { background: #fff; }

.advantage-wrap { padding: 28px 0 10px; }
.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.adv-card { display: flex; flex-direction: column; align-items: center; text-align: center; min-height: 260px; padding: 28px 16px 20px; border-radius: 15px; background: #fff; }
.adv-icon { width: 78px; height: 78px; border: 10px solid var(--primary); border-radius: 50%; color: var(--primary); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.adv-icon svg { width: 30px; height: 30px; fill: currentColor; }
.adv-card h3 { margin: 0 0 8px; color: var(--secondary); font-size: 20px; font-weight: 700; }
.adv-card p { margin: 0; color: var(--text); font-size: 14px; }

.band { padding: 10px 0 30px; }
.band.soft { background: #fbfbfb; }
.band.soft .sec-title span { background: #fbfbfb; }
.band.equip { background: url("/static/img/wings/bg_3d.png") center bottom / contain no-repeat; padding-bottom: 80px; }
.band.cases { background: url("/static/img/wings/prod.jpg") center / cover no-repeat; padding: 30px 0 50px; }
.sec-title { position: relative; text-align: center; margin: 15px auto; font-size: 36px; font-weight: 700; color: var(--primary); line-height: 1.3; }
.sec-title span { position: relative; z-index: 1; background: #fff; padding: 0 14px; }
.band.cases .sec-title span { background: #fff; }
.sec-title:before { content: ""; position: absolute; left: 50%; top: 50%; width: 255px; height: 1px; background: var(--accent); transform: translate(-50%, -50%); }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; padding: 10px 0 20px; }
.about-copy h1 { margin: 0 0 12px; color: var(--sky); font-size: 36px; font-weight: 700; line-height: 1.3; }
.about-copy p, .about-copy .rich-text { margin: 0 0 18px; color: var(--text); text-indent: 2em; }
.about-copy .rich-text p { margin: 0 0 18px; text-indent: 2em; }
.btn-line { display: inline-flex; align-items: center; gap: 8px; color: var(--primary); background: #fff; border: 1px solid var(--primary); padding: 8px 16px; font-weight: 500; }
.btn-line svg { width: 14px; height: 14px; fill: currentColor; }
.btn-line:hover { color: var(--accent); border-color: var(--accent); }
.about-photo { display: block; }
.about-photo img { width: 100%; height: 350px; object-fit: cover; border-radius: 15px; display: block; }

.gallery { position: relative; overflow: hidden; margin: 8px 0 24px; }
.gallery .track-wrap, .cards .track-wrap { overflow: hidden; }
.track { display: flex; transition: transform .5s ease; }
.gallery .g-item { flex: 0 0 auto; margin-right: 20px; }
.gallery .g-item img { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; border: 1px solid var(--text); border-radius: 15px; display: block; background: #f2f2f2; }
.page-about .about-photo img { height: 500px; }

.cards { position: relative; }
.card { flex: 0 0 auto; margin-right: 20px; border: 1px solid var(--text); background: #fff; overflow: hidden; text-align: center; position: relative; }
.card .thumb { display: block; height: 350px; background: #f2f2f2 center/cover no-repeat; }
.card-hover { position: absolute; inset: 0; background: rgba(0,0,0,.53); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; opacity: 0; transition: opacity 1s; padding: 20px; }
.card:hover .card-hover { opacity: 1; }
.card-hover strong { color: var(--primary); font-size: 16px; }
.card-hover em, .pill { display: inline-block; background: var(--primary); color: #fff; border-radius: 20px; padding: 10px 20px; font-style: normal; font-size: 12px; font-weight: 400; }
.card-hover em:hover, .pill:hover { background: var(--sky); color: #fff; }
.card-body { background: #efefef; padding: 20px; min-height: 100px; }
.card-body strong { display: block; color: var(--primary); font-size: 16px; }
.card-body hr { width: 8%; border: 0; height: 1px; background: #000; margin: 10px auto; }
.cards.equip .car-btn { top: 94px; border-radius: 0; color: #000; }
.cards.equip .car-btn:hover { background: #000; color: #fff; }
.cards.cases .car-btn { top: 180px; border-radius: 50%; color: var(--sky); }
.cards.cases .car-btn:hover { background: var(--primary); color: #fff; }
.car-btn { position: absolute; z-index: 2; top: 40%; width: 62px; height: 62px; border: 0; background: #fff; cursor: pointer; line-height: 62px; font-size: 22px; }
.car-btn.prev { left: 0; }
.car-btn.next { right: 0; }
.car-btn svg { width: 18px; height: 18px; fill: currentColor; vertical-align: middle; }

.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 35px 30px; padding-bottom: 20px; }
.news-card { display: block; border-bottom: 1px solid #ccc; padding-bottom: 12px; }
.news-card strong { display: block; color: var(--secondary); font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.news-card span, .news-card .rich-text { color: var(--text); font-size: 14px; }
.rich-text p { margin: 0 0 8px; }
.rich-text p:last-child { margin-bottom: 0; }
.rich-text img { max-width: 100%; height: auto; }
.adv-card .rich-text, .adv-card .rich-text p { margin: 0; color: var(--text); font-size: 14px; }
.news-card:hover strong { color: var(--primary); }
.page-news { display: flex; flex-direction: column; gap: 35px; }
.page-news .news-card { border-bottom: 1px solid #eee; padding: 0 0 12px; }
.page-news .news-card strong { color: var(--sky); font-size: 18px; }
.page-news .news-card time { display: block; color: var(--text); font-size: 12px; margin: 4px 0; }
.date-line { font-size: 12px; color: var(--text); }
.product-detail .cover { width: 100%; height: auto; max-height: none; object-fit: contain; border-radius: 0; }
.spec-box { border: 1px solid var(--text); border-radius: 3px; padding: 12px 20px 16px; margin: 0 0 16px; }

.page-hero { background: #ddd center/cover no-repeat; text-align: center; padding: 150px 20px; }
.page-hero h1 { margin: 0; color: var(--sky); font-size: 36px; font-weight: 700; }
.page-hero.news h1, .page-hero.product h1 { color: var(--accent); }
.inner { width: min(1600px, calc(100% - 30px)); margin: 0 auto; padding: 8px 0 64px; }
.inner.narrow { width: min(1200px, calc(100% - 30px)); }
.subnav { display: flex; align-items: center; margin: 8px 0 22px; position: relative; }
.subnav-title { border: 0; background: transparent; color: var(--secondary); font-size: 16px; font-weight: 700; padding: 0 1.5rem 0 0; margin: 15px 15px 15px 0; border-right: 1px solid var(--secondary); cursor: default; }
.subnav ul { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.subnav a { display: block; padding: 15px; color: var(--secondary); }
.subnav li.on a { color: var(--primary); }
.subnav li:hover a { text-decoration: underline; }
.page-body { width: min(1600px, calc(100% - 30px)); margin: 0 auto; display: grid; grid-template-columns: 33% 1fr; gap: 30px; padding: 20px 0 64px; align-items: start; }
.vstacks .side + .side { margin-top: 20px; }
.product-detail > h1 { color: var(--primary); font-size: 24px; font-weight: 700; margin-bottom: 8px; }
.title-line { height: 0; border-top: 1px solid #eee; margin: 0 0 12px; }
.center-btn { text-align: center; margin: 22px 0; }
.prod-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.map-shot { display: block; color: var(--text); text-align: center; letter-spacing: 3.6px; font-size: 14px; }
.map-shot img { width: 100%; display: block; margin-bottom: 8px; }
.contact-form { max-width: 640px; margin-top: 28px; }
.inline-qq { display: flex; gap: 18px; flex-wrap: wrap; }
.inline-qq li a, .foot-contact a { display: inline-flex; gap: 6px; align-items: center; }
.ico { width: 16px; height: 16px; fill: var(--sky); flex: 0 0 auto; }
.ico.qq, img.ico.qq { width: 22px; height: 22px; }
.page-body.solo { grid-template-columns: 1fr; }
.side h3 { margin: 0; padding: 15px; color: var(--secondary); font-size: 16px; font-weight: 700; }
.side ul { list-style: none; margin: 0; padding: 0; }
.side a { display: block; padding: 15px; color: var(--secondary); }
.side a:hover { color: var(--accent); }
.side li.on > a { color: var(--secondary); }
.side.news-side h3 { background: var(--sky); color: #fff; padding: 20px; border-bottom: 1px solid rgba(255,255,255,.39); }
.side.news-side a { padding: 20px; border: 1px solid #eee; }
.side.news-side li.on > a { background: #fff; }
.crumb { margin: 0 0 16px; color: var(--secondary); font-size: 14px; }
.crumb a { color: var(--text); }
.content { color: var(--text); line-height: 30px; min-width: 0; }
.content h1, .content h2, .group-title { color: var(--sky); font-size: 36px; margin: 0 0 16px; }
.content img, .cover { max-width: 100%; border-radius: 15px; }
.cover { width: 100%; height: auto; object-fit: contain; margin-bottom: 16px; }
.lead { color: var(--text); }
.date-line { color: var(--text); font-size: 12px; margin-top: 0; }
.empty { color: var(--text); }
.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 28px 0 8px; }
.pager a { min-width: 36px; height: 36px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--text); color: var(--secondary); background: #fff; }
.pager a.on, .pager a:hover { background: var(--primary); border-color: var(--primary); color: #fff; }

.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.prod { border: 1px solid var(--text); background: #fff; text-align: center; display: flex; flex-direction: column; }
.prod .thumb { height: 280px; background: #f2f2f2 center/cover no-repeat; }
.prod .pad { background: #eee; padding: 20px; }
.prod strong { display: block; color: #000; font-size: 16px; font-weight: 400; }
.prod .pill { margin-top: 10px; background: var(--sky); }
.prod:hover .pill { background: var(--primary); }

.contact-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: start; }
.contact-panel { list-style: none; margin: 0; padding: 10px 0 0; }
.contact-panel li { display: flex; gap: 8px; align-items: flex-start; padding: 8px 0; color: var(--text); font-size: 14px; }
.contact-panel .ico { margin-top: 3px; }
.contact-title { margin: 0; color: var(--primary); font-size: 24px; font-weight: 700; }
.weixin { width: 185px; padding: 15px; }
.weixin img { width: 100%; display: block; }
.weixin figcaption { letter-spacing: 3.6px; font-size: 14px; text-align: center; color: var(--text); }
.msg-form h2 { margin: 0 0 12px; color: var(--secondary); font-size: 20px; }
.msg-form label, .field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; color: var(--secondary); }
input, textarea, select { border: 1px solid #ccc; padding: 8px 10px; font: inherit; width: 100%; color: #333; background: #fff; }
textarea { min-height: 120px; }
.hp { position: absolute; left: -9999px; }
.btn { display: inline-block; background: var(--accent); color: #fff; border: 0; padding: 10px 22px; cursor: pointer; font-weight: 500; }
.btn:hover { background: #e25e04; }
.alert { padding: 10px 12px; }
.alert.ok { background: #eefaf0; color: #146c2e; }
.alert.err { background: #fff1f1; color: #c0392b; }

.site-footer { background: #eee; color: var(--secondary); position: relative; }
.footer-grid { display: grid; grid-template-columns: 18% 18% 20% 18% 26%; gap: 8px; padding: 30px 0 24px; }
.footer-grid > div:last-child { padding-right: 160px; }
.site-footer h4 { margin: 0 0 4px; color: var(--primary); font-size: 14px; font-weight: 700; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: 10px 0; font-size: 14px; font-weight: 400; }
.site-footer a:hover { color: var(--accent); }
.foot-contact li { display: flex; gap: 6px; align-items: flex-start; color: var(--text); }
.foot-contact .ico { margin-top: 3px; }
.foot-contact a:hover, .foot-contact li:hover { color: var(--accent); }
.footer-qr { position: absolute; right: max(10px, calc((100% - 1600px) / 2)); top: 60px; width: 145px; }
.footer-qr img { width: 100%; display: block; }
.copyright { background: var(--secondary); color: #fff; font-size: 12px; }
.copyright .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 36px; padding-top: 3px; padding-bottom: 3px; }
.copyright a { color: #fff; }
.copyright a:hover { color: var(--accent); }
.beian { display: flex; gap: 16px; align-items: center; }

@media (max-width: 1024px) {
    .subnav { display: block; }
    .subnav-title { display: block; width: 100%; text-align: left; border: 1px solid #d6d6d6; border-radius: 5px; margin: 0; padding: 12px 16px; cursor: pointer; }
    .subnav ul { display: none; position: absolute; z-index: 9; left: 0; right: 0; background: #fff; border: 1px solid #d6d6d6; }
    .subnav.open ul { display: block; }
    .prod-grid, .prod-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
    .prod .thumb { height: 260px; }
    .product-detail > h1 { font-size: 18px; }
    .page-about .about-photo img { height: 400px; border-radius: 5px; }
    .logo img { width: 300px; }
    .nav > li > a { font-size: 14px; padding: 18px 4px; }
    .hero { height: 360px; }
    .adv-card { min-height: 168px; padding: 10px; }
    .adv-card p { font-size: 12px; }
    .sec-title, .about-copy h1, .content h1, .content h2, .page-hero h1 { font-size: 24px; }
    .page-hero { padding: 80px 20px; }
    .about-photo img { border-radius: 5px; }
    .gallery .g-item img { border-radius: 5px; }
    .band.equip { padding-bottom: 20px; background-position: bottom center; }
    .card .thumb { height: 300px; }
    .footer-grid { grid-template-columns: 12% 12% 25% 12% 39%; }
    .footer-qr { width: 68px; }
    .menu-btn { display: inline-flex; }
    .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; flex-direction: column; box-shadow: 0 5px 5px rgba(0,0,0,.3); z-index: 40; }
    .site-header { position: relative; }
    .nav.open { display: flex; }
    .nav > li { text-align: left; }
    .nav > li > a { padding: 10px 16px; }
    .nav ul { position: static; display: block; box-shadow: none; }
    .nav ul a { padding: 10px 28px; }
    .header-inner { position: relative; }
}
@media (max-width: 767px) {
    .topbar-inner { align-items: flex-start; }
    .logo img { width: 260px; }
    .header-inner { min-height: 64px; }
    .hero { height: 200px; }
    .adv-grid { grid-template-columns: 1fr 1fr; }
    .adv-card h3 { font-size: 18px; }
    .sec-title, .about-copy h1, .page-hero h1, .content h1, .content h2 { font-size: 18px; }
    .page-hero { padding: 50px 16px; }
    .about-grid, .page-body, .contact-layout, .news-grid, .prod-grid, .footer-grid { grid-template-columns: 1fr; }
    .footer-grid > div:last-child { padding-right: 0; }
    .about-grid { display: flex; flex-direction: column-reverse; }
    .page-about .about-photo img { height: 240px; }
    .card .thumb { height: 300px; }
    .prod .thumb { height: 240px; }
    .footer-qr { position: static; width: 80px; margin: 0 15px 16px; }
    .copyright .container { flex-direction: column; align-items: flex-start; padding: 8px 0; }
    .contact-title { font-size: 16px; }
}
