/* ==================== 基础变量与重置 ==================== */
:root {
    --container-max: 1800px;
    --container-pad: 30px;
    --section-pad-y: 100px;
    --gap-base: 20px;
    --font-base: 16px;
}

*, *::before, *::after {
    box-sizing: border-box;
}

/* 容器：核心自适应 */
.p5-container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-pad);
}

/* ==================== 区块通用样式 ==================== */
.p5-about {
    background: url("../../static/images/bj.webp") no-repeat center / cover;
    padding: var(--section-pad-y) 0;
    position: relative;
    z-index: 3;
    overflow: hidden;
}
.p5-solutions {
    padding: 60px 0 50px;
    position: relative;
    z-index: 3;
    background: #f4f4f4;
    overflow: hidden;
}
.p5-news {
    padding: 60px 0 70px;
    position: relative;
    z-index: 3;
    overflow: hidden;
}
.p5-cases {
    padding: var(--section-pad-y) 0;
    position: relative;
    z-index: 3;
    background: #fff;
    overflow: hidden;
}

/* ==================== 公司简介Body ==================== */
.p5-about-body {
    padding: 10px 0 0;
}

/* ==================== 公司简介标题区域 ==================== */
.p5-about-header {
    text-align: left;
    margin-bottom: 10px;
}
.p5-about-title {
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 30px;
    word-break: keep-all;
}
.p5-about-blue {
    color: #333;
    letter-spacing: 8px;
}

/* ==================== 公司简介内容区（左右布局） ==================== */
.p5-about-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin-bottom: 50px;
}
.p5-about-text {
    flex: 1;
    min-width: 0;
}
.p5-about-heading {
    font-size: clamp(22px, 2.5vw, 30px);
    font-weight: 600;
    color: #00A79D;
    margin-bottom: 20px;
    line-height: 1.5;
}
.p5-about-desc {
    font-size: clamp(16px, 1.4vw, 22px);
    color: #333;
    line-height: 2.2;
    margin-bottom: 25px;
}
.p5-about-desc p {
    margin: 0 0 12px 0;
    line-height: inherit;
    color: inherit;
}
.p5-about-desc p[data-lang="cn"] {
    text-indent: 2em;
}
.p5-about-desc p[data-lang="en"] {
    text-indent: 0;
}
.p5-about-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 40px;
    color: #00a79d;
    font-size: 14px;
    text-decoration: none;
    border: 1px solid #00a79d;
    border-radius: 6px;
    transition: all 0.3s ease;
}
.p5-about-btn:hover {
    background: #00a79d;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,167,157,0.3);
}
.p5-btn-icon {
    font-size: 16px;
    color: #00a79d;
    transition: transform 0.3s ease;
}
.p5-about-btn:hover .p5-btn-icon {
    color: #fff;
    transform: translateX(4px);
}

/* 右侧图片 */
.p5-about-image {
    flex: 0 0 48%;
    overflow: hidden;
    border-radius: 4px;
}
.p5-about-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.p5-about-image:hover .p5-about-img {
    transform: scale(1.03);
}

/* ==================== 服务优势栏 ==================== */
.p5-services-bar {
    background: #00a79d;
    padding: 0;
    position: relative;
    z-index: 3;
}
.p5-services-inner {
    display: flex;
    max-width: 1400px;
    margin: 0 auto;
}
.p5-service-item {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 40px 30px;
    color: #fff;
    border-right: 1px solid rgba(255,255,255,0.15);
    transition: background 0.3s ease;
}
.p5-service-item:last-child {
    border-right: none;
}
.p5-service-item:hover {
    background: rgba(255,255,255,0.08);
}
.p5-service-num {
    display: block;
    font-size: clamp(28px, 3vw, 36px);
    font-weight: 700;
    color: #fff;
    line-height: 1;
    margin-bottom: 8px;
    opacity: 0.9;
    transition: transform 0.1s ease;
}
.p5-service-num.p5-num-animated {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}
.p5-service-num.p5-num-settled {
    transform: scale(1);
}
.p5-service-title {
    font-size: clamp(15px, 1.2vw, 18px);
    font-weight: 600;
    color: #fff;
    margin-bottom: 6px;
}
.p5-service-en {
    font-size: 11px;
    color: rgba(255,255,255,0.7);
    letter-spacing: 1px;
    margin-bottom: 12px;
}
.p5-service-desc {
    font-size: clamp(12px, 1vw, 13px);
    color: rgba(255,255,255,0.85);
    line-height: 1.6;
}
.p5-service-icon {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    color: #fff;
    opacity: 0.8;
}
.p5-service-icon svg {
    width: 100%;
    height: 100%;
}

/* ==================== Section Header ==================== */
.p5-section-header {
    margin-bottom: 30px;
    text-align: left;
}
.p5-section-title {
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 600;
    color: #1a1a1a;
    letter-spacing: 2px;
    margin-bottom: 12px;
    word-break: keep-all;
}
.p5-section-desc {
    font-size: clamp(15px, 1.4vw, 22px);
    color: #888;
    line-height: 1.8;
    margin: 0 auto;
}
.p5-section-desc p {
    margin: 0;
}

/* ==================== 首页全屏图片展示区 ==================== */
.p5-home-gallery {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 900px;
    max-height: 1300px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    overflow: hidden;
    transition: background-image 0.8s ease-in-out;
}
.p5-gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.45);
    z-index: 1;
}
.p5-gallery-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 80px 40px 80px 20px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
}
.p5-gallery-left {
    flex: 1;
    max-width: 600px;
    padding-left: 0;
    margin-left: -20px;
}
.p5-gallery-title {
    font-size: clamp(36px, 5vw, 80px);
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 40px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.5);
    letter-spacing: 2px;
    word-break: keep-all;
}
.p5-gallery-about {
    background: rgba(0,0,0,0.35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 8px;
    padding: 28px 32px;
    margin-bottom: 30px;
}
.p5-gallery-about-title {
    font-size: clamp(20px, 2vw, 28px);
    font-weight: 600;
    color: #fff;
    margin-bottom: 12px;
    letter-spacing: 2px;
}
.p5-gallery-line {
    width: 40px;
    height: 2px;
    background: #fff;
    margin-bottom: 16px;
    opacity: 0.7;
}
.p5-gallery-about-text {
    font-size: clamp(13px, 1.1vw, 14px);
    color: rgba(255,255,255,0.85);
    line-height: 1.8;
    margin: 0;
}
.p5-gallery-explore {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 32px;
    background: #fff;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}
.p5-gallery-explore:hover {
    background: #00a79d;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.p5-gallery-explore svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}
.p5-gallery-explore:hover svg {
    transform: translateX(4px);
}
.p5-gallery-right {
    flex: 0 0 760px;
    margin-top: 40px;
    position: relative;
}
.p5-gallery-photos-title {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 16px;
    letter-spacing: 2px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}
.p5-gallery-photos-title::after {
    content: '';
    display: inline-block;
    width: 30px;
    height: 2px;
    background: #fff;
    margin-left: 10px;
    vertical-align: middle;
    opacity: 0.7;
}
.p5-gallery-photos {
    display: flex;
    align-items: center;
    width: 100%;
}
.p5-gallery-photos-track {
    position: relative;
    display: flex;
    gap: 8px;
    transition: transform 0.4s ease;
    overflow: hidden;
    flex: 1;
    width: 100%;
    align-items: center;
    height: 110px;
}
.p5-gallery-thumb {
    flex: 0 0 calc(20% - 6.4px);
    min-width: calc(20% - 6.4px);
    height: 110px;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}
.p5-gallery-thumb.active {
    border-color: transparent;
    box-shadow: none;
    transform: scale(1.05);
}
.p5-gallery-thumb:hover {
    border-color: rgba(255,255,255,0.6);
}
.p5-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 缩略图箭头 */
.p5-gallery-arrow {
    position: absolute;
    top: 50%;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0,167,157,0.9);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease, background 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 10;
    margin: 0;
    margin-top: -22px;
    padding: 0;
    outline: none;
}
.p5-gallery-arrow.prev {
    left: 10px;
}
.p5-gallery-arrow.next {
    right: 10px;
}
.p5-gallery-photos-track:hover .p5-gallery-arrow {
    opacity: 0.85;
    visibility: visible;
}
.p5-gallery-arrow:hover {
    background: #00a79d;
    opacity: 1;
}
.p5-gallery-arrow svg {
    width: 18px;
    height: 18px;
    stroke: #fff;
    stroke-width: 2.5;
    fill: none;
}

/* 呼吸效果 */
@keyframes breathe-arrow {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.15); }
}
.p5-gallery-arrow.breathe {
    animation: breathe-arrow 2s ease-in-out infinite;
}
.p5-gallery-arrow.breathe-delay {
    animation: breathe-arrow 2s ease-in-out 0.5s infinite;
}

/* ==================== 解决方案卡片网格 ==================== */
.p5-solutions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* ==================== 解决方案卡片 ==================== */
.p5-solution-card {
    position: relative;
    overflow: hidden;
    background: #fff;
    cursor: pointer;
}

/* 顶部青色条 */
.p5-card-top-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #00a79d;
    z-index: 10;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.p5-solution-card:hover .p5-card-top-bar {
    transform: scaleX(1);
}

/* 卡片图片区域 */
.p5-card-image-wrap {
    position: relative;
    width: 100%;
    height: 580px;
    overflow: hidden;
    background: linear-gradient(135deg, #1a3a5c 0%, #0d2137 100%);
}
.p5-card-image-wrap.no-image {
    background: linear-gradient(135deg, #1a3a5c 0%, #0d2137 100%);
}
.p5-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.6s ease;
}
.p5-solution-card:hover .p5-card-image {
    transform: scale(1.08);
}

/* 初始状态：仅显示标题 */
.p5-card-initial-title {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 30px 20px;
    z-index: 2;
    transition: opacity 0.3s ease;
}
.p5-card-initial-title h3 {
    font-size: clamp(16px, 1.5vw, 20px);
    font-weight: 600;
    color: #fff;
    text-align: center;
    letter-spacing: 2px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.p5-solution-card:hover .p5-card-initial-title {
    opacity: 0;
}

/* Hover 遮罩层 */
.p5-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    z-index: 3;
}
.p5-solution-card:hover .p5-card-overlay {
    opacity: 1;
    visibility: visible;
}

/* 遮罩内容区域 */
.p5-overlay-content {
    text-align: center;
    padding: 30px 25px;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease 0.15s, transform 0.4s ease 0.15s;
}
.p5-solution-card:hover .p5-overlay-content {
    opacity: 1;
    transform: translateY(0);
}

/* 图标区域 */
.p5-overlay-icon {
    width: 160px;
    height: 150px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.p5-icon-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}
.p5-overlay-title {
    font-size: clamp(16px, 1.5vw, 20px);
    font-weight: 600;
    color: #fff;
    margin-bottom: 12px;
    letter-spacing: 2px;
}
.p5-overlay-desc {
    font-size: 13px;
    color: rgba(255,255,255,0.85);
    line-height: 1.6;
    max-width: 220px;
}

/* 底部青色条 + 了解详情按钮 */
.p5-card-bottom-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: #00a79d;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transform-origin: bottom center;
    transform: scaleY(0);
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.1s;
    z-index: 4;
}
.p5-solution-card:hover .p5-card-bottom-bar {
    transform: scaleY(1);
}

/* 了解详情按钮 */
.p5-overlay-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 2px;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.4s ease 0.4s, transform 0.4s ease 0.4s;
}
.p5-solution-card:hover .p5-overlay-btn {
    opacity: 1;
    transform: translateY(0);
}
.p5-overlay-btn span {
    color: #fff;
}
.p5-btn-arrow {
    width: 18px;
    height: 18px;
    color: #fff;
    transition: transform 0.3s ease;
}
.p5-overlay-btn:hover .p5-btn-arrow {
    transform: translateX(4px);
}

/* ==================== 新闻中心 ==================== */
.p5-news {
    background: #fff;
    padding: 100px 0 150px;
}

/* 新闻中心标题区域 */
.p5-news-header {
    text-align: center;
    margin-bottom: 40px;
}
.p5-news-title-main {
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 600;
    color: #333;
    letter-spacing: 4px;
    margin: 0;
    word-break: keep-all;
}

/* 新闻分类筛选 */
.p5-news-filter {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 35px;
    flex-wrap: wrap;
}
.p5-filter-btn {
    display: inline-block;
    padding: 8px 24px;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    font-size: clamp(13px, 1.1vw, 16px);
    color: #333;
    background: transparent;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
}
.p5-filter-btn:hover {
    border-color: #00a79d;
    color: #fff;
    background: rgba(0,167,157,0.1);
}
.p5-filter-btn.active {
    background: #00a79d;
    color: #fff;
    border-color: #00a79d;
}

/* 新闻内容区（左右布局） */
.p5-news-content {
    display: flex;
    gap: 24px;
    align-items: stretch;
    margin-bottom: 35px;
}

/* 左侧Featured新闻 */
.p5-news-featured {
    flex: 0 0 55%;
    display: flex;
    gap: 0;
    align-items: stretch;
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    min-height: 290px;
}
.p5-featured-img-wrap {
    flex: 0 0 55%;
    align-self: stretch;
    position: relative;
    overflow: hidden;
    background: #fff;
}
.p5-featured-img-wrap.no-img {
    background: linear-gradient(135deg, #ffffff 0%, #f4f4f4 100%);
}
.p5-featured-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.p5-news-featured:hover .p5-featured-img {
    transform: scale(1.05);
}
.p5-featured-text {
    flex: 1;
    min-width: 0;
    padding: 20px 20px 50px 20px;
    position: relative;
    display: flex;
    flex-direction: column;
}
.p5-featured-title {
    font-size: clamp(16px, 1.5vw, 20px);
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.6;
}
.p5-featured-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}
.p5-featured-title a:hover {
    color: #00a79d;
}
.p5-featured-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
    font-size: 13px;
    color: #888;
}
.p5-date-icon {
    width: 14px;
    height: 14px;
    color: #888;
}
.p5-featured-brief {
    font-size: clamp(13px, 1.1vw, 16px);
    color: #666;
    line-height: 1.8;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 右下角三角箭头按钮 */
.p5-featured-arrow {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 42px;
    height: 42px;
    background: #00a79d;
    display: flex;
    align-items: center;
    justify-content: center;
    clip-path: polygon(100% 0, 0 100%, 100% 100%);
    transition: background 0.3s ease;
    text-decoration: none;
    cursor: pointer;
}
.p5-featured-arrow:hover {
    background: #008b82;
}
.p5-featured-arrow svg {
    width: 14px;
    height: 14px;
    color: #fff;
    margin-top: 12px;
    margin-left: 12px;
    transform: rotate(0deg);
    transition: transform 0.3s ease;
}
.p5-featured-arrow:hover svg {
    transform: scale(1.2);
}

/* 右侧新闻列表 */
.p5-news-side-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.p5-side-item {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    padding-bottom: 30px;
    border-bottom: 1px solid #e0e0e0;
}
.p5-side-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* 日期块 */
.p5-side-date {
    flex: 0 0 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #00a79d;
    color: #fff;
    padding: 10px 6px;
    min-height: 80px;
}
.p5-sdate-day {
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
    color: #fff;
}
.p5-sdate-ym {
    font-size: 11px;
    margin-top: 4px;
    color: #fff;
}

/* 右侧新闻内容 */
.p5-side-body {
    flex: 1;
    min-width: 0;
}
.p5-side-title {
    font-size: clamp(15px, 1.3vw, 18px);
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.5;
}
.p5-side-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}
.p5-side-title a:hover {
    color: #00a79d;
}
.p5-side-brief {
    font-size: clamp(12px, 1vw, 14px);
    color: #888;
    line-height: 1.8;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 更多信息按钮 */
.p5-news-more {
    text-align: center;
}
.p5-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 40px;
    color: #00a79d;
    font-size: 14px;
    text-decoration: none;
    border: 1px solid #00a79d;
    border-radius: 6px;
    transition: all 0.3s ease;
}
.p5-more-btn:hover {
    background: #00a79d;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,167,157,0.3);

}

/* ==================== 成功案例 ==================== */
.p5-cases-header {
    text-align: left;
    margin-bottom: 80px;
}
.p5-cases-title {
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 600;
    color: #333;
    letter-spacing: 4px;
    margin-bottom: 10px;
    word-break: keep-all;
}
.p5-cases-sub {
    font-size: 14px;
    color: #888;
    letter-spacing: 1px;
}

/* 成功案例网格 */
.p5-cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 30px;
}

/* 案例卡片 */
.p5-case-card {
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.p5-case-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

/* 图片区域 */
.p5-case-img-wrap {
    width: 100%;
    height: 320px;
    overflow: hidden;
    background: linear-gradient(135deg, #1a3a5c 0%, #0d2137 100%);
    position: relative;
}
.p5-case-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.p5-case-card:hover .p5-case-img {
    transform: scale(1.05);
}
.p5-case-img-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a3a5c 0%, #0d2137 100%);
}

/* 卡片内容 */
.p5-case-body {
    padding: 20px;
}
.p5-case-card-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.5;
}
.p5-case-card-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 了解更多按钮 */
.p5-case-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    color: #fff;
    font-size: 13px;
    text-decoration: none;
    border-radius: 3px;
    transition: background 0.3s ease;
}
.p5-case-btn:hover {
    background: #00a79d;
}
.p5-case-btn-icon {
    width: 14px;
    height: 14px;
}
.p5-case-btn span {
    color: #fff;
}

/* 分页点 */
.p5-cases-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
}
.p5-cases-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: background 0.3s ease;
}
.p5-cases-dot.active,
.p5-cases-dot:hover {
    background: #00a79d;
}

/* 更多信息按钮 */
.p5-cases-more {
    text-align: center;
}
.p5-cases-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 40px;
    color: #00a79d;
    font-size: 14px;
    text-decoration: none;
    border: 1px solid #00a79d;
    border-radius: 6px;
    transition: all 0.3s ease;
}
.p5-cases-more-btn:hover {
    background: #00a79d;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,167,157,0.3);
}

/* 空状态 */
.p5-case-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px;
    color: #999;
    font-size: 14px;
}

/* ============================================================
   响应式断点：1200px
   ============================================================ */
@media (max-width: 1200px) {
    :root {
        --container-pad: 24px;
    }
    .p5-cases-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .p5-solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .p5-card-image-wrap {
        height: 420px;
    }
    .p5-gallery-right {
        flex: 0 0 55%;
    }
}

/* ============================================================
   响应式断点：1366px（iPad Pro 12.9" 横屏 / 小型笔记本）
   ============================================================ */
@media (max-width: 1366px) {
    :root {
        --container-pad: 40px;
        --section-pad-y: 80px;
    }

    /* 容器：增加左右内边距，强制留白，防止贴边 */
    .p5-container {
        padding-left: 40px;
        padding-right: 40px;
    }

    /* 关于我们：左右布局保持，但间距和字号收紧 */
    .p5-about-content {
        gap: 30px;
    }
    .p5-about-image {
        flex: 0 0 45%;
    }
    .p5-about-desc {
        font-size: 18px;
        line-height: 2;
    }

    /* 服务优势：保持4列，但内边距和字号缩小 */
    .p5-service-item {
        padding: 30px 20px;
        gap: 12px;
    }
    .p5-service-num {
        font-size: 32px;
    }
    .p5-service-title {
        font-size: 16px;
    }
    .p5-service-desc {
        font-size: 12px;
    }
    .p5-service-icon {
        flex: 0 0 40px;
        width: 40px;
        height: 40px;
    }

    /* 全屏画廊：高度限制，防止 iPad Pro 上过度撑开 */
    .p5-home-gallery {
        min-height: 600px;
        height: auto;
        max-height: 900px;
    }
    .p5-gallery-inner {
        padding: 60px 40px;
        gap: 30px;
    }
    .p5-gallery-left {
        max-width: 500px;
    }
    .p5-gallery-right {
        flex: 0 0 580px;
    }
    .p5-gallery-title {
        font-size: 48px;
        margin-bottom: 24px;
    }
    .p5-gallery-about {
        padding: 20px 24px;
        margin-bottom: 20px;
    }
    .p5-gallery-about-title {
        font-size: 22px;
    }
    .p5-gallery-thumb {
        flex: 0 0 calc(20% - 6.4px);
        min-width: calc(20% - 6.4px);
        height: 100px;
    }

    /* 解决方案：4列保持，但间距缩小，卡片高度降低 */
    .p5-solutions-grid {
        gap: 16px;
    }
    .p5-card-image-wrap {
        height: 480px;
    }
    .p5-overlay-icon {
        width: 140px;
        height: 130px;
    }

    /* 成功案例：3列保持，图片高度降低 */
    .p5-cases-grid {
        gap: 20px;
    }
    .p5-case-img-wrap {
        height: 260px;
    }

    /* 新闻中心：左右布局保持，但比例调整 */
    .p5-news-content {
        gap: 20px;
    }
    .p5-news-featured {
        flex: 0 0 52%;
    }
    .p5-featured-text {
        padding: 16px 16px 50px 16px;
    }
    .p5-news-side-list {
        gap: 20px;
    }
    .p5-side-item {
        gap: 16px;
        padding-bottom: 20px;
    }
    .p5-side-date {
        flex: 0 0 70px;
        min-height: 70px;
        padding: 8px 4px;
    }
    .p5-sdate-day {
        font-size: 20px;
    }
    .p5-side-title {
        font-size: 16px;
    }
    .p5-side-brief {
        font-size: 13px;
    }
}
/* ============================================================
   响应式断点：1024px（平板横屏）
   ============================================================ */
@media (max-width: 1024px) {
    :root {
        --section-pad-y: 80px;
        --container-pad: 20px;
    }
    .p5-about-content {
        flex-direction: column;
    }
    .p5-about-image {
        flex: 1;
        width: 100%;
        order: -1;
    }
    .p5-services-inner {
        flex-wrap: wrap;
    }
    .p5-service-item {
        flex: 0 0 50%;
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.15);
    }
    .p5-service-item:nth-child(2n) {
        border-left: 1px solid rgba(255,255,255,0.15);
    }
    .p5-gallery-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 40px;
        padding: 60px 24px;
    }
    .p5-gallery-left {
        max-width: 100%;
        margin-left: 0;
    }
    .p5-gallery-right {
        flex: 1;
        width: 100%;
        margin-top: 20px;
    }
    .p5-news-content {
        flex-direction: column;
    }
    .p5-news-featured {
        flex: 1;
    }
}

/* ============================================================
   响应式断点：768px（平板竖屏 / 大屏手机）
   ============================================================ */
@media (max-width: 768px) {
    :root {
        --section-pad-y: 50px;
        --container-pad: 16px;
        --gap-base: 12px;
    }
    .p5-about {
        padding: 50px 0;
    }
    .p5-about-header {
        text-align: center;
    }
    .p5-about-title {
        letter-spacing: 2px;
    }
    .p5-about-desc {
        line-height: 2;
    }
    .p5-about-btn {
        width: 100%;
        justify-content: center;
    }
    .p5-services-bar {
        padding: 20px 0;
    }
    .p5-service-item {
        flex: 0 0 100%;
        border-left: none !important;
        padding: 24px 20px;
        gap: 16px;
    }
    .p5-service-item:nth-child(2n) {
        border-left: none;
    }

    /* ===== 全屏画廊：手机端核心修复 ===== */
    .p5-home-gallery {
        min-height: auto;
        height: auto;
        padding: 100px 0 40px; /* 顶部给导航留空，底部留白 */
    }
    .p5-gallery-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
        padding: 0 16px; /* 减小padding，增加可用宽度 */
    }
    .p5-gallery-left {
        max-width: 100%;
        margin-left: 0;
        width: 100%;
    }
    .p5-gallery-title {
        font-size: clamp(28px, 8vw, 36px);
        margin-bottom: 20px;
        letter-spacing: 1px;
    }
    .p5-gallery-about {
        padding: 20px 16px; /* 减小padding */
        margin-bottom: 20px;
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
    }
    .p5-gallery-about-title {
        font-size: 20px;
        margin-bottom: 10px;
    }
    .p5-gallery-about-text {
        font-size: 15px; /* 增大字号 */
        line-height: 1.9; /* 增加行高，英文长文本可读性 */
        max-height: 35vh; /* 限制最大高度，防止超长文本撑爆 */
        overflow-y: auto; /* 超出可滚动 */
    }
    .p5-gallery-explore {
        padding: 10px 24px;
        font-size: 14px;
    }

    /* 缩略图区域：改为横向滚动，避免挤压 */
    .p5-gallery-right {
        flex: 1;
        width: 100%;
        margin-top: 10px;
    }
    .p5-gallery-photos-title {
        font-size: 16px;
        margin-bottom: 12px;
    }
    /* ===== 画廊缩略图：修复点击无效 ===== */
    .p5-gallery-photos-track {
        height: 90px;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        flex-wrap: nowrap;
        gap: 8px;
        padding-bottom: 8px;
        /* [FIX] 移除 scroll-snap，避免移动端拦截点击事件 */
        scroll-snap-type: none;
    }
    .p5-gallery-photos-track::-webkit-scrollbar {
        height: 3px;
    }
    .p5-gallery-photos-track::-webkit-scrollbar-thumb {
        background: rgba(255,255,255,0.4);
        border-radius: 2px;
    }
    .p5-gallery-thumb {
        flex: 0 0 100px;
        min-width: 100px;
        height: 90px;
        /* [FIX] 移除 scroll-snap-align */
        scroll-snap-align: none;
        /* [FIX] 确保触摸点击穿透，消除 iOS 点击延迟 */
        pointer-events: auto;
        touch-action: manipulation;
        -webkit-tap-highlight-color: rgba(0,0,0,0.15);
        cursor: pointer;
        position: relative;
        z-index: 2;
    }
    /* 确保图片不阻挡点击冒泡 */
    .p5-gallery-thumb img {
        pointer-events: none;
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }
    .p5-gallery-arrow {
        display: none;
    }

    .p5-solutions {
        padding: 40px 0 30px;
    }
    .p5-solutions-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .p5-card-image-wrap {
        height: 360px;
    }
    .p5-overlay-icon {
        width: 120px;
        height: 110px;
    }
    .p5-cases {
        padding: 50px 0;
    }
    .p5-cases-header {
        text-align: center;
        margin-bottom: 40px;
    }
    .p5-cases-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .p5-case-img-wrap {
        height: 220px;
    }
    .p5-news {
        padding: 50px 0 60px;
    }
    .p5-news-header {
        margin-bottom: 24px;
    }
    .p5-news-filter {
        gap: 8px;
        margin-bottom: 24px;
    }
    .p5-filter-btn {
        padding: 6px 16px;
        font-size: 13px;
    }
    .p5-news-featured {
        flex-direction: column;
        min-height: auto;
    }
    .p5-featured-img-wrap {
        flex: 1;
        height: 200px;
    }
    .p5-featured-text {

        padding: 16px 16px 50px 16px;
    }
    .p5-side-item {
        gap: 16px;
        padding-bottom: 20px;
    }
    .p5-side-date {
        flex: 0 0 64px;
        min-height: 64px;
        padding: 8px 4px;
    }
    .p5-sdate-day {
        font-size: 18px;
    }
}

/* ============================================================
   响应式断点：480px（小屏手机）
   ============================================================ */
@media (max-width: 480px) {
    :root {
        --container-pad: 12px;
    }
    .p5-about-title {
        font-size: 24px;
        letter-spacing: 1px;
    }
    .p5-about-heading {
        font-size: 20px;
    }
    .p5-about-desc {
        font-size: 15px;
        line-height: 1.9;
    }

    /* 画廊超小屏微调 */
    .p5-home-gallery {
        padding: 90px 0 30px;
    }
    .p5-gallery-inner {
        padding: 0 12px;
        gap: 16px;
    }
    .p5-gallery-title {
        font-size: 26px;
        margin-bottom: 16px;
    }
    .p5-gallery-about {
        padding: 16px 12px;
        border-radius: 6px;
    }
    .p5-gallery-about-title {
        font-size: 18px;
    }
    .p5-gallery-about-text {
        font-size: 14px;
        line-height: 1.85;
        max-height: 30vh;
    }
    .p5-gallery-explore {
        padding: 8px 20px;
        font-size: 13px;
    }
    .p5-gallery-photos-title {
        font-size: 14px;
    }
    .p5-gallery-thumb {
        flex: 0 0 88px;
        min-width: 88px;
        height: 80px;
        scroll-snap-align: none;
        pointer-events: auto;
        touch-action: manipulation;
        -webkit-tap-highlight-color: rgba(0,0,0,0.15);
    }
    .p5-gallery-thumb img {
        pointer-events: none;
    }
    .p5-service-num {
        font-size: 28px;
    }
    .p5-service-title {
        font-size: 15px;
    }
    .p5-service-desc {
        font-size: 12px;
    }
    .p5-service-icon {
        flex: 0 0 40px;
        width: 40px;
        height: 40px;
    }

    .p5-card-image-wrap {
        height: 300px;
    }
    .p5-card-initial-title h3 {
        font-size: 16px;
    }
    .p5-overlay-icon {
        width: 100px;
        height: 90px;
    }
    .p5-overlay-title {
        font-size: 16px;
    }
    .p5-overlay-desc {
        font-size: 12px;
    }
    .p5-card-bottom-bar {
        height: 60px;
    }

    .p5-cases-title {
        font-size: 24px;
        letter-spacing: 2px;
    }
    .p5-case-img-wrap {
        height: 180px;
    }
    .p5-case-card-title {
        font-size: 15px;
    }

    .p5-news-title-main {
        font-size: 24px;
        letter-spacing: 2px;
    }
    .p5-filter-btn {
        padding: 5px 12px;
        font-size: 12px;
    }
    .p5-featured-title {
        font-size: 16px;
    }
    .p5-side-title {
        font-size: 14px;
    }
    .p5-side-brief {
        font-size: 12px;
        -webkit-line-clamp: 2;
    }

    .p5-more-btn,
    .p5-cases-more-btn,
    .p5-about-btn {
        padding: 8px 24px;
        font-size: 13px;
    }
}
/* ============================================================
   触摸设备优化：禁用 hover 依赖，改为点击态
   ============================================================ */
@media (hover: none) and (pointer: coarse) {
    .p5-solution-card:hover .p5-card-top-bar {
        transform: scaleX(0);
    }
    .p5-solution-card:active .p5-card-top-bar {
        transform: scaleX(1);
    }
    .p5-solution-card:hover .p5-card-initial-title {
        opacity: 1;
    }
    .p5-solution-card:active .p5-card-initial-title {
        opacity: 0;
    }
    .p5-solution-card:hover .p5-card-overlay {
        opacity: 0;
        visibility: hidden;
    }
    .p5-solution-card:active .p5-card-overlay {
        opacity: 1;
        visibility: visible;
    }
    .p5-solution-card:hover .p5-card-bottom-bar {
        transform: scaleY(0);
    }
    .p5-solution-card:active .p5-card-bottom-bar {
        transform: scaleY(1);
    }
    .p5-gallery-arrow {
        opacity: 0.85;
        visibility: visible;
    }
    .p5-case-card:hover {
        transform: none;
        box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    }
}