/* ===== .adv-craft ===== */
/* ============================================================
   工艺中心 · 视差滚动模块（复用 products.html「精准切割」图片 scale 收起→展开效果）
   结构完全一致：图片层 transform:scale 缩放（合成器线程），文字独立层不参与缩放，稳定不闪
   ============================================================ */
.adv-craft-section {
    position: relative;
    padding-top: 100px;
    padding-bottom: 20px;
    overflow: hidden;
}
.adv-craft-section .section-title h2 {
    font-size: 3.25rem;
}
/* 副标题：两行工艺定位语（放在图片上方位置） */
.adv-craft-sub {
    font-size: 1.25rem;
    line-height: 1.7;
    color: var(--paragraph-color);
    margin-top: 1rem;
}


@media (max-width: 991px) {
    .adv-craft-section { padding-top: 70px; }
    .adv-craft-section .section-title h2 { font-size: 2.25rem; }
    .adv-craft-sub { font-size: 1.0625rem; }
}
/* ===== .adv-expand ===== */
/* 视口：始终全宽，overflow 隐藏。收起时内部 media 居中缩放，两侧露出页面底色 */
.adv-expand {
    width: 100%;
}
.adv-expand__viewport {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    min-height: 460px;
    overflow: hidden;
    background: var(--white-color);
}
/* 图片层：绝对填满视口，由 JS 设初始 scale(收起比) 居中收起，滚动放大到 scale(1) */
.adv-expand__media {
    position: absolute;
    inset: 0;
    z-index: 1;
    transform-origin: center center;
    /*border-radius: 24px;*/
    overflow: hidden;
    will-change: transform;
    backface-visibility: hidden;
}
.adv-expand__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}
.adv-expand__scrim {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    /* 中间径向压暗 + 上下线性压暗，保证白字在亮图上可读 */
    background:
        radial-gradient(78% 78% at 50% 50%,
            rgba(14, 16, 24, 0.58) 0%,
            rgba(14, 16, 24, 0.34) 55%,
            rgba(14, 16, 24, 0.22) 100%),
        linear-gradient(180deg,
            rgba(14, 16, 24, 0.50) 0%,
            rgba(14, 16, 24, 0.32) 50%,
            rgba(14, 16, 24, 0.58) 100%);
}
/* 文字层：独立绝对定位居中，不参与 media 缩放，独立合成层，稳定不闪（图片上面的图层） */
.adv-expand__content {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 3;
    padding: 8% 5%;
    display: flex;
    flex-direction: column;
    /*align-items: center;*/
    justify-content: flex-end;
    gap: 20px;
    /*text-align: center;*/
    will-change: transform, opacity;
    backface-visibility: hidden;
}
/* 图层上的主标题（副标题文字）：大字号、字间距宽松、强投影保证可读 */
.adv-expand__content h2 {
    color: var(--white-color);
    font-size: 2.75rem;
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: 0.04em;
    margin: 0;
    text-shadow:
        0 2px 18px rgba(0, 0, 0, 0.55),
        0 1px 4px rgba(0, 0, 0, 0.4);
}
/* 标题下方装饰分隔线 */
/*.adv-expand__content h2::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    background: var(--gradient);
    margin: 1.5rem 0 0.75rem;
    border-radius: 2px;
}*/
.adv-expand-desc {
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.125rem;
    font-weight: 300;
    line-height: 1.6;
    max-width: 640px;
    margin: 0;
    /*text-align: center;*/
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.38);
    will-change: transform, opacity;
    backface-visibility: hidden;
}
@media (max-width: 575px) {
    .adv-expand__viewport {
        min-height: 480px;
        aspect-ratio: auto;
    }
}

/* ===== .home4-why ===== */
.home4-why-choose-section .single-content h4 {
    font-weight: 500;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}
.home4-why-choose-section .single-content p {
    line-height: 1.7;
}
/* 六大服务范围图标 - 渐变填充 */
.home4-why-choose-section .single-content .icon svg.svc-icon,
.home4-why-choose-section .single-content .icon svg.svc-icon * {
  fill: url(#svcGradient) !important;
  stroke: none !important;
}

/* ===== .sol-industry ===== */
/* ============================================================
   新能源解决方案详情页 (solution-new-energy.html)
   ============================================================ */
/* 行业切换条（Hero 下方） */
.sol-industry-switcher {
    position: relative;
    z-index: 10;
    margin-top: -42px;
    /*margin-bottom: 70px;*/
}
.sol-industry-switcher-inner {
    display: flex;
    align-items: center;
    /*gap: 14px;*/
    background: var(--white-color);
    /*border-radius: 18px;
    padding: 14px 16px;*/
    box-shadow: 0 24px 60px -22px rgba(54, 54, 54, 0.22);
}
.sol-industry-switcher.has-overflow .sol-switcher-arrow {
    display: flex;
}


@media (max-width: 991px) {
    .sol-industry-switcher {
        margin-top: -32px;
    }
    .sol-industry-switcher-inner {
        padding: 12px 14px;
        gap: 12px;
    }
}

@media (max-width: 575px) {
    .sol-industry-switcher {
        margin-top: -24px;
    }
    .sol-industry-switcher-inner {
        border-radius: 14px;
        padding: 10px 12px;
        gap: 10px;
    }
}
/* ===== .sol-switcher ===== */
/* 箭头默认隐藏，仅在轨道溢出（屏幕不够显示 6 个入口）时由 JS 添加 .has-overflow 显示 */
.sol-switcher-arrow {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border: 1px solid #e8eaf1;
    border-radius: 50%;
    background: var(--white-color);
    color: var(--title-color);
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .25s ease;
    font-size: 1.2rem;
}
.sol-switcher-arrow:hover {
    border-color: var(--purple);
    color: var(--purple);
    background: #f8f7ff;
}
.sol-switcher-track {
    flex: 1 1 auto;
    display: flex;
    align-items: stretch;
    /*gap: 14px;*/
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;        /* Firefox */
    -ms-overflow-style: none;     /* IE 10+ */
}
.sol-switcher-track::-webkit-scrollbar {
    display: none;                /* Chrome/Safari */
}
/* 大屏时 6 个入口平均填满容器；屏幕变窄触发 min-width 后溢出滚动 */
.sol-switcher-item {
    flex: 1 1 0;
    min-width: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 3rem 1.5rem;
    /*border-radius: 12px;*/
    background: var(--bg);
    color: var(--paragraph-color);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: all .3s ease;
    white-space: nowrap;
}
.sol-switcher-item:hover {
    background: #eef0f7;
    color: var(--title-color);
}
.sol-switcher-item.active {
    background: linear-gradient(135deg, var(--purple) 0%, var(--blue) 100%);
    color: var(--white-color);
    box-shadow: 0 12px 28px -12px rgba(90, 76, 250, 0.45);
}
.sol-switcher-icon {
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}
.sol-switcher-icon svg {
    width: 100%;
    height: 100%;
}
.sol-switcher-label {
    line-height: 1;
}


@media (max-width: 991px) {
    .sol-switcher-arrow {
        flex: 0 0 40px;
        width: 40px;
        height: 40px;
    }
    .sol-switcher-item {
        min-width: 168px;
        padding: 18px 26px;
        font-size: 1rem;
    }
    .sol-switcher-icon {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 575px) {
    .sol-switcher-arrow {
        flex: 0 0 36px;
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
    .sol-switcher-item {
        min-width: 156px;
        padding: 15px 20px;
        font-size: 0.95rem;
    }
    .sol-switcher-icon {
        width: 22px;
        height: 22px;
    }
}
/* ===== .adv-points ===== */
.adv-points {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.adv-points li {
    position: relative;
    padding-left: 32px;
    font-size: 1rem;
    color: #363636;
    line-height: 1.6;
}
.adv-points li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    top: 1px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--gradient);
    color: #fff;
    font-size: 11px;
    line-height: 20px;
    text-align: center;
}

/* ===== .sol-adadv ===== */
/* ============ 迅驰光电优势 · 大图模块 ============ */
.sol-adadv {
    position: relative;
    min-height: 700px;
    height: 100%;
    display: flex;
    justify-content: center;
    overflow: hidden;
}
.sol-adadv-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    transition: transform .9s ease;
    will-change: transform;
}
.sol-adadv:hover .sol-adadv-bg {
    transform: scale(1.06);
}
.sol-adadv-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(16,20,40,0.12) 0%, rgba(16,20,40,0.32) 55%, rgba(16,20,40,0.62) 100%);
    pointer-events: none;
}
.sol-adadv-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 3.5rem 2rem;
    text-align: center;
}
.sol-adadv-title {
    color: var(--white-color);
    font-size: 2.5rem;
    font-weight: 500;
    line-height: 1.35;
}
.sol-adadv-desc {
    color: rgba(255,255,255,0.92);
    font-size: 1rem;
    line-height: 1.6;
    max-width: 500px;
    margin: 0 auto;
}


@media (max-width: 991px) {
    .sol-adadv { min-height: 460px; }
    .sol-adadv-title { font-size: 1.4rem; }
}

@media (max-width: 575px) {
    .sol-adadv { min-height: 420px; }
    .sol-adadv-inner { padding: 2rem 1rem;  }
    .sol-adadv-title { font-size: 1.5rem; }
}
/* ===== .sol-products ===== */
.sol-products-section .mega-product-img {
    height: auto;
}

/* ===== .product-showcase ===== */
.product-showcase-section.sol-products-section {
    padding-bottom: 0;
}

/* ===== .sol-service ===== */
/* ============ 全周期一站式服务 · 图标容器优化 ============ */
.sol-service-flow .single-content .icon {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(90, 76, 250, .1), rgba(59, 144, 244, .1));
    margin-bottom: 3rem;
}
.sol-service-flow .single-content .icon svg {
    width: 32px;
    height: 32px;
    fill: none;
    stroke: url(#svcGradient);
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.sol-service-row { display: grid; grid-template-columns: 60px 1fr; gap: 22px; align-items: start; padding: 44px 0; border-top: 1px solid rgba(54,54,54,.12); }
.sol-service-row:last-child { border-bottom: 1px solid rgba(54,54,54,.12); }
.sol-service-ic { width: 60px; height: 60px; display: flex; align-items: center; justify-content: center; border-radius: 10px; background: linear-gradient(135deg, rgba(90,76,250,.10), rgba(59,144,244,.10)); }
.sol-service-ic svg { width: 32px; height: 32px; fill: none; stroke: url(#svcGradient); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sol-service-body h4 { font-size: 1.5rem; font-weight: 500; color: var(--title-color); margin-bottom: 10px; }
.sol-service-body p { font-size: 1rem; line-height: 1.7; color: var(--paragraph-color); margin: 0; }
@media (max-width: 767px) {
    .sol-service-flow .single-content .icon {
        width: 66px;
        height: 66px;
        margin-bottom: 20px;
    }
    .sol-service-flow .single-content .icon svg {
        width: 32px;
        height: 32px;
    }
}


@media (max-width: 575px) {
    .sol-service-row { grid-template-columns: 40px 1fr; padding: 32px 0; }
    .sol-service-ic { width: 40px; height: 40px; }
    .sol-service-ic svg { width: 22px; height: 22px; }
}
/* ===== .solutions-page ===== */
/* ============================================================
   solutions.html 六大服务范围 · 左固定右滚动（CSS sticky）
   左列 position: sticky 到达视口顶部后固定，右列独立滚动；
   右列滚完后整块随页面继续上滚进入下一模块。
   ============================================================ */
/* 本页作用域：覆盖 body 的 overflow-x:hidden，避免其成为滚动容器而破坏 sticky。
   clip 同样裁切横向溢出，但不建立滚动容器，position: sticky 因此可正常生效。 */
body.solutions-page { overflow-x: clip; }

/* ===== .sol-services ===== */
.sol-services-section { padding: 110px 0 120px; }
/* 关键：左列默认 stretch 到与右列等高的行高，sticky 才有“可停留的空间” */
.sol-services-aside { position: sticky; top: 120px; will-change: transform; }
.sol-services-list { list-style: none; margin: 0; padding: 0; }
@media (max-width: 991px) {
    .sol-services-aside { position: static; margin-bottom: 36px; }
}


@media (max-width: 575px) {
    .sol-services-section { padding: 72px 0 80px; }
}
/* ===== 全局响应式（跨组件整合） ===== */

@media (max-width: 991px) {
    .adv-expand__viewport {
        aspect-ratio: 4 / 3;
        min-height: 360px;
    }
    .adv-expand__media { border-radius: 0; }
    .adv-expand__content { padding: 32px 20px; gap: 16px; }
    .adv-expand__content h2 { font-size: 1.5rem; letter-spacing: 0.02em; }
    .adv-expand__content h2::after { width: 36px; height: 2px; margin: 12px auto 0; }
    .adv-expand-desc { font-size: 0.9375rem; max-width: 100%; }
    .home3-service-section .service-list .single-service .service-content h5 span {
        font-size: 1.25rem;
    }
}
@media (max-width: 575px) {
    .home3-service-section .service-list .single-service {
        padding: 32px 0;
    }
}