/* =========================================================
   山东恒昇环保 —— 关于我们页专属样式
   文件：css/aboutus.css
   依赖：css/style.css（CSS 变量、导航/页脚等基础组件）
   ========================================================= */

/* ========== 栏目页导航高亮 ========== */
/* 统一使用 .nav-item.is-current（服务端 PHP 标记 / 前端 JS autoHighlightNav 都用这个） */
.nav-item.is-current > .nav-link {
    color: #8eff1e;
}
.nav-item.is-current > .nav-link::after {
    width: 60%;
    background: #8eff1e;
}
/* 滚动后白底：高亮改为品牌蓝 */
.navbar.scrolled .nav-item.is-current > .nav-link {
    color: var(--primary);
}
.navbar.scrolled .nav-item.is-current > .nav-link::after {
    background: var(--primary);
}
/* 首页高亮 */
.nav-item.home-active > .nav-link {
    color: #70b52c;
}
.navbar.scrolled .nav-item.home-active > .nav-link {
    color: var(--primary);
}

/* ========== 栏目内页 Banner ========== */
.sub-banner {
    position: relative;
    height: 480px;
    background: url('../img/banner.jpg') center/cover no-repeat;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sub-banner::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgb(15 30 55 / 11%) 0%, rgb(26 95 160 / 4%) 50%, rgba(37, 176, 135, 0.45) 100%);
}
.sub-banner::after {
    content: '';
    position: absolute; bottom: 0; left: 0; right: 0; height: 80px;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'><path fill='%23ffffff' fill-opacity='1' d='M0,48 C240,80 480,0 720,24 C960,48 1200,80 1440,48 L1440,80 L0,80 Z'/></svg>") center/cover no-repeat;
}
.sub-banner-inner {
    position: relative; z-index: 2;
    text-align: center; padding: 0 20px; max-width: 900px;
    color: #fff;
    animation: fadeUp 1s ease-out;
}
.sub-banner-breadcrumb {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 13px; color: rgba(255,255,255,0.75);
    margin-bottom: 20px; letter-spacing: 1px;
}
.sub-banner-breadcrumb a { color: rgba(255,255,255,0.85); transition: color var(--transition); }
.sub-banner-breadcrumb a:hover { color: #70b52c; }
.sub-banner-breadcrumb .sep { color: rgba(255,255,255,0.4); font-size: 10px; }
.sub-banner-breadcrumb .current { color: #70b52c; font-weight: 500; }

.sub-banner-title {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.sub-banner-title .dot {
    display: inline-block; width: 10px; height: 10px;
    background: #70b52c; border-radius: 50%;
    margin-left: 12px; vertical-align: middle;
    box-shadow: 0 0 16px rgba(112,181,44,0.6);
}
.sub-banner-sub {
    font-size: clamp(14px, 1.6vw, 17px);
    color: rgba(255,255,255,0.85);
    line-height: 1.9;
    letter-spacing: 1px;
}

/* ========== 关于我们（左图右文） ========== */
.about-page {
    padding: 100px 20px;
    background: var(--bg-white);
}
.about-page-wrap {
    max-width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.about-page-img {
    position: relative;
}
.about-page-img-main {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 16px;
    background: #000;
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
    position: relative;
    overflow: hidden;
}
/* 装饰圆 */
.about-page-img-main::before {
    content: '';
    position: absolute; top: -18px; left: -18px;
    width: 100px; height: 100px;
    border: 3px solid #70b52c;
    border-radius: 50%;
    opacity: 0.6;
}
.about-page-img-main::after {
    content: '';
    position: absolute; bottom: -24px; right: -24px;
    width: 140px; height: 140px;
    border: 2px solid rgba(26,95,160,0.25);
    border-radius: 50%;
}
/* 数据徽章 */
.about-page-badge {
    position: absolute;
    bottom: -28px; left: 40px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #fff;
    padding: 20px 28px;
    border-radius: 14px;
    box-shadow: 0 8px 28px rgba(26,95,160,0.4);
    display: flex; align-items: center; gap: 16px;
}
.about-page-badge-num {
    font-size: 36px; font-weight: 700;
    line-height: 1;
}
.about-page-badge-num small {
    font-size: 14px; font-weight: 500;
    margin-left: 4px; color: rgba(255,255,255,0.85);
}
.about-page-badge-label {
    font-size: 13px;
    line-height: 1.5;
    letter-spacing: 0.5px;
    opacity: 0.95;
}

/* 右侧文字 */
.about-page-text-en {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: #70b52c;
    letter-spacing: 4px;
    margin-bottom: 18px;
}
.about-page-text h2 {
    font-size: clamp(26px, 3.4vw, 38px);
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1.35;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
}
.about-page-bar {
    width: 48px; height: 3px;
    background: #70b52c;
    border-radius: 2px;
    margin-bottom: 28px;
}
.about-page-text p {
    font-size: 15px;
    line-height: 2;
    color: #4b5563;
    margin-bottom: 18px;
    text-align: justify;
}
.about-page-text p:first-of-type { text-indent: 2em; }

/* 核心优势列表 */
.about-page-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 28px;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px dashed #e5e8ee;
}
.about-page-feature {
    display: flex; align-items: center; gap: 10px;
    font-size: 14px;
    color: #374151;
}
.about-page-feature i {
    width: 22px; height: 22px;
    background: #70b52c;
    color: #fff;
    border-radius: 50%;
    font-size: 11px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}

/* ========== 核心数据条 ========== */
.about-stats-bar {
    padding: 64px 20px;
    background: linear-gradient(135deg, #0f1c2e 0%, #134778 100%);
}
.about-stats-bar-inner {
    max-width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}
.stat-item-num {
    font-size: clamp(32px, 4vw, 46px);
    font-weight: 700;
    color: #fff;
    line-height: 1;
    margin-bottom: 10px;
    font-variant-numeric: tabular-nums;
}
.stat-item-num .suffix {
    font-size: 18px; font-weight: 500;
    margin-left: 4px; color: #70b52c;
}
.stat-item-label {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    letter-spacing: 2px;
}
.stat-item-divider {
    position: absolute; top: 50%; right: 0;
    transform: translateY(-50%);
    width: 1px; height: 48px;
    background: rgba(255,255,255,0.15);
}
.stat-item { position: relative; }
.stat-item:last-child .stat-item-divider { display: none; }

/* ========== 响应式 ========== */
@media (max-width: 1024px) {
    .sub-banner { height: 400px; }
    .about-page-wrap { grid-template-columns: 1fr; gap: 56px; }
    .about-page-img-main { aspect-ratio: 16 / 10; }
    .about-stats-bar-inner { grid-template-columns: repeat(2, 1fr); gap: 40px; }
    .stat-item-divider { display: none; }
    .about-page-badge { left: 20px; }
}
@media (max-width: 768px) {
    .sub-banner { height: 340px; }
    .about-page { padding: 64px 20px; }
    .about-page-features { grid-template-columns: 1fr; gap: 12px; }
    .about-stats-bar { padding: 48px 20px; }
    .about-stats-bar-inner { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; }
    .about-page-badge {
        position: static;
        margin-top: 20px;
        display: inline-flex;
    }
    .about-page-img-main::after { display: none; }
}
