/* ========================================
   仁和医院官网 - 全局样式
   ======================================== */

/* CSS变量定义 */
:root {
    --primary-color: #0066b3;
    --primary-light: #0088e0;
    --primary-dark: #00528a;
    --secondary-color: #00a878;
    --accent-color: #ff6b6b;
    --dark-bg: #1a1a2e;
    --dark-secondary: #16213e;
    --light-bg: #f0f5f9;
    --white: #ffffff;
    --text-primary: #333333;
    --text-secondary: #666666;
    --text-light: #999999;
    --gradient-primary: linear-gradient(135deg, #0066b3 0%, #0088e0 100%);
    --gradient-secondary: linear-gradient(135deg, #00a878 0%, #00c9a7 100%);
    --box-shadow: 0 10px 40px rgba(0, 102, 179, 0.15);
    --transition: all 0.3s ease;
}

/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* 容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 102, 179, 0.35);
}

.btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 10px 25px;
    font-size: 14px;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

.btn-large {
    padding: 16px 40px;
    font-size: 16px;
}

/* 页面区块 */
.section {
    padding: 100px 0;
}

/* 区块标题 */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 36px;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.section-header p {
    font-size: 16px;
    color: var(--text-secondary);
}

.section-footer {
    text-align: center;
    margin-top: 40px;
}

/* ========================================
   导航栏样式
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    padding: 12px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
}

.logo i {
    font-size: 28px;
    color: var(--accent-color);
}

.navbar .nav-list {
    display: flex;
    gap: 30px;
}

.navbar .nav-list a {
    font-size: 15px;
    color: var(--text-secondary);
    transition: var(--transition);
    position: relative;
}

.navbar .nav-list a:hover,
.navbar .nav-list a.active {
    color: var(--primary-color);
}

.navbar .nav-list a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition);
}

.navbar .nav-list a:hover::after,
.navbar .nav-list a.active::after {
    width: 100%;
}

.header-actions {
    margin-left: 20px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 24px;
    cursor: pointer;
}

/* ========================================
   Hero 区域
   ======================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 650px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('https://images.unsplash.com/photo-1519494026892-80bbd2d6fd0d?w=1920') center/cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 102, 179, 0.88) 0%, rgba(22, 33, 62, 0.9) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.hero-features {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 50px;
    background: rgba(255, 255, 255, 0.95);
    padding: 20px 50px;
    border-radius: 50px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
}

.feature-item i {
    font-size: 24px;
    color: var(--primary-color);
}

/* ========================================
   科室预览
   ======================================== */
.departments-preview {
    background: var(--white);
}

.dept-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.dept-card {
    text-align: center;
    padding: 30px 15px;
    background: var(--light-bg);
    border-radius: 15px;
    transition: var(--transition);
    cursor: pointer;
}

.dept-card:hover {
    transform: translateY(-8px);
    background: white;
    box-shadow: var(--box-shadow);
}

.dept-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 50%;
    font-size: 28px;
    color: white;
}

.dept-card h3 {
    font-size: 16px;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.dept-card p {
    font-size: 13px;
    color: var(--text-secondary);
}

/* ========================================
   关于医院
   ======================================== */
.about-preview {
    background: var(--light-bg);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image img {
    border-radius: 15px;
    box-shadow: var(--box-shadow);
}

.about-content h2 {
    font-size: 34px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-content > p {
    color: var(--text-secondary);
    margin-bottom: 15px;
    line-height: 1.8;
}

.about-list {
    margin: 25px 0;
}

.about-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: var(--text-secondary);
}

.about-list i {
    color: var(--secondary-color);
}

/* ========================================
   数据统计
   ======================================== */
.stats {
    background: var(--gradient-primary);
    padding: 80px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-item {
    text-align: center;
    color: white;
}

.stat-icon {
    font-size: 36px;
    margin-bottom: 15px;
    opacity: 0.8;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 15px;
    opacity: 0.9;
}

/* ========================================
   专家团队
   ======================================== */
.doctors-preview {
    background: white;
}

.doctors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.doctor-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.doctor-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow);
}

.doctor-image img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.doctor-info {
    padding: 25px;
    text-align: center;
}

.doctor-info h3 {
    font-size: 20px;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.doctor-info .title {
    font-size: 13px;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.doctor-info .dept {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.doctor-info .specialty {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 15px;
}

/* ========================================
   特色服务
   ======================================== */
.services-section {
    background: var(--light-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.service-card {
    background: white;
    padding: 35px 25px;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--box-shadow);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-secondary);
    border-radius: 50%;
    font-size: 32px;
    color: white;
}

.service-card h3 {
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* ========================================
   健康资讯
   ======================================== */
.health-news {
    background: white;
}

.news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 25px;
}

.news-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--box-shadow);
}

.news-card.large {
    grid-row: span 2;
}

.news-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-card.large .news-image img {
    height: 280px;
}

.news-content {
    padding: 20px;
}

.news-tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--primary-color);
    color: white;
    border-radius: 15px;
    font-size: 12px;
    margin-bottom: 10px;
}

.news-content h3 {
    font-size: 17px;
    color: var(--text-primary);
    margin-bottom: 10px;
    line-height: 1.4;
}

.news-content > p {
    color: var(--text-secondary);
    font-size: 13px;
    margin-bottom: 12px;
}

.news-meta {
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: var(--text-light);
}

.news-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ========================================
   联系方式
   ======================================== */
.contact-section {
    background: var(--light-bg);
    padding: 60px 0;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.contact-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.contact-card i {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.contact-card h3 {
    font-size: 16px;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.contact-card p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* ========================================
   页脚
   ======================================== */
.footer {
    background: var(--dark-bg);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
}

.footer-logo i {
    color: var(--accent-color);
}

.footer-col > p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 20px;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary-color);
}

.footer-col h4 {
    font-size: 16px;
    color: white;
    margin-bottom: 25px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--primary-light);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.footer-contact i {
    color: var(--primary-light);
    margin-top: 3px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.4);
    font-size: 14px;
}

/* ========================================
   科室页面样式
   ======================================== */

/* 页面标题 */
.page-header {
    position: relative;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('https://images.unsplash.com/photo-1516672423162-1875b0a5579c?w=1920') center/cover;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 102, 179, 0.9) 0%, rgba(22, 33, 62, 0.8) 100%);
}

.page-header .container {
    position: relative;
    z-index: 1;
    text-align: center;
}

.page-header h1 {
    font-size: 48px;
    color: white;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
}

/* 科室分类 */
.dept-categories {
    background: var(--light-bg);
    padding: 30px 0;
}

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.category-tab {
    padding: 12px 24px;
    background: white;
    border: 1px solid var(--text-light);
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
}

.category-tab:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.category-tab.active {
    background: var(--gradient-primary);
    border-color: var(--primary-color);
    color: white;
}

/* 科室列表 */
.departments-section {
    background: white;
}

.departments-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.dept-card {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    padding: 30px;
    text-align: center;
}

.dept-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--box-shadow);
}

.dept-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 50%;
    font-size: 32px;
    color: white;
}

.dept-card h3 {
    font-size: 20px;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.dept-desc {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.dept-features {
    margin-bottom: 20px;
    text-align: left;
}

.dept-features ul {
    list-style: none;
}

.dept-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 14px;
    color: var(--text-secondary);
}

.dept-features i {
    color: var(--secondary-color);
    font-size: 16px;
}

.dept-experts {
    margin-bottom: 25px;
    text-align: left;
}

.dept-experts h4 {
    font-size: 14px;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.dept-experts p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* 预约挂号 */
.appointment-section {
    background: var(--gradient-primary);
    color: white;
    text-align: center;
}

.appointment-content h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.appointment-content p {
    font-size: 16px;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* ========================================
   专家页面样式
   ======================================== */

/* 专家筛选 */
.doctor-filter {
    background: var(--light-bg);
    padding: 30px 0;
}

.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 12px 24px;
    background: white;
    border: 1px solid var(--text-light);
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
}

.filter-tab:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.filter-tab.active {
    background: var(--gradient-primary);
    border-color: var(--primary-color);
    color: white;
}

/* 专家列表 */
.doctors-section {
    background: white;
}

.doctors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.doctor-card {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.doctor-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--box-shadow);
}

.doctor-image img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.doctor-info {
    padding: 25px;
}

.doctor-info h3 {
    font-size: 20px;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.doctor-info .title {
    font-size: 13px;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.doctor-info .dept {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.doctor-info .specialty {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 10px;
    font-weight: 500;
}

.doctor-info .bio {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 15px;
}

.doctor-schedule {
    margin-bottom: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.doctor-schedule h4 {
    font-size: 14px;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.doctor-schedule p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* ========================================
   服务页面样式
   ======================================== */

/* 服务列表 */
.services-section {
    background: var(--light-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.service-card {
    background: white;
    padding: 35px 25px;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--box-shadow);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-secondary);
    border-radius: 50%;
    font-size: 32px;
    color: white;
}

.service-card h3 {
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.service-desc {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-features {
    margin-bottom: 25px;
    text-align: left;
}

.service-features ul {
    list-style: none;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 13px;
    color: var(--text-secondary);
}

.service-features i {
    color: var(--secondary-color);
    font-size: 14px;
}

/* 服务流程 */
.service-process {
    background: white;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 2px;
    background: var(--text-light);
    z-index: 1;
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 50%;
    font-size: 20px;
    font-weight: 700;
    color: white;
    position: relative;
}

.process-step h3 {
    font-size: 16px;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.process-step p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* 常见问题 */
.faq-section {
    background: var(--light-bg);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.faq-question {
    padding: 20px 25px;
    background: white;
    border: none;
    text-align: left;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:hover {
    background: rgba(0, 102, 179, 0.05);
}

.faq-question::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-answer {
    padding: 0 25px 20px;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    display: none;
}

/* ========================================
   联系页面样式
   ======================================== */

/* 联系信息 */
.contact-info {
    background: white;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.contact-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.contact-card i {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.contact-card h3 {
    font-size: 16px;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.contact-card p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.5;
}

/* 联系表单 */
.contact-form-section {
    background: var(--light-bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.form-section h2,
.map-section h2 {
    font-size: 28px;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.form-section p {
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-size: 15px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 1px solid var(--text-light);
    border-radius: 8px;
    font-size: 14px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 102, 179, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* 地图区域 */
.map-container {
    height: 300px;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.map-placeholder {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0f5f9 0%, #e6f0fa 100%);
    text-align: center;
    padding: 40px;
}

.map-placeholder i {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.map-placeholder p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 10px;
}

.transport-info h3 {
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.transport-info ul {
    list-style: none;
}

.transport-info li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: var(--text-secondary);
    font-size: 14px;
}

.transport-info i {
    color: var(--primary-color);
    font-size: 16px;
}

/* ========================================
   响应式设计
   ======================================== */
@media (max-width: 1024px) {
    .dept-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .departments-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .doctors-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-steps {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px 20px;
    }
    
    .process-steps::before {
        display: none;
    }
    
    .news-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .news-card.large {
        grid-row: span 1;
    }
    
    .contact-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .category-tabs,
    .filter-tabs {
        gap: 10px;
    }
    
    .category-tab,
    .filter-tab {
        padding: 10px 20px;
        font-size: 13px;
    }
    
    .page-header h1 {
        font-size: 36px;
    }
    
    .page-header p {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .navbar .nav-list {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        gap: 15px;
    }
    
    .navbar .nav-list.active {
        display: flex;
    }
    
    .header-actions {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-content h1 {
        font-size: 30px;
    }
    
    .hero-content p {
        font-size: 15px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-features {
        flex-wrap: wrap;
        gap: 20px;
        padding: 20px;
        width: 90%;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .dept-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .departments-grid {
        grid-template-columns: 1fr;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .doctors-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-cards {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .category-tabs,
    .filter-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .category-tab,
    .filter-tab {
        width: 100%;
        max-width: 200px;
        text-align: center;
    }
    
    .page-header h1 {
        font-size: 28px;
    }
    
    .page-header p {
        font-size: 14px;
    }
    
    .dept-card {
        padding: 20px;
    }
    
    .dept-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .dept-card h3 {
        font-size: 18px;
    }
    
    .doctor-image img {
        height: 200px;
    }
    
    .doctor-info {
        padding: 20px;
    }
    
    .doctor-info h3 {
        font-size: 18px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .service-card {
        padding: 25px 20px;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .service-card h3 {
        font-size: 16px;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 18px;
    }
    
    .process-step h3 {
        font-size: 15px;
    }
    
    .faq-question {
        padding: 15px 20px;
        font-size: 15px;
    }
    
    .faq-answer {
        padding: 0 20px 15px;
    }
    
    .contact-cards {
        grid-template-columns: 1fr;
    }
    
    .contact-card {
        padding: 20px;
    }
    
    .contact-card i {
        font-size: 28px;
    }
    
    .contact-card h3 {
        font-size: 15px;
    }
    
    .map-container {
        height: 250px;
    }
    
    .form-section h2,
    .map-section h2 {
        font-size: 24px;
    }
    
    .map-placeholder i {
        font-size: 36px;
    }
    
    .map-placeholder {
        padding: 30px;
    }
}
