/* ==========================================================================
   云南人民电力电气有限公司 —— 全局样式
   主色：电力蓝 #0b4da2 ；点缀：人民红 #d0121b
   ========================================================================== */

/* ---------- 基础重置 ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --blue: #0b4da2;
    --blue-dark: #08376f;
    --red: #d0121b;
    --text: #333;
    --gray: #666;
    --light: #f5f6f8;
    --line: #e5e7eb;
    --container: 1200px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    color: var(--text);
    background: #fff;
    line-height: 1.6;
    font-size: 15px;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color .25s;
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

.container {
    width: 92%;
    max-width: var(--container);
    margin: 0 auto;
}

/* ---------- 通用区块 ---------- */
.section {
    padding: 70px 0;
}

.section--gray {
    background: var(--light);
}

.section-head {
    text-align: center;
    margin-bottom: 45px;
}

.section-head__cn {
    font-size: 30px;
    font-weight: 700;
    color: #222;
    position: relative;
    display: inline-block;
    padding-bottom: 14px;
}

.section-head__cn::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 46px;
    height: 3px;
    background: var(--red);
    transform: translateX(-50%);
}

.section-head__en {
    margin-top: 8px;
    color: #b7bcc4;
    font-size: 14px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.section-more {
    text-align: center;
    margin-top: 40px;
}

/* ---------- 按钮 ---------- */
.btn {
    display: inline-block;
    padding: 11px 34px;
    border: 1px solid var(--blue);
    color: var(--blue);
    border-radius: 30px;
    font-size: 14px;
    transition: all .3s;
}

.btn:hover {
    background: var(--blue);
    color: #fff;
}

.btn--light {
    border-color: rgba(255, 255, 255, .8);
    color: #fff;
}

.btn--light:hover {
    background: #fff;
    color: var(--blue);
}

/* ==========================================================================
   顶部导航
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 76px;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
    z-index: 1000;
}

.header__inner {
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 46px;
}

.nav__list {
    display: flex;
    gap: 6px;
}

.nav__item a {
    display: block;
    padding: 10px 16px;
    font-size: 16px;
    color: #333;
    position: relative;
}

.nav__item a::after {
    content: "";
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 4px;
    height: 2px;
    background: var(--red);
    transform: scaleX(0);
    transition: transform .25s;
}

.nav__item a:hover {
    color: var(--blue);
}

.nav__item a:hover::after {
    transform: scaleX(1);
}

.header__right {
    display: flex;
    align-items: center;
    gap: 18px;
}

.header__lang {
    font-size: 14px;
    color: var(--gray);
    padding: 5px 14px;
    border: 1px solid var(--line);
    border-radius: 20px;
    cursor: pointer;
}

.header__lang:hover {
    color: var(--blue);
    border-color: var(--blue);
}

/* 移动端汉堡按钮 */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 30px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    height: 3px;
    width: 100%;
    background: var(--blue);
    border-radius: 2px;
    transition: .3s;
}

/* ==========================================================================
   轮播 Banner（Swiper）
   ========================================================================== */
.banner {
    position: relative;
    height: 640px;
    margin-top: 76px;
    overflow: hidden;
}

.banner-swiper {
    width: 100%;
    height: 100%;
}

.banner__slide {
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.banner__caption {
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .3);
}

/* 文字进场动画：仅当前 slide 显示 */
.banner__sub,
.banner__title,
.banner__desc {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity .8s ease, transform .8s ease;
}

.banner-swiper .swiper-slide-active .banner__sub {
    opacity: .9;
    transform: none;
    transition-delay: .25s;
}

.banner-swiper .swiper-slide-active .banner__title {
    opacity: 1;
    transform: none;
    transition-delay: .45s;
}

.banner-swiper .swiper-slide-active .banner__desc {
    opacity: .95;
    transform: none;
    transition-delay: .65s;
}

.banner__sub {
    font-size: 18px;
    letter-spacing: 4px;
    margin-bottom: 14px;
}

.banner__title {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 18px;
}

.banner__desc {
    font-size: 20px;
}

/* Swiper 导航箭头（圆形按钮） */
.banner .swiper-button-prev,
.banner .swiper-button-next {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .25);
    color: #fff;
    transition: background .3s;
}

.banner .swiper-button-prev {
    left: 30px;
}

.banner .swiper-button-next {
    right: 30px;
}

.banner .swiper-button-prev:hover,
.banner .swiper-button-next:hover {
    background: rgba(255, 255, 255, .5);
}

.banner .swiper-button-prev::after,
.banner .swiper-button-next::after {
    font-size: 18px;
    font-weight: 700;
}

/* Swiper 分页圆点 */
.banner .swiper-pagination {
    bottom: 24px;
}

.banner .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, .6);
    opacity: 1;
    transition: .3s;
}

.banner .swiper-pagination-bullet-active {
    background: #fff;
    width: 30px;
    border-radius: 6px;
}

/* ==========================================================================
   关于我们
   ========================================================================== */
.about__main {
    display: flex;
    gap: 50px;
    align-items: center;
}

.about__media {
    flex: 0 0 46%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .1);
}

.about__media img {
    width: 100%;
}

.about__text h3 {
    font-size: 24px;
    color: var(--blue);
    margin-bottom: 18px;
}

.about__text p {
    color: var(--gray);
    margin-bottom: 16px;
    text-align: justify;
}

.about__cards {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 55px;
}

.about__card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 26px 14px;
    text-align: center;
    transition: all .3s;
    cursor: pointer;
}

.about__card:hover {
    background: var(--blue);
    border-color: var(--blue);
    transform: translateY(-6px);
    box-shadow: 0 14px 26px rgba(11, 77, 162, .25);
}

.about__card-link {
    display: block;
}

.about__card-cn {
    display: block;
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
}

.about__card-en {
    display: block;
    font-size: 18px;
    color: #aaa;
    letter-spacing: 1px;
}

.about__card:hover .about__card-cn,
.about__card:hover .about__card-en {
    color: #fff;
}

/* 关于我们 — 图片画廊（一行两张） */
.about-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 30px;
}

.about-gallery__item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
}

.about-gallery__item img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    transition: transform .5s;
}

.about-gallery__item:hover img {
    transform: scale(1.05);
}

/* ==========================================================================
   产品中心
   ========================================================================== */
.products__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.product-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .06);
    transition: all .3s;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 30px rgba(0, 0, 0, .14);
}

.product-card__img {
    background: #eef2f8;
    overflow: hidden;
    height: 220px;
}

.product-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s;
}

.product-card:hover .product-card__img img {
    transform: scale(1.08);
}

.product-card__name {
    text-align: center;
    font-size: 17px;
    font-weight: 600;
    padding: 16px 10px;
    color: #333;
    transition: .3s;
}

.product-card:hover .product-card__name {
    background: var(--blue);
    color: #fff;
}

/* ==========================================================================
   企业理念
   ========================================================================== */
.culture {
    padding: 80px 0;
    background-image: url("../images/index-1.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    color: #fff;
    text-align: center;
}

.culture__head h2 {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 10px;
}

.culture__head p {
    color: rgba(255, 255, 255, .7);
    letter-spacing: 2px;
    margin-bottom: 46px;
}

.culture__list {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.culture__item {
    width: 150px;
}

.culture__icon {
    width: 96px;
    height: 96px;
    margin: 0 auto 16px;
    border: 2px solid rgba(255, 255, 255, .4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    transition: all .3s;
}

.culture__item:hover .culture__icon {
    background: #fff;
    transform: translateY(-6px);
}

.culture__item h4 {
    font-size: 18px;
    font-weight: 500;
}

.culture__slogan {
    max-width: 820px;
    margin: 0 auto 30px;
    color: rgba(255, 255, 255, .85);
    line-height: 1.9;
}

/* ==========================================================================
   新闻资讯
   ========================================================================== */
.news__main {
    display: flex;
    gap: 40px;
}

.news__feature {
    flex: 0 0 42%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .08);
    display: block;
}

.news__feature-img {
    overflow: hidden;
}

.news__feature-img img {
    width: 100%;
    transition: transform .5s;
}

.news__feature:hover .news__feature-img img {
    transform: scale(1.06);
}

.news__feature-body {
    padding: 22px;
}

.news__date {
    color: var(--red);
    font-size: 14px;
}

.news__feature-body h3 {
    font-size: 20px;
    margin: 10px 0 12px;
    color: #222;
}

.news__feature-body p {
    color: var(--gray);
    font-size: 14px;
}

.news__list {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.news__item a {
    display: flex;
    gap: 20px;
    padding: 16px 0;
    border-bottom: 1px dashed var(--line);
    align-items: center;
}

.news__item-date {
    flex: 0 0 76px;
    text-align: center;
    background: var(--light);
    border-radius: 6px;
    padding: 10px 0;
    transition: .3s;
}

.news__item-date .day {
    display: block;
    font-size: 26px;
    font-weight: 700;
    color: #333;
    line-height: 1;
}

.news__item-date .ym {
    font-size: 12px;
    color: #999;
}

.news__item-text h4 {
    font-size: 17px;
    color: #333;
    margin-bottom: 6px;
    transition: .3s;
}

.news__item-text p {
    font-size: 13px;
    color: var(--gray);
}

.news__item a:hover .news__item-text h4 {
    color: var(--blue);
}

.news__item a:hover .news__item-date {
    background: var(--blue);
}

.news__item a:hover .news__item-date .day,
.news__item a:hover .news__item-date .ym {
    color: #fff;
}

/* ==========================================================================
   工程案例（Swiper coverflow：中间大两边小）
   ========================================================================== */
.cases-swiper {
    padding: 12px 0 64px;
}

.cases-swiper .swiper-slide {
    width: 460px;
    max-width: 80%;
    opacity: .45;
    /* 让 3D 缩放/位移跟随缓动曲线（时长由 Swiper 的 speed 控制） */
    transition-property: transform, opacity;
    transition-timing-function: cubic-bezier(.34, 1.28, .5, 1);
    will-change: transform;
}

.cases-swiper .swiper-slide-active,
.cases-swiper .swiper-slide-next,
.cases-swiper .swiper-slide-prev {
    opacity: 1;
}

.case-card {
    display: block;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .28);
}

.case-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    transition: transform .6s;
}

.cases-swiper .swiper-slide-active .case-card:hover img {
    transform: scale(1.06);
}

.case-card span {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 18px 22px;
    color: #fff;
    font-size: 18px;
    background: linear-gradient(transparent, rgba(0, 0, 0, .75));
}

/* 导航箭头 */
.cases-swiper .swiper-button-prev,
.cases-swiper .swiper-button-next {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #fff;
    color: var(--blue);
    box-shadow: 0 6px 18px rgba(0, 0, 0, .14);
    top: 44%;
    transition: all .3s;
}

.cases-swiper .swiper-button-prev {
    left: 7%;
}

.cases-swiper .swiper-button-next {
    right: 7%;
}

.cases-swiper .swiper-button-prev::after,
.cases-swiper .swiper-button-next::after {
    font-size: 16px;
    font-weight: 700;
}

.cases-swiper .swiper-button-prev:hover,
.cases-swiper .swiper-button-next:hover {
    background: var(--blue);
    color: #fff;
}

/* 分页圆点 */
.cases-swiper .swiper-pagination {
    bottom: 16px;
}

.cases-swiper .swiper-pagination-bullet {
    background: #c3ccd8;
    opacity: 1;
    transition: .3s;
}

.cases-swiper .swiper-pagination-bullet-active {
    background: var(--blue);
    width: 24px;
    border-radius: 5px;
}

/* 3D 投影层跟随卡片圆角 */
.cases-swiper .swiper-slide-shadow-left,
.cases-swiper .swiper-slide-shadow-right {
    border-radius: 12px;
}

/* ==========================================================================
   页脚
   ========================================================================== */
.footer {
    background: #1f2733;
    color: #b8bfca;
    font-size: 14px;
}

.footer__top {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    padding: 56px 0 40px;
}

.footer__col--contact {
    flex: 0 0 30%;
}

.footer__logo {
    height: 44px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.footer__tel-label {
    color: #8b93a0;
    margin-bottom: 4px;
}

.footer__tel {
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 14px;
}

.footer__col--contact p {
    margin-bottom: 8px;
    line-height: 1.7;
}

.footer__col h4 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 18px;
}

.footer__col ul li {
    margin-bottom: 12px;
}

.footer__col ul li a:hover {
    color: #fff;
    padding-left: 4px;
}

.footer__col--qr {
    text-align: center;
    flex: 0 0 130px;
}

.footer__col--qr img {
    width: 120px;
    height: 120px;
    background: #fff;
    padding: 8px;
    border-radius: 6px;
    margin-bottom: 10px;
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding: 18px 0;
    text-align: center;
    font-size: 13px;
    color: #8b93a0;
}

/* ==========================================================================
   返回顶部
   ========================================================================== */
.back-to-top {
    position: fixed;
    right: 26px;
    bottom: 26px;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all .3s;
    z-index: 900;
    box-shadow: 0 6px 16px rgba(11, 77, 162, .4);
}

.back-to-top.is-show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--blue-dark);
}

/* ==========================================================================
   内页 —— 关于我们 / 公司简介
   ========================================================================== */
.subpage-banner {
    margin-top: 76px;
    height: 300px;
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.subpage-banner::before {
    content: "";
    position: absolute;
    right: -60px;
    top: -80px;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .06);
}

.subpage-banner::after {
    content: "";
    position: absolute;
    left: -70px;
    bottom: -110px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .05);
}

.subpage-banner__inner {
    position: relative;
    z-index: 1;
}

.subpage-banner__title {
    font-size: 42px;
    font-weight: 800;
    letter-spacing: 3px;
}

.subpage-banner__en {
    margin-top: 8px;
    letter-spacing: 5px;
    opacity: .75;
    text-transform: uppercase;
}

/* 面包屑 */
.breadcrumb {
    background: var(--light);
    border-bottom: 1px solid var(--line);
}

.breadcrumb .container {
    display: flex;
    align-items: center;
    height: 54px;
    font-size: 14px;
    color: var(--gray);
}

.breadcrumb a:hover {
    color: var(--blue);
}

.breadcrumb .sep {
    margin: 0 10px;
    color: #c3c8d0;
}

.breadcrumb .current {
    color: var(--blue);
}

/* 内页主体 */
.subpage {
    padding: 50px 0 70px;
}

.subpage__inner {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

/* 左侧栏 */
.sidebar {
    flex: 0 0 250px;
}

.sidebar__head {
    background: var(--blue);
    color: #fff;
    padding: 24px;
    border-radius: 8px 8px 0 0;
}

.sidebar__head h3 {
    font-size: 22px;
    margin-bottom: 4px;
}

.sidebar__head p {
    font-size: 12px;
    opacity: .7;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.sidebar__menu {
    border: 1px solid var(--line);
    border-top: none;
    border-radius: 0 0 8px 8px;
    overflow: hidden;
}

.sidebar__menu li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 24px;
    border-bottom: 1px solid var(--line);
    color: #444;
    transition: .3s;
}

.sidebar__menu li:last-child a {
    border-bottom: none;
}

.sidebar__menu li a::after {
    content: "›";
    color: #ccc;
    font-size: 18px;
}

.sidebar__menu li a:hover,
.sidebar__menu li.is-active a {
    background: var(--light);
    color: var(--blue);
    padding-left: 30px;
    border-left: 3px solid var(--red);
}

.sidebar__contact {
    margin-top: 24px;
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
    color: #fff;
    border-radius: 8px;
    padding: 24px;
}

.sidebar__contact h4 {
    font-size: 16px;
    margin-bottom: 12px;
}

.sidebar__contact p {
    font-size: 13px;
    opacity: .85;
    margin-bottom: 8px;
    line-height: 1.6;
}

.sidebar__contact .tel {
    font-size: 22px;
    font-weight: 700;
    opacity: 1;
    margin: 6px 0 12px;
}

/* 右侧内容 */
.content {
    flex: 1;
    min-width: 0;
}

.content__head {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--line);
    margin-bottom: 30px;
}

.content__head h2 {
    font-size: 26px;
    color: #222;
    position: relative;
    padding-left: 14px;
}

.content__head h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 4px;
    background: var(--red);
    border-radius: 2px;
}

.content__head span {
    color: #bbb;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 13px;
}

.content__figure {
    margin-bottom: 28px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 26px rgba(0, 0, 0, .1);
}

.content__figure img {
    width: 100%;
}

.content p {
    color: #555;
    margin-bottom: 18px;
    text-align: justify;
    line-height: 2;
}

.content__stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 36px 0 10px;
}

.stat {
    text-align: center;
    padding: 26px 10px;
    background: var(--light);
    border-radius: 8px;
    transition: .3s;
}

.stat:hover {
    background: var(--blue);
    transform: translateY(-5px);
}

.stat b {
    display: block;
    font-size: 34px;
    color: var(--blue);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 8px;
}

.stat b i {
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
}

.stat span {
    color: var(--gray);
    font-size: 14px;
}

.stat:hover b,
.stat:hover span {
    color: #fff;
}

/* ==========================================================================
   产品列表
   ========================================================================== */
.product-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.p-card {
    display: block;
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    transition: all .3s;
}

.p-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 30px rgba(0, 0, 0, .12);
    border-color: transparent;
}

.p-card__img {
    background: #eef2f8;
    overflow: hidden;
    height: 220px;
}

.p-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s;
}

.p-card:hover .p-card__img img {
    transform: scale(1.06);
}

.p-card__body {
    padding: 18px 20px 22px;
}

.p-card__title {
    font-size: 17px;
    color: #222;
    margin-bottom: 10px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.p-card:hover .p-card__title {
    color: var(--blue);
}

.p-card__desc {
    font-size: 13px;
    color: var(--gray);
    line-height: 1.7;
    height: 44px;
    overflow: hidden;
    margin-bottom: 14px;
}

.p-card__more {
    font-size: 13px;
    color: var(--blue);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.p-card__more::after {
    content: "→";
    transition: transform .3s;
}

.p-card:hover .p-card__more::after {
    transform: translateX(4px);
}

/* 相关产品 */
.related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 44px;
    flex-wrap: wrap;
}

.pagination a {
    min-width: 40px;
    height: 40px;
    padding: 0 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 6px;
    color: #555;
    font-size: 14px;
    transition: .3s;
}

.pagination a:hover,
.pagination a.is-active {
    background: var(--blue);
    border-color: var(--blue);
    color: #fff;
}

.pagination a.is-disabled {
    color: #ccc;
    pointer-events: none;
}

/* ==========================================================================
   产品详情
   ========================================================================== */
.product-top {
    display: flex;
    gap: 40px;
    margin-bottom: 46px;
}

.product-gallery {
    flex: 0 0 44%;
}

.product-gallery__main {
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
    background: #eef2f8;
    margin-bottom: 14px;
}

.product-gallery__main img {
    width: 100%;
}

.product-gallery__thumbs {
    display: flex;
    gap: 12px;
}

.product-gallery__thumbs img {
    width: 76px;
    height: 76px;
    object-fit: cover;
    border: 2px solid var(--line);
    border-radius: 6px;
    cursor: pointer;
    background: #eef2f8;
    transition: .3s;
}

.product-gallery__thumbs img.is-active,
.product-gallery__thumbs img:hover {
    border-color: var(--blue);
}

.product-info {
    flex: 1;
    min-width: 0;
}

.product-info__title {
    font-size: 26px;
    color: #222;
    margin-bottom: 16px;
    line-height: 1.4;
}

.product-info__desc {
    color: var(--gray);
    line-height: 1.9;
    padding-bottom: 20px;
    border-bottom: 1px dashed var(--line);
    margin-bottom: 20px;
    text-align: justify;
}

.product-meta {
    margin-bottom: 24px;
}

.product-meta__row {
    display: flex;
    align-items: flex-start;
    margin-bottom: 14px;
    font-size: 14px;
}

.product-meta__label {
    flex: 0 0 84px;
    color: #999;
}

.product-meta__value {
    color: #444;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.product-tag {
    background: var(--light);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 3px 14px;
    font-size: 13px;
    color: #555;
    transition: .3s;
}

.product-tag:hover {
    background: var(--blue);
    border-color: var(--blue);
    color: #fff;
}

.product-tel {
    background: linear-gradient(135deg, var(--blue), var(--blue-dark));
    color: #fff;
    border-radius: 10px;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}
.product-tel p{
    color: #fff;
}

.product-tel__icon {
    font-size: 30px;
}

.product-tel__label {
    font-size: 18px;
}

.product-tel__num {
    font-size: 26px;
    font-weight: 800;
}

.product-actions {
    display: flex;
    gap: 14px;
}

.btn--solid {
    background: var(--blue);
    color: #fff;
}

.btn--solid:hover {
    background: var(--blue-dark);
    color: #fff;
}

/* 选项卡 */
.product-tabs__nav {
    display: flex;
    gap: 4px;
    border-bottom: 2px solid var(--line);
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.product-tabs__btn {
    padding: 14px 34px;
    font-size: 16px;
    color: #555;
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    font-family: inherit;
}

.product-tabs__btn.is-active {
    color: var(--blue);
    font-weight: 600;
}

.product-tabs__btn.is-active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 3px;
    background: var(--blue);
}

.product-tabs__panel {
    display: none;
    animation: tabFade .4s ease;
}

.product-tabs__panel.is-active {
    display: block;
}

@keyframes tabFade {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.product-desc h3 {
    font-size: 18px;
    color: var(--blue);
    margin: 8px 0 14px;
}

.product-desc p {
    color: #555;
    line-height: 2;
    margin-bottom: 18px;
    text-align: justify;
}

.product-desc img {
    width: 100%;
    border-radius: 8px;
    margin: 10px 0 24px;
}

/* 参数表 */
.spec-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.spec-table th,
.spec-table td {
    border: 1px solid var(--line);
    padding: 14px 18px;
    text-align: left;
}

.spec-table th {
    background: var(--light);
    color: #333;
    width: 180px;
    font-weight: 600;
}

.spec-table td {
    color: #555;
}

.spec-table tr:hover td {
    background: #f9fbfd;
}

/* ==========================================================================
   新闻列表
   ========================================================================== */
.news-list__item {
    display: flex;
    gap: 26px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 10px;
    margin-bottom: 22px;
    background: #fff;
    transition: all .3s;
}

.news-list__item:last-child {
    margin-bottom: 0;
}

.news-list__item:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, .1);
    border-color: transparent;
}

.news-list__img {
    flex: 0 0 230px;
    height: 150px;
    border-radius: 8px;
    overflow: hidden;
    background: #eef2f8;
}

.news-list__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s;
}

.news-list__item:hover .news-list__img img {
    transform: scale(1.06);
}

.news-list__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.news-list__title {
    font-size: 19px;
    font-weight: 600;
    color: #222;
    margin-bottom: 12px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color .3s;
}

.news-list__item:hover .news-list__title {
    color: var(--blue);
}

.news-list__summary {
    color: var(--gray);
    font-size: 14px;
    line-height: 1.9;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: justify;
}

.news-list__foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px dashed var(--line);
}

.news-list__date {
    color: #999;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.news-list__more {
    color: var(--blue);
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.news-list__more::after {
    content: "→";
    transition: transform .3s;
}

.news-list__item:hover .news-list__more::after {
    transform: translateX(4px);
}

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1100px) {

    .about__cards,
    .products__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .product-list,
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .nav {
        position: fixed;
        top: 76px;
        right: 0;
        width: 240px;
        height: calc(100vh - 76px);
        background: #fff;
        box-shadow: -4px 0 16px rgba(0, 0, 0, .1);
        transform: translateX(100%);
        transition: transform .3s;
    }

    .nav.is-open {
        transform: translateX(0);
    }

    .nav__list {
        flex-direction: column;
        gap: 0;
        padding: 10px 0;
    }

    .nav__item a {
        padding: 14px 24px;
        border-bottom: 1px solid var(--line);
    }

    .nav-toggle {
        display: flex;
    }

    .banner {
        height: 440px;
    }

    .banner__title {
        font-size: 34px;
    }

    .banner__desc {
        font-size: 16px;
    }

    .about__main {
        flex-direction: column;
    }

    .about__media {
        flex: none;
        width: 100%;
    }

    .news__main {
        flex-direction: column;
    }

    .cases-swiper .swiper-slide {
        width: 460px;
    }

    .cases-swiper .case-card img {
        height: 220px;
    }

    .cases-swiper .swiper-button-prev {
        left: 2%;
    }

    .cases-swiper .swiper-button-next {
        right: 2%;
    }

    .product-top {
        flex-direction: column;
    }

    .product-gallery {
        flex: none;
        width: 100%;
        max-width: 460px;
    }

    .news-list__item {
        flex-direction: column;
        gap: 16px;
    }

    .news-list__img {
        flex: none;
        width: 100%;
        height: 200px;
    }

    .footer__top {
        flex-wrap: wrap;
    }

    .footer__col--contact {
        flex: 0 0 100%;
    }

    .subpage-banner {
        height: 220px;
    }

    .subpage-banner__title {
        font-size: 30px;
    }

    .subpage__inner {
        flex-direction: column;
    }

    .sidebar {
        flex: none;
        width: 100%;
    }

    .sidebar__menu {
        display: flex;
        flex-wrap: wrap;
    }

    .sidebar__menu li {
        flex: 1 1 50%;
    }

    .sidebar__menu li a {
        border-right: 1px solid var(--line);
    }

    .sidebar__contact {
        display: none;
    }
}

@media (max-width: 600px) {

    .about__cards,
    .products__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-head__cn {
        font-size: 24px;
    }

    .culture__list {
        gap: 20px;
    }

    .culture__item {
        width: 120px;
    }

    .footer__col:not(.footer__col--contact):not(.footer__col--qr) {
        flex: 0 0 45%;
    }

    .content__stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .cases-swiper .swiper-slide {
        width: 300px;
        max-width: 86%;
    }

    .cases-swiper .swiper-button-prev,
    .cases-swiper .swiper-button-next {
        display: none;
    }

    .case-card span {
        font-size: 16px;
        padding: 14px 18px;
    }

    .about-gallery,
    .product-list,
    .related-grid {
        grid-template-columns: 1fr;
    }

    .product-info__title {
        font-size: 22px;
    }

    .product-tabs__btn {
        padding: 12px 20px;
        font-size: 15px;
    }

    .spec-table th {
        width: 120px;
    }
}

/* ==========================================================================
   模板增强（配合 PbootCMS 模板）：导航选中态 / 富文本详情 / 工程案例灯箱
   ========================================================================== */

/* 顶部导航选中态 */
.nav__item.active a {
    color: var(--blue);
}

.nav__item.active a::after {
    transform: scaleX(1);
}

/* 富文本正文（后台编辑器输出的内容） */
.content-detail {
    color: #555;
    line-height: 2;
    font-size: 15px;
}

.content-detail p {
    margin-bottom: 18px;
    text-align: justify;
}

.content-detail img {
    max-width: 100%;
    height: auto;
    margin: 14px auto;
    border-radius: 6px;
}

.content-detail h1,
.content-detail h2,
.content-detail h3,
.content-detail h4 {
    color: #222;
    margin: 22px 0 12px;
    line-height: 1.5;
}

.content-detail table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
}

.content-detail table td,
.content-detail table th {
    border: 1px solid var(--line);
    padding: 10px 14px;
}

/* 新闻/文章 详情 */
.article__title {
    font-size: 26px;
    color: #222;
    text-align: center;
    line-height: 1.5;
    margin-bottom: 16px;
}

.article__meta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
    color: #999;
    font-size: 13px;
    padding-bottom: 18px;
    margin-bottom: 26px;
    border-bottom: 1px solid var(--line);
}

.article__body {
    min-height: 180px;
}

.article__nav {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px dashed var(--line);
    color: var(--gray);
    font-size: 14px;
    line-height: 2;
}

.article__nav a:hover {
    color: var(--blue);
}

/* 工程案例 · 点击放大（灯箱） */
.case-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.case-item {
    cursor: zoom-in;
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    transition: all .3s;
    margin: 0;
}

.case-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 30px rgba(0, 0, 0, .12);
    border-color: transparent;
}

.case-item__img {
    background: #eef2f8;
    overflow: hidden;
    position: relative;
}

.case-item__img img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    transition: transform .5s;
}

.case-item:hover .case-item__img img {
    transform: scale(1.06);
}

.case-item__img::after {
    content: "\1F50D";
    position: absolute;
    right: 12px;
    bottom: 12px;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(11, 77, 162, .85);
    color: #fff;
    border-radius: 50%;
    opacity: 0;
    transform: scale(.6);
    transition: .3s;
}

.case-item:hover .case-item__img::after {
    opacity: 1;
    transform: scale(1);
}

.case-item__cap {
    text-align: center;
    padding: 14px 16px;
    font-size: 15px;
    color: #333;
}

.case-item:hover .case-item__cap {
    color: var(--blue);
}

/* 灯箱遮罩 */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .85);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: .3s;
    padding: 30px;
}

.lightbox.is-open {
    opacity: 1;
    visibility: visible;
}

.lightbox img {
    max-width: 90%;
    max-height: 82%;
    border-radius: 6px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
    transform: scale(.9);
    transition: .3s;
}

.lightbox.is-open img {
    transform: scale(1);
}

.lightbox__cap {
    color: #fff;
    margin-top: 18px;
    font-size: 16px;
    letter-spacing: 1px;
}

.lightbox__close {
    position: absolute;
    top: 24px;
    right: 30px;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, .15);
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    transition: .3s;
}

.lightbox__close:hover {
    background: var(--red);
}

@media (max-width: 768px) {
    .case-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .case-item__img img {
        height: 150px;
    }
}
