/* XMDhardware - Industrial Style */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: Segoe UI, Arial, Microsoft YaHei, sans-serif; line-height: 1.6; color: #333; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Facts strip - answer-first key numbers right under hero */
.facts-strip { background: #fff; border-bottom: 1px solid #eee; padding: 34px 0; }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.fact-num { font-size: 34px; font-weight: 800; color: #1a5276; }
.fact-txt { font-size: 13px; color: #666; margin-top: 4px; }
.brand-line { font-size: 14px; letter-spacing: 1px; text-transform: uppercase; color: #f39c12; margin-bottom: 14px; font-weight: 600; }

.top-bar { background: #0d2137; color: #ccc; font-size: 13px; padding: 8px 0; }
.top-bar-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.top-contact a { color: #aaa; text-decoration: none; margin-right: 20px; }
.top-contact a:hover { color: #f39c12; }
.top-social a { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,0.1); color: #fff; text-decoration: none; margin-left: 8px; font-size: 13px; font-weight: bold; transition: background 0.3s; }
.top-social a:hover { background: #f39c12; }
.lang-toggle { background: none; border: 1px solid rgba(255,255,255,0.3); color: #fff; padding: 4px 14px; border-radius: 3px; cursor: pointer; font-size: 13px; }
.lang-toggle:hover { background: #f39c12; border-color: #f39c12; }

.site-header { background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,0.08); position: sticky; top: 0; z-index: 100; }
.header-inner { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; }
.site-logo img { height: 55px; width: auto; }
.nav-list { display: flex; list-style: none; gap: 8px; }
.nav-list a { text-decoration: none; color: #333; font-size: 15px; font-weight: 500; padding: 10px 16px; border-radius: 4px; transition: all 0.3s; }
.nav-list a:hover, .nav-list a.active { color: #1a5276; background: #f0f4f8; }
.mobile-toggle { display: none; background: none; border: none; font-size: 28px; cursor: pointer; color: #333; }
.mobile-menu { display: none; background: #fff; border-top: 1px solid #eee; }
.mobile-menu.show { display: block; }
.mobile-menu ul { list-style: none; }
.mobile-menu li a { display: block; padding: 14px 20px; text-decoration: none; color: #333; font-size: 15px; border-bottom: 1px solid #f0f0f0; }

.hero-banner { background: linear-gradient(135deg, #0d2137 0%, #1a5276 50%, #2980b9 100%); color: #fff; padding: 100px 0; text-align: center; min-height: 500px; display: flex; align-items: center; }
.slide-content { max-width: 800px; margin: 0 auto; }
.slide-content h1 { font-size: 48px; font-weight: 800; margin-bottom: 20px; line-height: 1.2; }
.slide-content .highlight { color: #f39c12; }
.slide-content p { font-size: 20px; margin-bottom: 35px; opacity: 0.9; }
.hero-actions { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }
.btn { display: inline-block; padding: 14px 36px; border-radius: 5px; text-decoration: none; font-size: 16px; font-weight: 600; transition: all 0.3s; cursor: pointer; border: none; }
.btn-gold { background: #f39c12; color: #fff; }
.btn-gold:hover { background: #e67e22; transform: translateY(-2px); }
.btn-outline-white { background: transparent; color: #fff; border: 2px solid #fff; }
.btn-outline-white:hover { background: #fff; color: #1a5276; }
.btn-full { width: 100%; }

.products-section, .videos-section, .about-section, .contact-section, .specs-section, .knowledge-section, .faq-section, .machine-section, .parts-section, .maintenance-section { padding: 80px 0; }
.products-section { background: #f8f9fa; }
.specs-section { background: #fff; }
.machine-section { background: #fff; border-top: 1px solid #eee; }
.parts-section { background: #f8f9fa; }
.maintenance-section { background: #fff; border-top: 1px solid #eee; }
.videos-section { background: #fff; }
.about-section { background: #f8f9fa; }
.contact-section { background: #fff; }
.faq-section, .knowledge-section { background: #f8f9fa; }
.sec-title { font-size: 32px; text-align: center; margin-bottom: 10px; color: #1a5276; font-weight: 700; }
.sec-title.left { text-align: left; }
.sec-subtitle { text-align: center; color: #666; margin-bottom: 50px; font-size: 16px; }

.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }
.prod-card { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,0.08); transition: all 0.3s; border: 1px solid #eee; }
.prod-card:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(0,0,0,0.12); }
.prod-card img { width: 100%; height: 220px; object-fit: cover; display: block; }
.prod-body { padding: 22px; }
.prod-body h3 { font-size: 17px; color: #1a5276; margin-bottom: 10px; }
.prod-body p { font-size: 14px; color: #666; margin-bottom: 15px; line-height: 1.6; }
.btn-link { color: #f39c12; text-decoration: none; font-size: 14px; font-weight: 600; }
.btn-link:hover { color: #e67e22; }

.specs-tabs { display: flex; justify-content: center; gap: 10px; margin-bottom: 40px; }
.tab-btn { padding: 10px 28px; border: 2px solid #1a5276; background: transparent; color: #1a5276; border-radius: 5px; cursor: pointer; font-size: 15px; font-weight: 600; transition: all 0.3s; }
.tab-btn.active, .tab-btn:hover { background: #1a5276; color: #fff; }
.tab-content { display: none; }
.tab-content.active { display: block; }
.spec-section-title { font-size: 20px; color: #1a5276; margin: 30px 0 20px; font-weight: 700; }
.spec-table-wrap { overflow-x: auto; margin-bottom: 30px; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 14px; background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.spec-table th { background: #1a5276; color: #fff; padding: 12px 14px; text-align: center; font-weight: 600; white-space: nowrap; }
.spec-table td { padding: 10px 14px; text-align: center; border-bottom: 1px solid #eee; }
.spec-table tr:nth-child(even) { background: #f8f9fa; }
.spec-table tr:hover { background: #eef4fb; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature-item { background: #f8f9fa; padding: 22px; border-radius: 8px; text-align: center; border: 1px solid #eee; }
.feature-icon { font-size: 32px; margin-bottom: 10px; }
.feature-item h4 { font-size: 16px; color: #1a5276; margin-bottom: 8px; }
.feature-item p { font-size: 13px; color: #666; line-height: 1.6; }

.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 960px; margin: 0 auto; }
.faq-item { background: #fff; padding: 24px; border-radius: 8px; border: 1px solid #eee; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
.faq-item h4 { font-size: 15px; color: #1a5276; margin-bottom: 10px; font-weight: 600; }
.faq-item p { font-size: 14px; color: #555; line-height: 1.7; }
.k-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.k-item { background: #fff; padding: 24px; border-radius: 8px; border: 1px solid #eee; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
.k-item h3 { font-size: 15px; color: #1a5276; margin: 0 0 10px; font-weight: 600; }
.k-item p { font-size: 14px; color: #555; line-height: 1.7; margin: 0; }

/* Safety list */
.safety-list { list-style: none; margin: 0 0 30px; }
.safety-list li { padding: 12px 16px; background: #f8f9fa; border-left: 3px solid #f39c12; border-radius: 4px; margin-bottom: 10px; font-size: 14px; color: #555; }

/* Parts grid */
.parts-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.part-card { background: #fff; border: 1px solid #eee; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
.part-card img { width: 100%; height: 160px; object-fit: cover; display: block; }
.part-card figcaption { padding: 12px 14px; font-size: 13px; color: #1a5276; font-weight: 600; text-align: center; }
.parts-note { font-size: 14px; color: #666; margin: 30px 0 15px; line-height: 1.7; }
.dl-links { display: flex; gap: 30px; flex-wrap: wrap; margin-bottom: 20px; }

/* GEO self-contained answer blocks (AI-citable paragraphs) */
.geo-answers-section { padding: 80px 0; background: #fff; border-top: 1px solid #eee; }
.geo-blocks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 1100px; margin: 0 auto; }
.geo-block { background: #f8f9fa; border-left: 4px solid #f39c12; padding: 26px 28px; border-radius: 6px; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
.geo-block h3 { font-size: 15px; color: #1a5276; margin: 0 0 12px; font-weight: 700; }
.geo-block p { font-size: 14px; color: #444; line-height: 1.8; margin: 0; }

/* Footer llms link */
.ft-llms { margin-top: 12px; }


.why-us { padding: 80px 0; background: #1a5276; color: #fff; }
.why-us .sec-title { color: #fff; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-top: 40px; }
.why-item { text-align: center; padding: 30px 20px; background: rgba(255,255,255,0.08); border-radius: 8px; }
.why-icon { font-size: 36px; margin-bottom: 15px; }
.why-item h4 { font-size: 18px; margin-bottom: 10px; color: #f39c12; }
.why-item p { font-size: 14px; opacity: 0.85; line-height: 1.6; }

.video-carousel { max-width: 900px; margin: 0 auto; }
.main-player { background: #000; border-radius: 8px; overflow: hidden; margin-bottom: 20px; }
.main-player video { width: 100%; display: block; }
.video-list { display: flex; gap: 15px; justify-content: center; }
.v-thumb { padding: 14px 28px; background: #1a5276; color: #fff; border-radius: 5px; cursor: pointer; text-align: center; transition: all 0.3s; font-size: 14px; font-weight: 600; }
.v-thumb:hover, .v-thumb.active { background: #f39c12; }

.about-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 50px; align-items: start; }
.about-text p { margin-bottom: 15px; font-size: 16px; line-height: 1.8; color: #555; }
.about-stats { display: flex; flex-direction: column; gap: 20px; }
.stat-box { text-align: center; padding: 30px 20px; background: #fff; border-radius: 8px; box-shadow: 0 2px 12px rgba(0,0,0,0.08); border: 1px solid #eee; }
.stat-num { font-size: 42px; font-weight: 800; color: #f39c12; margin-bottom: 8px; }
.stat-txt { font-size: 14px; color: #666; }

.contact-layout { display: grid; grid-template-columns: 1fr 1.5fr; gap: 50px; }
.contact-info-box .info-row { display: flex; gap: 15px; margin-bottom: 25px; padding: 20px; background: #f8f9fa; border-radius: 8px; }
.contact-info-box h4 { font-size: 16px; color: #1a5276; margin-bottom: 5px; }
.contact-info-box p { font-size: 14px; color: #666; }
.contact-form { background: #f8f9fa; padding: 35px; border-radius: 8px; border: 1px solid #eee; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-bottom: 15px; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; padding: 12px 15px; border: 1px solid #ddd; border-radius: 5px; font-size: 14px; font-family: inherit; background: #fff; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: #1a5276; box-shadow: 0 0 0 3px rgba(26,82,118,0.1); }
.contact-form textarea { resize: vertical; margin-bottom: 15px; }

.site-footer { background: #0d2137; color: #ccc; padding: 60px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 40px; }
.footer-col h4 { font-size: 16px; color: #f39c12; margin-bottom: 18px; }
.footer-col p { font-size: 14px; margin-bottom: 8px; }
.footer-logo { height: 45px; margin-bottom: 15px; }
.ft-tagline { font-style: italic; color: #f39c12; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: #aaa; text-decoration: none; font-size: 14px; transition: color 0.3s; }
.footer-col a:hover { color: #f39c12; }
.social-links { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.social-links a { color: #aaa; text-decoration: none; font-size: 14px; }
.social-links a:hover { color: #f39c12; }
.footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 13px; color: #666; }

@media (max-width: 1024px) {
    .prod-grid { grid-template-columns: repeat(2, 1fr); }
    .why-grid, .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .parts-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .about-layout { grid-template-columns: 1fr; }
    .contact-layout { grid-template-columns: 1fr; }
    .faq-grid { grid-template-columns: 1fr; }
    .k-grid { grid-template-columns: repeat(2, 1fr); }
    .geo-blocks { grid-template-columns: 1fr; }
    .facts-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .nav-list { display: none; }
    .mobile-toggle { display: block; }
    .slide-content h1 { font-size: 32px; }
    .prod-grid, .why-grid, .feature-grid, .footer-grid, .parts-grid { grid-template-columns: 1fr; }
    .facts-grid { grid-template-columns: repeat(2, 1fr); }
    .k-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .video-list { flex-direction: column; align-items: center; }
    .top-bar-inner { justify-content: center; text-align: center; }
    .hero-banner { padding: 60px 0; min-height: auto; }
    .sec-title { font-size: 26px; }
    .specs-tabs { flex-direction: column; align-items: center; }
    .spec-table { font-size: 12px; }
    .spec-table th, .spec-table td { padding: 8px 6px; }
}
