@charset "gb2312";
/* ==================== HERO ==================== */
.hero {
    min-height: auto; display: flex; align-items: center;
    background: linear-gradient(160deg, #e8f4fd 0%, #d4e7f7 35%, #c8e0f3 65%, #e0f0fa 100%);
    position: relative; overflow: hidden; padding-top: 72px; padding-bottom: 40px;
}
.hero-bg-dots {
    position: absolute; inset: 0; opacity: 0.15;
    background-image: radial-gradient(circle, var(--primary) 1px, transparent 1px);
    background-size: 30px 30px;
}
.hero-bg-circle {
    position: absolute; border-radius: 50%; background: rgba(26,111,181,0.06);
}
.hero-bg-circle.c1 { width: 600px; height: 600px; top: -200px; right: -150px; }
.hero-bg-circle.c2 { width: 350px; height: 350px; bottom: -100px; left: -80px; }
.hero-inner {
    max-width: 1200px; margin: 0 auto; padding: 48px 24px;
    display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1;
}
.hero-tag {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,0.85); backdrop-filter: blur(10px);
    padding: 8px 20px; border-radius: 30px; font-size: 14px; font-weight: 600; color: var(--primary); margin-bottom: 24px;
}
.hero-tag-dot { width: 8px; height: 8px; background: var(--success); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.4; transform: scale(1.6); } }
.hero-title { font-size: 54px; font-weight: 900; line-height: 1.15; margin-bottom: 20px; }
.hero-title span { background: linear-gradient(135deg, var(--primary), var(--accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-desc { font-size: 18px; color: var(--text-light); line-height: 1.8; margin-bottom: 36px; max-width: 480px; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 40px; }
.hero-stat { background: rgba(255,255,255,0.8); backdrop-filter: blur(10px); padding: 20px; border-radius: var(--radius); text-align: center; }
.hero-stat-num { font-size: 28px; font-weight: 800; color: var(--primary); }
.hero-stat-label { font-size: 13px; color: var(--text-light); margin-top: 4px; }
.hero-visual { display: flex; align-items: center; justify-content: center; }
.hero-card {
    width: 100%; max-width: 480px; background: #fff; border-radius: var(--radius-lg);
    padding: 48px 36px; box-shadow: var(--shadow-lg); text-align: center; position: relative;
}
.hero-card::before {
    content: ''; position: absolute; inset: -3px; border-radius: 23px;
    background: linear-gradient(135deg, var(--primary), var(--accent)); z-index: -1; opacity: 0.2;
}
.hero-card svg { width: 240px; height: auto; }
.hero-card-badges { display: flex; gap: 10px; justify-content: center; margin-top: 24px; flex-wrap: wrap; }
.hero-card-badge { background: var(--primary-lighter); color: var(--primary); font-size: 12px; font-weight: 600; padding: 6px 14px; border-radius: 6px; }

@media (max-width: 900px) {
    .hero-inner { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .hero-title { font-size: 38px; }
    .hero-desc { margin: 0 auto 36px; }
    .hero-btns { justify-content: center; }
    .hero-stats { max-width: 400px; margin: 32px auto 0; }
    .hero-visual { order: -1; }
    .hero-card { max-width: 320px; padding: 32px 24px; }
}

/* ==================== FEATURES ==================== */
.features { background: #fff; }
.features-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.feature-card {
    text-align: center; padding: 32px 20px; background: var(--bg); border-radius: var(--radius);
    border: 1px solid var(--border); transition: var(--transition);
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--primary-light); }
.feature-icon {
    width: 64px; height: 64px; margin: 0 auto 20px; background: var(--primary-lighter);
    border-radius: 16px; display: flex; align-items: center; justify-content: center;
    font-size: 32px;
}
.feature-title { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.feature-desc { font-size: 14px; color: var(--text-light); line-height: 1.7; }

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

/* ==================== DEPARTMENTS ==================== */
.departments { background: var(--bg-alt); }
.dept-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.dept-card {
    background: #fff; border-radius: var(--radius); overflow: hidden;
    border: 1px solid var(--border); transition: var(--transition);
}
.dept-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.dept-card-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 28px 24px; color: #fff; position: relative; overflow: hidden;
}
.dept-card-header::after {
    content: ''; position: absolute; bottom: -30px; right: -30px;
    width: 100px; height: 100px; border-radius: 50%; background: rgba(255,255,255,0.06);
}
.dept-icon { font-size: 32px; margin-bottom: 12px; }
.dept-name { font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.dept-subtitle { font-size: 13px; opacity: 0.8; }
.dept-card-body { padding: 20px 24px; }
.dept-list { list-style: none; }
.dept-list li { font-size: 14px; color: var(--text-light); padding: 8px 0; padding-left: 18px; position: relative; border-bottom: 1px solid var(--border); }
.dept-list li:last-child { border-bottom: none; }
.dept-list li::before { content: '.'; position: absolute; left: 0; color: var(--primary); font-weight: bold; }

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

/* ==================== DOCTORS (Homepage) ==================== */
.doctors { background: #fff; }
.doc-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.doc-card {
    background: #fff; border-radius: var(--radius); border: 1px solid var(--border);
    overflow: hidden; transition: var(--transition); text-align: center;
}
.doc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.doc-avatar-wrap { padding: 32px 20px 0; }
.doc-avatar {
    width: 100px; height: 100px; border-radius: 50%; margin: 0 auto;
    object-fit: cover;
}
.doc-card-body { padding: 20px; }
.doc-name { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.doc-title { font-size: 13px; color: var(--primary); font-weight: 600; margin-bottom: 8px; }
.doc-dept { font-size: 12px; color: var(--text-lighter); background: var(--bg-alt); display: inline-block; padding: 3px 12px; border-radius: 12px; margin-bottom: 12px; }
.doc-tags { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.doc-tag { font-size: 11px; padding: 3px 10px; background: var(--primary-lighter); color: var(--primary); border-radius: 6px; }

@media (max-width: 960px) { .doc-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) { .doc-grid { grid-template-columns: 1fr; max-width: 320px; margin: 0 auto; } }

/* ==================== APPOINTMENT ==================== */
.appointment { background: var(--bg-alt); }
.appt-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.appt-info {
    display: flex; flex-direction: column;
    height: 100%;
}
.appt-info > p { color: var(--text-light); line-height: 1.8; margin-bottom: 32px; }
.appt-info .appt-qrcode { margin-top: auto; padding-top: 16px; }
.appt-contact-item { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 24px; }
.appt-contact-icon {
    width: 48px; height: 48px; background: var(--primary-lighter); border-radius: 12px;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 22px;
}
.appt-contact-text h4 { font-size: 16px; font-weight: 600; margin-bottom: 2px; }
.appt-contact-text p { font-size: 14px; color: var(--text-light); margin: 0; }
.appt-qrcode {
    display: flex; flex-direction: column; align-items: center; gap: 16px;
    margin-top: 8px; padding: 28px 20px;
    background: #fff;
    border: 2px dashed rgba(26,111,181,0.25);
    border-radius: 16px;
}
.appt-qrcode img {
    width: 140px; height: 140px; object-fit: cover;
    border-radius: 8px;
}
.appt-qrcode p {
    font-size: 15px; color: var(--text-light); font-weight: 500;
    margin: 0; text-align: center;
}
.appt-traffic { font-size: 13px; }
.appt-traffic h4 { margin-bottom: 12px; }
.appt-traffic-group { margin-bottom: 8px; color: var(--text-light); line-height: 1.7; }
.appt-traffic-group strong { color: var(--text); }
.appt-traffic-group:last-child { margin-bottom: 0; }
.appt-bus-item { padding-left: 12px; margin-bottom: 4px; border-left: 2px solid var(--primary-light); }
.appt-bus-item span { color: var(--primary-dark); font-weight: 600; }
.appt-form-card {
    background: #fff; border-radius: var(--radius-lg); padding: 36px;
    box-shadow: var(--shadow-lg); border: 1px solid var(--border);
}
.appt-form-card h3 { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.appt-form-card > p { font-size: 14px; color: var(--text-light); margin-bottom: 28px; }

@media (max-width: 900px) {
    .appt-wrapper { grid-template-columns: 1fr; gap: 40px; }
}

/* ==================== NEWS (Homepage) ==================== */
.news { background: #fff; }
.news-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.news-card { background: #fff; border-radius: var(--radius); border: 1px solid var(--border); overflow: hidden; transition: var(--transition); cursor: pointer; text-decoration: none; color: inherit; display: block; }
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.news-img {
    height: 200px; display: flex; align-items: center; justify-content: center; position: relative;
    font-size: 48px;
}
.news-img.i1 { background: linear-gradient(135deg, #dbeafe, #bfdbfe); }
.news-img.i2 { background: linear-gradient(135deg, #fef3c7, #fde68a); }
.news-img.i3 { background: linear-gradient(135deg, #d1fae5, #a7f3d0); }
.news-category {
    position: absolute; top: 16px; left: 16px; background: var(--primary); color: #fff;
    font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 6px;
}
.news-card-body { padding: 22px; }
.news-date { font-size: 12px; color: var(--text-lighter); margin-bottom: 8px; }
.news-title { font-size: 17px; font-weight: 600; margin-bottom: 8px; line-height: 1.5; }
.news-excerpt { font-size: 14px; color: var(--text-light); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

@media (max-width: 960px) { .news-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px) { .news-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; } }
