/**
 * @file environment.css
 * @purpose 医院环境
 * @author 重庆嘉华医院
 * @datetime 2026-11-09 10:27:00
 * @description 医院环境样式。
 */

/* 环境介绍 */
.env-intro {
    max-width: 900px;
    margin: 0 auto 50px;
    text-align: center;
}

.env-intro__lead {
    font-size: 16px;
    line-height: 1.9;
    color: #475569;
    margin: 0;
}

/* 环境图片网格 */
.env-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.env-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.env-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.env-card__img {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.env-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.env-card:hover .env-card__img img {
    transform: scale(1.08);
}

.env-card__body {
    padding: 16px 20px;
}

.env-card__title {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 6px;
}

.env-card__desc {
    font-size: 13px;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* 环境特色 */
.env-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.env-feature {
    text-align: center;
    padding: 32px 20px;
    background: #f8fafc;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.env-feature:hover {
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.env-feature__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, #00B4D8 0%, #0096C7 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 28px;
}

.env-feature__title {
    font-size: 17px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
}

.env-feature__desc {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 992px) {
    .env-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .env-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-banner__title {
        font-size: 28px;
    }

    .section-title {
        font-size: 24px;
    }

    .env-grid {
        grid-template-columns: 1fr;
    }

    .env-features {
        grid-template-columns: 1fr;
    }
}
