/* ============================================
   北京语映科技集团 - 新版网站样式 v3
   去自研产品 + 全真实图片版本
   ============================================ */

:root {
    --primary: #1a365d;
    --primary-light: #2a4a7f;
    --accent: #c41e3a;
    --accent-hover: #a0182f;
    --gold: #c9a227;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 24px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.15);
    --radius: 12px;
    --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    color: var(--text-dark);
    background: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 8px rgba(0,0,0,0.06);
    transition: var(--transition);
}
.navbar.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.1); }
.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    height: 72px;
    max-width: 1400px;
    margin: 0 auto;
}
.navbar .logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.02em;
}
.navbar .logo-text-mark {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
    flex-shrink: 0;
}
.navbar .logo-img {
    height: 40px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
}
.nav-links {
    display: flex;
    gap: 4px;
}
.nav-links a {
    display: block;
    padding: 8px 20px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition);
}
.nav-links a:hover { color: var(--primary); background: var(--bg-light); }
.nav-links a.active { color: var(--accent); background: #fff1f2; font-weight: 600; }

/* ===== Nav Dropdown ===== */
.nav-dropdown { position: relative; }
.nav-dropdown > a::after {
    content: ' ▾';
    font-size: 0.7em;
    opacity: 0.6;
}
.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 260px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    border: 1px solid var(--border);
    padding: 8px;
    z-index: 1000;
    flex-direction: column;
    gap: 2px;
}
.nav-dropdown:hover .nav-dropdown-menu { display: flex; }
.nav-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--text-dark);
    white-space: nowrap;
}
.nav-dropdown-menu a:hover {
    background: var(--bg-light);
    color: var(--accent);
}
.nav-dropdown-menu a.disabled {
    color: var(--text-muted);
    opacity: 0.5;
    cursor: default;
    pointer-events: none;
}
.nav-dropdown-menu .dd-icon { font-size: 1.1rem; }
.nav-dropdown-menu .dd-count {
    margin-left: auto;
    font-size: 0.78rem;
    color: var(--text-muted);
    background: var(--bg-light);
    padding: 2px 8px;
    border-radius: 4px;
}
.nav-contact {
    display: flex;
    align-items: center;
    gap: 16px;
}
.nav-contact .phone {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ===== Language Toggle ===== */
.lang-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 34px;
    padding: 0 10px;
    background: transparent;
    color: var(--primary);
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}
.lang-toggle:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: #fff5f6;
}
.lang-toggle:active {
    transform: scale(0.95);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
}
.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== Buttons ===== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    background: var(--accent);
    color: white;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}
.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(196,30,58,0.35);
}
.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    background: transparent;
    color: white;
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: var(--transition);
}
.btn-outline:hover {
    background: rgba(255,255,255,0.15);
    border-color: white;
}
.btn-lg { padding: 14px 32px; font-size: 1rem; }

/* ===== Hero ===== */
.hero {
    margin-top: 72px;
    position: relative;
    overflow: hidden;
    min-height: 560px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.55);
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26,54,93,0.85) 0%, rgba(26,54,93,0.6) 50%, rgba(196,30,58,0.3) 100%);
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    padding: 100px 40px;
    max-width: 860px;
}
.hero-small { min-height: 380px; background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%); }
.hero-small .hero-content { padding: 80px 40px; }
.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}
.hero p {
    font-size: 1.15rem;
    opacity: 0.92;
    line-height: 1.8;
    margin-bottom: 36px;
}
.hero-badge {
    display: inline-block;
    padding: 6px 18px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 20px;
    font-size: 0.85rem;
    margin-bottom: 24px;
    backdrop-filter: blur(4px);
}
.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== Section ===== */
.section {
    padding: 80px 40px;
    max-width: 1400px;
    margin: 0 auto;
}
.section-header {
    text-align: center;
    margin-bottom: 56px;
}
.section-header.left { text-align: left; }
.section-header h2 {
    font-size: 2.1rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 14px;
    letter-spacing: -0.01em;
}
.section-header p {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 640px;
    margin: 0 auto;
}
.section-header.left p { margin: 0; }
.text-center { text-align: center; }

/* ===== Stats ===== */
.stats-section { background: var(--primary); color: white; }
.stats-section .section { padding: 60px 40px; }
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}
.stat-card {
    text-align: center;
    padding: 24px;
    border-right: 1px solid rgba(255,255,255,0.15);
}
.stat-card:last-child { border-right: none; }
.stat-num {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--gold);
    margin-bottom: 8px;
}
.stat-label {
    font-size: 1rem;
    opacity: 0.85;
}

/* ===== About ===== */
.about-section { background: var(--bg-light); }
.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
    align-items: center;
}
.about-text p {
    color: var(--text-muted);
    margin-bottom: 18px;
    line-height: 1.8;
}
.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 28px;
}
.about-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    color: var(--text-dark);
}
.about-feature .icon {
    width: 24px;
    height: 24px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
}
.about-image {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== Brands ===== */
.brands-section { background: var(--bg-white); }
.brands-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}
.brand-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 16px;
    text-align: center;
    transition: var(--transition);
}
.brand-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}
.brand-logo-wrap {
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}
.brand-logo-img {
    max-height: 44px;
    max-width: 140px;
    width: auto;
    object-fit: contain;
}
.brand-logo-text {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
}
.brand-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
}
.brand-country {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ===== Categories ===== */
.categories-section { background: var(--bg-light); }
.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.category-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}
.category-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}
.category-img {
    width: 100%;
    height: 200px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.category-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.category-card:hover .category-img img { transform: scale(1.05); }
.category-body { padding: 22px; }
.category-body h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}
.category-body p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 14px;
}
.category-link {
    font-size: 0.88rem;
    color: var(--accent);
    font-weight: 600;
}

/* ===== Services ===== */
.service-section { background: var(--bg-white); }
.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.service-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition);
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}
.service-icon {
    font-size: 2.5rem;
    margin-bottom: 18px;
}
.service-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}
.service-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ===== Contact ===== */
.contact-section { background: var(--primary); color: white; }
.contact-section .section-header h2 { color: white; }
.contact-section .section-header p { color: rgba(255,255,255,0.7); }
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.contact-card {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius);
    padding: 36px 24px;
    text-align: center;
    backdrop-filter: blur(4px);
}
.contact-card .icon {
    font-size: 2.2rem;
    margin-bottom: 16px;
}
.contact-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.contact-card p {
    font-size: 0.95rem;
    opacity: 0.85;
    line-height: 1.7;
}
.contact-card a { color: #93c5fd; }
.contact-card a:hover { color: white; }

/* ===== Footer ===== */
.footer { background: #0f172a; color: rgba(255,255,255,0.7); padding: 56px 40px 24px; }
.footer .container { max-width: 1400px; margin: 0 auto; }
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-brand h3 {
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 14px;
}
.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
}
.footer-links h4 {
    color: white;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 18px;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
    font-size: 0.9rem;
    opacity: 0.7;
    transition: var(--transition);
}
.footer-links a:hover { opacity: 1; color: white; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: white; }

/* ===== Back to Top ===== */
.back-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    box-shadow: 0 4px 16px rgba(196,30,58,0.4);
    z-index: 999;
    border: none;
}
.back-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-top:hover { background: var(--accent-hover); transform: translateY(-2px); }

/* ===== Agent Page ===== */
.category-nav-section {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 72px;
    z-index: 100;
}
.category-nav-section .section { padding: 20px 40px; }
.category-nav {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: thin;
}
.category-nav a {
    white-space: nowrap;
    padding: 8px 16px;
    background: var(--bg-light);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}
.category-nav a:hover {
    background: var(--accent);
    color: white;
}
.agent-section { border-bottom: 1px solid var(--border); }
.agent-section:nth-child(even) { background: var(--bg-light); }
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.product-detail.reverse { direction: rtl; }
.product-detail.reverse > * { direction: ltr; }
.product-detail-img {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: white;
    padding: 24px;
}
.product-detail-img img {
    width: 100%;
    height: 360px;
    object-fit: contain;
}
.product-detail-text { position: relative; }
.product-num {
    position: absolute;
    top: -20px;
    left: 0;
    font-size: 5rem;
    font-weight: 800;
    color: rgba(196,30,58,0.08);
    line-height: 1;
}
.product-detail-text h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 16px;
    position: relative;
}
.product-brands {
    margin-bottom: 18px;
}
.product-brand {
    display: inline-block;
    padding: 4px 12px;
    background: #fff1f2;
    color: var(--accent);
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-right: 8px;
    margin-bottom: 6px;
}
.product-detail-text p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 24px;
}

/* ===== Manufacturing Page ===== */
.hero-mfg .hero-overlay {
    background: linear-gradient(135deg, rgba(26,54,93,0.85) 0%, rgba(26,54,93,0.55) 50%, rgba(196,30,58,0.35) 100%);
}

/* Capability cards */
.mfg-cap-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.mfg-cap-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 28px;
    text-align: center;
    transition: var(--transition);
}
.mfg-cap-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}
.mfg-cap-icon {
    font-size: 2.8rem;
    margin-bottom: 18px;
}
.mfg-cap-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}
.mfg-cap-card p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* Workshop blocks */
.workshop-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
    padding: 64px 0;
    border-bottom: 1px solid var(--border);
}
.workshop-block:last-child { border-bottom: none; }
.workshop-block.reverse .workshop-text { order: 2; }
.workshop-block.reverse .workshop-images { order: 1; }
.workshop-text { position: relative; }
.workshop-num {
    position: absolute;
    top: -32px;
    left: 0;
    font-size: 5rem;
    font-weight: 800;
    color: rgba(196,30,58,0.08);
    line-height: 1;
}
.workshop-text h3 {
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 18px;
    position: relative;
}
.workshop-text p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 24px;
}
.workshop-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.ws-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    color: var(--text-dark);
    font-size: 0.92rem;
}
.ws-feature .icon {
    width: 22px;
    height: 22px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    flex-shrink: 0;
}
.workshop-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.workshop-images img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}
.workshop-images img:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-lg);
}

/* Cabinet type cards */
.cabinet-type-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.cabinet-type-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}
.cabinet-type-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}
.cabinet-type-img {
    height: 280px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.cabinet-type-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cabinet-type-card h3 {
    padding: 18px;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary);
    text-align: center;
}

/* Sheet metal type tags */
.sm-type-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
}
.sm-type-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 20px 12px;
    text-align: center;
    transition: var(--transition);
}
.sm-type-card:hover {
    border-color: var(--accent);
    background: #fff5f6;
    transform: translateY(-2px);
}
.sm-type-card span {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-dark);
}

/* Case cards */
.case-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.case-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.case-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}
.case-img {
    height: 220px;
    background: #f1f5f9;
    overflow: hidden;
}
.case-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.case-card:hover .case-img img { transform: scale(1.05); }
.case-body {
    padding: 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.case-tag {
    display: inline-block;
    padding: 3px 10px;
    background: #fff1f2;
    color: var(--accent);
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 10px;
    align-self: flex-start;
}
.case-tag-blue {
    background: #eff6ff;
    color: #2563eb;
}
.case-tag-gold {
    background: #fefce8;
    color: #ca8a04;
}
.case-body h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}
.case-body p {
    font-size: 0.86rem;
    color: var(--text-muted);
    line-height: 1.7;
    flex: 1;
}

/* Testing grid */
.test-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.test-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 24px;
    transition: var(--transition);
}
.test-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}
.test-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
    text-align: center;
}
.test-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 18px;
    text-align: center;
}
.test-list {
    list-style: none;
}
.test-list li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
    font-size: 0.88rem;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
}
.test-list li:last-child { border-bottom: none; }
.test-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

/* Process flow */
.process-flow {
    display: flex;
    align-items: stretch;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
}
.process-step {
    flex: 1;
    min-width: 160px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 20px;
    text-align: center;
    transition: var(--transition);
}
.process-step:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
}
.process-num {
    width: 44px;
    height: 44px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 auto 16px;
}
.process-step h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}
.process-step p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.6;
}
.process-arrow {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    color: var(--text-muted);
    font-weight: 300;
}

/* ===== Responsive for Manufacturing ===== */
@media (max-width: 1024px) {
    .mfg-cap-grid { grid-template-columns: repeat(2, 1fr); }
    .workshop-block { grid-template-columns: 1fr; gap: 32px; }
    .workshop-block.reverse .workshop-text { order: 0; }
    .workshop-block.reverse .workshop-images { order: 0; }
    .cabinet-type-grid { grid-template-columns: repeat(2, 1fr); }
    .case-grid { grid-template-columns: repeat(2, 1fr); }
    .test-grid { grid-template-columns: 1fr; }
    .sm-type-grid { grid-template-columns: repeat(4, 1fr); }
    .process-flow { flex-direction: column; }
    .process-arrow { transform: rotate(90deg); justify-content: center; padding: 4px 0; }
}

@media (max-width: 768px) {
    .mfg-cap-grid { grid-template-columns: 1fr; }
    .cabinet-type-grid { grid-template-columns: 1fr; }
    .case-grid { grid-template-columns: 1fr; }
    .sm-type-grid { grid-template-columns: repeat(2, 1fr); }
    .workshop-images { grid-template-columns: 1fr; }
    .workshop-images img { height: 220px; }
    .workshop-features { grid-template-columns: 1fr; }
    .workshop-num { font-size: 3.5rem; }
    .workshop-text h3 { font-size: 1.4rem; }
    .cabinet-type-img { height: 220px; }
    .case-img { height: 180px; }
    .process-step { min-width: 100%; }
    .process-arrow { transform: rotate(90deg); }
}

@media (max-width: 480px) {
    .sm-type-grid { grid-template-columns: 1fr; }
}

/* ===== Animations ===== */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 1200px) {
    .category-grid { grid-template-columns: repeat(3, 1fr); }
    .brands-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 1024px) {
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .product-detail { grid-template-columns: 1fr; gap: 40px; }
    .product-detail.reverse { direction: ltr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-card { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.15); }
    .stat-card:nth-child(3), .stat-card:nth-child(4) { border-bottom: none; }
    .service-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .navbar .container { padding: 0 20px; height: 64px; }
    .navbar .logo span { font-size: 1rem; }
    .navbar .logo-img { height: 32px; }
    .nav-links {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 16px 20px;
        gap: 4px;
        box-shadow: 0 8px 32px rgba(0,0,0,0.1);
        transform: translateY(-120%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }
    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    .nav-links a { padding: 12px 16px; font-size: 1rem; }
    .nav-dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        padding: 0 0 0 24px;
        min-width: auto;
    }
    .nav-dropdown:hover .nav-dropdown-menu { display: none; }
    .nav-dropdown.open .nav-dropdown-menu { display: flex; }
    .nav-contact { display: flex; gap: 8px; }
    .nav-contact .phone { display: none; }
    .nav-contact .btn-primary { display: none; }
    .hamburger { display: flex; }
    .hero { min-height: 480px; margin-top: 64px; }
    .hero h1 { font-size: 1.9rem; }
    .hero p { font-size: 1rem; }
    .hero-content { padding: 60px 20px; }
    .hero-actions { flex-direction: column; align-items: center; }
    .btn-lg { width: 100%; max-width: 280px; }
    .section { padding: 56px 20px; }
    .section-header h2 { font-size: 1.6rem; }
    .category-grid { grid-template-columns: 1fr; }
    .brands-grid { grid-template-columns: repeat(2, 1fr); }
    .service-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 0; }
    .stat-card { border: none; border-bottom: 1px solid rgba(255,255,255,0.15); padding: 24px; }
    .stat-card:nth-child(3), .stat-card:nth-child(4) { border-bottom: 1px solid rgba(255,255,255,0.15); }
    .stat-card:last-child { border-bottom: none; }
    .stat-num { font-size: 2.2rem; }
    .about-features { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .product-detail-img img { height: 260px; }
    .product-num { font-size: 3.5rem; }
    .product-detail-text h2 { font-size: 1.5rem; }
    .category-nav-section { top: 64px; }
    .footer { padding: 40px 20px 20px; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.6rem; }
    .section-header h2 { font-size: 1.4rem; }
    .brands-grid { grid-template-columns: 1fr 1fr; }
}
