/* === 子页面 Hero === */
.page-hero {
    position: relative; height: 300px; margin-top: 72px;
    background: url('../images/hero-bg.jpg') center/cover no-repeat;
    display: flex; align-items: center; justify-content: center;
}
.page-hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(109,86,72,0.75) 0%, rgba(139,111,94,0.6) 100%);
}
.page-hero-content { position: relative; z-index: 1; text-align: center; color: white; }
.page-hero-content h1 { font-size: 36px; font-weight: 300; letter-spacing: 4px; margin-bottom: 8px; }
.page-hero-content p { font-size: 16px; opacity: 0.85; }

/* === 文字排版 === */
.prose p { margin-bottom: 16px; color: var(--text-light); line-height: 2; font-size: 16px; }
.content-block { max-width: 800px; margin: 0 auto; }

/* === 分割线 === */
.divider { height: 1px; background: var(--border); margin: 0 auto; max-width: 600px; }

/* === 时间线 === */
.timeline { max-width: 700px; margin: 48px auto 0; position: relative; padding-left: 40px; }
.timeline::before {
    content: ''; position: absolute; left: 12px; top: 0; bottom: 0;
    width: 2px; background: var(--border);
}
.timeline-item { position: relative; margin-bottom: 40px; }
.timeline-item::before {
    content: ''; position: absolute; left: -34px; top: 4px;
    width: 12px; height: 12px; border-radius: 50%;
    background: var(--accent); border: 3px solid white; box-shadow: 0 0 0 2px var(--accent);
}
.timeline-year {
    font-size: 14px; font-weight: 600; color: var(--accent);
    margin-bottom: 4px; letter-spacing: 1px;
}
.timeline-content h3 { font-size: 18px; font-weight: 600; color: var(--primary-dark); margin-bottom: 4px; }
.timeline-content p { font-size: 15px; color: var(--text-light); line-height: 1.6; }

/* === 价值观/理念 === */
.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 900px; margin: 48px auto 0; }
.value-card {
    padding: 28px; background: var(--bg-warm); border-radius: var(--radius);
    border: 1px solid var(--border); transition: var(--transition);
}
.value-card:hover { box-shadow: var(--shadow-hover); }
.value-icon { font-size: 28px; margin-bottom: 12px; }
.value-card h3 { font-size: 17px; font-weight: 600; color: var(--primary-dark); margin-bottom: 8px; }
.value-card p { font-size: 14px; color: var(--text-light); line-height: 1.7; }

/* === 医生详情 === */
.doctor-detail { display: flex; gap: 40px; margin-bottom: 40px; padding: 40px 0; }
.doctor-detail-photo {
    width: 200px; height: 260px; border-radius: var(--radius);
    overflow: hidden; flex-shrink: 0; background: var(--border);
}
.doctor-detail-photo img { width: 100%; height: 100%; object-fit: cover; }
.doctor-detail-info { flex: 1; }
.doctor-detail-info h2 { font-size: 28px; font-weight: 400; color: var(--primary-dark); margin-bottom: 12px; }
.doctor-meta { display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }
.meta-tag {
    display: inline-block; padding: 4px 12px; background: var(--bg-alt);
    border: 1px solid var(--border); border-radius: 4px;
    font-size: 13px; color: var(--text-light);
}
.info-table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.info-table th {
    text-align: left; padding: 10px 16px; background: var(--bg-alt);
    border-bottom: 1px solid var(--border); font-size: 14px; font-weight: 600;
    color: var(--primary-dark); width: 120px; white-space: nowrap;
}
.info-table td {
    padding: 10px 16px; border-bottom: 1px solid var(--border);
    font-size: 14px; color: var(--text-light); line-height: 1.6;
}
.doctor-note { margin-top: 16px; padding: 16px; background: var(--bg-warm); border-radius: var(--radius); border-left: 3px solid var(--accent); }
.doctor-note p { font-size: 14px; color: var(--text-light); line-height: 1.7; margin: 0; }

/* === 资质查验 === */
.verify-box {
    max-width: 700px; margin: 0 auto; padding: 32px;
    background: white; border-radius: var(--radius); box-shadow: var(--shadow);
}
.verify-box h3 { font-size: 20px; color: var(--primary-dark); margin-bottom: 12px; }
.verify-box p { font-size: 15px; color: var(--text-light); line-height: 1.8; margin-bottom: 12px; }
.verify-box ol { padding-left: 20px; margin-bottom: 16px; }
.verify-box li { font-size: 14px; color: var(--text-light); line-height: 2; }
.verify-note { font-size: 13px; color: var(--text-muted); }

/* === 服务详情 === */
.service-detail { margin-bottom: 20px; }
.service-detail-header { margin-bottom: 32px; }
.service-detail-header h2 { font-size: 28px; font-weight: 400; color: var(--primary-dark); margin-bottom: 8px; }
.service-category { font-size: 14px; color: var(--accent); font-weight: 500; }
.service-detail-body { display: grid; grid-template-columns: 1fr 360px; gap: 40px; align-items: start; }
.service-detail-text h3 { font-size: 18px; color: var(--primary-dark); margin: 24px 0 8px; }
.service-detail-text h3:first-child { margin-top: 0; }
.service-detail-text p { font-size: 15px; color: var(--text-light); line-height: 1.8; }
.service-detail-image { border-radius: var(--radius); overflow: hidden; background: var(--border); min-height: 240px; }
.service-detail-image img { width: 100%; height: 100%; object-fit: cover; }
.service-notice {
    margin-top: 20px; padding: 16px; background: var(--bg-warm);
    border-radius: var(--radius); border-left: 3px solid var(--accent);
}
.service-notice p { font-size: 13px; color: var(--text-muted); line-height: 1.7; margin: 0; }

/* === 价格表 === */
.price-table { width: 100%; border-collapse: collapse; background: white; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.price-table th {
    padding: 14px 20px; background: var(--primary-dark); color: white;
    font-size: 14px; font-weight: 500; text-align: left;
}
.price-table td { padding: 14px 20px; border-bottom: 1px solid var(--border); font-size: 14px; color: var(--text-light); }
.price-table tr:last-child td { border-bottom: none; }
.price-table tr:hover td { background: var(--bg-warm); }

/* === 图库 === */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery-item { border-radius: var(--radius); overflow: hidden; background: var(--border); }
.gallery-item img { width: 100%; height: 200px; object-fit: cover; transition: var(--transition); }
.gallery-item:hover img { transform: scale(1.03); }
.gallery-caption { text-align: center; padding: 8px; font-size: 13px; color: var(--text-muted); background: white; }

/* === 联系页 === */
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.contact-card {
    padding: 32px; background: var(--bg-warm); border-radius: var(--radius);
    border: 1px solid var(--border);
}
.contact-card h2 { font-size: 22px; color: var(--primary-dark); margin-bottom: 20px; font-weight: 500; }
.contact-info-list { margin-bottom: 20px; }
.contact-row { display: flex; padding: 10px 0; border-bottom: 1px solid var(--border); }
.contact-label { width: 80px; font-size: 14px; font-weight: 600; color: var(--primary-dark); flex-shrink: 0; }
.contact-value { font-size: 14px; color: var(--text-light); }
.map-placeholder {
    height: 200px; background: var(--border); border-radius: var(--radius);
    display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden;
}
.map-placeholder img { width: 100%; height: 100%; object-fit: cover; }
.map-placeholder p { font-size: 13px; color: var(--text-muted); margin-top: 8px; }

/* === 就诊须知 === */
.notice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 900px; margin: 48px auto 0; }
.notice-card {
    padding: 24px; background: white; border-radius: var(--radius);
    box-shadow: var(--shadow); transition: var(--transition);
}
.notice-card:hover { box-shadow: var(--shadow-hover); }
.notice-card h3 { font-size: 16px; margin-bottom: 8px; color: var(--primary-dark); }
.notice-card p { font-size: 14px; color: var(--text-light); line-height: 1.7; }

/* === 响应式 === */
@media (max-width: 768px) {
    .page-hero { height: 220px; }
    .page-hero-content h1 { font-size: 26px; }
    .doctor-detail { flex-direction: column; align-items: center; text-align: center; }
    .doctor-detail-photo { width: 160px; height: 200px; }
    .service-detail-body { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: 1fr; }
    .notice-grid { grid-template-columns: 1fr; }
    .info-table th { width: 90px; }
}
