/* ==========================================
   陕西兰冶科技有限公司 - 主样式表 (IE11兼容版)
   ========================================== */

/* === Reset & Base === */
*, *::before, *::after { margin: 0; padding: 0; -webkit-box-sizing: border-box; box-sizing: border-box; }

html { font-size: 16px; }
body { font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif; color: #333333; line-height: 1.6; background: #ffffff; }
a { color: #1a5276; text-decoration: none; -webkit-transition: all 0.3s ease; transition: all 0.3s ease; }
a:hover { color: #2980b9; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

.clearfix::after { content: ""; display: table; clear: both; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* === Header === */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(255,255,255,0.97);
    -webkit-box-shadow: 0 1px 8px rgba(0,0,0,0.06);
    box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}
.header-inner {
    max-width: 1200px; margin: 0 auto; padding: 0 20px;
    height: 72px;
}
.header-inner::after { content: ""; display: table; clear: both; }
.logo { float: left; line-height: 72px; }
.logo a { display: block; }
.logo-text {
    font-size: 1.25rem; font-weight: 700; color: #1a5276;
    letter-spacing: 1px;
}
.main-nav { float: right; }
.main-nav ul { display: inline-block; }
.main-nav li { display: inline-block; margin-left: 4px; }
.main-nav a {
    display: block; padding: 8px 18px; border-radius: 6px;
    color: #333333; font-size: 0.95rem; font-weight: 500;
    -webkit-transition: all 0.3s ease; transition: all 0.3s ease;
}
.main-nav a:hover, .main-nav li.active a {
    background: #1a5276; color: #fff;
}
.mobile-menu-btn {
    display: none; float: right; margin-top: 20px;
    cursor: pointer; padding: 8px;
}
.mobile-menu-btn span {
    display: block; width: 24px; height: 2px; background: #333;
    margin-bottom: 5px;
}

/* === Hero Banner === */
.hero-banner {
    position: relative; height: 560px;
    background: #1a5276;
    overflow: hidden; margin-top: 72px;
}
.hero-banner::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: #1a5276;
}
.banner-overlay {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: #1a5276;
    filter: alpha(opacity=80);
}
.hero-content {
    position: relative; text-align: center; color: #fff;
    padding: 0 20px; max-width: 800px; margin: 0 auto;
    top: 50%; -webkit-transform: translateY(-50%); -ms-transform: translateY(-50%); transform: translateY(-50%);
    height: 300px;
}
.hero-content h1 {
    font-size: 2.8rem; font-weight: 800; margin-bottom: 16px;
    letter-spacing: 2px;
}
.hero-content p {
    font-size: 1.15rem; opacity: 0.9; margin-bottom: 32px; line-height: 1.8;
    filter: alpha(opacity=90);
}
.hero-btns { text-align: center; }
.hero-btns .btn { margin: 0 8px; }
.btn {
    display: inline-block; padding: 12px 32px; border-radius: 6px;
    font-size: 1rem; font-weight: 600; -webkit-transition: all 0.3s ease; transition: all 0.3s ease;
    cursor: pointer; border: 2px solid transparent;
}
.btn-primary { background: #e67e22; color: #fff; border-color: #e67e22; }
.btn-primary:hover { background: #f39c12; border-color: #f39c12; color: #fff; }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,0.6); }
.btn-outline:hover { background: rgba(255,255,255,0.15); border-color: #fff; color: #fff; }

/* === Page Banner === */
.page-banner {
    position: relative; height: 280px;
    background: #1a5276;
    margin-top: 72px; overflow: hidden;
}
.page-banner::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: #0e3a55;
}
.banner-content {
    position: relative; text-align: center; color: #fff;
    top: 50%; -webkit-transform: translateY(-50%); -ms-transform: translateY(-50%); transform: translateY(-50%);
    height: 80px;
}
.banner-content h1 { font-size: 2.2rem; font-weight: 700; margin-bottom: 8px; }
.banner-content p { font-size: 1.05rem; opacity: 0.85; filter: alpha(opacity=85); }

/* === Section === */
.section { padding: 70px 0; }
.section-alt { background: #f8f9fa; }
.section-title {
    text-align: center; margin-bottom: 48px;
}
.section-title h2 {
    font-size: 1.8rem; font-weight: 700; color: #1a5276; margin-bottom: 10px;
    display: inline-block;
}
.section-title h2::after {
    content: ''; display: block; width: 50px; height: 3px;
    background: #e67e22; margin: 12px auto 0; border-radius: 2px;
}
.section-title p { color: #666666; font-size: 1rem; margin-top: 8px; }

/* === Product Grid (inline-block layout for IE11) === */
.product-grid {
    margin: 0 -14px;
    font-size: 0; /* 消除 inline-block 间隙 */
}
.product-card {
    display: inline-block; vertical-align: top;
    width: 33.333%; padding: 0 14px; margin-bottom: 28px;
    font-size: 16px; /* 恢复字体大小 */
}
.product-card-inner {
    background: #fff; border-radius: 12px; overflow: hidden;
    -webkit-box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    -webkit-transition: all 0.3s ease; transition: all 0.3s ease;
}
.product-card-inner:hover {
    -webkit-box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}
.product-card-img {
    height: 220px; background: #eef1f5; overflow: hidden;
}
.product-card-img img { width: 100%; height: 100%; object-fit: cover; }
.product-card-img .placeholder-img {
    width: 100%; height: 100%; line-height: 220px; text-align: center;
    background: #e8edf2;
    color: #1a5276; font-size: 3rem;
}
.product-card-body { padding: 22px; min-height: 140px; }
.product-card-body h3 {
    font-size: 1.1rem; font-weight: 600; color: #333; margin-bottom: 8px;
}
.product-card-body .category-tag {
    display: inline-block; padding: 2px 10px; border-radius: 20px;
    background: rgba(26,82,118,0.08); color: #1a5276;
    font-size: 0.8rem; margin-bottom: 10px;
}
.product-card-body p {
    color: #666; font-size: 0.9rem; line-height: 1.7;
}

/* === Category Filter === */
.category-filter {
    text-align: center; margin-bottom: 36px;
}
.category-filter a {
    display: inline-block; padding: 8px 22px; border-radius: 30px; font-size: 0.9rem;
    background: #eef1f5; color: #666; -webkit-transition: all 0.3s ease; transition: all 0.3s ease;
    margin: 4px;
}
.category-filter a:hover, .category-filter a.active {
    background: #1a5276; color: #fff;
}

/* === Solution Cards (inline-block layout) === */
.solution-grid {
    margin: 0 -14px;
    font-size: 0;
}
.solution-card {
    display: inline-block; vertical-align: top;
    width: 33.333%; padding: 0 14px; margin-bottom: 28px;
    font-size: 16px;
}
.solution-card-inner {
    background: #fff; border-radius: 12px; overflow: hidden;
    -webkit-box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    -webkit-transition: all 0.3s ease; transition: all 0.3s ease;
}
.solution-card-inner:hover {
    -webkit-box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}
.solution-card-img {
    height: 200px; background: #eef1f5; overflow: hidden;
}
.solution-card-img img { width: 100%; height: 100%; object-fit: cover; }
.solution-card-img .placeholder-img {
    width: 100%; height: 100%; line-height: 200px; text-align: center;
    background: #e8edf2;
    color: #1a5276; font-size: 3rem;
}
.solution-card-body { padding: 22px; min-height: 140px; }
.solution-card-body h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 10px; }
.solution-card-body p { color: #666; font-size: 0.9rem; line-height: 1.7; }

/* === Case Cards (inline-block layout) === */
.case-grid {
    margin: 0 -14px;
    font-size: 0;
}
.case-card {
    display: inline-block; vertical-align: top;
    width: 33.333%; padding: 0 14px; margin-bottom: 28px;
    font-size: 16px;
}
.case-card-inner {
    background: #fff; border-radius: 12px; overflow: hidden;
    -webkit-box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    -webkit-transition: all 0.3s ease; transition: all 0.3s ease;
}
.case-card-inner:hover {
    -webkit-box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}
.case-card-img {
    height: 200px; background: #eef1f5; overflow: hidden;
}
.case-card-img img { width: 100%; height: 100%; object-fit: cover; }
.case-card-img .placeholder-img {
    width: 100%; height: 100%; line-height: 200px; text-align: center;
    background: #e8edf2;
    color: #1a5276; font-size: 3rem;
}
.case-card-body { padding: 22px; min-height: 140px; }
.case-card-body h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 8px; }
.case-card-meta {
    margin-bottom: 10px; font-size: 0.85rem; color: #999;
}
.case-card-meta span { display: inline-block; margin-right: 16px; }
.case-card-body p { color: #666; font-size: 0.9rem; line-height: 1.7; }

/* === News List === */
.news-list { }
.news-item {
    background: #fff; border-radius: 12px; overflow: hidden;
    -webkit-box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    -webkit-transition: all 0.3s ease; transition: all 0.3s ease;
    margin-bottom: 24px;
}
.news-item:hover {
    -webkit-box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}
.news-item::after { content: ""; display: table; clear: both; }
.news-item-img {
    float: left; width: 280px; min-height: 180px;
    background: #eef1f5; overflow: hidden;
}
.news-item-img img { width: 100%; height: 100%; object-fit: cover; }
.news-item-img .placeholder-img {
    width: 100%; height: 100%; min-height: 180px; line-height: 180px; text-align: center;
    background: #e8edf2;
    color: #1a5276; font-size: 3rem;
}
.news-item-body {
    margin-left: 280px; padding: 22px; min-height: 180px;
}
.news-item-body h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 8px; }
.news-item-body h3 a { color: #333; }
.news-item-body h3 a:hover { color: #1a5276; }
.news-item-meta {
    margin-bottom: 10px; font-size: 0.85rem; color: #999;
}
.news-item-meta span { display: inline-block; margin-right: 16px; }
.news-item-body p { color: #666; font-size: 0.9rem; line-height: 1.7; }

/* === About === */
.about-section { margin-bottom: 48px; }
.about-section:last-child { margin-bottom: 0; }
.about-section h3 {
    font-size: 1.4rem; font-weight: 700; color: #1a5276; margin-bottom: 16px;
    padding-bottom: 10px; border-bottom: 2px solid #eef1f5;
}
.about-section .content {
    color: #666; font-size: 0.95rem; line-height: 2;
}

/* === Features (Homepage, inline-block layout) === */
.features-grid {
    margin: 0 -14px;
    font-size: 0;
}
.feature-card {
    display: inline-block; vertical-align: top;
    width: 25%; padding: 0 14px; margin-bottom: 28px;
    font-size: 16px;
}
.feature-card-inner {
    text-align: center; padding: 36px 24px; background: #fff;
    border-radius: 12px;
    -webkit-box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    -webkit-transition: all 0.3s ease; transition: all 0.3s ease;
}
.feature-card-inner:hover {
    -webkit-box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}
.feature-icon {
    width: 64px; height: 64px; margin: 0 auto 18px;
    background: #1a5276;
    border-radius: 50%; line-height: 64px; text-align: center;
    color: #fff; font-size: 1.6rem;
}
.feature-card-inner h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 8px; }
.feature-card-inner p { color: #666; font-size: 0.88rem; line-height: 1.7; }

/* === Stats (Homepage, inline-block layout) === */
.stats-bar {
    background: #1a5276; border-radius: 12px; overflow: hidden;
    font-size: 0;
}
.stat-item {
    display: inline-block; vertical-align: middle;
    width: 25%;
    text-align: center; padding: 36px 20px; color: #fff;
    font-size: 16px;
    border-right: 1px solid rgba(255,255,255,0.1);
    *display: inline; *zoom: 1; /* IE7 hack */
}
.stat-item:last-child { border-right: none; }
.stat-number { font-size: 2.4rem; font-weight: 800; margin-bottom: 6px; }
.stat-label { font-size: 0.9rem; opacity: 0.8; filter: alpha(opacity=80); }

/* === Footer (inline-block layout) === */
.site-footer {
    background: #1a2332; color: rgba(255,255,255,0.75); padding-top: 50px;
}
.footer-inner {
    max-width: 1200px; margin: 0 auto; padding: 0 20px 40px;
    font-size: 0;
}
.footer-col {
    display: inline-block; vertical-align: top;
    font-size: 16px;
}
.footer-col-1 { width: 50%; padding-right: 40px; }
.footer-col-2 { width: 20%; }
.footer-col-3 { width: 30%; }
.footer-col h4 {
    color: #fff; font-size: 1.05rem; margin-bottom: 18px;
    padding-bottom: 10px; border-bottom: 2px solid #e67e22;
    display: inline-block;
}
.footer-desc { font-size: 0.88rem; line-height: 1.8; }
.footer-nav li { margin-bottom: 8px; }
.footer-nav a { color: rgba(255,255,255,0.65); font-size: 0.9rem; }
.footer-nav a:hover { color: #e67e22; }
.footer-contact li { margin-bottom: 8px; font-size: 0.88rem; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    text-align: center; padding: 18px 20px; font-size: 0.82rem;
    color: rgba(255,255,255,0.45);
}

/* === Content Detail Page === */
.content-detail {
    max-width: 900px; margin: 0 auto; padding: 50px 20px;
}
.content-detail h2 {
    font-size: 1.6rem; font-weight: 700; color: #333;
    margin-bottom: 12px; line-height: 1.4;
}
.content-detail .meta {
    color: #999; font-size: 0.9rem; margin-bottom: 28px;
    padding-bottom: 20px; border-bottom: 1px solid #e0e0e0;
}
.content-detail .body {
    font-size: 0.95rem; line-height: 2; color: #666;
}
.content-detail .body h3 {
    font-size: 1.2rem; font-weight: 600; color: #333;
    margin: 28px 0 12px;
}
.content-detail .body p { margin-bottom: 16px; }
.content-detail .body ul, .content-detail .body ol {
    margin: 12px 0; padding-left: 24px; list-style: disc;
}
.content-detail .body li { margin-bottom: 6px; }
.back-link {
    display: inline-block; margin-bottom: 24px; color: #1a5276; font-size: 0.9rem;
}
.back-link:hover { color: #2980b9; }

/* === Responsive (IE11 supports @media) === */
@media (max-width: 992px) {
    .product-card, .solution-card, .case-card { width: 50%; }
    .feature-card { width: 50%; }
    .footer-col-1 { width: 100%; padding-right: 0; margin-bottom: 28px; }
    .footer-col-2 { width: 40%; }
    .footer-col-3 { width: 60%; }
}

@media (max-width: 768px) {
    .mobile-menu-btn { display: block; }
    .main-nav {
        display: none; float: none; clear: both;
        background: #fff;
        -webkit-box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        padding: 12px;
    }
    .main-nav.open { display: block; }
    .main-nav li { display: block; margin-left: 0; }
    .main-nav a { padding: 12px 16px; }
    .hero-banner { height: 400px; }
    .hero-content h1 { font-size: 1.8rem; }
    .hero-content { height: 250px; }
    .page-banner { height: 200px; }
    .banner-content h1 { font-size: 1.6rem; }
    .product-card, .solution-card, .case-card { width: 100%; }
    .feature-card { width: 100%; }
    .news-item-img { float: none; width: 100%; }
    .news-item-body { margin-left: 0; }
    .stat-item { width: 50%; border-bottom: 1px solid rgba(255,255,255,0.1); }
    .footer-col { display: block; width: 100% !important; margin-bottom: 28px; }
}
