/**
 * @file floor.css
 * @purpose 楼层分布
 * @author 重庆嘉华医院
 * @datetime 2026-11-09 10:27:00
 * @description 医院楼层分布样式。
 */

/* 楼层导览 */
.floor-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 50px;
}

.floor-card {
    display: flex;
    gap: 20px;
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.floor-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1);
}

.floor-card__badge {
    flex-shrink: 0;
    width: 84px;
    height: 84px;
    background: linear-gradient(135deg, #00B4D8 0%, #0077A8 100%);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.floor-card__num {
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
}

.floor-card__unit {
    font-size: 12px;
    opacity: 0.9;
    margin-top: 4px;
}

.floor-card__content {
    flex: 1;
}

.floor-card__name {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 12px;
}

.floor-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.floor-tag {
    font-size: 13px;
    color: #475569;
    background: #f1f5f9;
    border-radius: 6px;
    padding: 5px 12px;
    transition: all 0.2s ease;
}

.floor-tag:hover {
    color: #fff;
    background: #00B4D8;
}

/* 温馨提示 */
.floor-note {
    padding: 24px 30px;
    background: #eff6ff;
    border-left: 4px solid #00B4D8;
    border-radius: 0 10px 10px 0;
}

.floor-note h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 10px;
}

.floor-note ul {
    margin: 0;
    padding-left: 20px;
}

.floor-note li {
    font-size: 14px;
    color: #475569;
    line-height: 1.9;
}

@media (max-width: 992px) {
    .floor-list {
        grid-template-columns: 1fr;
    }
}

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

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

    .floor-card {
        flex-direction: column;
    }

    .floor-card__badge {
        width: 100%;
        height: 60px;
        flex-direction: row;
        gap: 10px;
    }

    .floor-card__unit {
        margin-top: 0;
    }
}
