/* =========================================================
   琨涵热能 前台样式
   工业设备行业 · 现代专业风格
   ========================================================= */

/* ── CSS Variables ── */
:root {
    --primary: #1a56db;
    --primary-dark: #1340a8;
    --primary-light: #3b82f6;
    --secondary: #0c4a6e;
    --accent: #f59e0b;
    --dark: #0f172a;
    --gray: #64748b;
    --gray-light: #94a3b8;
    --light: #f8fafc;
    --lighter: #f1f5f9;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, #1a56db 0%, #0c4a6e 100%);
    --gradient-accent: linear-gradient(135deg, #1a56db 0%, #3b82f6 100%);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
    --radius: 12px;
    --radius-lg: 16px;
}

/* ── Reset ── */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif; background: var(--white); color: var(--dark); line-height: 1.7; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── Logo ── */
.logo-img { height: 44px; }
.footer-logo-img { height: 44px; margin-bottom: 20px; }

/* ── Header ── */
.header { position: fixed; top: 0; left: 0; right: 0; background: rgba(255,255,255,0.97); backdrop-filter: blur(12px); z-index: 1000; box-shadow: 0 1px 3px rgba(0,0,0,0.06); }
.header-inner { display: flex; justify-content: space-between; align-items: center; height: 72px; }
.logo { display: flex; align-items: center; gap: 12px; font-size: 20px; font-weight: 800; color: var(--primary-dark); }
.logo-icon { width: 44px; height: 44px; background: var(--gradient); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 20px; }
.nav { display: flex; gap: 4px; align-items: center; }
.nav a { font-size: 15px; font-weight: 500; color: var(--dark); position: relative; padding: 8px 14px; border-radius: 8px; transition: all 0.2s; }
.nav a:hover { color: var(--primary); background: rgba(26,86,219,0.05); }
.nav a.active { color: var(--primary); background: rgba(26,86,219,0.08); }
.nav-cta { background: var(--gradient); color: #fff !important; padding: 9px 22px !important; border-radius: 8px !important; }
.nav-cta:hover { opacity: 0.9; transform: translateY(-1px); }
.header-right { display: flex; align-items: center; gap: 12px; }
.search-toggle { width: 40px; height: 40px; border-radius: 10px; border: none; background: var(--light); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.2s; color: var(--gray); }
.search-toggle:hover { background: var(--lighter); color: var(--primary); }
.hamburger { display: none; width: 40px; height: 40px; border: none; background: var(--light); border-radius: 10px; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.hamburger span { display: block; width: 20px; height: 2px; background: var(--dark); border-radius: 2px; transition: all 0.3s; }

/* ── Search Modal ── */
.search-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 2000; backdrop-filter: blur(4px); }
.search-overlay.show { display: flex; align-items: flex-start; justify-content: center; padding-top: 120px; }
.search-box { background: #fff; border-radius: 16px; width: 100%; max-width: 640px; margin: 0 24px; overflow: hidden; box-shadow: 0 25px 50px rgba(0,0,0,0.3); }
.search-input-wrap { display: flex; align-items: center; padding: 16px 20px; border-bottom: 1px solid #f1f5f9; }
.search-input-wrap svg { flex-shrink: 0; color: var(--gray); }
.search-input-wrap input { flex: 1; border: none; outline: none; font-size: 18px; padding: 8px 16px; color: var(--dark); }
.search-input-wrap input::placeholder { color: #94a3b8; }
.search-close { flex-shrink: 0; width: 32px; height: 32px; border: none; background: #f1f5f9; border-radius: 8px; cursor: pointer; font-size: 16px; color: var(--gray); margin-left: 12px; }
.search-results { max-height: 480px; overflow-y: auto; }
.search-result-item { display: flex; align-items: center; gap: 16px; padding: 14px 20px; border-bottom: 1px solid #f8fafc; transition: background 0.2s; cursor: pointer; }
.search-result-item:hover { background: #f8fafc; }
.search-result-item:last-child { border-bottom: none; }
.search-result-img { width: 60px; height: 48px; border-radius: 8px; overflow: hidden; flex-shrink: 0; background: #f1f5f9; }
.search-result-img img { width: 100%; height: 100%; object-fit: cover; }
.search-result-info { flex: 1; min-width: 0; }
.search-result-title { font-size: 15px; font-weight: 600; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search-result-meta { font-size: 13px; color: var(--gray); }
.search-result-empty { padding: 40px 20px; text-align: center; color: var(--gray); font-size: 15px; }
.search-footer { padding: 12px 20px; background: #f8fafc; font-size: 13px; color: var(--gray); display: flex; gap: 16px; }
.search-footer span { display: flex; align-items: center; gap: 4px; }

/* ── Breadcrumb ── */
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 14px; color: rgba(255,255,255,0.75); }
.breadcrumb a { color: rgba(255,255,255,0.75); transition: color 0.2s; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb-sep { opacity: 0.5; }

/* ── Hero ── */
.hero { padding: 140px 0 80px; background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0c4a6e 100%); position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }
.hero-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.hero-badge { display: inline-block; padding: 6px 20px; background: rgba(245,158,11,0.15); color: var(--accent); border-radius: 20px; font-size: 14px; font-weight: 600; margin-bottom: 24px; border: 1px solid rgba(245,158,11,0.25); }
.hero-content h1 { font-size: 44px; font-weight: 800; line-height: 1.25; margin-bottom: 24px; color: #fff; }
.hero-content p { font-size: 17px; color: rgba(255,255,255,0.75); margin-bottom: 36px; line-height: 1.8; }
.hero-btns { display: flex; gap: 16px; }
.btn-primary { display: inline-flex; align-items: center; gap: 8px; padding: 14px 32px; background: var(--gradient-accent); color: #fff; border-radius: 10px; font-weight: 600; font-size: 16px; transition: all 0.3s; box-shadow: 0 4px 14px rgba(26,86,219,0.35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(26,86,219,0.45); }
.btn-secondary { display: inline-flex; align-items: center; gap: 8px; padding: 14px 32px; background: rgba(255,255,255,0.1); color: #fff; border: 1px solid rgba(255,255,255,0.25); border-radius: 10px; font-weight: 600; font-size: 16px; transition: all 0.3s; }
.btn-secondary:hover { background: rgba(255,255,255,0.2); border-color: rgba(255,255,255,0.4); }
.btn-lg { padding: 16px 40px; font-size: 17px; }

/* Hero Stats Card */
.hero-stats-card { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius-lg); padding: 40px; backdrop-filter: blur(10px); }
.hero-stat-row { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: center; }
.hero-stat-row + .hero-stat-row { margin-top: 24px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1); }
.hero-stat-divider { width: 1px; height: 48px; background: rgba(255,255,255,0.15); }
.hero-stat { text-align: center; }
.hero-stat-num { font-size: 36px; font-weight: 800; color: var(--accent); }
.hero-stat-label { font-size: 13px; color: rgba(255,255,255,0.6); margin-top: 4px; }
.hero-trust { text-align: center; margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); color: rgba(255,255,255,0.5); font-size: 14px; }

/* ── Sections ── */
.section { padding: 90px 0; }
.section-gray { background: var(--light); }
.section-dark { background: linear-gradient(135deg, #0f172a, #1e3a5f); }
.section-header { text-align: center; max-width: 600px; margin: 0 auto 56px; }
.section-title { font-size: 34px; font-weight: 700; margin-bottom: 16px; color: var(--dark); }
.section-sub { font-size: 16px; color: var(--gray); }
.section-label { display: inline-block; padding: 6px 16px; background: linear-gradient(135deg, rgba(26,86,219,0.08), rgba(12,74,110,0.08)); color: var(--primary); border-radius: 20px; font-size: 13px; font-weight: 600; margin-bottom: 16px; }
/* Light variants for dark section */
.section-header-light .section-title { color: #fff; }
.section-header-light .section-sub { color: rgba(255,255,255,0.6); }
.section-label-light { background: rgba(245,158,11,0.15); color: var(--accent); }
.section-sub-light { color: rgba(255,255,255,0.6); }
.section-title-light { color: #fff; }

/* ── Category Grid (Product Categories) ── */
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.category-card { background: #fff; border-radius: var(--radius-lg); padding: 32px 24px; text-align: center; transition: all 0.3s; border: 1px solid #e2e8f0; position: relative; overflow: hidden; }
.category-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--primary-light); }
.category-card:hover .category-arrow { opacity: 1; transform: translateX(0); }
.category-icon { width: 180px; height: 180px; margin: 0 auto 20px; border-radius: var(--radius); overflow: hidden; background: linear-gradient(135deg, #eff6ff, #dbeafe); }
.category-icon img { width: 100%; height: 100%; object-fit: cover; }
.category-icon-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 36px; }
.category-card h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; color: var(--dark); }
.category-card p { font-size: 13px; color: var(--gray-light); margin-bottom: 12px; }
.category-arrow { font-size: 18px; color: var(--primary); opacity: 0; transform: translateX(-8px); transition: all 0.3s; }

/* ── Advantages ── */
.advantages-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.advantage-card { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-lg); padding: 32px 24px; transition: all 0.3s; }
.advantage-card:hover { background: rgba(255,255,255,0.1); transform: translateY(-4px); }
.advantage-num { font-size: 48px; font-weight: 900; color: rgba(245,158,11,0.2); margin-bottom: 16px; line-height: 1; }
.advantage-card h3 { font-size: 18px; font-weight: 600; margin-bottom: 12px; color: #fff; }
.advantage-card p { font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.7; }

/* ── Products ── */
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; transition: all 0.3s; border: 1px solid #e2e8f0; }
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--primary-light); }
.product-img { height: 220px; overflow: hidden; background: linear-gradient(135deg, #f8fafc, #f1f5f9); }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.product-card:hover .product-img img { transform: scale(1.05); }
.product-img-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 48px; opacity: 0.3; }
.product-body { padding: 24px; }
.product-body h3 { font-size: 18px; font-weight: 600; margin-bottom: 10px; color: var(--dark); }
.product-body p { font-size: 14px; color: var(--gray); line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 16px; }
.product-detail-link { font-size: 14px; font-weight: 600; color: var(--primary); }
.product-price { margin-top: 16px; font-size: 20px; font-weight: 700; color: var(--primary); }

/* ── Cases ── */
.index-case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.index-case-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); display: block; transition: all 0.3s; text-decoration: none; }
.index-case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.index-case-img { height: 200px; overflow: hidden; background: linear-gradient(135deg, #e6f4ff, #bae0ff); }
.index-case-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.index-case-card:hover .index-case-img img { transform: scale(1.05); }
.index-case-img-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 48px; opacity: 0.3; }
.index-case-body { padding: 20px; }
.index-case-meta { font-size: 12px; color: var(--gray-light); margin-bottom: 8px; }
.index-case-title { font-size: 16px; font-weight: 600; color: var(--dark); margin-bottom: 8px; line-height: 1.4; }
.index-case-excerpt { font-size: 13px; color: var(--gray); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ── News ── */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; transition: all 0.3s; border: 1px solid #e2e8f0; }
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.news-img { height: 200px; overflow: hidden; background: var(--lighter); }
.news-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.news-card:hover .news-img img { transform: scale(1.05); }
.news-img-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 48px; opacity: 0.2; }
.news-body { padding: 24px; }
.news-date { font-size: 13px; color: var(--gray-light); margin-bottom: 12px; }
.news-title { font-size: 17px; font-weight: 600; margin-bottom: 12px; line-height: 1.5; color: var(--dark); }
.news-title:hover { color: var(--primary); }
.news-excerpt { font-size: 14px; color: var(--gray); line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ── Pagination ── */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 48px; }
.pagination a, .pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 12px; border-radius: 8px; font-size: 15px; transition: all 0.2s; }
.pagination a { border: 1px solid #e2e8f0; color: var(--dark); }
.pagination a:hover { border-color: var(--primary); color: var(--primary); background: rgba(26,86,219,0.05); }
.pagination .active { background: var(--primary); color: #fff; border-color: var(--primary); }
.pagination .disabled { color: #cbd5e1; pointer-events: none; }

/* ── Links Bar ── */
.links-bar { padding: 40px 0; background: var(--dark); }
.links-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.links-bar a { padding: 10px 24px; background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.6); border-radius: 8px; font-size: 14px; transition: all 0.3s; }
.links-bar a:hover { background: rgba(255,255,255,0.15); color: #fff; }

/* ── CTA Section ── */
.cta-section { background: var(--gradient); color: #fff; padding: 72px 0; }
.cta-grid { display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.cta-content h2 { font-size: 32px; font-weight: 700; margin-bottom: 12px; }
.cta-content p { font-size: 17px; opacity: 0.85; }
.cta-actions { display: flex; gap: 16px; flex-shrink: 0; }
.cta-section .btn-primary { background: #fff; color: var(--primary-dark); box-shadow: 0 4px 14px rgba(0,0,0,0.15); }
.cta-section .btn-secondary { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.3); }

/* ── Footer ── */
.footer { background: var(--dark); color: rgba(255,255,255,0.7); padding: 72px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; margin-bottom: 50px; }
.footer-brand h3 { font-size: 24px; color: #fff; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.footer-brand p { font-size: 14px; line-height: 1.8; margin-bottom: 24px; }
.footer h4 { color: #fff; font-size: 16px; margin-bottom: 20px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,0.5); transition: color 0.3s; }
.footer-links a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; text-align: center; font-size: 14px; display: flex; flex-direction: column; gap: 8px; }
.footer-bottom-links { display: flex; gap: 16px; justify-content: center; margin-top: 8px; }
.footer-bottom-links a { color: rgba(255,255,255,0.5); }
.footer-bottom-links a:hover { color: #fff; }

/* ── Banner Slider ── */
.banner-slider { position: relative; height: 600px; overflow: hidden; }
.banner-slider .swiper { width: 100%; height: 100%; }
.banner-slider .swiper-slide { display: flex; align-items: center; position: relative; }
.banner-slide-bg { position: absolute; inset: 0; background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%); }
.banner-slide-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.35; }
.banner-content { position: relative; z-index: 1; color: #fff; text-align: center; max-width: 800px; margin: 0 auto; padding: 0 24px; width: 100%; }
.banner-content h2 { font-size: 48px; font-weight: 800; margin-bottom: 20px; }
.banner-content p { font-size: 20px; opacity: 0.9; margin-bottom: 32px; }
.banner-slider .swiper-pagination-bullet { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,0.4); opacity: 1; }
.banner-slider .swiper-pagination-bullet-active { background: #fff; width: 32px; border-radius: 6px; }
.banner-slider .swiper-pagination { bottom: 24px; }

/* ── Page Hero (sub pages) ── */
.page-hero { background: linear-gradient(135deg, #0f172a, #1e3a5f); color: #fff; padding: 120px 0 60px; text-align: center; }
.page-hero h1 { font-size: 40px; font-weight: 700; margin-bottom: 12px; }
.page-hero-sub { opacity: 0.85; font-size: 15px; margin-top: 12px; }
.about-text { font-size: 17px; line-height: 2; color: #374151; }
.about-text p { margin-bottom: 20px; }
.about-text img { max-width: 100%; border-radius: var(--radius); margin: 24px 0; }

/* ── Article detail ── */
.article-content { font-size: 17px; line-height: 2; color: #374151; }
.article-content p { margin-bottom: 20px; }
.article-content img { max-width: 100%; border-radius: var(--radius); margin: 24px 0; }
.article-content h2, .article-content h3 { font-weight: 700; color: var(--dark); margin: 32px 0 16px; }
.article-cover { margin-bottom: 32px; border-radius: var(--radius); overflow: hidden; }
.article-cover img { width: 100%; max-height: 400px; object-fit: cover; }
.article-back { margin-top: 40px; padding-top: 24px; border-top: 1px solid #e2e8f0; }
.article-back a { color: var(--primary); font-weight: 500; }

/* ── Cases Grid ── */
.cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case-card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; transition: all 0.3s; box-shadow: var(--shadow-sm); display: block; }
.case-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.case-img { height: 200px; overflow: hidden; background: linear-gradient(135deg, #e6f4ff, #bae0ff); }
.case-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.case-card:hover .case-img img { transform: scale(1.05); }
.case-body { padding: 24px; }
.case-meta { font-size: 13px; color: var(--gray); margin-bottom: 8px; }
.case-title { font-size: 17px; font-weight: 600; color: var(--dark); margin-bottom: 10px; line-height: 1.4; }
.case-excerpt { font-size: 14px; color: var(--gray); line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 12px; }
.case-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.case-tag { padding: 2px 10px; background: #eff6ff; color: var(--primary); border-radius: 20px; font-size: 12px; }

/* ── Contact page ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-form-title { font-size: 24px; font-weight: 600; margin-bottom: 24px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 500; }
.form-input { width: 100%; padding: 12px 16px; border: 1px solid #e2e8f0; border-radius: 8px; font-size: 15px; }
.form-input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26,86,219,0.1); }
textarea.form-input { resize: vertical; font-family: inherit; }
.captcha-row { display: flex; align-items: center; gap: 10px; }
.captcha-row .form-input { flex: 1; }
.captcha-img { height: 40px; border-radius: 6px; border: 1px solid #d9d9d9; cursor: pointer; flex-shrink: 0; }
.captcha-refresh { font-size: 12px; color: var(--primary); cursor: pointer; display: inline-block; margin-top: 6px; }
.form-submit { padding: 14px 40px; background: var(--gradient); color: #fff; border: none; border-radius: 10px; font-size: 16px; font-weight: 600; cursor: pointer; transition: opacity 0.2s; }
.form-submit:hover { opacity: 0.9; }
.contact-info-title { font-size: 24px; font-weight: 600; margin-bottom: 24px; }
.contact-info-box { background: var(--light); border-radius: var(--radius); padding: 32px; }
.contact-info-item { margin-bottom: 24px; }
.contact-info-item:last-child { margin-bottom: 0; }
.contact-info-label { font-size: 14px; color: var(--gray); margin-bottom: 6px; }
.contact-info-value { font-size: 18px; font-weight: 600; }
.form-alert-success { padding: 16px 24px; background: #f6ffed; border: 1px solid #b7eb8f; border-radius: 8px; color: #52c41a; margin-bottom: 24px; }
.form-alert-error { padding: 12px 16px; background: #fff2f0; border: 1px solid #ffccc7; border-radius: 8px; color: #ff4d4f; margin-bottom: 20px; }

/* ── About page ── */
.about-text-wrap { max-width: 900px; margin: 0 auto; font-size: 16px; color: #595959; line-height: 2; }
.about-contact-bar { background: #fafafa; border: 1px solid #f0f0f0; border-radius: var(--radius); padding: 40px; margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.about-contact-item { text-align: center; }
.about-contact-icon { font-size: 28px; margin-bottom: 10px; }
.about-contact-label { font-size: 13px; color: #8c8c8c; margin-bottom: 4px; }
.about-contact-value { font-size: 16px; font-weight: 600; }

/* ── Product detail page ── */
.product-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.product-cover-wrap { border-radius: var(--radius-lg); overflow: hidden; background: #f1f5f9; }
.product-cover-wrap img { width: 100%; display: block; }
.product-cover-placeholder { border-radius: var(--radius-lg); height: 400px; background: linear-gradient(135deg, #e6f4ff, #bae0ff); display: flex; align-items: center; justify-content: center; font-size: 80px; }
.product-detail-name { font-size: 32px; font-weight: 700; margin-bottom: 20px; color: var(--dark); }
.product-detail-desc { font-size: 16px; color: var(--gray); line-height: 1.8; margin-bottom: 32px; }
.product-price-box { margin-bottom: 32px; }
.product-price-label { font-size: 14px; color: var(--gray); margin-bottom: 8px; }
.product-price-value { font-size: 36px; font-weight: 800; color: var(--primary); }
.product-price-original { font-size: 16px; color: #cbd5e1; text-decoration: line-through; margin-top: 4px; }
.product-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.product-tag { padding: 6px 16px; border-radius: 20px; font-size: 13px; }
.product-tag-featured { background: #fef3c7; color: #92400e; font-weight: 600; }
.product-tag-stock { background: #dcfce7; color: #166534; }
.product-tag-out { background: #fee2e2; color: #991b1b; }
.product-tag-category { background: #eff6ff; color: var(--primary-dark); }
.product-consult-btn { display: inline-flex; padding: 16px 48px; font-size: 18px; }
.product-consult-hint { margin-top: 16px; font-size: 13px; color: var(--gray); }
.product-detail-section { margin-top: 80px; padding-top: 60px; border-top: 1px solid #e2e8f0; }
.product-detail-section h3 { font-size: 24px; font-weight: 700; margin-bottom: 32px; color: var(--dark); }
.product-back { margin-top: 60px; padding-top: 32px; border-top: 1px solid #e2e8f0; }
.product-back a { color: var(--primary); font-weight: 500; }

/* ── Case detail page ── */
.case-header { background: linear-gradient(135deg, rgba(15,23,42,0.9), rgba(30,58,95,0.9)); padding: 80px 0; }
.case-header-inner { max-width: 900px; margin: 0 auto; padding: 0 20px; color: #fff; }
.case-header-meta { font-size: 13px; opacity: 0.8; margin-bottom: 12px; }
.case-header-title { font-size: 32px; font-weight: 700; margin-bottom: 16px; }
.case-header-date { font-size: 13px; opacity: 0.75; }
.case-detail-section { padding: 50px 0; }
.case-detail-inner { max-width: 900px; margin: 0 auto; padding: 0 20px; }
.case-info-bar { background: #fafafa; border: 1px solid #f0f0f0; border-radius: 10px; padding: 20px; margin-bottom: 32px; display: flex; gap: 30px; flex-wrap: wrap; }
.case-info-label { font-size: 12px; color: #bfbfbf; margin-bottom: 6px; }
.case-info-value { font-size: 14px; color: #1d1d1d; }
.case-info-value a { color: var(--primary); word-break: break-all; }
.case-detail-content { font-size: 16px; line-height: 2; color: #404040; min-height: 400px; }
.case-back { margin-top: 40px; padding-top: 30px; border-top: 1px solid #f0f0f0; text-align: center; }
.case-back a { display: inline-block; padding: 10px 30px; background: var(--primary); color: #fff; border-radius: 6px; }

/* ── Search page ── */
.search-tabs { display: flex; gap: 8px; margin-bottom: 40px; flex-wrap: wrap; border-bottom: 2px solid #e2e8f0; padding-bottom: 0; }
.search-tab { padding: 10px 24px; border-radius: 8px 8px 0 0; font-size: 15px; font-weight: 500; transition: all 0.2s; color: var(--gray); }
.search-tab-active { background: #fff; color: var(--primary); border: 2px solid #e2e8f0; border-bottom-color: #fff; margin-bottom: -2px; }
.search-tab-count { background: #f1f5f9; padding: 2px 8px; border-radius: 10px; font-size: 12px; }
.search-empty { text-align: center; padding: 80px 0; }
.search-empty-icon { font-size: 64px; margin-bottom: 24px; }
.search-empty-title { font-size: 24px; font-weight: 600; margin-bottom: 12px; }
.search-empty-text { color: var(--gray); }
.search-empty-text a { color: var(--primary); }
.search-section { margin-bottom: 60px; }
.search-section-title { font-size: 20px; font-weight: 600; margin-bottom: 24px; padding-bottom: 12px; border-bottom: 1px solid #e2e8f0; }
.search-section-count { font-size: 14px; color: var(--gray); font-weight: 400; }
.search-more { margin-top: 40px; padding-top: 32px; border-top: 1px solid #e2e8f0; }

/* ── Misc ── */
.empty-state { text-align: center; color: #999; padding: 60px 0; }
.container-narrow { max-width: 800px; margin: 0 auto; }
.container-narrow-lg { max-width: 900px; margin: 0 auto; }
.breadcrumb-light a { color: rgba(255,255,255,0.75); }
.breadcrumb-light a:hover { color: #fff; }
.breadcrumb-light .breadcrumb-sep { opacity: 0.5; }
.breadcrumb-current { color: #fff; }
.form-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ── Honors Page ── */
.honors-page { padding: 60px 0; }
.honors-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; margin-top: 30px; }
.honor-card { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: var(--shadow-sm); transition: transform 0.2s, box-shadow 0.2s; }
.honor-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.honor-img-wrap { height: 180px; overflow: hidden; background: #f5f7fa; display: flex; align-items: center; justify-content: center; }
.honor-img { width: 100%; height: 100%; object-fit: cover; }
.honor-info { padding: 16px; }
.honor-title { font-size: 15px; font-weight: 600; color: #1f2937; margin: 0 0 8px; }
.honor-meta { display: flex; gap: 8px; font-size: 13px; color: #9ca3af; margin-bottom: 8px; }
.honor-desc { font-size: 13px; color: #6b7280; line-height: 1.6; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ── Jobs Page ── */
.jobs-page { padding: 60px 0; }
.jobs-list { max-width: 900px; margin: 30px auto 0; }
.job-card { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; background: #fff; border-radius: 8px; margin-bottom: 12px; box-shadow: var(--shadow-sm); transition: transform 0.2s, box-shadow 0.2s; text-decoration: none; color: inherit; }
.job-card:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.job-title { font-size: 17px; font-weight: 600; color: #1f2937; margin: 0 0 8px; }
.job-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.job-tag { display: inline-block; padding: 2px 10px; font-size: 12px; color: #6b7280; background: #f3f4f6; border-radius: 4px; }
.job-salary { font-size: 18px; font-weight: 700; color: #e74c3c; white-space: nowrap; margin-left: 20px; }

/* ── Job Detail ── */
.job-detail-page { padding: 60px 0; }
.job-detail { max-width: 800px; margin: 0 auto; }
.job-detail-header { margin-bottom: 30px; }
.job-detail-title { font-size: 24px; font-weight: 700; color: #1f2937; margin: 0 0 12px; }
.job-detail-meta { display: flex; gap: 16px; flex-wrap: wrap; font-size: 14px; color: #6b7280; }
.job-detail-salary { color: #e74c3c; font-weight: 700; font-size: 16px; }
.job-detail-body h2 { font-size: 18px; font-weight: 600; color: #1f2937; margin: 30px 0 12px; padding-bottom: 8px; border-bottom: 2px solid var(--primary); }
.job-detail-content { font-size: 14px; line-height: 1.8; color: #4b5563; }
.job-detail-content p { margin: 8px 0; }
.job-detail-content ul, .job-detail-content ol { padding-left: 20px; margin: 8px 0; }
.job-detail-footer { display: flex; gap: 12px; margin-top: 40px; padding-top: 20px; border-top: 1px solid #e5e7eb; }
.btn-back { display: inline-block; padding: 10px 24px; border: 1px solid #d1d5db; border-radius: 6px; color: #4b5563; text-decoration: none; font-size: 14px; transition: background 0.2s; }
.btn-back:hover { background: #f3f4f6; }
.btn-apply { display: inline-block; padding: 10px 24px; background: var(--primary); color: #fff; border-radius: 6px; text-decoration: none; font-size: 14px; font-weight: 500; transition: background 0.2s; }
.btn-apply:hover { background: var(--primary-dark); }

/* ── Misc ── */
.empty-text { text-align: center; color: #9ca3af; font-size: 15px; padding: 60px 0; }
.page-title { font-size: 28px; font-weight: 700; color: #1f2937; text-align: center; margin-bottom: 10px; }
.index-more-wrap { text-align: center; margin-top: 40px; }
.index-more-btn { display: inline-block; padding: 12px 32px; border: 2px solid var(--primary); color: var(--primary); border-radius: 8px; font-weight: 600; font-size: 15px; transition: all 0.3s; }
.index-more-btn:hover { background: var(--primary); color: #fff; }

/* ── Responsive ── */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-btns { justify-content: center; }
    .hero-visual { margin-top: 40px; }
    .category-grid { grid-template-columns: repeat(2, 1fr); }
    .advantages-grid { grid-template-columns: repeat(2, 1fr); }
    .products-grid, .news-grid, .cases-grid, .index-case-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .cta-grid { flex-direction: column; text-align: center; }
}
@media (max-width: 768px) {
    .nav { display: none; }
    .hamburger { display: flex; }
    .hero { padding: 120px 0 60px; }
    .hero-content h1 { font-size: 30px; }
    .hero-stats-card { padding: 24px; }
    .hero-stat-num { font-size: 28px; }
    .section { padding: 60px 0; }
    .section-title { font-size: 26px; }
    .category-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .advantages-grid { grid-template-columns: 1fr; }
    .products-grid, .news-grid, .cases-grid, .index-case-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .banner-content h2 { font-size: 28px; }
    .banner-slider { height: 420px; }
    .product-detail-grid { grid-template-columns: 1fr !important; }
    .contact-grid { grid-template-columns: 1fr !important; }
    .about-contact-bar { grid-template-columns: 1fr !important; }
    .cta-actions { flex-direction: column; }
}

/* ── Mobile Nav Drawer ── */
.mobile-nav { display: none; position: fixed; top: 72px; left: 0; right: 0; background: #fff; box-shadow: 0 8px 24px rgba(0,0,0,0.1); z-index: 999; padding: 16px; flex-direction: column; gap: 4px; }
.mobile-nav.show { display: flex; }
.mobile-nav a { padding: 12px 16px; border-radius: 8px; font-size: 16px; font-weight: 500; color: var(--dark); transition: all 0.2s; }
.mobile-nav a:hover { background: var(--light); color: var(--primary); }
.mobile-nav-cta { color: var(--primary) !important; font-weight: 600 !important; }