/* ===== Base ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: "Microsoft YaHei", "Segoe UI", Arial, sans-serif; font-size: 16px; line-height: 1.6; color: #333; background: #fff; }
a { color: #1a5fb4; text-decoration: none; transition: 0.3s; }
a:hover { color: #0d47a1; }
img { max-width: 100%; height: auto; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ===== Header ===== */
.header { background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.08); position: sticky; top: 0; z-index: 1000; _position: relative; }
.header .container { display: -webkit-flex; display: -ms-flexbox; display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo h1 { font-size: 20px; font-weight: 700; }
.logo h1 a { color: #1a5fb4; }
.logo .tagline { font-size: 12px; color: #666; display: block; }
.nav ul { display: -webkit-flex; display: -ms-flexbox; display: flex; align-items: center; gap: 30px; -ms-flex-gap: 30px; }
.nav a { color: #333; font-weight: 500; padding: 5px 0; position: relative; }
.nav a:hover, .nav a.active { color: #1a5fb4; }
.nav a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: #1a5fb4; transition: 0.3s; }
.nav a:hover::after, .nav a.active::after { width: 100%; }
.dropdown { position: relative; display: inline-block; }
.dropdown-menu { display: none !important; position: absolute; top: 100%; left: 0; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.08); border-radius: 4px; min-width: 160px; padding: 10px 0; z-index: 100; }
.dropdown.open .dropdown-menu { display: block !important; }
.dropdown-menu li { padding: 0; }
.dropdown-menu a { padding: 8px 20px; display: block; font-weight: 400; }
.dropdown-menu a::after { display: none; }
.header-phone { font-size: 18px; font-weight: 700; color: #ff6f00; }
.header-phone a { color: #ff6f00; }
.mobile-menu-btn { display: none; background: none; border: none; font-size: 28px; cursor: pointer; }

/* ===== Hero ===== */
.hero { background: #1a5fb4; color: #fff; padding: 80px 0; text-align: center; }
.hero-bg { }
.hero-content { }
.hero h2 { font-size: 42px; margin-bottom: 15px; }
.hero-sub { font-size: 18px; opacity: 0.9; margin-bottom: 30px; }
.hero-btns { display: -webkit-flex; display: -ms-flexbox; display: flex; gap: 15px; justify-content: center; -ms-flex-gap: 15px; }
.btn { display: inline-block; padding: 12px 30px; border-radius: 4px; font-weight: 600; transition: 0.3s; }
.btn-primary { background: #ff6f00; color: #fff; }
.btn-primary:hover { background: #e65100; color: #fff; }
.btn-outline { border: 2px solid #fff; color: #fff; }
.btn-outline:hover { background: #fff; color: #1a5fb4; }

/* ===== Section ===== */
.section { padding: 60px 0; }
.section-header { text-align: center; margin-bottom: 40px; }
.section-header h2 { font-size: 32px; color: #333; margin-bottom: 10px; }
.section-header p { color: #666; }
.section-header .more-link { display: inline-block; margin-top: 10px; color: #1a5fb4; }

/* ===== Services ===== */
.services { background: #f5f7fa; }
.service-grid { display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; flex-wrap: wrap; }
.service-item { background: #fff; padding: 30px; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.08); transition: 0.3s; margin: 10px; width: calc(25% - 20px); _width: 220px; -webkit-flex: 1; -ms-flex: 1; flex: 1; min-width: 200px; }
.service-item:hover { transform: translateY(-5px); box-shadow: 0 8px 20px rgba(0,0,0,0.12); }
.service-icon { font-size: 48px; margin-bottom: 15px; }
.service-item h3 { font-size: 20px; margin-bottom: 10px; }
.service-item h3 a { color: #333; }
.service-item p { color: #666; font-size: 14px; margin-bottom: 15px; }
.more-link { color: #1a5fb4; font-size: 14px; }

/* ===== Equipment ===== */
.equipment-grid { display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; flex-wrap: wrap; }
.equipment-item { background: #1a5fb4; color: #fff; padding: 40px 20px; border-radius: 8px; text-align: center; transition: 0.3s; margin: 10px; width: calc(25% - 20px); -webkit-flex: 1; -ms-flex: 1; flex: 1; min-width: 200px; }
.equipment-item:hover { transform: scale(1.03); }
.equipment-icon { font-size: 48px; margin-bottom: 15px; }
.equipment-item h3 { font-size: 18px; margin-bottom: 10px; }
.equipment-item p { font-size: 14px; opacity: 0.85; }

/* ===== Why Us ===== */
.why-us { background: #fff; }
.why-grid { display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; flex-wrap: wrap; }
.why-item { text-align: center; padding: 20px; margin: 10px; width: calc(25% - 20px); -webkit-flex: 1; -ms-flex: 1; flex: 1; min-width: 200px; }
.why-num { font-size: 48px; font-weight: 700; color: #1a5fb4; opacity: 0.2; margin-bottom: 10px; }
.why-item h3 { font-size: 20px; margin-bottom: 10px; color: #333; }
.why-item p { color: #666; font-size: 14px; }

/* ===== Cases ===== */
.cases { background: #f5f7fa; }
.cases-grid { display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; flex-wrap: wrap; }
.case-item { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.08); transition: 0.3s; margin: 10px; width: calc(33.33% - 20px); -webkit-flex: 1; -ms-flex: 1; flex: 1; min-width: 280px; }
.case-item:hover { transform: translateY(-5px); }
.case-img { height: 180px; overflow: hidden; }
.case-img img { width: 100%; height: 100%; object-fit: cover; }
.case-info { padding: 15px; }
.case-info h4 { font-size: 16px; margin-bottom: 5px; color: #333; }
.case-info span { font-size: 12px; color: #666; }

/* ===== News ===== */
.news { background: #fff; }
.news-list { display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-flex-direction: column; -ms-flex-direction: column; flex-direction: column; gap: 15px; }
.news-item { display: -webkit-flex; display: -ms-flexbox; display: flex; align-items: center; gap: 15px; padding: 15px; background: #f5f7fa; border-radius: 4px; transition: 0.3s; }
.news-item:hover { background: #e8ecf1; }
.news-date { font-size: 14px; color: #666; white-space: nowrap; }
.news-title { color: #333; font-weight: 500; }

/* ===== Footer ===== */
.footer { background: #1a1a1a; color: #999; padding: 50px 0 20px; }
.footer-grid { display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; flex-wrap: wrap; gap: 40px; }
.footer-col { -webkit-flex: 1; -ms-flex: 1; flex: 1; min-width: 200px; }
.footer-col h4 { color: #fff; margin-bottom: 20px; font-size: 18px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { color: #999; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #333; padding-top: 20px; text-align: center; font-size: 14px; }
.footer-bottom a { color: #999; }
.footer-bottom a:hover { color: #fff; }

/* ===== Responsive ===== */
@media (max-width: 992px) {
    .service-item, .equipment-item, .why-item { width: calc(50% - 20px); }
    .case-item { width: calc(50% - 20px); }
    .footer-grid { gap: 20px; }
}
@media (max-width: 768px) {
    .nav { display: none; }
    .mobile-menu-btn { display: block; }
    .header-phone { display: none; }
    .hero h2 { font-size: 28px; }
    .case-item { width: calc(100% - 20px); }
    .service-item, .equipment-item, .why-item { width: calc(100% - 20px); }
    .hero-btns { -webkit-flex-direction: column; -ms-flex-direction: column; flex-direction: column; align-items: center; }
}


/* ===== Pagination ===== */
.news-pager { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 30px; padding: 20px 0; }
.pager-item { padding: 8px 14px; background: #f5f7fa; color: #333; border-radius: 4px; text-decoration: none; font-size: 14px; transition: 0.3s; }
.pager-item:hover { background: #1a5fb4; color: #fff; }
.pager-item.active { background: #1a5fb4; color: #fff; font-weight: bold; }
