/* ============================================
   WEI XING MACHINERY - Global Styles
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family:
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Arial,
        sans-serif;
    color: #333;
    background: #fff;
    line-height: 1.6;
    padding-top: 108px;
    -webkit-font-smoothing: antialiased;
}

html[lang="zh"] body,
html[lang="zh-CN"] body {
    font-family:
        "Microsoft YaHei",
        "PingFang SC",
        "Hiragino Sans GB",
        system-ui,
        sans-serif;
}

/* --- Thin Scrollbar --- */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(0,0,0,0.35); }
* { scrollbar-width: thin; scrollbar-color: rgba(0,0,0,0.2) transparent; }
a { text-decoration: none; color: inherit; transition: color 0.2s; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* --- Variables --- */
:root {
    --primary: #1B3A5C;
    --primary-dark: #0F2640;
    --accent: #E86C2C;
    --accent-hover: #D45A1A;
    --text: #333333;
    --text-light: #666666;
    --text-muted: #999999;
    --bg: #FFFFFF;
    --bg-light: #F7F8FA;
    --bg-dark: #0A1628;
    --border: #E5E7EB;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --radius: 8px;
    --radius-lg: 16px;
    --transition: 0.3s ease;
    --max-width: 1200px;
}

/* --- Container --- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* --- Section --- */
.section { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 12px;
}
.section-title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
    line-height: 1.2;
}
.section-desc {
    font-size: 17px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.section-subtitle {
    font-size: 17px;
    color: var(--text-light);
    max-width: 760px;
    margin: 0 auto;
}

.summary-box {
    padding: 24px;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--primary);
    margin: 20px 0 24px;
}

.summary-box h3 {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 10px;
}

.summary-box p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.8;
    margin: 0;
}

.exhibitions-section { background: #fff; }
.exhibitions-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.exhibition-card { border-radius: var(--radius-lg); overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); transition: all var(--transition); }
.exhibition-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.exhibition-card img { display: block; width: 100%; height: 260px; object-fit: cover; }


/* ============================================
   GEO CONTENT SECTIONS
   ============================================ */
.company-summary-section {
    padding-top: 48px;
    padding-bottom: 28px;
}

.company-summary-section .summary-box {
    max-width: 1000px;
    margin: 0 auto;
}

.capabilities-section {
    padding-top: 36px;
    padding-bottom: 60px;
}

.capabilities-section .section-header {
    margin-bottom: 32px;
}

.products-section {
    padding-top: 64px;
    padding-bottom: 72px;
}

.product-family-section {
    padding-top: 72px;
    padding-bottom: 72px;
}

.product-family-section .section-header {
    margin-bottom: 36px;
}

.faq-section {
    padding-top: 72px;
    padding-bottom: 72px;
}

.faq-section .section-header {
    margin-bottom: 36px;
}

.features-grid, .product-family-grid, .faq-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.feature-card, .family-card, .faq-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: all var(--transition);
}
.feature-card:hover, .family-card:hover, .faq-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-card h3, .family-card h3, .faq-card h3 { font-size: 18px; font-weight: 700; color: var(--primary); margin-bottom: 10px; }
.feature-card p, .family-card p, .faq-card p { font-size: 14px; color: var(--text-light); line-height: 1.7; }
.family-card { text-decoration: none; color: inherit; }
.family-card span { display: inline-block; margin-top: 12px; color: var(--accent); font-weight: 700; font-size: 14px; }
.faq-section { background: #fff; }
@media (max-width: 1024px) {
    .features-grid, .product-family-grid, .faq-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .company-summary-section {
        padding-top: 32px;
        padding-bottom: 20px;
    }

    .capabilities-section,
    .products-section,
    .product-family-section,
    .faq-section {
        padding-top: 52px;
        padding-bottom: 52px;
    }

    .capabilities-section .section-header,
    .product-family-section .section-header,
    .faq-section .section-header {
        margin-bottom: 28px;
    }

    .features-grid, .product-family-grid, .faq-grid { grid-template-columns: 1fr; }
}

/* ============================================
   TOP BAR
   ============================================ */
.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1001;
    background: var(--primary-dark);
    color: rgba(255,255,255,0.8);
    font-size: 13px;
    padding: 8px 0;
}
.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.top-bar-left, .top-bar-right { display: flex; align-items: center; gap: 12px; }
.top-bar .divider { opacity: 0.3; }
.top-bar a { color: rgba(255,255,255,0.8); transition: color var(--transition); }
.top-bar a:hover { color: #fff; }
.whatsapp-link { font-weight: 500; }
.lang-switch {
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}
.lang-switch.active { background: rgba(255,255,255,0.15); color: #fff; }

/* ============================================
   HEADER
   ============================================ */
.header {
    position: fixed;
    top: 36px;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow var(--transition);
}
.header.scrolled { box-shadow: var(--shadow-md); }
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo .logo-icon { background: transparent; padding: 0; border-radius: 0; box-shadow: none; }
.logo .logo-icon img { background: transparent; border-radius: 0; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name { font-size: 18px; font-weight: 800; color: var(--primary); letter-spacing: 1px; }
.logo-sub { font-size: 10px; font-weight: 500; color: var(--text-muted); letter-spacing: 3px; text-transform: uppercase; }
.main-nav { display: flex; gap: 32px; }
.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--text);
    position: relative;
    padding: 4px 0;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--primary); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.header-cta {
    background: var(--accent);
    color: #fff;
    padding: 10px 24px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 600;
    transition: background var(--transition), transform var(--transition);
}
.header-cta:hover { background: var(--accent-hover); transform: translateY(-1px); }

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: transform var(--transition), opacity var(--transition);
}
.mobile-menu-btn.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    z-index: 999;
    padding-top: 100px;
}
.mobile-menu.active { display: flex; align-items: flex-start; justify-content: center; }
.mobile-nav { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.mobile-nav-link { font-size: 24px; font-weight: 600; color: var(--text); }
.mobile-nav-link.active { color: var(--accent); }
.mobile-nav-cta {
    margin-top: 16px;
    background: var(--accent);
    color: #fff;
    padding: 14px 40px;
    border-radius: var(--radius);
    font-size: 16px;
    font-weight: 600;
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
}
.hero-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center center;
    animation: none;
    transform: none;
    transition: none;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10,22,40,0.92) 0%, rgba(10,22,40,0.7) 35%, rgba(10,22,40,0.2) 60%, transparent 100%);
}
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 560px;
    padding: 40px 0 80px;
    margin-left: -450px;
}
.hero-badge {
    display: inline-block;
    background: rgba(232,108,44,0.15);
    border: 1px solid rgba(232,108,44,0.3);
    color: var(--accent);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 24px;
}
.hero-title {
    font-size: clamp(36px, 5.5vw, 64px);
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 24px;
}
.text-accent { color: var(--accent); }
.hero-subtitle {
    font-size: 18px;
    color: rgba(255,255,255,0.75);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 560px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 60px; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    border: 2px solid transparent;
}
.btn-primary {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(232,108,44,0.3); }
.btn-outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.4);
}
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.btn-lg { padding: 18px 40px; font-size: 16px; }

/* Hero Stats */
.hero-stats { display: flex; gap: 0; align-items: center; }
.stat-item { text-align: center; padding: 0 16px; }
.stat-number { font-size: 32px; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; min-width: 3ch; display: inline-block; }
.hero-stats .stat-number { min-width: 5ch; }
.stat-suffix { font-size: 24px; font-weight: 700; color: var(--accent); }
.stat-label { display: block; font-size: 13px; color: rgba(255,255,255,0.6); margin-top: 4px; }
.stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.15); }

/* ============================================
   PRODUCT CARDS
   ============================================ */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.product-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all var(--transition);
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.product-card-img {
    height: 200px;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-card-placeholder { opacity: 0.6; }
.product-card-body { padding: 24px; }
.product-card-title { font-size: 18px; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.product-card-desc { font-size: 14px; color: var(--text-light); margin-bottom: 16px; line-height: 1.6; }
.product-card-link { font-size: 14px; font-weight: 600; color: var(--accent); }
.product-card:hover .product-card-link { color: var(--accent-hover); }
.product-card-accent { border: 2px solid var(--accent); }
.product-card-accent .product-card-img { background: linear-gradient(135deg, rgba(232,108,44,0.05), rgba(232,108,44,0.1)); }


/* Related Products */
.related-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.related-product-card {
    display: block;
    padding: 24px;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: all var(--transition);
}
.related-product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.related-product-card h3 {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 8px;
}
.related-product-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* Product Detail Image Gallery */
.product-gallery {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-light);
    height: 400px;
}
.product-gallery img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: none;
}
.product-gallery img.active { display: block; }
.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    z-index: 2;
}
.gallery-nav:hover { background: #fff; box-shadow: var(--shadow-md); }
.gallery-prev { left: 12px; }
.gallery-next { right: 12px; }
.gallery-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}
.gallery-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
}
.gallery-dot.active { background: var(--accent); transform: scale(1.2); }

/* Product List Image */
.product-item-img { height: 220px; background: var(--bg-light); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.product-item-img img { width: 100%; height: 100%; object-fit: contain; }

/* ============================================
   WHY SECTION
   ============================================ */
.why-section { background: var(--bg-light); }
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}
.why-card {
    text-align: center;
    padding: 0;
    overflow: hidden;
    background: #fff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: all var(--transition);
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.why-grid .why-card:nth-child(n+5) {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 210px;
    border-top: 3px solid var(--primary);
}
.why-grid .why-card:nth-child(n+5) .why-content {
    padding: 32px 28px;
}
.why-image {
    width: 100%;
    height: 170px;
    margin: 0;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    overflow: hidden;
    background: var(--bg-light);
}
.why-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.why-content {
    padding: 20px 24px 32px;
}
.why-icon { margin-bottom: 20px; }
.why-card h3 { font-size: 18px; font-weight: 700; color: var(--primary); margin-bottom: 12px; }
.why-card p { font-size: 14px; color: var(--text-light); line-height: 1.7; }

/* ============================================
   PROCESS SECTION
   ============================================ */
.process-section {
    position: relative;
    background-image:
        linear-gradient(rgba(255,255,255,0.84), rgba(255,255,255,0.84)),
        url('../assets/images/home/process/process-bg-1600.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.process-section .container {
    position: relative;
    z-index: 1;
}
.process-timeline {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0;
    position: relative;
}
.process-timeline::before {
    content: '';
    position: absolute;
    top: 28px;
    left: 8.333%;
    width: 83.334%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--primary));
    opacity: 0.3;
}
.process-step {
    text-align: center;
    padding: 0 20px;
    position: relative;
}
.process-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}
.process-step h3 { font-size: 16px; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.process-step p { font-size: 14px; color: var(--text-light); }

/* ============================================
   APPLICATIONS
   ============================================ */
.apps-section { background: var(--bg-light); }
.apps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.app-card {
    background: #fff;
    padding: 0;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: all var(--transition);
    text-align: center;
}
.app-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.app-image {
    width: 100%;
    height: 180px;
    margin: 0;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    overflow: hidden;
    background: var(--bg-light);
}
.app-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.app-content {
    padding: 22px 24px 32px;
}
.app-card h3 { font-size: 18px; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.app-card p { font-size: 14px; color: var(--text-light); }

/* ============================================
   CERTIFICATIONS
   ============================================ */
.certs-grid {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}
.cert-item { text-align: center; }
.cert-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--bg-light);
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 12px;
    transition: all var(--transition);
}
.cert-item:hover .cert-logo { border-color: var(--accent); color: var(--accent); }
.cert-item span { font-size: 14px; font-weight: 600; color: var(--text-light); }

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    padding: 80px 0;
    text-align: center;
}
.cta-content h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}
.cta-content p {
    font-size: 18px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--bg-dark);
    color: rgba(255,255,255,0.7);
    padding-top: 80px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    width: auto;
    max-width: none;
    height: auto;
    margin-bottom: 16px;
    text-decoration: none;
}

.footer-logo-mark {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.footer-logo-mark svg {
    display: block;
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.footer-logo .logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.footer-logo .logo-name {
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.footer-logo .logo-sub {
    color: rgba(255,255,255,0.64);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.22em;
    margin-top: 5px;
}
.footer-about { font-size: 14px; line-height: 1.7; }
.footer-col h4 {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { font-size: 14px; color: rgba(255,255,255,0.6); transition: color var(--transition); }
.footer-col ul a:hover { color: var(--accent); }
.footer-contact p { font-size: 14px; margin-bottom: 8px; }
.footer-contact a { color: var(--accent); }
.footer-social { display: flex; gap: 12px; margin-top: 16px; }
.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    font-size: 12px;
    font-weight: 700;
    color: rgba(255,255,255,0.7);
    transition: all var(--transition);
}
.footer-social a:hover { background: var(--accent); color: #fff; }
.footer-bottom { padding: 24px 0; }
.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}
.footer-lang { display: flex; gap: 16px; }
.footer-lang a { color: rgba(255,255,255,0.4); }
.footer-lang a.active { color: var(--accent); }

/* ============================================
   WHATSAPP FLOAT
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    z-index: 900;
    transition: transform var(--transition);
}
.whatsapp-float:hover { transform: scale(1.1); }

/* --- Production Process --- */
.production-process {
    padding: 80px 0;
    background: #f8fafc;
}
.production-process .section-header {
    max-width: 760px;
    margin: 0 auto 48px;
}
.production-process .section-desc { max-width: 760px; }
.process-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}
.process-step {
    position: relative;
    background: #ffffff;
    border: 1px solid rgba(15, 38, 64, 0.10);
    border-radius: 18px;
    padding: 28px 22px;
    box-shadow: 0 12px 28px rgba(15, 38, 64, 0.06);
    transition: opacity 0.75s ease-out, transform 0.75s ease-out, box-shadow 0.3s ease;
}
.process-step::after {
    content: '';
    position: absolute;
    top: 48px;
    right: -18px;
    width: 12px;
    height: 12px;
    border-top: 2px solid rgba(232, 108, 44, 0.45);
    border-right: 2px solid rgba(232, 108, 44, 0.45);
    transform: rotate(45deg);
}
.process-step:nth-child(5)::after,
.process-step:nth-child(10)::after { display: none; }
.process-step:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 36px rgba(15, 38, 64, 0.10);
}
.process-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--primary-dark);
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 18px;
}
.process-icon {
    font-size: 32px;
    line-height: 1;
    margin-bottom: 16px;
    filter: grayscale(1);
}
.process-step h3 {
    color: var(--primary);
    font-size: 18px;
    line-height: 1.3;
    margin: 0 0 12px;
}
.process-step p {
    color: #6b7280;
    font-size: 15px;
    line-height: 1.65;
    margin: 0;
}
@media (max-width: 1100px) {
    .process-grid { grid-template-columns: repeat(3, 1fr); }
    .process-step::after { display: none; }
}
@media (max-width: 768px) {
    .process-section {
        background-image:
            linear-gradient(rgba(255,255,255,0.84), rgba(255,255,255,0.84)),
            url('../assets/images/home/process/process-bg-768.webp');
    }
    .production-process { padding: 56px 0; }
    .process-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
    .process-step { padding: 24px 20px; }
}
@media (max-width: 520px) {
    .process-grid { grid-template-columns: 1fr; }
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.75s ease-out, transform 0.75s ease-out;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .related-products-grid { grid-template-columns: repeat(2, 1fr); }
    .exhibitions-grid { grid-template-columns: repeat(2, 1fr); }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .process-timeline { grid-template-columns: repeat(2, 1fr); gap: 32px; }
    .process-timeline::before { display: none; }
    .apps-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-content { margin-left: 0; }
}

@media (max-width: 768px) {
    .section { padding: 60px 0; }
    .top-bar-left span:not(.divider) { display: none; }
    .top-bar-left .divider:first-of-type { display: none; }
    .main-nav, .header-cta { display: none; }
    .mobile-menu-btn { display: flex; }
    .hero { min-height: auto; padding: 60px 0; }
    .hero-content { margin-left: 0; transform: none; max-width: 100%; padding: 40px 0; text-align: center; }
    .hero-subtitle { max-width: 100%; margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
    .hero-stats { flex-wrap: wrap; gap: 20px; justify-content: center; }
    .stat-divider { display: none; }
    .stat-item { padding: 0 16px; }
    .products-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
    .related-products-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
    .exhibitions-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
    .exhibition-card img { height: 220px; }
    .why-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
    .process-timeline { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
    .apps-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
    .certs-grid { gap: 24px; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom-inner { flex-direction: column; gap: 12px; text-align: center; }
    .hero-actions { flex-direction: column; }
    .btn { width: 100%; text-align: center; }
    .cta-actions { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero-title { font-size: 32px; }
    .hero-subtitle { font-size: 16px; }
    .hero-stats { gap: 12px; }
    .stat-item { padding: 0 10px; }
    .stat-number { font-size: 28px; }
    .stat-suffix { font-size: 20px; }
}

/* --- Product Comparison Tables --- */
.spec-table.comparison-table {
    table-layout: fixed;
    width: 100%;
}

.spec-table.comparison-table th,
.spec-table.comparison-table td {
    width: auto;
    vertical-align: top;
}

.spec-table.comparison-table th:nth-child(1),
.spec-table.comparison-table td:nth-child(1) {
    width: 12%;
}

.spec-table.comparison-table th:nth-child(2),
.spec-table.comparison-table td:nth-child(2) {
    width: 31%;
}

.spec-table.comparison-table th:nth-child(3),
.spec-table.comparison-table td:nth-child(3) {
    width: 30%;
}

.spec-table.comparison-table th:nth-child(4),
.spec-table.comparison-table td:nth-child(4) {
    width: 27%;
}
