/* ============================================================
   内页补充样式：产品详情 / 案例媒体墙 / 联系页 / 关于页
   ============================================================ */

/* ---------- 产品详情 ---------- */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; padding: 44px 0 60px; }
.pd-gallery .main-pic { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: var(--bg-soft); }
.pd-gallery .main-pic img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.pd-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 12px; }
.pd-thumbs img { border-radius: 10px; border: 2px solid transparent; cursor: pointer; aspect-ratio: 1; object-fit: cover; transition: all .2s; background: var(--bg-soft); }
.pd-thumbs img:hover { border-color: var(--primary); }
.pd-thumbs img.on { border-color: var(--primary); }
.pd-info .model { color: var(--teal); font-weight: 800; letter-spacing: 1px; font-size: 14px; }
.pd-info h1 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; margin-top: 8px; line-height: 1.35; }
.pd-info .desc { color: var(--ink-soft); margin-top: 14px; font-size: 15px; }
.pd-feats { margin: 20px 0 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pd-feats li { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-soft); }
.pd-feats li::before { content: "✓"; color: #fff; background: var(--teal); width: 19px; height: 19px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; flex-shrink: 0; }
.pd-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.pd-contact-strip { margin-top: 26px; background: var(--bg-soft); border: 1px dashed rgba(11,95,255,.4); border-radius: 14px; padding: 18px 22px; display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.pd-contact-strip b { font-size: 21px; color: var(--primary); }
.pd-contact-strip span { font-size: 13px; color: var(--muted); display: block; }

/* 参数表 */
.spec-section { padding: 20px 0 70px; }
.spec-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-sm); font-size: 14.5px; }
.spec-table th, .spec-table td { padding: 13px 18px; border-bottom: 1px solid var(--line); text-align: left; }
.spec-table tr:last-child td { border-bottom: none; }
.spec-table thead th { background: linear-gradient(135deg, #0D2247, #123B7A); color: #fff; font-weight: 700; }
.spec-table td:first-child { font-weight: 600; color: var(--ink); width: 34%; }

/* ---------- 案例媒体墙 ---------- */
.case-card { position: relative; border-radius: var(--radius); overflow: hidden; display: block; aspect-ratio: 4/3; background: var(--bg-soft); }
.case-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.case-card:hover img { transform: scale(1.06); }
.case-card .mask { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(10,20,40,.88)); display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; color: #fff; }
.case-card .mask .ind { font-size: 12px; color: #7FF0E0; font-weight: 700; letter-spacing: 1px; }
.case-card .mask h3 { font-size: 16.5px; margin-top: 6px; line-height: 1.4; }
.case-card .mask p { font-size: 12.5px; color: #B9C6DE; margin-top: 4px; }

/* ---------- 联系页 ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 44px; padding: 48px 0 72px; }
.contact-cards { display: grid; gap: 16px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; display: flex; gap: 16px; align-items: flex-start; transition: all .25s; }
.contact-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.contact-card .ico { width: 46px; height: 46px; border-radius: 12px; background: var(--bg-soft); display: flex; align-items: center; justify-content: center; font-size: 21px; flex-shrink: 0; }
.contact-card b { display: block; font-size: 15px; }
.contact-card p { font-size: 14px; color: var(--ink-soft); margin-top: 4px; word-break: break-all; }
.contact-card p a { color: var(--primary); font-weight: 600; }

/* ---------- 关于页 ---------- */
.about-hero-img { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); }
.about-hero-img img { width: 100%; height: 380px; object-fit: cover; }
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding: 70px 0; }
.about-grid h2 { font-size: clamp(22px, 2.8vw, 32px); font-weight: 800; margin-bottom: 18px; }
.about-grid p { color: var(--ink-soft); margin: 10px 0; font-size: 15.5px; }
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 10px 0 70px; }
.value-item { text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 16px; transition: all .3s; }
.value-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.value-item .ico { font-size: 34px; }
.value-item b { display: block; margin-top: 12px; font-size: 16px; }
.value-item span { display: block; font-size: 13px; color: var(--muted); margin-top: 6px; }

/* ---------- 搜索页 ---------- */
.search-bar { display: flex; gap: 12px; max-width: 640px; margin: 26px auto 0; }
.search-bar input { flex: 1; padding: 14px 20px; border-radius: 999px; border: 1.5px solid var(--line); font-size: 15px; font-family: inherit; }
.search-bar input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(11,95,255,.13); }
.search-bar button { border-radius: 999px; }
.hot-kws { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 16px; }
.hot-kws a { font-size: 12.5px; color: #9FB3D1; border: 1px solid rgba(255,255,255,.2); padding: 4px 13px; border-radius: 999px; transition: all .2s; }
.hot-kws a:hover { color: #fff; border-color: #fff; }
.result-type { font-size: 12px; color: #fff; background: var(--teal); border-radius: 5px; padding: 1px 8px; margin-right: 8px; vertical-align: 2px; }

/* ---------- 404 ---------- */
.nf-wrap { text-align: center; padding: 90px 0 110px; }
.nf-code { font-size: 110px; font-weight: 900; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; }
.nf-wrap h1 { font-size: 24px; margin: 18px 0 8px; }
.nf-wrap p { color: var(--muted); }
.nf-actions { margin-top: 30px; display: flex; gap: 14px; justify-content: center; }

@media (max-width: 1024px) {
  .product-detail, .contact-layout, .about-grid { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .pd-feats { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: 1fr 1fr; }
  .about-hero-img img { height: 240px; }
}
