/* ========================================
 * 企业官网 - 主样式文件
 * 项目: FastAdmin + ThinkPHP 5
 * 配色: 科技蓝 #1565C0 + 白色
 * ======================================== */

/* --- CSS变量 --- */
:root {
    /* 主色调 */
    --primary:        #1565C0;
    --primary-dark:   #0D47A1;
    --primary-light:  #42A5F5;
    --primary-bg:     #E3F2FD;

    /* 辅助色 */
    --accent:         #FF6F00;
    --accent-dark:    #E65100;
    --success:        #2E7D32;
    --warning:        #F9A825;

    /* 中性色 */
    --text-primary:   #212121;
    --text-secondary: #616161;
    --text-light:     #9E9E9E;
    --border-color:   #E0E0E0;
    --bg-white:       #FFFFFF;
    --bg-light:       #F5F7FA;
    --bg-dark:        #1E293B;
    --footer-text:    #94A3B8;

    /* 间距 */
    --space-xs:  8px;
    --space-sm:  16px;
    --space-md:  24px;
    --space-lg:  48px;
    --space-xl:  80px;
    --space-xxl: 100px;
}

/* --- 基础重置 --- */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
                 "PingFang SC", "Hiragino Sans GB",
                 "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-primary);
    background: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover, a:focus {
    color: var(--primary-dark);
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* --- 字体层级 --- */
h1, .h1 { font-size: 36px; font-weight: 700; line-height: 1.3; color: var(--text-primary); }
h2, .h2 { font-size: 28px; font-weight: 700; line-height: 1.4; color: var(--text-primary); }
h3, .h3 { font-size: 20px; font-weight: 600; line-height: 1.5; color: var(--text-primary); }
h4, .h4 { font-size: 16px; font-weight: 600; line-height: 1.5; color: var(--text-primary); }
h5, .h5 { font-size: 14px; font-weight: 600; line-height: 1.6; color: var(--text-primary); }

/* --- 区块通用 --- */
.section {
    padding: var(--space-xl) 0;
}
.section--light {
    background: var(--bg-light);
}
.section--white {
    background: var(--bg-white);
}

/* 区块标题 - 居中式 */
.section-title {
    text-align: center;
    margin-bottom: var(--space-lg);
}
.section-title h2 {
    margin-bottom: 12px;
}
.section-title p {
    font-size: 14px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}
.section-title .title-line {
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-light), var(--primary));
    margin: 16px auto 0;
    border-radius: 2px;
}

/* ========================================
 * 导航栏 - 固定白底，不随滚动变化
 * ======================================== */
.ent-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 64px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    -webkit-box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.ent-nav__inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.ent-nav__logo {
    display: flex;
    align-items: center;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    transition: color 0.3s ease;
}
.ent-nav__logo img {
    height: 40px;
    margin-right: 10px;
}

.ent-nav__menu {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.ent-nav__item {
    margin-left: 4px;
}
.ent-nav__link {
    display: block;
    padding: 8px 16px;
    font-size: 15px;
    color: var(--text-primary);
    position: relative;
    transition: color 0.3s ease;
    white-space: nowrap;
}
.ent-nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
    transform: translateX(-50%);
}
.ent-nav__link:hover,
.ent-nav__link.active {
    color: var(--primary);
}
.ent-nav__link:hover::after,
.ent-nav__link.active::after {
    width: 60%;
}

/* 导航右侧电话 */
.ent-nav__phone {
    font-size: 14px;
    color: var(--primary);
    white-space: nowrap;
}
.ent-nav__phone i {
    margin-right: 4px;
}

/* 下拉箭头 */
.ent-nav__arrow {
    font-size: 12px;
    margin-left: 4px;
    transition: transform 0.3s ease;
}

/* --- 下拉菜单系统 --- */
.ent-nav__item--has-dropdown {
    position: relative;
}

/* 通用下拉菜单容器 */
.ent-nav__dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    background: var(--bg-white);
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    -webkit-box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    padding: 12px 0;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(10px);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
    border-top: 3px solid var(--primary);
}

/* hover时显示下拉菜单 */
.ent-nav__item--has-dropdown:hover > .ent-nav__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* hover时箭头旋转 */
.ent-nav__item--has-dropdown:hover > .ent-nav__link .ent-nav__arrow {
    transform: rotate(180deg);
}

/* 通用下拉菜单项 */
.ent-nav__dropdown-item {
    display: block;
    padding: 10px 24px;
    font-size: 14px;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    white-space: nowrap;
    position: relative;
}
.ent-nav__dropdown-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.ent-nav__dropdown-item:hover {
    color: var(--primary);
    background: var(--primary-bg);
    padding-left: 30px;
}
.ent-nav__dropdown-item:hover::before {
    opacity: 1;
}

/* --- 产品中心 Mega Menu --- */
.ent-nav__mega {
    width: 720px;
    left: 50%;
    display: flex;
    padding: 20px 0;
    border-top: 3px solid var(--primary);
}

/* 左侧分类列表 */
.ent-nav__mega-left {
    flex: 0 0 180px;
    border-right: 1px solid var(--border-color);
    padding-right: 8px;
}
.ent-nav__mega-cate {
    display: block;
    padding: 10px 20px;
    font-size: 14px;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    border-radius: 4px;
    margin: 0 8px 0 12px;
}
.ent-nav__mega-cate:hover {
    color: var(--primary);
    background: var(--primary-bg);
    padding-left: 26px;
}

/* 右侧产品图标网格 */
.ent-nav__mega-right {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 4px 16px 4px 20px;
}
.ent-nav__mega-product {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
}
.ent-nav__mega-product:hover {
    background: var(--primary-bg);
}
.ent-nav__mega-product i {
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 8px;
    transition: transform 0.3s ease;
}
.ent-nav__mega-product:hover i {
    transform: scale(1.15);
}
.ent-nav__mega-product span {
    font-size: 12px;
    color: var(--text-secondary);
    text-align: center;
}
.ent-nav__mega-product:hover span {
    color: var(--primary);
}

/* 汉堡菜单按钮 - 桌面端隐藏 */
.ent-hamburger {
    display: none;
    position: relative;
    float: right;
    padding: 9px 10px;
    margin-top: 8px;
    margin-right: 15px;
    margin-bottom: 8px;
    background-color: transparent;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
    cursor: pointer;
}
.ent-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 1px;
    background: var(--text-primary);
    transition: background 0.3s ease;
}
.ent-hamburger span + span {
    margin-top: 4px;
}

/* 移动端侧滑遮罩 */
.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
}

/* ========================================
 * Banner轮播区
 * ======================================== */
.ent-banner {
    position: relative;
    width: 100%;
    min-height: 500px;
    overflow: hidden;
    margin-top: 64px; /* 导航栏高度 */
}
.ent-banner .swiper-slide {
    position: relative;
    height: 500px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.ent-banner .swiper-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(13, 71, 161, 0.6) 0%, rgba(21, 101, 192, 0.3) 100%);
}
.ent-banner__content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 600px;
    padding-top: 140px;
}
.ent-banner__title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 16px;
}
.ent-banner__subtitle {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 32px;
    opacity: 0.9;
}
.ent-banner__btn {
    display: inline-block;
    padding: 12px 36px;
    background: var(--accent);
    color: #fff;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
}
.ent-banner__btn:hover {
    background: var(--accent-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 111, 0, 0.35);
}

/* Swiper分页 */
.ent-banner .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    transition: all 0.3s ease;
}
.ent-banner .swiper-pagination-bullet-active {
    background: #fff;
    width: 30px;
    border-radius: 6px;
}

/* Banner底部分类入口 */
.ent-banner-cates {
    position: relative;
    z-index: 10;
    margin-top: -40px;
    padding: 0 20px;
}
.ent-banner-cates__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.ent-banner-cate {
    background: var(--bg-white);
    border-radius: 8px;
    padding: 24px 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    -webkit-box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}
.ent-banner-cate:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    -webkit-box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}
.ent-banner-cate__icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-bg);
    border-radius: 12px;
    color: var(--primary);
    font-size: 24px;
}
.ent-banner-cate:hover .ent-banner-cate__icon {
    background: var(--primary);
    color: #fff;
}
.ent-banner-cate__name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

/* ========================================
 * 产品中心区块
 * ======================================== */
/* 分类图标网格 */
.ent-products-cates {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 20px;
    margin-bottom: 48px;
}
.ent-products-cate {
    text-align: center;
    padding: 20px 10px;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}
.ent-products-cate:hover {
    background: var(--primary-bg);
}
.ent-products-cate__icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--primary-bg);
    color: var(--primary);
    font-size: 24px;
    transition: all 0.3s ease;
}
.ent-products-cate:hover .ent-products-cate__icon {
    background: var(--primary);
    color: #fff;
    transform: scale(1.1);
}
.ent-products-cate__name {
    font-size: 13px;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}
.ent-products-cate:hover .ent-products-cate__name {
    color: var(--primary);
}

/* 产品卡片 */
.ent-product-card {
    background: var(--bg-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    -webkit-box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}
.ent-product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(21, 101, 192, 0.15);
    -webkit-box-shadow: 0 12px 40px rgba(21, 101, 192, 0.15);
}
.ent-product-card__img {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}
.ent-product-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.ent-product-card:hover .ent-product-card__img img {
    transform: scale(1.1) translateY(-6px);
}
.ent-product-card__hot {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--accent);
    color: #fff;
    padding: 2px 10px;
    border-radius: 3px;
    font-size: 12px;
}
.ent-product-card__info {
    padding: 16px;
    text-align: center;
}
.ent-product-card__name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 0.3s ease;
}
.ent-product-card:hover .ent-product-card__name {
    color: var(--primary);
}
.ent-product-card__subtitle {
    font-size: 12px;
    color: var(--text-light);
}

/* ========================================
 * 关于我们区块
 * ======================================== */
.ent-about-home {
    display: flex;
    align-items: center;
    gap: 48px;
}
.ent-about-home__img {
    flex: 0 0 480px;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}
.ent-about-home__img img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 8px;
}
.ent-about-home__img::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--primary);
    border-radius: 8px;
    z-index: -1;
}
.ent-about-home__text h3 {
    margin-bottom: 16px;
}
.ent-about-home__text p {
    color: var(--text-secondary);
    margin-bottom: 12px;
    line-height: 1.8;
}
.ent-about-home__btn {
    display: inline-block;
    margin-top: 16px;
    padding: 10px 28px;
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: 25px;
    font-size: 14px;
    transition: all 0.3s ease;
}
.ent-about-home__btn:hover {
    background: var(--primary);
    color: #fff;
}

/* ========================================
 * 解决方案区块
 * ======================================== */
.ent-solution-card {
    background: var(--bg-white);
    border-radius: 8px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    -webkit-box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}
.ent-solution-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(21, 101, 192, 0.15);
    -webkit-box-shadow: 0 12px 40px rgba(21, 101, 192, 0.15);
}
.ent-solution-card__icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-bg);
    border-radius: 16px;
    color: var(--primary);
    font-size: 28px;
    transition: all 0.3s ease;
}
.ent-solution-card:hover .ent-solution-card__icon {
    background: var(--primary);
    color: #fff;
}
.ent-solution-card__title {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
    transition: color 0.3s ease;
}
.ent-solution-card:hover .ent-solution-card__title {
    color: var(--primary);
}
.ent-solution-card__desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ========================================
 * 新闻资讯区块
 * ======================================== */
.ent-news-tab {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 32px;
}
.ent-news-tab__item {
    font-size: 16px;
    color: var(--text-secondary);
    cursor: pointer;
    padding-bottom: 8px;
    position: relative;
    transition: color 0.3s ease;
}
.ent-news-tab__item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}
.ent-news-tab__item:hover,
.ent-news-tab__item.active {
    color: var(--primary);
}
.ent-news-tab__item:hover::after,
.ent-news-tab__item.active::after {
    width: 100%;
}

/* 新闻头条 */
.ent-news-featured {
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    height: 100%;
    min-height: 280px;
}
.ent-news-featured img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 280px;
}
.ent-news-featured__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: #fff;
}
.ent-news-featured__title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}
.ent-news-featured__date {
    font-size: 12px;
    opacity: 0.8;
}

/* 新闻列表项 */
.ent-news-item {
    display: flex;
    align-items: flex-start;
    padding: 14px 0;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}
.ent-news-item:last-child {
    border-bottom: none;
}
.ent-news-item:hover {
    padding-left: 8px;
}
.ent-news-item:hover .ent-news-item__title {
    color: var(--primary);
}
.ent-news-item__date {
    flex: 0 0 80px;
    font-size: 13px;
    color: var(--text-light);
    padding-top: 2px;
}
.ent-news-item__title {
    font-size: 14px;
    color: var(--text-primary);
    transition: color 0.3s ease;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ========================================
 * 客户案例区块
 * ======================================== */
.ent-case-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}
.ent-case-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    filter: grayscale(100%);
    transition: all 0.5s ease;
}
.ent-case-card:hover img {
    filter: grayscale(0);
    transform: scale(1.05);
}
.ent-case-card__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
    color: #fff;
}
.ent-case-card__title {
    font-size: 15px;
    font-weight: 600;
}

/* ========================================
 * 页脚 Footer
 * ======================================== */
.ent-footer {
    background: var(--bg-dark);
    color: var(--footer-text);
    padding: 60px 0 0;
}
.ent-footer__main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}
.ent-footer__title {
    font-size: 16px;
    font-weight: 600;
    color: #E2E8F0;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.ent-footer__about p {
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 16px;
}
.ent-footer__contact-item {
    font-size: 13px;
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}
.ent-footer__contact-item i {
    margin-top: 3px;
    color: var(--primary-light);
}
.ent-footer__link-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.ent-footer__link-item {
    margin-bottom: 10px;
}
.ent-footer__link-item a {
    font-size: 13px;
    color: var(--footer-text);
    transition: color 0.3s ease;
}
.ent-footer__link-item a:hover {
    color: #fff;
}
.ent-footer__qr {
    text-align: center;
}
.ent-footer__qr img {
    width: 100px;
    height: 100px;
    border-radius: 4px;
    background: #fff;
    padding: 4px;
}
.ent-footer__qr p {
    font-size: 12px;
    margin-top: 8px;
}

/* 页脚底部 */
.ent-footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 16px 0;
    text-align: center;
    font-size: 12px;
    color: var(--text-light);
}
.ent-footer__bottom a {
    color: var(--footer-text);
}
.ent-footer__bottom a:hover {
    color: #fff;
}

/* ========================================
 * 通用按钮
 * ======================================== */
.btn-primary-ent {
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 10px 28px;
    font-size: 14px;
    transition: all 0.3s ease;
}
.btn-primary-ent:hover {
    background: var(--primary-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(21, 101, 192, 0.3);
}
.btn-outline-ent {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: 25px;
    padding: 8px 26px;
    font-size: 14px;
    transition: all 0.3s ease;
}
.btn-outline-ent:hover {
    background: var(--primary);
    color: #fff;
}
.btn-accent-ent {
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 25px;
    padding: 10px 32px;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
}
.btn-accent-ent:hover {
    background: var(--accent-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 111, 0, 0.35);
}

/* ========================================
 * 面包屑
 * ======================================== */
.ent-breadcrumb {
    padding: 16px 0;
    background: var(--bg-light);
    margin-top: 64px;
    font-size: 13px;
}
.ent-breadcrumb a {
    color: var(--text-secondary);
}
.ent-breadcrumb a:hover {
    color: var(--primary);
}
.ent-breadcrumb .separator {
    margin: 0 8px;
    color: var(--text-light);
}
.ent-breadcrumb .current {
    color: var(--primary);
}

/* ========================================
 * 页面标题横幅 (内页)
 * ======================================== */
.ent-page-banner {
    margin-top: 64px;
    padding: 60px 0;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: #fff;
    text-align: center;
}
.ent-page-banner h1 {
    color: #fff;
    font-size: 32px;
    margin-bottom: 12px;
}
.ent-page-banner p {
    font-size: 15px;
    opacity: 0.8;
}

/* ========================================
 * 侧边栏 (子页面通用)
 * ======================================== */
.ent-sidebar {
    margin-bottom: 24px;
}
.ent-sidebar__title {
    font-size: 18px;
    font-weight: 700;
    color: var(--bg-white);
    background: var(--primary);
    padding: 14px 20px;
    border-radius: 4px 4px 0 0;
}
.ent-sidebar__list {
    list-style: none;
    padding: 0;
    margin: 0;
    border: 1px solid var(--border-color);
    border-top: none;
    border-radius: 0 0 4px 4px;
}
.ent-sidebar__item a {
    display: block;
    padding: 12px 20px;
    font-size: 14px;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}
.ent-sidebar__item:last-child a {
    border-bottom: none;
}
.ent-sidebar__item a:hover,
.ent-sidebar__item a.active {
    color: var(--primary);
    background: var(--primary-bg);
    padding-left: 26px;
}

/* ========================================
 * 分页
 * ======================================== */
.ent-pagination {
    text-align: center;
    padding: 32px 0;
}
.ent-pagination a,
.ent-pagination span {
    display: inline-block;
    min-width: 36px;
    height: 36px;
    line-height: 36px;
    padding: 0 10px;
    margin: 0 4px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}
.ent-pagination a:hover {
    color: var(--primary);
    border-color: var(--primary);
}
.ent-pagination .active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* ========================================
 * 联系表单
 * ======================================== */
.ent-contact-form .form-group {
    margin-bottom: 20px;
}
.ent-contact-form .form-control {
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 10px 14px;
    font-size: 14px;
    height: auto;
    transition: border-color 0.3s ease;
}
.ent-contact-form .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(21, 101, 192, 0.1);
}
.ent-contact-form textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* ========================================
 * 返回顶部
 * ======================================== */
.ent-back-top {
    position: fixed;
    right: 20px;
    bottom: 80px;
    width: 44px;
    height: 44px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 18px;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(21, 101, 192, 0.3);
    -webkit-box-shadow: 0 2px 10px rgba(21, 101, 192, 0.3);
    transition: all 0.3s ease;
    opacity: 0;
}
.ent-back-top.show {
    display: flex;
    opacity: 1;
}
.ent-back-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* ========================================
 * 移动端底部操作栏
 * ======================================== */
.ent-mobile-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-white);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    -webkit-box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 999;
    padding: 6px 0;
    padding-bottom: calc(6px + env(safe-area-inset-bottom));
}
.ent-mobile-bar__inner {
    display: flex;
    align-items: center;
    justify-content: space-around;
}
.ent-mobile-bar__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 10px;
    color: var(--text-secondary);
    padding: 4px 12px;
    min-height: 44px;
    justify-content: center;
}
.ent-mobile-bar__item i {
    font-size: 20px;
    margin-bottom: 2px;
}
.ent-mobile-bar__item--phone {
    background: var(--primary);
    color: #fff !important;
    border-radius: 20px;
    padding: 6px 24px;
    flex-direction: row;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
}
.ent-mobile-bar__item--phone i {
    font-size: 16px;
    margin-bottom: 0;
}

/* ========================================
 * 产品详情页
 * ======================================== */
.ent-product-detail__gallery {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 16px;
}
.ent-product-detail__gallery img {
    width: 100%;
    height: 360px;
    object-fit: cover;
}
.ent-product-detail__thumbs {
    display: flex;
    gap: 8px;
}
.ent-product-detail__thumbs img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}
.ent-product-detail__thumbs img:hover,
.ent-product-detail__thumbs img.active {
    border-color: var(--primary);
}
.ent-product-detail__info h1 {
    font-size: 24px;
    margin-bottom: 8px;
}
.ent-product-detail__info .subtitle {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 24px;
}
.ent-product-detail__params {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 24px;
}
.ent-product-detail__params th,
.ent-product-detail__params td {
    padding: 10px 16px;
    border: 1px solid var(--border-color);
    font-size: 14px;
    text-align: left;
}
.ent-product-detail__params th {
    background: var(--bg-light);
    color: var(--text-secondary);
    width: 140px;
    font-weight: 500;
}
.ent-product-detail__content {
    line-height: 2;
    color: var(--text-secondary);
}
.ent-product-detail__content img {
    max-width: 100%;
    border-radius: 4px;
    margin: 12px 0;
}

/* ========================================
 * 新闻详情页
 * ======================================== */
.ent-news-detail__title {
    font-size: 24px;
    margin-bottom: 16px;
}
.ent-news-detail__meta {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}
.ent-news-detail__content {
    line-height: 2;
    color: var(--text-secondary);
}
.ent-news-detail__content img {
    max-width: 100%;
    border-radius: 4px;
    margin: 12px 0;
}

/* ========================================
 * 内容区间距(内页)
 * ======================================== */
.page-content {
    padding: 48px 0;
}
.page-content .content-area {
    min-height: 400px;
}
.page-content .content-area img {
    max-width: 100%;
}

/* ========================================
 * 友情链接
 * ======================================== */
.ent-friend-links {
    padding: 24px 0;
    background: var(--bg-light);
    text-align: center;
}
.ent-friend-links__title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 12px;
}
.ent-friend-links__list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}
.ent-friend-links__list a {
    font-size: 13px;
    color: var(--text-light);
}
.ent-friend-links__list a:hover {
    color: var(--primary);
}

/* ========================================
 * 留言成功提示
 * ======================================== */
.ent-alert {
    padding: 12px 20px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 14px;
}
.ent-alert--success {
    background: #E8F5E9;
    color: var(--success);
    border: 1px solid #C8E6C9;
}
.ent-alert--error {
    background: #FFEBEE;
    color: #C62828;
    border: 1px solid #FFCDD2;
}
