/* ========== 企业概况 —— 左右布局 ========== */
.qy-about .qy-section-wrap.qy-about-wrap {
    grid-template-columns: 1fr 460px;
    gap: 80px;
    align-items: center;
}

/* 左侧 Logo 区（桌面端放到右侧，与第二屏形成左右交替） */
.qy-about-left {
    text-align: center;
    order: 2;
}
.qy-about-right {
    order: 1;
}
.qy-about-logo {
    position: relative;
    width: 100%;
    max-width: 460px;
    aspect-ratio: 4 / 3;
    margin: 0 auto;
    border-radius: 24px;
    background: linear-gradient(135deg, #f0f5fb 0%, #e4ecf6 100%);
    box-shadow:
        0 20px 50px rgba(26,95,160,0.12),
        0 4px 12px rgba(0,0,0,0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.qy-about-logo:hover {
    transform: translateY(-4px);
    box-shadow:
        0 28px 64px rgba(26,95,160,0.18),
        0 6px 16px rgba(0,0,0,0.06);
}
.qy-about-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.qy-about-logo:hover img {
    transform: scale(1.04);
}
.qy-about-logo.is-fallback img { display: none; }
.qy-about-logo-fallback {
    position: absolute; inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    color: rgba(26,95,160,0.25);
    background: url('../img/shiming.jpg') center/cover no-repeat, linear-gradient(135deg, #e6ebf3, #dbe4ee);
}
.qy-about-logo.is-fallback .qy-about-logo-fallback { display: flex; }

/* 装饰圆 */
.qy-about-logo::before {
    content: '';
    position: absolute;
    top: -16px; left: -16px;
    width: 80px; height: 80px;
    border: 2px solid rgba(26,95,160,0.15);
    border-radius: 50%;
    pointer-events: none;
}
.qy-about-logo::after {
    content: '';
    position: absolute;
    bottom: -12px; right: -12px;
    width: 60px; height: 60px;
    border: 2px solid rgba(112,181,44,0.2);
    border-radius: 50%;
    pointer-events: none;
}

/* Logo 下方公司名 */
.qy-about-meta {
    margin-top: 28px;
}
.qy-about-company {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    color: #70b52c;
    padding: 6px 18px;
    background: rgba(112,181,44,0.1);
    border-radius: 20px;
}

/* 右侧文字区 */
.qy-about-right {
    animation: qyFadeIn 0.5s ease 0.15s both;
}
.qy-about-right .qy-panel-header {
    margin-bottom: 28px;
}
.qy-about-right .qy-panel-header h2 {
    font-size: clamp(26px, 3vw, 38px);
}

/* 响应式 */
@media (max-width: 1024px) {
    .qy-about .qy-section-wrap.qy-about-wrap {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .qy-about-left { order: -1; }
    .qy-about-logo { max-width: 420px; }
}
@media (max-width: 640px) {
    .qy-about-logo { max-width: 100%; border-radius: 18px; }
    .qy-about-logo-fallback { font-size: 56px; }
    .qy-about-meta { margin-top: 20px; }
}

/* ========== 品质承诺 —— 左右布局 ========== */
.qy-promise {
    padding: 80px 20px 100px;
    background: var(--bg-light);
}
.qy-promise .qy-section-wrap.qy-promise-wrap {
    grid-template-columns: 460px 1fr;
    gap: 80px;
    align-items: center;
}

/* 左侧文字区（桌面端放到右侧，与第一屏形成左右交替） */
.qy-promise-left {
    order: 2;
    animation: qyFadeIn 0.5s ease both;
}
.qy-promise-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: #70b52c;
    letter-spacing: 4px;
    padding: 6px 16px;
    background: rgba(112,181,44,0.1);
    border-radius: 20px;
    margin-bottom: 20px;
}
.qy-promise-title {
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 700;
    color: #000;
    line-height: 1.35;
    letter-spacing: -0.3px;
    margin-bottom: 20px;
}
.qy-promise-desc {
    font-size: 15px;
    line-height: 2;
    color: #4b5563;
    text-align: justify;
    margin-bottom: 24px;
}

/* 认证标签列表 */
.qy-promise-tags {
    list-style: none;
    padding: 0;
    margin: 0 0 36px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 24px;
}
.qy-promise-tags li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
}
.qy-promise-tags li i {
    color: #70b52c;
    font-size: 16px;
}

/* CTA 按钮 */
.qy-promise-cta .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 36px;
    font-size: 15px;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, #1a6fa0 100%);
    box-shadow: 0 6px 20px rgba(26,95,160,0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.qy-promise-cta .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(26,95,160,0.35);
}

/* 右侧图片区（桌面端放到左侧，与第一屏形成左右交替） */
.qy-promise-right {
    position: relative;
    order: 1;
    animation: qyFadeIn 0.5s ease 0.15s both;
}
.qy-promise-img {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    max-height: 380px;
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(135deg, #f0f5fb 0%, #e4ecf6 100%);
    box-shadow:
        0 24px 60px rgba(26,95,160,0.18),
        0 6px 18px rgba(0,0,0,0.06);
}
.qy-promise-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}
.qy-promise-img:hover img {
    transform: scale(1.05);
}
.qy-promise-img-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(26,95,160,0.08) 0%, rgba(0,0,0,0) 50%);
    pointer-events: none;
}
/* 装饰边框圆 */
.qy-promise-img::before {
    content: '';
    position: absolute;
    top: -14px; right: -14px;
    width: 70px; height: 70px;
    border: 2px solid rgba(112,181,44,0.25);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

/* 30年徽章 */
.qy-promise-badge {
    position: absolute;
    bottom: -24px; left: -24px;
    background: #fff;
    border-radius: 18px;
    padding: 16px 28px;
    box-shadow:
        0 12px 36px rgba(26,95,160,0.18),
        0 2px 8px rgba(0,0,0,0.04);
    display: flex;
    align-items: center;
    gap: 14px;
}
.qy-promise-badge-num {
    font-size: 40px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    font-variant-numeric: tabular-nums;
}
.qy-promise-badge-num em {
    font-size: 22px;
    font-style: normal;
    color: #70b52c;
    margin-left: 2px;
}
.qy-promise-badge-label {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    letter-spacing: 1px;
}

/* 响应式 */
@media (max-width: 1024px) {
    .qy-promise { padding: 60px 20px 80px; }
    .qy-promise .qy-section-wrap.qy-promise-wrap {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .qy-promise-right { order: -1; max-width: 420px; margin: 0 auto; }
}
@media (max-width: 640px) {
    .qy-promise { padding: 48px 16px 64px; }
    .qy-promise-tags { grid-template-columns: 1fr; gap: 12px; }
    .qy-promise-badge { bottom: -18px; left: 50%; transform: translateX(-50%); }
    .qy-promise-img { aspect-ratio: 4 / 3; }
}

/* ========== 定制化解决方案 —— 全屏背景 ========== */
.qy-custom {
    position: relative;
    padding: 120px 20px;
    overflow: hidden;
}
.qy-custom-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    transform: scale(1.02);
}
.qy-custom-overlay {
    position: absolute;
    inset: 0;
      background: linear-gradient(135deg,
        rgb(132 252 139 / 88%) 0%,
        rgb(173 173 173 / 78%) 50%,
        rgb(31 122 210 / 88%) 100%);
}
.qy-custom-inner {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: #fff;
    animation: qyFadeIn 0.6s ease both;
}
.qy-custom-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: #a8e063;
    letter-spacing: 5px;
    padding: 6px 20px;
    border: 1px solid rgba(168,224,99,0.5);
    border-radius: 30px;
    margin-bottom: 24px;
}
.qy-custom-title {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
    margin-bottom: 20px;
    line-height: 1.3;
}
.qy-custom-bar {
    width: 60px; height: 3px;
    background: linear-gradient(90deg, #a8e063 0%, #70b52c 100%);
    border-radius: 2px;
    margin: 0 auto 32px;
}
.qy-custom-desc {
    font-size: 16px;
    line-height: 2;
    color: rgba(255,255,255,0.9);
    text-align: justify;
    margin-bottom: 16px;
}
.qy-custom-cta {
    margin-top: 40px;
}
.qy-custom-cta .btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 40px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    background: transparent;
    border: 2px solid rgba(255,255,255,0.6);
    border-radius: 50px;
    transition: all 0.25s ease;
}
.qy-custom-cta .btn-ghost:hover {
    background: #fff;
    color: var(--primary);
    border-color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

/* 响应式 */
@media (max-width: 1024px) {
    .qy-custom { padding: 80px 20px; }
    .qy-custom-bg { background-attachment: scroll; }
}
@media (max-width: 640px) {
    .qy-custom { padding: 64px 16px; }
    .qy-custom-desc { font-size: 14px; line-height: 1.9; }
}

/* =========================================================
   山东恒昇环保 —— 企业概况页专属样式
   文件：css/qiyegaikuang.css
   依赖：css/style.css, css/aboutus.css（Banner 部分复用）
   ========================================================= */

/* ========== 内容区整体布局 ========== */
.qy-section {
    padding: 80px 20px 100px;
    background: var(--bg-white);
}
.qy-section-wrap {
    max-width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 60px;
    align-items: start;
}

/* ========== 企业使命页专属背景（独立 wrapper，不污染公共 .qy-section） ========== */
.qy-mission-bg {
    position: relative;
    padding: 0px 20px 0px;
    background: url('../img/chanpin_bg.jpg') center/cover no-repeat fixed;
}
.qy-mission-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.92);
    z-index: 0;
}
.qy-mission-bg .qy-section-wrap {
    position: relative;
    z-index: 1;
}

/* ========== 左侧 Tab 导航 ========== */
.qy-tabs {
    position: sticky;
    top: calc(var(--nav-h) + 30px);
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    overflow: hidden;
    border: 1px solid #eef0f5;
}
.qy-tabs-header {
    padding: 20px 24px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.qy-tabs-header i {
    font-size: 18px;
    color: #70b52c;
}
.qy-tabs-list {
    padding: 12px 0;
}
.qy-tab-item {
    position: relative;
    border-left: 3px solid transparent;
    transition: border-color 0.25s ease;
}
.qy-tab-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    font-size: 14.5px;
    color: var(--text-dark);
    transition: all 0.25s ease;
}
.qy-tab-link:hover {
    background: var(--bg-light);
    color: var(--primary);
}
.qy-tab-link .qy-tab-arrow {
    margin-left: auto;
    font-size: 11px;
    color: #c0c6d0;
    transition: transform 0.25s ease, color 0.25s ease;
}
.qy-tab-link:hover .qy-tab-arrow {
    color: var(--primary);
    transform: translateX(3px);
}
/* Tab 图标 */
.qy-tab-link > i:first-of-type {
    width: 20px;
    font-size: 14px;
    text-align: center;
    transition: color 0.25s ease;
}

/* ===== 激活态 ===== */
.qy-tab-item.active {
    border-left-color: #70b52c;
}
.qy-tab-item.active .qy-tab-link {
    background: linear-gradient(90deg, rgba(26,95,160,0.08) 0%, rgba(26,95,160,0) 100%);
    color: var(--primary);
    font-weight: 600;
}
.qy-tab-item.active .qy-tab-link > i:first-of-type {
    color: #70b52c;
}
.qy-tab-item.active .qy-tab-link .qy-tab-arrow {
    color: var(--primary);
    transform: translateX(3px);
}
/* 激活态右侧装饰圆 */
.qy-tab-item.active::before {
    content: '';
    position: absolute;
    right: 18px; top: 50%;
    transform: translateY(-50%);
    width: 6px; height: 6px;
    background: #70b52c;
    border-radius: 50%;
}

/* ========== 右侧内容区 ========== */
.qy-panels {
    min-height: 500px;
}
/* 当没有左侧 Tab 导航时，内容区占满全部宽度 */
.qy-section-wrap > .qy-panels:only-child,
.qy-section-wrap > .qy-panel:only-child {
    grid-column: 1 / -1;
}
.qy-panel {
    animation: qyFadeIn 0.4s ease;
}
@keyframes qyFadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* 面板标题 */
.qy-panel-header {
    margin-bottom: 36px;
    padding-bottom: 20px;
    border-bottom: none;   /* 发展历程页面不想要灰色分隔线 */
}
.qy-panel-header h2 {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 700;
    color: #000;
    letter-spacing: -0.3px;
}
.qy-panel-bar {
    width: 48px; height: 3px;
    background: #70b52c;
    border-radius: 2px;
    margin-top: 14px;
}
.qy-panel-intro {
    font-size: 15px;
    line-height: 2;
    color: #4b5563;
    margin-bottom: 28px;
    padding: 16px 20px;
    background: var(--bg-light);
    border-left: 3px solid #70b52c;
    border-radius: 0 8px 8px 0;
}

/* ========== 漂浮缩略图（CMS 栏目 ic o 图） ========== */
.qy-panel-img {
    float: right;
    width: 340px;
    margin: 4px 0 20px 36px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(0,0,0,0.1);
    background: #e6ebf3;
}
.qy-panel-img img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}
.qy-img-placeholder {
    width: 100%;
    aspect-ratio: 4 / 3;
    background: linear-gradient(135deg, #e6ebf3 0%, #dbe4ee 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(26,95,160,0.35);
    font-size: 48px;
}
.qy-img-default {
    background: url('../img/shiming.jpg') center/cover no-repeat, linear-gradient(135deg, #e6ebf3, #dbe4ee);
}

/* ========== 迷你数据条（公司简介专属） ========== */
.qy-stats-mini {
    clear: both;
    display: flex;
    gap: 32px;
    margin-top: 28px;
    padding-top: 28px;
    border-top: 1px dashed #e5e8ee;
}
.qy-stat-mini {
    flex: 1;
    text-align: center;
    padding: 20px 16px;
    background: var(--bg-light);
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.qy-stat-mini:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(26,95,160,0.1);
}
.qy-stat-num {
    font-size: clamp(28px, 3.5vw, 38px);
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    font-variant-numeric: tabular-nums;
}
.qy-stat-num span {
    font-size: 18px;
    font-weight: 500;
    color: #70b52c;
    margin-left: 2px;
}
.qy-stat-label {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 8px;
    letter-spacing: 1px;
}

/* ========== CMS 富文本内容（{$content.content}） ========== */
.qy-panel-body {
    line-height: 1.8;
    font-size: 15px;
    color: #374151;
}
.qy-panel-body p {
    font-size: 15px;
    color: #4b5563;
    line-height: 2;
    margin-bottom: 18px;
    text-align: justify;
}
.qy-panel-body p { text-indent: 0; }
.qy-panel-body h1,
.qy-panel-body h2,
.qy-panel-body h3,
.qy-panel-body h4 {
    font-weight: 700;
    color: var(--primary-dark);
    margin: 14px 0 14px;
    line-height: 1.4;
}
.qy-panel-body h2 { font-size: 24px; }
.qy-panel-body h3 { font-size: 20px; }
.qy-panel-body h4 { font-size: 17px; }
.qy-panel-body ul,
.qy-panel-body ol {
    padding-left: 24px;
    margin-bottom: 18px;
}
.qy-panel-body li {
    margin-bottom: 8px;
    line-height: 1.9;
}
.qy-panel-body ul li { list-style: disc; }
.qy-panel-body ol li { list-style: decimal; }
.qy-panel-body img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 16px 0;
}
.qy-panel-body blockquote {
    padding: 14px 20px;
    border-left: 3px solid #70b52c;
    background: var(--bg-light);
    color: var(--text-muted);
    border-radius: 0 8px 8px 0;
    margin: 18px 0;
}
.qy-panel-body a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.qy-panel-body a:hover { color: #70b52c; }

/* ========== 响应式 ========== */
@media (max-width: 1024px) {
    .qy-section { padding: 60px 20px 80px; }
    .qy-section-wrap {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .qy-tabs {
        position: static;
    }
    .qy-tabs-list {
        display: flex;
        flex-wrap: wrap;
        padding: 0;
    }
    .qy-tab-item {
        flex: 1 1 auto;
        border-left: none;
        border-bottom: 3px solid transparent;
    }
    .qy-tab-link {
        padding: 12px 16px;
        font-size: 13.5px;
    }
    .qy-tab-item.active {
        border-left-color: transparent;
        border-bottom-color: #70b52c;
    }
    .qy-tab-item.active::before { display: none; }
    .qy-tab-link .qy-tab-arrow { display: none; }
    .qy-panel-img {
        float: none;
        width: 100%;
        margin: 0 0 24px;
    }
    .qy-stats-mini { flex-wrap: wrap; gap: 16px; }
    .qy-stat-mini { flex: 1 1 calc(50% - 8px); }
}

@media (max-width: 768px) {
    .qy-section { padding: 48px 16px 64px; }
    .qy-section-wrap { gap: 32px; }
    .qy-tabs-header { padding: 16px 20px; font-size: 15px; }
    .qy-tabs-list { flex-direction: column; }
    .qy-tab-item {
        border-left: 3px solid transparent;
        border-bottom: none;
    }
    .qy-tab-link {
        padding: 14px 20px;
    }
    .qy-tab-item.active {
        border-left-color: #70b52c;
        border-bottom: none;
    }
    .qy-panel-header { margin-bottom: 24px; padding-bottom: 16px; }
    .qy-stats-mini { flex-direction: column; gap: 12px; }
    .qy-stat-mini { flex: none; }
}

/* =========================================================
   荣誉资质卡片（一行4格 + hover放大 + 点击灯箱）
   ========================================================= */
.qy-honor-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px 20px;
    margin-top: 8px;
}
.qy-honor-card {
    background: transparent;
    border: none;
    overflow: visible;
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
    cursor: zoom-in;
    display: flex;
    flex-direction: column;
}
.qy-honor-card:hover {
    transform: translateY(-6px);
    box-shadow: none;
}
.qy-honor-img-wrap {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: transparent;
}
.qy-honor-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s cubic-bezier(.2,.8,.2,1);
    transform-origin: center;
}
.qy-honor-card:hover .qy-honor-img-wrap img {
    transform: scale(1.08);
}
.qy-honor-zoom {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(46, 125, 50, 0.85);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    opacity: 0;
    transform: scale(.6);
    transition: opacity .3s ease, transform .3s ease;
    backdrop-filter: blur(4px);
}
.qy-honor-card:hover .qy-honor-zoom {
    opacity: 1;
    transform: scale(1);
}
.qy-honor-title {
    margin: 16px 20px 18px;
    font-size: 15px;
    font-weight: 600;
    color: #1f3a1f;
    letter-spacing: .5px;
    line-height: 1.4;
    text-align: center;
}
.qy-honor-desc {
    margin: 0 20px 20px;
    font-size: 13px;
    color: #6b7a6b;
    line-height: 1.6;
    flex: 1;
}

/* ========== 灯箱放大 ========== */
.qy-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(10, 20, 10, 0.88);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease;
    padding: 40px;
}
.qy-lightbox.active {
    opacity: 1;
    pointer-events: auto;
}
.qy-lightbox img {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: 10px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.5);
    transform: scale(.9);
    transition: transform .35s cubic-bezier(.2,.8,.2,1);
    object-fit: contain;
}
.qy-lightbox.active img {
    transform: scale(1);
}
.qy-lightbox-close {
    position: absolute;
    top: 28px;
    right: 36px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    color: #fff;
    border: none;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s, transform .2s;
    backdrop-filter: blur(6px);
}
.qy-lightbox-close:hover {
    background: rgba(255,255,255,0.3);
    transform: rotate(90deg);
}

/* ========== 响应式 ========== */
@media (max-width: 720px) {
    .qy-honor-grid { grid-template-columns: repeat(4, 1fr); gap: 14px; }
    .qy-honor-title { margin: 10px 8px 4px; font-size: 12px; line-height: 1.3; }
}
@media (max-width: 560px) {
    .qy-honor-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .qy-honor-title { margin: 14px 12px 4px; font-size: 14px; line-height: 1.4; }
}
@media (max-width: 380px) {
    .qy-honor-grid { grid-template-columns: 1fr; gap: 18px; }
    .qy-honor-desc { margin: 0 16px 16px; font-size: 13px; }
    .qy-lightbox { padding: 20px; }
    .qy-lightbox-close { top: 18px; right: 20px; width: 38px; height: 38px; font-size: 17px; }
}

/* ========== 发展历程 —— 波浪上升时间线（参考图风格） ========== */
.qy-panel-history .qy-panel-body {
    position: relative;
    padding: 0 60px;
    border-radius: 16px;
    overflow: hidden;
}
.qy-history-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    transform: scale(1.02);
}
.qy-history-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(255,255,255,0.94) 0%,
        rgba(255,255,255,0.88) 100%);
}

/* 左右切换按钮 */
.qy-history-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    background: #fff;
    color: var(--primary);
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 14px rgba(26,95,160,0.2);
    transition: all 0.25s ease;
}
.qy-history-arrow:hover:not(:disabled) {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 6px 20px rgba(26,95,160,0.35);
}
.qy-history-arrow:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}
.qy-history-prev { left: 10px; }
.qy-history-next { right: 10px; }

.qy-history-wrap {
    position: relative;
    z-index: 2;
}

/* 可滚动容器 */
.qy-history-viewport {
    position: relative;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x proximity;   /* proximity：接近 snap 点才吸附，慢滚不会被强制拉回 */
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.qy-history-viewport::-webkit-scrollbar { display: none; }

/* SVG 曲线层：绝对定位 + 不占空间 */
.qy-history-svg {
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 0;
    overflow: visible;
}

/* 轨道：flex 横向铺开 */
.qy-history-track {
    display: flex;
    align-items: flex-end;
    gap: 0;
    position: relative;
    padding: 0 20px;
    z-index: 1;
}

/* 节点：flex-basis: 25% = 一屏 4 个；JS 动态设 margin-bottom 做波浪 */
.qy-history-node {
    flex: 0 0 25%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    scroll-snap-align: start;
    padding: 0 8px;
}

/* 年份：蓝色大字，圆点正上方 */
.qy-history-year {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}

/* 圆点：深蓝色实心，波浪线上的节点 */
.qy-history-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--primary);
    flex-shrink: 0;
    position: relative;
    z-index: 3;
    transition: transform 0.3s ease;
}
.qy-history-dot::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(26,95,160,0.2);
    animation: dotPulse 2.8s ease-in-out infinite;
}
@keyframes dotPulse {
    0%, 100% { transform: scale(0.8); opacity: 0.8; }
    50%      { transform: scale(1.3); opacity: 0; }
}
.qy-history-node:hover .qy-history-dot {
    transform: scale(1.4);
    background: #fff;
    border: 3px solid var(--primary);
}

/* 卡片：统一在圆点下方（不交替上下了，参考图风格） */
.qy-history-card {
    width: 180px;
    background: rgba(255,255,255,0.97);
    border-radius: 8px;
    padding: 14px 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    text-align: left;
    margin-top: 20px;
    position: relative;
    z-index: 4;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.qy-history-node:hover .qy-history-card {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(26,95,160,0.15);
}
.qy-history-card h4 {
    font-size: 14px;
    font-weight: 700;
    color: #2a3a4a;
    margin-bottom: 6px;
    line-height: 1.4;
}
.qy-history-card p {
    font-size: 12px;
    color: #6b7a8d;
    line-height: 1.7;
    margin: 0;
    text-align: justify;
}
.qy-history-img {
    margin-top: 10px;
    border-radius: 6px;
    overflow: hidden;
    aspect-ratio: 16/9;
}
.qy-history-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========== 响应式 ========== */
@media (max-width: 1100px) {
    .qy-panel-history .qy-panel-body { padding: 40px 50px 30px; }
    .qy-history-year { font-size: 18px; }
    .qy-history-card { width: 150px; padding: 12px 10px; }
    .qy-history-card h4 { font-size: 13px; }
    .qy-history-card p { font-size: 11px; }
}
@media (max-width: 860px) {
    .qy-panel-history .qy-panel-body { padding: 30px 44px 20px; }
    .qy-history-node { flex-basis: 50%; }
    .qy-history-year { font-size: 16px; }
    .qy-history-arrow { width: 36px; height: 36px; font-size: 13px; }
}
@media (max-width: 480px) {
    .qy-history-node { flex-basis: 100%; }
    .qy-history-year { font-size: 14px; }
    .qy-history-card { max-width: 100%; width: 100%; }
    .qy-history-arrow { width: 32px; height: 32px; font-size: 12px; }
}

/* =========================================================
   发展历程 —— 线性时间线（左侧竖线 + 圆点 + 左右交错）（旧版保留）
   ========================================================= */
.qy-timeline {
    position: relative;
    padding: 0;
    margin: 0;
}
/* 真实 DOM 竖线（不走伪元素，避免被 overflow 裁掉） */
.qy-timeline-line {
    position: absolute;
    left: 106px;
    top: 4px;
    bottom: 4px;
    width: 2px;
    background: #70b52c;
    border-radius: 2px;
    z-index: 1;
}
.qy-timeline-item {
    position: relative;
    padding: 0 0 40px 140px;
}
.qy-timeline-year {
    position: absolute;
    left: 0;
    top: 4px;
    width: 96px;
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-dark);
    letter-spacing: 1px;
    text-align: right;
    font-variant-numeric: tabular-nums;
}
.qy-timeline-dot {
    position: absolute;
    left: 98px;
    top: 10px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #70b52c;
    z-index: 2;
}
.qy-timeline-item:first-child .qy-timeline-dot {
    background: #70b52c;
    box-shadow: 0 0 0 4px rgba(112,181,44,0.25);
}
.qy-timeline-content {
    padding: 14px 22px;
    
    
    border-radius: 10px;
    transition: box-shadow .3s ease, border-color .3s ease;
}
.qy-timeline-content:hover {
    border-color: #c8e0b0;
    box-shadow: 0 8px 24px rgba(46,125,50,0.08);
}
.qy-timeline-content h4 {
    margin: 0 0 8px;
    font-size: 17px;
    font-weight: 700;
    color: #1f3a1f;
    line-height: 1.4;
}
.qy-timeline-content p {
    margin: 0 0 12px;
    font-size: 14px;
    color: #4b5563;
    line-height: 1.8;
}
.qy-timeline-img {
    margin-top: 10px;
    border-radius: 8px;
    overflow: hidden;
}
.qy-timeline-img img {
    width: 100%;
    max-width: 360px;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

/* ========== 响应式时间线 ========== */
@media (max-width: 640px) {
    .qy-timeline-line { left: 14px; top: 30px; width: 2px; }
    .qy-timeline-item { padding-left: 42px; padding-bottom: 30px; }
    .qy-timeline-year {
        position: static;
        width: auto;
        margin-bottom: 4px;
        font-size: 18px;
        text-align: left;
    }
    .qy-timeline-dot {
        left: 7px;
        top: 34px;
        width: 14px;
        height: 14px;
    }
    .qy-timeline-img img { max-width: 100%; height: 140px; }
}

/* =========================================================
   企业使命 / 愿景 / 目的（卡片背景图 + 渐变遮罩）
   背景图路径写在 HTML 内联 style 里，不写 CSS
   ========================================================= */
.qy-panel-strategy .qy-panel-body {
    padding: 40px 0;
}
.qy-strategy-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}
.qy-strategy-card {
    position: relative;
    min-height: 320px;
    padding: 56px 48px;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: transform .35s ease, box-shadow .35s ease;
}
/* 渐变遮罩 —— 保证背景图上文字可读 */
.qy-strategy-card::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(19,71,120,0.55) 0%, rgba(19,71,120,0.75) 100%);
    z-index: 0;
    transition: background .35s ease;
}
.qy-strategy-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 42px rgba(26, 95, 160, 0.28);
}
.qy-strategy-card:hover::before {
    background: linear-gradient(180deg, rgba(19,71,120,0.45) 0%, rgba(19,71,120,0.65) 100%);
}
.qy-strategy-card h3,
.qy-strategy-card p {
    position: relative;
    z-index: 1;
}
.qy-strategy-card h3 {
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid rgba(255,255,255,0.35);
    letter-spacing: 3px;
    flex-shrink: 0;
    text-align: center;
}
.qy-strategy-card p {
    font-size: 15px;
    color: rgba(255,255,255,0.92);
    line-height: 2;
    margin-bottom: 0;
    text-align: center;
    max-width: 720px;
}

/* ========== 响应式 ========== */
@media (max-width: 1024px) {
    .qy-panel-strategy .qy-panel-body { padding: 24px 0; }
    .qy-strategy-grid { grid-template-columns: 1fr; gap: 16px; }
    .qy-strategy-card { min-height: auto; padding: 26px 22px; }
}

/* =========================================================
   核心价值观 —— 横向列表（5 项）
   默认第一项显示背景图，其余 hover 时显示背景图 + 文字变色
   ========================================================= */
.qy-core-values {
    padding: 80px 20px 100px;
    background: #fff;
}
.qy-core-values-wrap {
    max-width: var(--container);
    margin: 0 auto;
}
.qy-core-values-img {
    display: block;
    width: 100%;
    max-width: 900px;
    margin: 0 auto 48px;
    text-align: center;
}
.qy-core-values-img img {
    max-width: 60%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 12px;
}
.qy-core-values-title {
    font-size: clamp(26px, 3.5vw, 38px);
    font-weight: 700;
    color: #000;
    text-align: center;
    letter-spacing: -0.3px;
    margin: 0 0 48px;
    position: relative;
}
.qy-core-values-title::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    background: #70b52c;
    border-radius: 2px;
    margin: 16px auto 0;
}

.qy-core-values-list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}
.qy-core-value-item {
    position: relative;
    padding: 32px 20px;
    border-radius: 10px;
    
    
    overflow: hidden;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    text-align: center;
    /* 背景图默认隐藏 */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: all .4s ease;
}
/* 遮罩层 —— 默认浅，hover/active 变深 */

.qy-core-value-item h3,
.qy-core-value-item p {
    position: relative;
    z-index: 1;
    transition: color .4s ease;
}
.qy-core-value-item h3 {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin: 0 0 8px;
    letter-spacing: 2px;
}
.qy-core-value-item p {
    font-size: 14px;
    color: #3c3c3c;
    line-height: 1.9;
    margin: 0;
}

/* hover：背景图显现 + 遮罩变深 + 文字变白 */




/* ========== 响应式 ========== */
@media (max-width: 1024px) {
    .qy-core-values-list { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .qy-core-values { padding: 60px 16px 80px; }
    .qy-core-values-list { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .qy-core-value-item { padding: 24px 16px; min-height: auto; }
    .qy-core-value-item h3 { font-size: 17px; letter-spacing: 1px; }
    .qy-core-value-item p { font-size: 13px; line-height: 1.8; }
    .qy-core-value-item:hover,
    .qy-core-value-item.is-active { transform: translateY(-4px); }
}
@media (max-width: 480px) {
    .qy-core-values-list { grid-template-columns: 1fr; }
}

/* =========================================================
   核心价值观（旧版中心环绕布局 —— 保留不删除）
   ========================================================= */
.qy-values-grid {
    position: relative;
    width: 720px;
    height: 720px;
    margin: 20px auto 0;
}
/* 中心圆 → 外圈的辐射细线 */
.qy-values-line {
    position: absolute;
    top: 50%; left: 50%;
    width: 260px;
    height: 1.5px;
    background: rgba(26,95,160,0.25);
    transform-origin: 0 50%;
    z-index: 0;
    transition: background .3s ease;
}
/* 5 条线的角度 = 对应外圈圆的角度 */
.qy-values-line:nth-child(1) { transform: rotate(-90deg); }
.qy-values-line:nth-child(2) { transform: rotate(-18deg); }
.qy-values-line:nth-child(3) { transform: rotate(54deg); }
.qy-values-line:nth-child(4) { transform: rotate(126deg); }
.qy-values-line:nth-child(5) { transform: rotate(198deg); }

/* 中心大圆圈 */
.qy-values-center {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 180px; height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #2a7dc8 0%, #134778 100%);
    border: 3px solid rgba(112,181,44,0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 2;
    box-shadow:
        0 0 30px rgba(112,181,44,0.35),
        0 0 60px rgba(26,95,160,0.25),
        inset 0 2px 12px rgba(255,255,255,0.15);
}
.qy-values-center h3 {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    padding: 0;
    border: none;
    letter-spacing: 2px;
}
.qy-values-center p {
    font-size: 13px;
    color: rgba(255,255,255,0.8);
    margin: 8px 0 0;
    padding: 0;
    letter-spacing: 1px;
}

/* 外圈 5 个：父级 rotate 放在圆周上，子 rotate 反向保持正立 */
.qy-values-item {
    position: absolute;
    top: 50%; left: 50%;
    width: 200px; height: 200px;
    margin: -100px 0 0 -100px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #e5e8ee;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px 20px;
    cursor: pointer;
    box-shadow:
        0 0 18px rgba(112,181,44,0.25),
        0 4px 14px rgba(0,0,0,0.06);
    transition: transform .35s ease, border-color .3s ease, box-shadow .3s ease, background .3s ease;
    overflow: hidden;
    animation: qyGlow 3s ease-in-out infinite alternate;
}
/* 5 个点均匀分布（72° 间隔），半径 260px */
/* 注意：HTML 里 5 个 span 线条排在最前面，所以 nth-child 会错位，改用 nth-of-type(div) */
.qy-values-item:nth-of-type(2) { transform: rotate(-90deg) translateX(260px) rotate(90deg); animation-delay: 0s; }
.qy-values-item:nth-of-type(3) { transform: rotate(-18deg) translateX(260px) rotate(18deg); animation-delay: 0.3s; }
.qy-values-item:nth-of-type(4) { transform: rotate(54deg)  translateX(260px) rotate(-54deg); animation-delay: 0.6s; }
.qy-values-item:nth-of-type(5) { transform: rotate(126deg) translateX(260px) rotate(-126deg); animation-delay: 0.9s; }
.qy-values-item:nth-of-type(6) { transform: rotate(198deg) translateX(260px) rotate(-198deg); animation-delay: 1.2s; }

.qy-values-item h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-dark);
    margin: 0 0 10px;
    padding: 0;
    border: none;
    letter-spacing: 0.5px;
    line-height: 1.3;
    transition: color .3s ease;
}
.qy-values-item p {
    font-size: 12px;
    color: #8a94a6;
    line-height: 1.65;
    padding: 0;
    margin: 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height .35s ease, opacity .25s ease, color .3s ease;
}

.qy-values-item:hover {
    border-color: var(--primary);
    background: #fff;
    box-shadow:
        0 0 28px rgba(112,181,44,0.55),
        0 8px 22px rgba(26,95,160,0.15);
}
/* hover 时仍保持圆周位置，只微放大 */
.qy-values-item:hover:nth-of-type(2) { transform: rotate(-90deg) translateX(260px) rotate(90deg) scale(1.06); }
.qy-values-item:hover:nth-of-type(3) { transform: rotate(-18deg) translateX(260px) rotate(18deg) scale(1.06); }
.qy-values-item:hover:nth-of-type(4) { transform: rotate(54deg)  translateX(260px) rotate(-54deg) scale(1.06); }
.qy-values-item:hover:nth-of-type(5) { transform: rotate(126deg) translateX(260px) rotate(-126deg) scale(1.06); }
.qy-values-item:hover:nth-of-type(6) { transform: rotate(198deg) translateX(260px) rotate(-198deg) scale(1.06); }
.qy-values-item:hover h3 { color: var(--primary); }
.qy-values-item:hover p {
    max-height: 100px;
    opacity: 1;
    color: #4b5563;
}

/* 呼吸式外发光 */
@keyframes qyGlow {
    from { box-shadow: 0 0 14px rgba(112,181,44,0.2), 0 4px 14px rgba(0,0,0,0.05); }
    to   { box-shadow: 0 0 24px rgba(112,181,44,0.45), 0 4px 14px rgba(0,0,0,0.08); }
}

/* ========== 响应式 ========== */
@media (max-width: 768px) {
    .qy-values-grid {
        width: 380px;
        height: 380px;
    }
    .qy-values-line { width: 140px; height: 1px; }
    .qy-values-center { width: 110px; height: 110px; }
    .qy-values-center h3 { font-size: 15px; letter-spacing: 1px; }
    .qy-values-center p { font-size: 11px; margin-top: 4px; }
    .qy-values-item {
        width: 90px; height: 90px;
        margin: -45px 0 0 -45px;
        padding: 8px 6px;
    }
    .qy-values-item h3 { font-size: 10px; margin-bottom: 3px; }
    .qy-values-item p { display: none; }
    .qy-values-item:nth-of-type(2) { transform: rotate(-90deg) translateX(140px) rotate(90deg); }
    .qy-values-item:nth-of-type(3) { transform: rotate(-18deg) translateX(140px) rotate(18deg); }
    .qy-values-item:nth-of-type(4) { transform: rotate(54deg)  translateX(140px) rotate(-54deg); }
    .qy-values-item:nth-of-type(5) { transform: rotate(126deg) translateX(140px) rotate(-126deg); }
    .qy-values-item:nth-of-type(6) { transform: rotate(198deg) translateX(140px) rotate(-198deg); }
    .qy-values-item:hover:nth-of-type(2) { transform: rotate(-90deg) translateX(140px) rotate(90deg) scale(1.08); }
    .qy-values-item:hover:nth-of-type(3) { transform: rotate(-18deg) translateX(140px) rotate(18deg) scale(1.08); }
    .qy-values-item:hover:nth-of-type(4) { transform: rotate(54deg)  translateX(140px) rotate(-54deg) scale(1.08); }
    .qy-values-item:hover:nth-of-type(5) { transform: rotate(126deg) translateX(140px) rotate(-126deg) scale(1.08); }
    .qy-values-item:hover:nth-of-type(6) { transform: rotate(198deg) translateX(140px) rotate(-198deg) scale(1.08); }
}
