/* 企业官网前台样式 - 移动优先，PC/手机自适应 */
:root {
  --primary: #165dff;
  --primary-dark: #0e42b5;
  --accent: #f5a623;
  --ink: #1f2937;
  --muted: #6b7280;
  --line: #e5e7eb;
  --bg: #f6f8fc;
  --white: #fff;
  --radius: 10px;
  --shadow: 0 8px 28px rgba(22, 45, 90, .08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font: 15px/1.75 -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--primary); }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
.container { width: min(1200px, calc(100% - 40px)); margin: 0 auto; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 999; background: var(--primary); color: #fff; padding: 8px 16px; }
.skip-link:focus { left: 10px; }

/* 顶部条与导航 */
.topbar { background: #101828; color: #cbd5e1; font-size: 13px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; min-height: 34px; }
.topbar-contact strong { color: #fff; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 74px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark { width: 42px; height: 42px; border-radius: 10px; background: linear-gradient(135deg, var(--primary), #4b8bff); color: #fff; display: grid; place-items: center; font-size: 22px; font-weight: 800; }
.brand-text strong { display: block; font-size: 19px; line-height: 1.25; }
.brand-text small { display: block; font-size: 11px; color: var(--muted); letter-spacing: .5px; }
.site-nav { display: flex; align-items: center; gap: 6px; }
.site-nav > a, .site-nav > .nav-dropdown > a { display: block; padding: 10px 16px; font-weight: 600; border-radius: 6px; }
.site-nav > a:hover, .site-nav > .nav-dropdown > a:hover, .site-nav .active { color: var(--primary); background: #f0f5ff; }
.nav-dropdown { position: relative; }
.dropdown-panel { display: none; position: absolute; top: 100%; left: 0; min-width: 180px; background: #fff; box-shadow: var(--shadow); border: 1px solid var(--line); border-radius: 8px; padding: 8px; }
.dropdown-panel a { display: block; padding: 8px 12px; border-radius: 5px; white-space: nowrap; }
.dropdown-panel a:hover { background: #f0f5ff; }
.nav-dropdown:hover .dropdown-panel, .nav-dropdown:focus-within .dropdown-panel { display: block; }
.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 8px; background: #fff; padding: 10px 9px; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); margin: 4px 0; transition: .2s; }

/* 通用组件 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 42px; padding: 0 22px; border-radius: 6px; border: 1px solid transparent; font-weight: 600; transition: .2s; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; transform: translateY(-1px); }
.btn-outline { border-color: var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-light { background: #fff; color: var(--primary); }
.btn-lg { min-height: 50px; padding: 0 30px; }
.btn-block { width: 100%; }
.section { padding: 76px 0; }
.section-tint { background: var(--bg); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 32px; gap: 20px; }
.section-head h2 { font-size: 30px; margin: 4px 0 0; }
.eyebrow { color: var(--primary); font-size: 12px; letter-spacing: 2px; font-weight: 700; }
.more { color: var(--primary); font-weight: 600; white-space: nowrap; }
.tag { display: inline-block; background: #eef3ff; color: var(--primary); font-size: 12px; padding: 2px 10px; border-radius: 4px; }
.empty-tip { padding: 50px 0; text-align: center; color: var(--muted); }
.badge-top { position: absolute; top: 12px; left: 12px; background: #ef4444; color: #fff; font-size: 12px; padding: 2px 9px; border-radius: 4px; }
.cover-placeholder { display: grid; place-items: center; width: 100%; height: 100%; min-height: 150px; background: linear-gradient(135deg, #e8efff, #cfe0ff); color: #7893c9; font-size: 20px; letter-spacing: 4px; }

/* 首页 Hero */
.hero { position: relative; background: linear-gradient(120deg, #0b2b6b, #165dff 55%, #4f9aff); color: #fff; overflow: hidden; }
.hero-default { min-height: 460px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.hero-default h1 { font-size: clamp(32px, 5vw, 58px); margin: 0 0 12px; letter-spacing: 2px; }
.hero-default p { font-size: 20px; opacity: .88; margin: 0 0 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-actions .btn-outline { border-color: rgba(255, 255, 255, .8); color: #fff; }
.hero-actions .btn-outline:hover { background: #fff; color: var(--primary); }
.slides { position: relative; min-height: 480px; }
.slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity .7s ease; }
.slide.active { opacity: 1; }
.slide::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 20, 50, .82), rgba(5, 20, 50, .25)); }
.slide-content { position: relative; z-index: 2; min-height: 480px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.slide-content h1 { font-size: clamp(30px, 4.5vw, 52px); margin: 0 0 10px; max-width: 760px; }
.slide-content p { font-size: 18px; max-width: 700px; margin: 0 0 26px; opacity: .9; }
.slide-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .22); color: #fff; font-size: 30px; line-height: 1; }
.slide-arrow:hover { background: rgba(255, 255, 255, .4); }
.slide-prev { left: 18px; } .slide-next { right: 18px; }
.slide-dots { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 5; display: flex; gap: 8px; }
.slide-dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .5); padding: 0; }
.slide-dots button.active { background: #fff; width: 24px; border-radius: 5px; }

/* 卡片列表 */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: .25s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #cbd9ff; }
.card-cover { display: block; position: relative; height: 190px; overflow: hidden; background: #eef2f8; }
.card-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .card-cover img { transform: scale(1.05); }
.card-body { padding: 18px 20px 22px; }
.card-body time { color: var(--muted); font-size: 13px; }
.card-body h3 { font-size: 18px; margin: 6px 0 8px; line-height: 1.45; }
.card-body p { color: var(--muted); margin: 0 0 12px; min-height: 48px; }
.card-meta { color: #9ca3af; font-size: 12px; }

/* 联系与地图 */
.contact-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 28px; align-items: stretch; }
.map-wrap { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #eef2f8; min-height: 420px; }
.map-wrap iframe { width: 100%; height: 420px; border: 0; display: block; }
.map-nav { position: absolute; right: 14px; bottom: 14px; box-shadow: var(--shadow); }
.contact-info { background: var(--bg); border-radius: var(--radius); padding: 28px; }
.contact-info h3 { font-size: 22px; margin: 0 0 18px; }
.contact-info p { display: flex; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--line); margin: 0; }
.contact-info p span { color: var(--muted); min-width: 68px; }
.qr-block { margin: 22px 0; display: flex; align-items: center; gap: 16px; }
.qr-block img { width: 108px; height: 108px; object-fit: contain; background: #fff; padding: 4px; border-radius: 6px; border: 1px solid var(--line); }
.qr-block span { color: var(--muted); }

/* 页头与列表 */
.page-head { padding: 32px 0 22px; border-bottom: 1px solid var(--line); }
.page-head h1 { margin: 0 0 8px; font-size: 30px; }
.breadcrumb { color: var(--muted); font-size: 13px; }
.breadcrumb span { margin: 0 6px; }
.list-layout { display: grid; grid-template-columns: 220px 1fr; gap: 30px; padding: 32px 0 80px; }
.list-side h3, .detail-side h3 { font-size: 17px; margin: 0 0 14px; padding-left: 12px; border-left: 3px solid var(--primary); }
.cat-list { list-style: none; margin: 0 0 28px; padding: 0; background: var(--bg); border-radius: 8px; overflow: hidden; }
.cat-list a { display: block; padding: 11px 16px; border-bottom: 1px solid #eaedf3; }
.cat-list a.active, .cat-list a:hover { background: var(--primary); color: #fff; }
.side-contact, .side-box { background: var(--bg); padding: 20px; border-radius: 8px; }
.side-contact p, .side-box p { color: var(--muted); font-size: 14px; }
.list-items { display: grid; gap: 18px; }
.list-item { display: flex; gap: 22px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.list-cover { width: 240px; height: 150px; flex: 0 0 240px; border-radius: 8px; overflow: hidden; background: #eef2f8; }
.list-cover img { width: 100%; height: 100%; object-fit: cover; transition: .3s; }
.list-item:hover .list-cover img { transform: scale(1.04); }
.list-body { flex: 1; min-width: 0; }
.list-body h2 { font-size: 20px; margin: 8px 0; }
.list-body p { color: var(--muted); margin: 0 0 12px; }
.list-meta { display: flex; gap: 20px; color: #9ca3af; font-size: 13px; }
.search-tip { background: #eef3ff; padding: 12px 16px; border-radius: 6px; }
.pager { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 30px; }
.pager-item { min-width: 36px; padding: 6px 12px; text-align: center; border: 1px solid var(--line); border-radius: 5px; background: #fff; }
.pager-item.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.pager-item.disabled { opacity: .45; pointer-events: none; }
.pager-info { color: var(--muted); font-size: 13px; margin-left: auto; }

/* 详情页 */
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 40px; padding: 32px 0 80px; }
.detail-head { border-bottom: 1px solid var(--line); padding-bottom: 18px; }
.detail-meta { display: flex; align-items: center; gap: 16px; color: var(--muted); font-size: 13px; }
.detail-summary { background: var(--bg); border-left: 3px solid var(--primary); padding: 12px 16px; color: var(--muted); margin: 16px 0; }
.share-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: 13px; }
.share-bar button { border: 1px solid var(--line); background: #fff; border-radius: 4px; padding: 5px 12px; color: var(--ink); }
.share-bar button:hover { border-color: var(--primary); color: var(--primary); }
.detail-cover { margin: 24px 0; }
.detail-cover img { width: 100%; border-radius: 8px; }
.article-content { font-size: 16px; line-height: 1.9; word-wrap: break-word; }
.article-content img { max-width: 100%; height: auto; margin: 14px 0; border-radius: 6px; }
.article-content h1, .article-content h2, .article-content h3 { margin: 28px 0 12px; line-height: 1.4; }
.article-content p { margin: 0 0 16px; }
.article-content blockquote { border-left: 4px solid var(--primary); background: var(--bg); padding: 12px 18px; margin: 18px 0; color: var(--muted); }
.article-content iframe, .article-content video { max-width: 100%; }
.video-box { position: relative; aspect-ratio: 16 / 9; background: #000; margin: 22px 0; border-radius: 8px; overflow: hidden; }
.video-box iframe, .video-box video { width: 100%; height: 100%; border: 0; display: block; }
.video-error { color: #b91c1c; background: #fef2f2; padding: 12px; border-radius: 6px; }
.gallery { margin: 34px 0; }
.gallery h3 { font-size: 19px; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery-item { padding: 0; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: #f3f5f9; aspect-ratio: 4 / 3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.gallery-item:hover { border-color: var(--primary); }
.detail-footer-share { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: var(--bg); padding: 18px 22px; border-radius: 8px; margin: 30px 0; flex-wrap: wrap; }
.post-nav { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); padding-top: 18px; font-size: 14px; }
.related { margin-top: 40px; }
.related h3 { font-size: 19px; }
.related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.related-grid a { border: 1px solid var(--line); border-radius: 7px; overflow: hidden; font-size: 13px; }
.related-grid img { width: 100%; height: 90px; object-fit: cover; }
.related-grid span { display: block; padding: 8px 10px; }
.detail-side .side-box { margin-bottom: 20px; }
.side-qr { width: 100%; max-width: 180px; margin: 12px auto 6px; background: #fff; padding: 5px; border: 1px solid var(--line); border-radius: 6px; }
.center { text-align: center; }
.hot-list { list-style: none; padding: 0; margin: 0; }
.hot-list li { padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }

/* 留言 / 联系 */
.message-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 36px; padding: 36px 0 80px; }
.message-form-wrap { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 28px; }
.notice { background: #fff7ed; color: #9a3412; padding: 12px 16px; border-radius: 6px; margin-bottom: 18px; }
.message-form label { display: block; font-weight: 600; margin-bottom: 18px; }
.message-form label em { color: #ef4444; font-style: normal; }
.message-form input, .message-form textarea, .message-form select { display: block; width: 100%; margin-top: 8px; padding: 11px 13px; border: 1px solid #d7dce5; border-radius: 6px; background: #fff; color: var(--ink); outline: none; }
.message-form input:focus, .message-form textarea:focus, .message-form select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(22, 93, 255, .1); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-hint { color: var(--muted); font-size: 12px; margin: 12px 0 0; }
.honeypot { position: absolute; left: -9999px; }
.contact-page { padding: 36px 0 80px; }
.map-large iframe { height: 520px; }
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 28px 0; }
.contact-card { background: var(--bg); border-radius: 8px; padding: 22px; text-align: center; }
.contact-card h3 { margin: 6px 0; font-size: 17px; }
.contact-card p { color: var(--muted); margin: 0; }
.contact-icon { font-size: 26px; }
.contact-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.contact-qr { margin: 36px auto 0; text-align: center; }
.contact-qr img { width: 160px; margin: 0 auto 8px; background: #fff; padding: 6px; border: 1px solid var(--line); border-radius: 8px; }
.not-found { text-align: center; padding: 100px 0 140px; }
.nf-code { font-size: 96px; font-weight: 800; color: #dbe4ff; line-height: 1; }
.not-found h1 { font-size: 28px; margin: 10px 0; }
.not-found p { color: var(--muted); margin-bottom: 26px; }

/* 页脚 / 弹窗 / 提示 */
.site-footer { background: #101828; color: #cbd5e1; padding: 54px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1.2fr .9fr .8fr; gap: 36px; padding-bottom: 40px; }
.footer-col h3 { color: #fff; font-size: 16px; margin: 0 0 14px; }
.footer-col p { margin: 6px 0; font-size: 14px; }
.footer-small { color: #8b98ad; }
.footer-nav { color: #8ab0ff; font-size: 13px; }
.footer-qr img { width: 112px; height: 112px; object-fit: contain; background: #fff; padding: 4px; border-radius: 6px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); display: flex; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; font-size: 13px; color: #94a3b8; flex-wrap: wrap; }
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; }
.modal-mask { position: absolute; inset: 0; background: rgba(12, 20, 36, .58); }
.modal-box { position: relative; background: #fff; border-radius: 12px; padding: 30px; width: min(420px, 100%); text-align: center; box-shadow: 0 24px 70px rgba(0, 0, 0, .22); }
.modal-box h3 { margin: 0 0 6px; font-size: 21px; }
.modal-tip, .wechat-hint { color: var(--muted); font-size: 13px; }
.modal-close { position: absolute; top: 8px; right: 12px; border: 0; background: transparent; font-size: 26px; color: var(--muted); }
.share-qrcode { display: flex; justify-content: center; margin: 16px 0; min-height: 160px; }
.share-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.share-links a, .share-links button { padding: 7px 14px; border: 1px solid var(--line); border-radius: 5px; background: #fff; color: var(--ink); font-size: 13px; }
.share-links a:hover, .share-links button:hover { border-color: var(--primary); color: var(--primary); }
.image-box { width: min(900px, 100%); }
.image-box img { max-height: 80vh; width: auto; margin: 10px auto 0; }
.toast { position: fixed; top: 92px; right: 22px; z-index: 300; background: #065f46; color: #fff; padding: 12px 18px; border-radius: 8px; box-shadow: var(--shadow); max-width: 360px; }
.toast.error { background: #b91c1c; }

/* 响应式 */
@media (max-width: 1000px) {
  .card-grid, .related-grid { grid-template-columns: repeat(2, 1fr); }
  .list-layout, .detail-layout, .message-layout { grid-template-columns: 1fr; }
  .list-side { display: flex; gap: 20px; align-items: flex-start; }
  .list-side h3 { display: none; }
  .cat-list, .side-contact { flex: 1; margin: 0; }
  .detail-side { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .detail-side .side-box { margin: 0; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .container { width: calc(100% - 28px); }
  .topbar { display: none; }
  .header-inner { min-height: 62px; }
  .brand-mark { width: 36px; height: 36px; font-size: 18px; }
  .brand-text strong { font-size: 16px; }
  .brand-text small { display: none; }
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 10px 14px 18px; box-shadow: var(--shadow); }
  .site-nav.open { display: flex; }
  .site-nav > a, .site-nav > .nav-dropdown > a { padding: 12px 10px; }
  .dropdown-panel { position: static; display: block; box-shadow: none; border: 0; padding: 0 0 6px 16px; }
  .section { padding: 50px 0; }
  .section-head h2 { font-size: 24px; }
  .card-grid, .gallery-grid, .contact-cards, .related-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .map-wrap iframe { height: 320px; }
  .list-item { flex-direction: column; }
  .list-cover { width: 100%; flex: none; height: 190px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .detail-side { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .post-nav { flex-direction: column; }
  .slides, .slide-content { min-height: 400px; }
  .hero-default { min-height: 360px; }
  .slide-arrow { display: none; }
}

/* 资料下载 */
.btn-sm { min-height: 34px; padding: 5px 14px; font-size: 13px; }
.btn-ghost { border: 1px solid var(--line); color: var(--muted); background: transparent; }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.download-search { display: flex; gap: 10px; flex-wrap: wrap; margin: 0 0 34px; }
.download-search input { flex: 1; min-width: 220px; padding: 11px 14px; border: 1px solid var(--line); border-radius: 6px; background: #fff; outline: none; }
.download-search input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(22,93,255,.1); }
.download-group { margin-bottom: 44px; }
.download-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.download-card { display: flex; align-items: center; gap: 16px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: box-shadow .2s, transform .2s; }
.download-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.download-icon { flex: none; width: 48px; height: 48px; border-radius: 10px; background: #eef3ff; color: var(--primary); display: grid; place-items: center; font-size: 24px; font-weight: 700; }
.download-body { flex: 1; min-width: 0; }
.download-body h3 { margin: 0 0 4px; font-size: 17px; }
.download-body p { margin: 0 0 6px; color: var(--muted); font-size: 13px; }
.download-meta { display: flex; flex-wrap: wrap; gap: 12px; color: var(--muted); font-size: 12px; }
.download-meta span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.article-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; color: var(--muted); font-size: 13px; margin-bottom: 16px; }
.article-lead { font-size: 16px; color: #374151; background: var(--bg); padding: 16px 18px; border-radius: var(--radius); margin: 0 0 8px; }
.download-hero { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px; margin: 24px 0 8px; background: var(--bg); border-radius: var(--radius); }
.download-file-info strong { display: block; overflow-wrap: anywhere; }
.download-file-info span { font-size: 13px; }
.download-tip { margin: 0 0 20px; }
.detail-share { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding-top: 16px; border-top: 1px solid var(--line); }
.detail-share > span { color: var(--muted); }
.related-list { list-style: none; margin: 0 0 14px; padding: 0; }
.related-list li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.related-list a { display: block; font-weight: 500; }
.related-list span { display: block; font-size: 12px; }

/* 合作伙伴展示区 */
.partners-section { background: var(--bg); }
.partner-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.partner-item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 128px; padding: 18px 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: box-shadow .2s, transform .2s; }
.partner-item:hover { box-shadow: var(--shadow); transform: translateY(-3px); color: var(--primary); }
.partner-item img { max-height: 56px; max-width: 100%; width: auto; object-fit: contain; filter: grayscale(100%); opacity: .82; transition: filter .2s, opacity .2s; }
.partner-item:hover img { filter: grayscale(0); opacity: 1; }
.partner-item span { font-size: 13px; color: var(--muted); text-align: center; line-height: 1.4; }
@media (max-width: 1000px) {
  .partner-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .download-grid { grid-template-columns: 1fr; }
  .download-search input { width: 100%; }
  .download-hero { flex-direction: column; align-items: stretch; }
  .partner-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .partner-item { min-height: 104px; padding: 12px 8px; }
  .partner-item img { max-height: 42px; }
  .partner-item span { font-size: 12px; }
}
