/* ===== 环境设施 ===== */
.facility-section {
    background: #ffffff;
    padding: 60px 0;
    position: relative;
    z-index: 2;
}

/* 新画廊布局 */ 
.new-facility-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 250px 280px;
    gap: 20px;
    margin-top: 40px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
} 

.new-facility-gallery .gallery-item { 
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    background: #f8f9fa;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    display: flex; 
    align-items: center;
    justify-content: center;
}

/* 横版图片 - 前三张 */
.new-facility-gallery .gallery-item:nth-child(1),
.new-facility-gallery .gallery-item:nth-child(2),
.new-facility-gallery .gallery-item:nth-child(3) {
    grid-row: 1;
    grid-column: span 1;
}

/* 竖版图片 - 后两张 */
.new-facility-gallery .gallery-item:nth-child(4) {
    grid-row: 2;
    grid-column: 1 / 2;
    justify-self: center;
    width: 100%;
    max-width: 300px;
}

.new-facility-gallery .gallery-item:nth-child(5) {
    grid-row: 2;
    grid-column: 3 / 4;
    justify-self: center;
    width: 100%;
    max-width: 300px;
}

/* 第二行中间留空 */
.new-facility-gallery::before {
    content: '';
    grid-row: 2;
    grid-column: 2 / 3;
}

.new-facility-gallery .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.6s ease;
    background: #f8f9fa;
}

.new-facility-gallery .gallery-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.new-facility-gallery .gallery-item:hover img {
    transform: scale(1.05);
}

/* 图片加载动画 */
.new-facility-gallery .gallery-item img {
    opacity: 0;
    animation: imageFadeIn 0.8s ease forwards;
}

@keyframes imageFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* 延迟加载动画 */
.new-facility-gallery .gallery-item:nth-child(1) img { animation-delay: 0.1s; }
.new-facility-gallery .gallery-item:nth-child(2) img { animation-delay: 0.2s; }
.new-facility-gallery .gallery-item:nth-child(3) img { animation-delay: 0.3s; }
.new-facility-gallery .gallery-item:nth-child(4) img { animation-delay: 0.4s; }
.new-facility-gallery .gallery-item:nth-child(5) img { animation-delay: 0.5s; }

/* 响应式调整 */
@media (max-width: 992px) {
    .new-facility-gallery {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: 220px 220px 260px;
        gap: 16px;
        margin-top: 30px;
    }
    
    .new-facility-gallery .gallery-item:nth-child(1) {
        grid-row: 1;
        grid-column: 1;
    }
    
    .new-facility-gallery .gallery-item:nth-child(2) {
        grid-row: 1;
        grid-column: 2;
    }
    
    .new-facility-gallery .gallery-item:nth-child(3) {
        grid-row: 2;
        grid-column: 1 / 3;
    }
    
    .new-facility-gallery .gallery-item:nth-child(4) {
        grid-row: 3;
        grid-column: 1;
        width: 100%;
        max-width: none;
    }
    
    .new-facility-gallery .gallery-item:nth-child(5) {
        grid-row: 3;
        grid-column: 2;
        width: 100%;
        max-width: none;
    }
}

@media (max-width: 768px) {
    .facility-section {
        padding: 40px 0;
    }
    
    .new-facility-gallery {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(5, 180px);
        gap: 12px;
        margin-top: 20px;
    }
    
    .new-facility-gallery .gallery-item {
        grid-row: auto !important;
        grid-column: 1 !important;
        height: 180px;
    }
}

@media (max-width: 480px) {
    .new-facility-gallery {
        gap: 10px;
    }
    
    .new-facility-gallery .gallery-item {
        height: 140px;
        border-radius: 8px;
    }
}
/* ==========================================
   医院概况页面 — about.css
   依赖 css/style.css（全局变量、布局、顶导、页脚均已定义）
   ========================================== */

/* ===== Hero 内融合式面包屑 ===== */
.hero-breadcrumb {
    margin-bottom: 28px;
}

.hero-breadcrumb ol {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.hero-breadcrumb li {
    display: flex;
    align-items: center;
}

.hero-breadcrumb a {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 4px 12px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
    transition: all 0.25s ease;
    text-decoration: none;
}

.hero-breadcrumb a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-1px);
}

.hero-bc-sep {
    color: rgba(255, 255, 255, 0.4);
    font-size: 14px;
    user-select: none;
    padding: 0 2px;
}

.hero-bc-current {
    font-size: 14px;
    color: #fff;
    background: rgba(0, 179, 134, 0.45);
    border: 1px solid rgba(0, 217, 163, 0.5);
    padding: 4px 14px;
    border-radius: 20px;
    font-weight: 500;
    letter-spacing: 0.3px;
}

/* ===== 页面横幅（Hero） ===== */
.page-hero {
    background: linear-gradient(135deg, #004d3a 0%, #00785c 50%, #00b386 100%);
    padding: 80px 0 90px;
    position: relative;
    overflow: hidden;
    z-index: 2;
}

/* 背景网格装饰 */
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}

/* 右侧光晕装饰 */
.page-hero::after {
    content: '';
    position: absolute;
    right: -100px;
    top: 50%;
    transform: translateY(-50%);
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,217,163,0.12), transparent 70%);
    pointer-events: none;
}

.page-hero-inner {
    position: relative;
    z-index: 3;
}

.page-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50px;
    padding: 6px 18px;
    font-size: 14px;
    color: rgba(255,255,255,0.9);
    letter-spacing: 1px;
    margin-bottom: 24px;
    backdrop-filter: blur(8px);
}

.page-hero-tag::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #00d9a3;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(0,217,163,0.8);
    animation: heroDot 2s ease-in-out infinite;
}

@keyframes heroDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.4); }
}

.page-hero h1 {
    font-size: 52px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
    line-height: 1.2;
    letter-spacing: 2px;
}

.page-hero h1 span {
    color: #00d9a3;
}

.page-hero-desc {
    font-size: 18px;
    color: rgba(255,255,255,0.8);
    max-width: 600px;
    line-height: 1.8;
    margin-bottom: 40px;
}

.page-hero-stats {
    display: flex;
    gap: 48px;
}

.hero-stat {
    text-align: left;
}

.hero-stat-num {
    font-size: 36px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    letter-spacing: -1px;
}

.hero-stat-num sup {
    font-size: 19px;
    font-weight: 600;
    vertical-align: super;
    color: #00d9a3;
}

.hero-stat-label {
    font-size: 14px;
    color: rgba(255,255,255,0.65);
    margin-top: 5px;
    letter-spacing: 0.5px;
}

/* ===== 医院概述 ===== */
.about-overview {
    background: #ffffff;
    padding: 100px 0;
    position: relative;
    z-index: 2;
}

.overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-top: 60px;
}

/* 左侧图片区 */
.overview-media {
    position: relative;
}

.overview-img-main {
    width: 100%;
    height: 480px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 143, 107, 0.15);
}

.overview-img-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.overview-img-main:hover img {
    transform: scale(1.04);
}

/* 四角装饰 */
.overview-img-main .tech-corner {
    position: absolute;
    width: 22px;
    height: 22px;
    z-index: 5;
    border-color: rgba(0, 217, 163, 0.6);
    border-style: solid;
    border-width: 0;
}

.overview-img-main .tech-corner.top-left { top: 12px; left: 12px; border-top-width: 2px; border-left-width: 2px; }
.overview-img-main .tech-corner.top-right { top: 12px; right: 12px; border-top-width: 2px; border-right-width: 2px; }
.overview-img-main .tech-corner.bottom-left { bottom: 12px; left: 12px; border-bottom-width: 2px; border-left-width: 2px; }
.overview-img-main .tech-corner.bottom-right { bottom: 12px; right: 12px; border-bottom-width: 2px; border-right-width: 2px; }

/* 悬浮小卡片 */
.overview-float-card {
    position: absolute;
    bottom: -24px;
    right: -24px;
    background: #ffffff;
    border-radius: 16px;
    padding: 20px 24px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 179, 134, 0.12);
    min-width: 180px;
    z-index: 10;
}

.overview-float-card .ov-num {
    font-size: 38px;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    letter-spacing: -1px;
}

.overview-float-card .ov-num sup {
    font-size: 19px;
    font-weight: 600;
    color: var(--primary-color);
}

.overview-float-card .ov-label {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 5px;
}

/* 右侧文字区 */
.overview-content {
    padding-left: 20px;
}

.overview-content .section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--primary-color);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.overview-content .section-eyebrow::before {
    content: '';
    display: block;
    width: 24px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 2px;
}

.overview-content h2 {
    font-size: 38px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
    margin-bottom: 20px;
}

.overview-content h2 em {
    font-style: normal;
    color: var(--primary-color);
    position: relative;
}

.overview-content h2 em::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    border-radius: 2px;
    opacity: 0.3;
}

.overview-content p {
    font-size: 15.5px;
    color: var(--text-secondary);
    line-height: 2;
    margin-bottom: 20px;
    text-indent: 2em;
    text-align: justify;
}

/* 核心标签组 */
.overview-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.overview-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 500;
    background: var(--primary-lightest);
    color: var(--primary-dark);
    border: 1px solid rgba(0, 179, 134, 0.2);
    transition: all 0.3s ease;
}

.overview-tag::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary-color);
    flex-shrink: 0;
}

.overview-tag:hover {
    background: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 179, 134, 0.2);
}

.overview-tag:hover::before {
    background: #ffffff;
}

/* ===== 核心数据统计条 ===== */
.stats-strip {
    background: linear-gradient(135deg, #004d3a 0%, #00785c 60%, #009e74 100%);
    padding: 60px 0;
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.stats-strip::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
}

.stats-strip-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0;
    position: relative;
    z-index: 3;
}

.strip-stat {
    text-align: center;
    padding: 0 20px;
    position: relative;
}

.strip-stat + .strip-stat::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10%;
    height: 80%;
    width: 1px;
    background: rgba(255,255,255,0.15);
}

.strip-stat-num {
    font-size: 40px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    letter-spacing: -1px;
}

.strip-stat-num sup {
    font-size: 19px;
    font-weight: 600;
    vertical-align: super;
    color: #00d9a3;
}

.strip-stat-label {
    font-size: 13.5px;
    color: rgba(255,255,255,0.65);
    margin-top: 8px;
    letter-spacing: 0.5px;
}

/* ===== 发展历程 ===== */
.history-section {
    background: #f8fcfb;
    padding: 100px 0;
    position: relative;
    z-index: 2;
}

/* 水平滚动时间轴容器 */
.history-timeline-wrap {
    margin-top: 60px;
    position: relative;
    overflow: hidden;
}

/* 横向轴线 */
.history-axis {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color) 10%, var(--primary-color) 90%, transparent);
    margin: 60px 0 0;
    position: relative;
    opacity: 0.25;
}

/* 卡片容器 */
.history-cards {
    display: flex;
    gap: 0;
    overflow-x: auto;
    padding-bottom: 20px;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    position: relative;
}

.history-cards::-webkit-scrollbar {
    display: none;
}

.history-card {
    flex: 0 0 260px;
    padding: 30px 24px;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    margin-right: 20px;
    position: relative;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: default;
}

.history-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 36px rgba(0, 179, 134, 0.12);
    border-color: rgba(0, 179, 134, 0.3);
}

.history-card.featured {
    background: linear-gradient(145deg, var(--primary-color), var(--primary-dark));
    border-color: transparent;
    color: #ffffff;
}

.history-card.featured .history-year {
    color: rgba(255,255,255,0.5);
}

.history-card.featured .history-title {
    color: #ffffff;
}

.history-card.featured .history-desc {
    color: rgba(255,255,255,0.8);
}

.history-year {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 2px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.history-year::before {
    content: '';
    width: 20px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    opacity: 0.5;
}

.history-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
    line-height: 1.4;
}

.history-desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* 时间轴控制按钮 */
.history-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
}

.history-nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid rgba(0, 179, 134, 0.3);
    background: #ffffff;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 19px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.history-nav-btn:hover {
    background: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(0, 179, 134, 0.25);
}

/* ===== 医疗理念 ===== */
.philosophy-section {
    background: #ffffff;
    padding: 100px 0;
    position: relative;
    z-index: 2;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 60px;
}

.philosophy-card {
    background: #f8fcfb;
    border-radius: 20px;
    padding: 40px 32px;
    text-align: center;
    border: 1px solid rgba(0, 179, 134, 0.1);
    transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

/* 底部装饰渐变 */
.philosophy-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    border-radius: 0 0 20px 20px;
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.philosophy-card:hover::before {
    transform: scaleX(1);
}

.philosophy-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 179, 134, 0.1);
    border-color: rgba(0, 179, 134, 0.2);
    background: #ffffff;
}

/* 图标圈 */
.philosophy-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0,179,134,0.08), rgba(0,179,134,0.14));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 179, 134, 0.15);
}

.philosophy-icon svg {
    width: 36px;
    height: 36px;
    color: var(--primary-color);
    transition: all 0.4s ease;
}

/* 表情符号样式 */
.philosophy-emoji {
    font-size: 36px;
    line-height: 1;
    display: block;
    text-align: center;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.1));
    transition: all 0.4s ease;
    animation: emojiFloat 3s ease-in-out infinite;
}

@keyframes emojiFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

.philosophy-card:hover .philosophy-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    box-shadow: 0 8px 24px rgba(0, 179, 134, 0.3);
    border-color: transparent;
}

.philosophy-card:hover .philosophy-icon svg {
    color: #ffffff;
    transform: scale(1.1);
}

.philosophy-card:hover .philosophy-emoji {
    transform: scale(1.15);
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.2));
}

.philosophy-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 14px;
}

.philosophy-card p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ===== 荣誉资质 ===== */
.honors-section {
    background: linear-gradient(160deg, #f0faf6 0%, #e6f5ef 60%, #f4fbf8 100%);
    padding: 100px 0;
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.honors-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 179, 134, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 179, 134, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.honors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 60px;
    position: relative;
    z-index: 3;
}

.honor-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 28px 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.honor-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    border-radius: 16px 16px 0 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.honor-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0, 179, 134, 0.12);
    border-color: rgba(0, 179, 134, 0.2);
}

.honor-card:hover::after {
    opacity: 1;
}

/* 荣誉徽章 */
.honor-badge {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.honor-badge svg {
    width: 32px;
    height: 32px;
    transition: transform 0.4s ease;
}

.honor-card:hover .honor-badge {
    transform: scale(1.08);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.honor-card:hover .honor-badge svg {
    transform: scale(1.1);
}

/* 颜色变体 */
.honor-badge.gold     { background: linear-gradient(135deg, #fff3cd, #ffe082); }
.honor-badge.gold svg { color: #e6a817; }

.honor-badge.green    { background: linear-gradient(135deg, #e6f9f4, #b2f0e0); }
.honor-badge.green svg{ color: var(--primary-color); }

.honor-badge.blue     { background: linear-gradient(135deg, #e3f2fd, #bbdefb); }
.honor-badge.blue svg { color: #2c6fbb; }

.honor-badge.purple   { background: linear-gradient(135deg, #f3e5f5, #e1bee7); }
.honor-badge.purple svg{ color: #8e24aa; }

.honor-badge.red      { background: linear-gradient(135deg, #fce4ec, #f8bbd0); }
.honor-badge.red svg  { color: #c62828; }

.honor-badge.orange   { background: linear-gradient(135deg, #fff3e0, #ffe0b2); }
.honor-badge.orange svg{ color: #ef6c00; }

.honor-badge.teal     { background: linear-gradient(135deg, #e0f2f1, #b2dfdb); }
.honor-badge.teal svg { color: #00695c; }

.honor-badge.indigo   { background: linear-gradient(135deg, #e8eaf6, #c5cae9); }
.honor-badge.indigo svg{ color: #3949ab; }

/* 表情符号图标样式 */
.honor-icon {
    font-size: 24px;
    line-height: 1;
    display: block;
    text-align: center;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
    transition: transform 0.3s ease;
}

.honor-card:hover .honor-icon {
    transform: scale(1.1);
}

.honor-card-title {
    font-size: 15.5px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
    line-height: 1.4;
}

.honor-card-year {
    font-size: 14px;
    color: var(--text-light);
    letter-spacing: 0.5px;
}

/* ===== 环境设施 ===== */
.facility-section {
    background: #ffffff;
    padding: 60px 0;
    position: relative;
    z-index: 2;
}

/* 画廊网格 */
.facility-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 40px;
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    background: var(--bg-lighter);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

/* 图片占位（使用渐变色替代真实图片） */
.gallery-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover .gallery-img {
    transform: scale(1.05);
}

/* hover遮罩 */
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,60,40,0.8) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-label {
    color: #ffffff;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transform: translateY(10px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover .gallery-label {
    transform: translateY(0);
}

/* ===== 联系区块（CTA） ===== */
.about-cta {
    background: linear-gradient(135deg, #004d3a 0%, #007a5e 60%, #00b386 100%);
    padding: 80px 0;
    text-align: center;
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.about-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}

.about-cta h2 {
    font-size: 38px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
    position: relative;
    z-index: 3;
}

.about-cta p {
    font-size: 18px;
    color: rgba(255,255,255,0.75);
    margin-bottom: 36px;
    position: relative;
    z-index: 3;
}

.cta-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 3;
}

.cta-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    color: var(--primary-dark);
    padding: 14px 36px;
    border-radius: 50px;
    font-size: 17px;
    font-weight: 700;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.cta-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.18);
    color: var(--primary-color);
}

.cta-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: rgba(255,255,255,0.9);
    padding: 13px 36px;
    border-radius: 50px;
    font-size: 17px;
    font-weight: 600;
    border: 1.5px solid rgba(255,255,255,0.4);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(4px);
}

.cta-btn-outline:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.7);
    color: #ffffff;
    transform: translateY(-3px);
}

/* ===== 内页侧边导航 ===== */
.page-sidenav {
    position: sticky;
    top: 90px;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.sidenav-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    padding: 18px 20px;
    color: #ffffff;
    font-size: 17px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidenav-header svg {
    width: 18px;
    height: 18px;
    color: rgba(255,255,255,0.8);
}

.sidenav-list {
    padding: 8px;
}

.sidenav-list a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 14.5px;
    color: var(--text-secondary);
    transition: all 0.25s ease;
    font-weight: 500;
}

.sidenav-list a::before {
    content: '';
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--text-light);
    flex-shrink: 0;
    transition: all 0.25s ease;
}

.sidenav-list a:hover,
.sidenav-list a.active {
    background: var(--primary-lightest);
    color: var(--primary-dark);
}

.sidenav-list a:hover::before,
.sidenav-list a.active::before {
    background: var(--primary-color);
    transform: scale(1.5);
}

.sidenav-list a.active {
    font-weight: 600;
}

/* ===== 带侧边栏布局 ===== */
.content-with-sidebar {
    display: grid;
    grid-template-columns: 1fr 240px;
    gap: 40px;
    align-items: start;
    padding: 100px 0;
}

/* ===== 响应式 ===== */
@media (max-width: 1200px) {
    .stats-strip-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px 0;
    }
    .strip-stat:nth-child(4)::before {
        display: none;
    }
    .honors-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .page-hero h1 { font-size: 38px; }
    .overview-grid { grid-template-columns: 1fr; gap: 60px; }
    .overview-content { padding-left: 0; }
    .overview-img-main { height: 360px; }
    .overview-float-card { right: 20px; bottom: -16px; }
    .philosophy-grid { grid-template-columns: repeat(2, 1fr); }
    .honors-grid { grid-template-columns: repeat(2, 1fr); }
    .facility-gallery { grid-template-columns: repeat(2, 1fr); }
    .gallery-item.span-2 { grid-column: span 2; }
    .content-with-sidebar { grid-template-columns: 1fr; } 
    .page-sidenav { position: static; }
}

@media (max-width: 768px) {
    .page-hero { padding: 60px 0 70px; }
    .page-hero h1 { font-size: 30px; }
    .page-hero-stats { gap: 28px; flex-wrap: wrap; }
    .hero-stat-num { font-size: 28px; }
    .about-overview, .history-section, .philosophy-section,
    .honors-section, .facility-section { padding: 70px 0; }
    .stats-strip-grid { grid-template-columns: repeat(2, 1fr); gap: 30px 0; }
    .strip-stat::before { display: none; }
    .philosophy-grid { grid-template-columns: 1fr; }
    .honors-grid { grid-template-columns: repeat(2, 1fr); }
    .facility-gallery { grid-template-columns: 1fr; }
    .gallery-item.span-2 { grid-column: span 1; }
    .about-cta h2 { font-size: 28px; }
    .cta-btns { flex-direction: column; align-items: center; }
}

@media (max-width: 576px) {
    .honors-grid { grid-template-columns: repeat(2, 1fr); }
    .strip-stat-num { font-size: 32px; }
    .philosophy-card { padding: 30px 22px; }
}
