/* 石家庄燕赵医院肾病专科 - 网站样式 v2.0 */
:root {
    --primary:        #1a73e8;
    --primary-dark:   #1557b0;
    --primary-light:  #e8f0fe;
    --secondary:      #0d9488;
    --secondary-dark: #0f766e;
    --accent:        #f59e0b;
    --danger:        #dc2626;
    --success:       #059669;
    --wechat:        #07c160;
    --wechat-dark:   #06ae56;

    --bg:           #f0f5ff;
    --bg-card:       #ffffff;
    --text:          #1e293b;
    --text-sub:      #64748b;
    --text-muted:    #94a3b8;
    --border:        #e2e8f0;
    --radius-sm:     8px;
    --radius-md:     14px;
    --radius-lg:     20px;
    --radius-xl:     28px;
    --shadow-sm:     0 1px 3px rgba(0,0,0,.06);
    --shadow-md:     0 4px 12px rgba(0,0,0,.08);
    --shadow-lg:     0 8px 30px rgba(0,0,0,.12);
    --shadow-xl:     0 16px 48px rgba(0,0,0,.16);

    --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
}

/* ====== RESET ====== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.75;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }

/* ====== NAVBAR ====== */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(255,255,255,.88);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 1px 0 var(--border);
    transition: all .35s cubic-bezier(.4,0,.2,1);
    border-bottom: 1px solid transparent;
}
.navbar.scrolled {
    background: rgba(255,255,255,.96);
    box-shadow: var(--shadow-md);
    border-bottom-color: var(--border);
}
.navbar-inner {
    max-width: 1240px; margin: 0 auto; padding: 0 24px;
    display: flex; align-items: center; justify-content: space-between;
    height: 72px;
}
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo-icon {
    width: 44px; height: 44px; border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 22px; font-weight: 800;
    box-shadow: 0 2px 8px rgba(26,115,232,.3);
}
.nav-logo-text h1 { font-size: 17px; color: var(--primary); font-weight: 700; line-height: 1.3; }
.nav-logo-text span { font-size: 11px; color: var(--text-muted); letter-spacing: .5px; }

.nav-menu { display: flex; align-items: center; gap: 6px; }
.nav-menu a {
    padding: 8px 16px; border-radius: 50px;
    font-size: 14.5px; font-weight: 500; color: var(--text);
    transition: all .25s; position: relative;
}
.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary); background: var(--primary-light);
}
.nav-menu .nav-cta {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
    color: #fff !important; padding: 8px 22px !important;
    box-shadow: 0 4px 14px rgba(26,115,232,.35);
    transition: all .3s;
}
.nav-menu .nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26,115,232,.45);
}
.nav-phone {
    display: flex; align-items: center; gap: 8px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff !important;
    padding: 10px 22px; border-radius: 50px;
    font-weight: 600; font-size: 14px;
    box-shadow: 0 4px 14px rgba(26,115,232,.3);
    transition: all .3s;
}
.nav-phone:hover { transform: translateY(-2px) scale(1.03); }

.menu-toggle {
    display: none; background: none; border: none;
    font-size: 26px; cursor: pointer; color: var(--text);
    width: 44px; height: 44px; border-radius: 50%;
    transition: background .2s;
}
.menu-toggle:hover { background: var(--primary-light); }

.nav-overlay {
    display: none; position: fixed;
    inset: 0; background: rgba(0,0,0,.45);
    z-index: 998; opacity: 0; transition: opacity .3s;
}
.nav-overlay.show { display: block; opacity: 1; }

/* ====== HERO ====== */
.hero {
    margin-top: 72px;
    min-height: 600px;
    background: linear-gradient(160deg, #0f2d6e 0%, #1a73e8 35%, #0d9488 100%);
    position: relative; overflow: hidden;
}
.hero-bg-pattern {
    position: absolute; inset: 0; pointer-events: none;
    background-image:
        radial-gradient(circle at 15% 25%, rgba(255,255,255,.07) 0%, transparent 50%),
        radial-gradient(circle at 85% 75%, rgba(255,255,255,.05) 0%, transparent 50%);
}
.hero-bg-glow {
    position: absolute; width: 600px; height: 600px;
    border-radius: 50%; filter: blur(100px);
    background: radial-gradient(circle, rgba(7,193,96,.15), transparent 70%);
    top: -100px; right: -100px; pointer-events: none;
}
.hero-inner {
    max-width: 1240px; margin: 0 auto; padding: 80px 24px 60px;
    display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
    align-items: center; position: relative; z-index: 1;
}
.hero-tagline {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 50px; padding: 6px 18px;
    font-size: 13px; color: rgba(255,255,255,.9);
    margin-bottom: 20px; font-weight: 500;
}
.hero-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--wechat);
    box-shadow: 0 0 8px rgba(7,193,96,.6);
    animation: dotPulse 2s infinite;
}
@keyframes dotPulse {
    0%,100% { box-shadow: 0 0 0 0 rgba(7,193,96,.5); }
    50%      { box-shadow: 0 0 0 8px rgba(7,193,96,0); }
}
.hero-content h2 {
    font-size: 44px; font-weight: 900; line-height: 1.25;
    color: #fff; margin-bottom: 18px;
}
.hero-highlight {
    background: linear-gradient(90deg, #5eead4, #99f6e4);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.subtitle {
    font-size: 16px; color: rgba(255,255,255,.85); line-height: 1.9;
    margin-bottom: 28px; max-width: 540px;
}

/* Hero Stats */
.hero-stats {
    display: flex; align-items: center; gap: 0;
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: var(--radius-lg);
    padding: 18px 28px; margin-bottom: 28px;
}
.hero-stat-item { display: flex; flex-direction: column; align-items: center; padding: 0 20px; }
.hero-stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,.2); }
.hero-stat-num {
    font-size: 32px; font-weight: 900; color: #fff;
    line-height: 1; font-variant-numeric: tabular-nums;
}
.hero-stat-unit { font-size: 14px; font-weight: 600; color: #5eead4; }
.hero-stat-label { font-size: 12px; color: rgba(255,255,255,.7); margin-top: 2px; }

/* Hero Badges */
.hero-badges { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(255,255,255,.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 50px; padding: 6px 16px;
    font-size: 13px; color: rgba(255,255,255,.95); font-weight: 500;
}
.badge-icon { font-size: 14px; }

/* Hero Buttons */
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px 32px; border-radius: 50px;
    font-size: 15px; font-weight: 700;
    cursor: pointer; border: none; transition: all .3s cubic-bezier(.4,0,.2,1);
    position: relative; overflow: hidden;
}
.btn-primary-lg {
    background: linear-gradient(135deg, #fff, #f0f9ff);
    color: var(--primary); box-shadow: 0 4px 20px rgba(255,255,255,.3);
}
.btn-primary-lg:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(255,255,255,.4); }
.btn-glass {
    background: rgba(255,255,255,.12); color: #fff;
    border: 2px solid rgba(255,255,255,.3);
    backdrop-filter: blur(8px);
}
.btn-glass:hover { background: rgba(255,255,255,.22); border-color: rgba(255,255,255,.5); }
.btn-accent {
    background: linear-gradient(135deg, var(--accent), #d97706);
    color: #fff; box-shadow: 0 4px 16px rgba(245,158,11,.4);
}
.btn-accent:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(245,158,11,.5); }
.btn-icon-ring {
    width: 28px; height: 28px; border-radius: 50%;
    background: rgba(255,255,255,.2);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 14px;
}

/* Hero Wechat */
.hero-wechat {
    display: inline-flex; align-items: center; gap: 12px;
    background: rgba(255,255,255,.08); backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 50px; padding: 8px 22px; color: #fff;
}
.hero-wechat-label { font-size: 13px; opacity: .8; }
.hero-wechat-number { font-size: 17px; font-weight: 700; letter-spacing: 1px; color: #5eead4; }

/* Hero Image */
.hero-image { position: relative; }
.hero-video-wrapper {
    width: 100%; aspect-ratio: 4/3;
    border-radius: var(--radius-xl);
    overflow: hidden; position: relative;
    border: 2px solid rgba(255,255,255,.15);
    box-shadow: 0 20px 60px rgba(0,0,0,.35);
}
.hero-video-wrapper video { width: 100%; height: 100%; object-fit: cover; }
.hero-video-caption {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 14px 20px;
    background: linear-gradient(transparent, rgba(0,0,0,.65));
    color: #fff; font-size: 13px; font-weight: 500; text-align: center;
    border-radius: 0 0 calc(var(--radius-xl) - 2px) calc(var(--radius-xl) - 2px);
}
.caption-live {
    display: inline-block; width: 8px; height: 8px;
    border-radius: 50%; background: #ef4444;
    margin-right: 6px; vertical-align: middle;
    animation: dotPulse 1.5s infinite;
}

/* Floating Cards - 移动端隐藏，PC端轻量动画 */
.hero-floating-card {
    position: absolute; display: flex; align-items: center; gap: 10px;
    background: rgba(255,255,255,.94);
    border-radius: var(--radius-md); padding: 12px 18px;
    box-shadow: var(--shadow-lg); z-index: 3;
}
.hero-float-1 { bottom: 30px; left: -20px; }
.hero-float-2 { top: 40px; right: -10px; }
.hero-float-3 { bottom: -10px; right: 20px; }
@media (min-width: 1025px) {
    .hero-floating-card { animation: floatCard 6s ease-in-out infinite; }
    .hero-float-1 { animation-delay: 0s; left: -30px; }
    .hero-float-2 { animation-delay: 1.5s; right: -20px; }
    .hero-float-3 { animation-delay: 3s; }
}
@keyframes floatCard {
    0%,100% { transform: translateY(0); }
    50%      { transform: translateY(-8px); }
}
.float-card-icon { font-size: 24px; }
.float-card-text strong { display: block; font-size: 14px; color: var(--text); }
.float-card-text span { font-size: 11.5px; color: var(--text-sub); }

/* ====== QUICK BOOKING BAR ====== */
.quick-booking-bar {
    background: linear-gradient(135deg, var(--primary), #1e40af);
    position: relative; overflow: hidden;
}
.quick-booking-bar::before {
    content: ''; position: absolute; inset: 0;
    background: repeating-linear-gradient(90deg, transparent, transparent 40px, rgba(255,255,255,.03) 40px, rgba(255,255,255,.03) 80px);
}
.quick-booking-inner {
    max-width: 1240px; margin: 0 auto; padding: 16px 24px;
    display: flex; align-items: center; justify-content: space-between; gap: 20px;
    position: relative; z-index: 1;
}
.qb-info { display: flex; align-items: center; gap: 12px; color: #fff; }
.qb-pulse {
    width: 10px; height: 10px; border-radius: 50%;
    background: var(--wechat);
    box-shadow: 0 0 0 0 rgba(7,193,96,1);
    animation: qbPulse 1.8s infinite;
}
@keyframes qbPulse {
    0%   { box-shadow: 0 0 0 0 rgba(7,193,96,.7); }
    70%  { box-shadow: 0 0 0 10px rgba(7,193,96,0); }
    100% { box-shadow: 0 0 0 0 rgba(7,193,96,0); }
}
.qb-info strong { font-size: 15px; }
.qb-sub { font-size: 13px; opacity: .8; }
.qb-actions { display: flex; gap: 10px; }
.qb-btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 10px 22px; border-radius: 50px;
    font-size: 14px; font-weight: 700;
    transition: all .3s; text-decoration: none;
}
.qb-phone { background: #fff; color: var(--primary); }
.qb-phone:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.qb-appt { background: var(--accent); color: #fff; }
.qb-appt:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(245,158,11,.5); }

/* ====== SECTION COMMON ====== */
.section {
    max-width: 1240px; margin: 0 auto; padding: 80px 24px;
}
.section-header { text-align: center; margin-bottom: 56px; }
.section-tagline {
    display: inline-block;
    background: linear-gradient(135deg, #dbeafe, #d1fae5);
    color: var(--primary); padding: 6px 22px;
    border-radius: 50px; font-size: 13px; font-weight: 700;
    margin-bottom: 14px; letter-spacing: .3px;
}
.section-header h2 { font-size: 34px; font-weight: 900; color: var(--text); margin-bottom: 12px; line-height: 1.3; }
.section-header p { font-size: 16px; color: var(--text-sub); max-width: 600px; margin: 0 auto; }

/* ====== ABOUT ====== */
.about-section {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 56px; box-shadow: var(--shadow-md);
    display: grid; grid-template-columns: 1fr 1fr; gap: 56px;
    align-items: center; position: relative;
    overflow: hidden;
}
.about-section::before {
    content: ''; position: absolute; top: 0; left: 0;
    width: 6px; height: 100%;
    background: linear-gradient(180deg, var(--primary), var(--secondary));
    border-radius: 6px 0 0 var(--radius-xl);
}
.about-content h3 { font-size: 28px; font-weight: 800; margin-bottom: 18px; color: var(--text); }
.about-content p { color: var(--text-sub); line-height: 2; margin-bottom: 14px; }
.about-content strong { color: var(--primary); }
.about-features {
    display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px;
}
.about-feature-item {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 16px; border-radius: var(--radius-sm);
    background: var(--bg); transition: all .3s;
}
.about-feature-item:hover { background: var(--primary-light); transform: translateX(4px); }
.about-feature-icon {
    width: 40px; height: 40px; border-radius: 10px;
    background: var(--primary-light); color: var(--primary);
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; flex-shrink: 0;
}
.about-image-wrapper {
    border-radius: var(--radius-xl); overflow: hidden;
    position: relative; height: 400px;
    box-shadow: var(--shadow-lg);
}
.about-image-wrapper video { width: 100%; height: 100%; object-fit: cover; }
.about-photo { width: 100%; height: 100%; object-fit: cover; }
.about-video-caption {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 14px; text-align: center;
    background: linear-gradient(transparent, rgba(0,0,0,.6));
    color: #fff; font-size: 13px; font-weight: 600;
}

/* ====== ABOUT TREATMENT ====== */
.about-treatment {
    display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
    align-items: center; margin-top: 40px;
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 48px 56px;
    box-shadow: var(--shadow-md);
}
.about-treatment-img {
    border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.about-treatment-img img { width: 100%; height: auto; display: block; }
.about-treatment-text h3 {
    font-size: 24px; font-weight: 800; color: var(--text);
    margin-bottom: 14px;
}
.about-treatment-text > p { color: var(--text-sub); line-height: 2; margin-bottom: 24px; }
.treatment-steps { display: flex; flex-direction: column; gap: 18px; }
.treatment-steps li {
    display: flex; align-items: flex-start; gap: 16px;
    background: var(--bg); border-radius: var(--radius-md);
    padding: 16px 20px;
    transition: background .3s;
}
.treatment-steps li:hover { background: var(--primary-light); }
.step-num {
    flex-shrink: 0; width: 32px; height: 32px;
    border-radius: 50%; background: var(--primary);
    color: #fff; font-weight: 700; font-size: 14px;
    display: flex; align-items: center; justify-content: center;
    margin-top: 2px;
}
.treatment-steps li strong {
    display: block; color: var(--text); font-size: 15px; margin-bottom: 4px;
}
.treatment-steps li p { color: var(--text-sub); font-size: 14px; line-height: 1.7; margin: 0; }

@media (max-width: 768px) {
    .about-treatment {
        grid-template-columns: 1fr;
        padding: 28px 20px;
        gap: 28px;
    }
}

/* ====== DISEASE CARDS ====== */
.disease-grid {
    display: grid; gap: 24px;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
}
.disease-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 30px 24px 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: all .4s cubic-bezier(.4,0,.2,1);
    position: relative; overflow: hidden;
    display: flex; flex-direction: column; gap: 14px;
    text-decoration: none; color: inherit;
}
.disease-card-bg {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    opacity: 0; transition: opacity .4s;
    border-radius: var(--radius-md);
    z-index: 0; pointer-events: none;
}
.disease-card:hover .disease-card-bg { opacity: .06; }
.disease-card::after {
    content: ''; position: absolute; top: 0; left: 0; right: 0;
    height: 4px; border-radius: 4px 4px 0 0;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0); transform-origin: left;
    transition: transform .4s cubic-bezier(.4,0,.2,1);
}
.disease-card:hover {
    transform: translateY(-8px) perspective(1000px) rotateX(2deg);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}
.disease-card:hover::after { transform: scaleX(1); }
.disease-card-header {
    display: flex; align-items: flex-start; justify-content: space-between;
    position: relative; z-index: 1;
}
.disease-card-icon {
    width: 56px; height: 56px; border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    transition: all .4s;
}
.disease-card:hover .disease-card-icon {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 4px 12px rgba(0,0,0,.1);
}
.disease-card-icon svg { width: 28px; height: 28px; }
.disease-card-tag {
    display: inline-block; padding: 3px 12px;
    border-radius: 50px; color: #fff;
    font-size: 11px; font-weight: 700;
}
.disease-card h3 {
    font-size: 18px; font-weight: 800; color: var(--text);
    position: relative; z-index: 1;
    transition: color .3s;
}
.disease-card:hover h3 { color: var(--primary); }
.disease-card p {
    font-size: 14px; color: var(--text-sub); line-height: 1.8;
    position: relative; z-index: 1; flex: 1;
}
.disease-card-footer {
    display: flex; align-items: center; justify-content: space-between;
    padding-top: 14px; border-top: 1px solid var(--border);
    position: relative; z-index: 1;
}
.disease-card-meta { font-size: 12px; color: var(--text-muted); }
.disease-card-link { font-size: 13px; font-weight: 700; color: var(--primary); transition: all .3s; }
.disease-card:hover .disease-card-link { letter-spacing: 1px; }

/* ====== ARTICLE SECTION ====== */
.article-categories {
    display: flex; gap: 10px; justify-content: center; flex-wrap: wrap;
    margin-bottom: 40px;
}
.cat-tab {
    padding: 10px 26px; border-radius: 50px;
    font-size: 14px; font-weight: 600;
    border: 2px solid var(--border);
    background: var(--bg-card); color: var(--text-sub);
    cursor: pointer; transition: all .3s;
}
.cat-tab:hover, .cat-tab.active {
    background: var(--primary); color: #fff;
    border-color: var(--primary);
    box-shadow: 0 4px 14px rgba(26,115,232,.3);
}

/* Search Box */
.search-box {
    max-width: 520px; margin: 0 auto 40px; position: relative;
}
.search-box input {
    width: 100%; padding: 16px 20px 16px 50px;
    border: 2px solid var(--border); border-radius: 50px;
    font-size: 15px; outline: none; transition: all .3s;
    background: var(--bg-card);
}
.search-box input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(26,115,232,.1);
}
.search-icon {
    position: absolute; left: 20px; top: 50%;
    transform: translateY(-50%);
    font-size: 18px; color: var(--text-muted);
    pointer-events: none;
}

/* Article Grid */
.article-grid {
    display: grid; gap: 24px;
    grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
}
.article-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden; box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: all .4s cubic-bezier(.4,0,.2,1);
    display: flex; flex-direction: column;
}
.article-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.article-card-thumb {
    height: 200px; display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden;
}
.article-card-thumb svg { width: 80px; height: 80px; opacity: .7; transition: all .4s; }
.article-card:hover .article-card-thumb svg { transform: scale(1.15); opacity: 1; }
.thumb-diagnosis { background: linear-gradient(135deg, #fef2f2, #fee2e2); }
.thumb-treatment { background: linear-gradient(135deg, #eff6ff, #dbeafe); }
.thumb-diet      { background: linear-gradient(135deg, #ecfdf5, #d1fae5); }
.thumb-health    { background: linear-gradient(135deg, #fffbeb, #fef3c7); }

.article-card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.article-card-cat {
    display: inline-block; font-size: 11px; font-weight: 700;
    color: #fff; padding: 3px 12px; border-radius: 50px;
    margin-bottom: 10px; align-self: flex-start;
}
.cat-diagnosis { background: #ef4444; }
.cat-treatment { background: #3b82f6; }
.cat-diet      { background: #10b981; }
.cat-health    { background: #f59e0b; }

.article-card h3 { font-size: 17px; font-weight: 700; line-height: 1.5; margin-bottom: 8px; }
.article-card h3 a { color: var(--text); transition: color .2s; }
.article-card h3 a:hover { color: var(--primary); }
.article-card-desc { font-size: 14px; color: var(--text-sub); line-height: 1.8; margin-bottom: 14px; flex: 1; }
.article-card-meta {
    display: flex; justify-content: space-between; align-items: center;
    font-size: 12px; color: var(--text-muted);
    padding-top: 14px; border-top: 1px solid var(--border);
}

.article-load-more { text-align: center; margin-top: 44px; }
.article-load-more .btn-white {
    background: var(--bg-card); color: var(--primary);
    border: 2px solid var(--primary);
    padding: 14px 36px; font-size: 15px; font-weight: 700;
    transition: all .3s;
}
.article-load-more .btn-white:hover {
    background: var(--primary); color: #fff;
    transform: translateY(-3px); box-shadow: 0 6px 20px rgba(26,115,232,.3);
}

/* ====== INFO BAR ====== */
.info-bar {
    background: var(--bg-card);
    border-top: 4px solid var(--primary);
    padding: 40px 24px; margin-top: 60px;
}
.info-bar-inner {
    max-width: 1240px; margin: 0 auto;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px;
}
.info-item { text-align: center; padding: 10px; }
.info-item-icon {
    width: 60px; height: 60px; margin: 0 auto 14px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-light), #d1fae5);
    display: flex; align-items: center; justify-content: center;
    font-size: 24px; color: var(--primary);
    transition: all .3s;
}
.info-item:hover .info-item-icon {
    transform: scale(1.1);
    box-shadow: 0 4px 16px rgba(26,115,232,.2);
}
.info-item strong { display: block; font-size: 15px; margin-bottom: 4px; color: var(--text); }
.info-item span { font-size: 14px; color: var(--text-sub); }

/* ====== FOOTER ====== */
.footer {
    background: linear-gradient(180deg, #0f172a, #1e293b);
    color: #94a3b8; padding: 60px 24px 30px;
}
.footer-inner {
    max-width: 1240px; margin: 0 auto;
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
}
.footer-brand h3 { font-size: 22px; color: #fff; margin-bottom: 14px; }
.footer-brand p { font-size: 14px; line-height: 2; margin-bottom: 20px; }
.footer-col h4 { font-size: 16px; color: #fff; margin-bottom: 18px; position: relative; padding-bottom: 10px; }
.footer-col h4::after {
    content: ''; position: absolute; left: 0; bottom: 0;
    width: 30px; height: 3px; border-radius: 3px;
    background: var(--primary);
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 14px; color: #94a3b8; transition: all .2s; }
.footer-col ul li a:hover { color: #5eead4; padding-left: 4px; }
.footer-col ul li span { font-size: 14px; }
.footer-bottom {
    max-width: 1240px; margin: 40px auto 0; padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,.08);
    text-align: center; font-size: 13px; color: #64748b;
}

/* ====== FLOATING BAR (mobile) ====== */
.floating-bar {
    display: none; position: fixed; bottom: 0; left: 0; right: 0;
    z-index: 998; background: #fff;
    box-shadow: 0 -4px 24px rgba(0,0,0,.1);
    padding: 10px 16px; gap: 10px;
}
.floating-bar a {
    flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px;
    padding: 12px; border-radius: 12px;
    font-size: 14px; font-weight: 700; color: #fff;
    text-decoration: none; transition: all .2s;
}
.fb-call   { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); }
.fb-appt   { background: linear-gradient(135deg, var(--accent), #d97706); }
.floating-bar a:hover { transform: translateY(-2px); }

/* ====== BACK TO TOP ====== */
.back-to-top {
    position: fixed; bottom: 100px; right: 30px;
    width: 48px; height: 48px;
    background: var(--primary); color: #fff;
    border: none; border-radius: 50%;
    font-size: 20px; cursor: pointer;
    box-shadow: var(--shadow-lg);
    display: none; align-items: center; justify-content: center;
    z-index: 999; transition: all .3s;
}
.back-to-top.show { display: flex; }
.back-to-top:hover { background: var(--primary-dark); transform: translateY(-3px) scale(1.05); }

/* ====== FADE IN ANIMATION (reduced for mobile) ====== */
.fade-in {
    opacity: 0; transform: translateY(20px);
    transition: opacity .5s ease, transform .5s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
@media (max-width: 768px) {
    .fade-in { transition: opacity .35s ease, transform .35s ease; }
}

/* ====== PAGINATION ====== */
.pagination {
    display: flex; justify-content: center; gap: 8px; margin-top: 44px;
}
.pagination a, .pagination span {
    padding: 8px 16px; border-radius: 10px;
    font-size: 14px; font-weight: 600;
    border: 1px solid var(--border); color: var(--text-sub);
    transition: all .25s;
}
.pagination a:hover { border-color: var(--primary); color: var(--primary); }
.pagination .current { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ====== RESPONSIVE ====== */
@media (max-width: 1024px) {
    .hero-inner { grid-template-columns: 1fr; text-align: center; padding: 60px 20px; }
    .hero-content { order: 1; }
    .hero-image  { order: 2; max-width: 500px; margin: 0 auto; }
    .hero-stats  { justify-content: center; }
    .hero-badges { justify-content: center; }
    .hero-buttons { justify-content: center; }
    .hero-wechat { justify-content: center; }
    .hero-content h2 { font-size: 34px; }
    .hero-floating-card { display: none; }
    .about-section { grid-template-columns: 1fr; padding: 30px; gap: 30px; }
    .info-bar-inner { grid-template-columns: repeat(2, 1fr); }
    .footer-inner { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 768px) {
    /* 移动端性能优化：移除高耗能效果 */
    .navbar { background: rgba(255,255,255,.96) !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
    .hero-tagline, .hero-badges, .hero-wechat, .btn-glass { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
    .hero-bg-glow, .hero-bg-pattern { display: none; } /* 移除背景装饰，减少绘制 */
    .hero-floating-card { display: none !important; } /* 移动端完全隐藏浮动卡片 */
    .hero-video-wrapper video { object-fit: cover; }

    /* 禁用移动端的3D透视动画（GPU消耗大）*/
    .disease-card:hover { transform: translateY(-5px); }
    .disease-card::after { display: none; } /* 移动端去掉顶条动画 */
    .disease-card:hover .disease-card-icon { transform: scale(1.05); }

    /* 布局适配 */
    .nav-menu {
        display: none; position: absolute;
        top: 72px; left: 0; right: 0;
        background: #fff; flex-direction: column;
        padding: 20px; gap: 4px;
        box-shadow: var(--shadow-lg);
    }
    .nav-menu.open { display: flex; }
    .menu-toggle { display: block; }
    .nav-phone { display: none; }
    .floating-bar { display: flex; }
    body { padding-bottom: 70px; -webkit-text-size-adjust: 100%; }
    .hero-content h2 { font-size: 26px; }
    .hero-stats { flex-wrap: wrap; gap: 8px; padding: 12px; }
    .hero-stat-item { padding: 0 10px; min-width: calc(50% - 10px); }
    .hero-stat-num { font-size: 26px; }
    .section-header h2 { font-size: 24px; margin-bottom: 36px; }
    .section { padding: 48px 16px; }
    .disease-grid { grid-template-columns: 1fr; gap: 16px; }
    .article-grid { grid-template-columns: 1fr; gap: 16px; }
    .about-features { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; }
    .info-bar-inner { grid-template-columns: 1fr; }
    .quick-booking-inner { flex-direction: column; text-align: center; }
    .about-section { padding: 20px; }
    /* 联系卡片改为3列紧凑布局（移动端） */
    .chat-contact-grid { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 480px) {
    .hero-buttons { flex-direction: column; align-items: center; }
    .btn { width: 100%; justify-content: center; }
    .hero-stats { flex-direction: column; gap: 14px; }
    .hero-stat-divider { width: 60px; height: 1px; }
}

/* ====== RIPPLE EFFECT ====== */
.ripple {
    position: absolute; border-radius: 50%;
    background: rgba(255,255,255,.35);
    transform: scale(0); animation: rippleAnim .6s linear;
    pointer-events: none;
}
@keyframes rippleAnim { to { transform: scale(4); opacity: 0; } }

/* ====== CHAT WIDGET v3.0 - 简化版（无QQ） ====== */
.chat-fab {
    position: fixed; bottom: 30px; right: 30px;
    width: 58px; height: 58px;
    background: linear-gradient(135deg, var(--wechat), var(--wechat-dark));
    color: #fff; border: none; border-radius: 50%;
    font-size: 24px; cursor: pointer;
    box-shadow: 0 4px 18px rgba(7,193,96,.4);
    display: flex; align-items: center; justify-content: center;
    z-index: 998; transition: all .25s;
}
.chat-fab:hover { transform: scale(1.08); box-shadow: 0 6px 24px rgba(7,193,96,.5); }
.chat-fab:active { transform: scale(.95); }

.chat-widget {
    position: fixed; bottom: 100px; right: 30px;
    width: 350px; max-height: 520px;
    background: #fff; border-radius: var(--radius-lg);
    box-shadow: 0 12px 40px rgba(0,0,0,.18);
    z-index: 999; display: none; flex-direction: column;
    overflow: hidden;
    animation: chatIn .25s ease-out;
}
.chat-widget.open { display: flex; }
@keyframes chatIn {
    from { opacity: 0; transform: translateY(15px) scale(.95); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* 移动端聊天窗口全屏适配 */
.chat-widget-mobile {
    bottom: 0 !important; right: 0 !important;
    width: 100vw !important; max-height: 100vh !important;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0 !important;
}

.chat-header {
    background: linear-gradient(135deg, var(--wechat), var(--wechat-dark));
    padding: 16px; display: flex; align-items: center; gap: 12px;
    flex-shrink: 0;
}
.chat-header-avatar {
    width: 42px; height: 42px; border-radius: 50%;
    background: rgba(255,255,255,.2);
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; flex-shrink: 0;
}
.chat-header-info h3 { color: #fff; font-size: 14.5px; font-weight: 600; margin: 0; }
.chat-header-info p { color: rgba(255,255,255,.85); font-size: 11.5px; margin: 2px 0 0; }
.chat-header-close {
    margin-left: auto; width: 28px; height: 28px;
    background: rgba(255,255,255,.18); border: none;
    border-radius: 50%; color: #fff; font-size: 15px;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: background .15s;
}
.chat-header-close:hover,
.chat-header-close:active { background: rgba(255,255,255,.32); }

.chat-body { flex: 1; overflow-y: auto; padding: 16px; min-height: 160px; overscroll-behavior: contain; }

.chat-welcome { text-align: center; padding: 8px 0 16px; }
.chat-welcome-icon { font-size: 36px; display: block; margin-bottom: 8px; }
.chat-welcome h4 { color: var(--text); font-size: 14.5px; }
.chat-welcome p { color: var(--text-muted); font-size: 12.5px; line-height: 1.6; }

/* 联系卡片网格 - 3列（去掉QQ） */
.chat-contact-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin-top: 12px; }
.chat-contact-card {
    border: 2px solid #f0f0f0; border-radius: 11px;
    padding: 12px 8px; text-align: center;
    text-decoration: none; display: block;
    transition: all .2s ease;
}
.chat-contact-card:hover,
.chat-contact-card:active { transform: translateY(-2px); }
.card-wechat:hover,
.card-wechat:active  { border-color: var(--wechat); box-shadow: 0 3px 12px rgba(7,193,96,.12); }
.card-phone:hover,
.card-phone:active   { border-color: var(--primary); box-shadow: 0 3px 12px rgba(26,115,232,.12); }
.card-appt:hover,
.card-appt:active    { border-color: var(--secondary); box-shadow: 0 3px 12px rgba(13,148,136,.12); }
.card-icon { font-size: 26px; display: block; margin-bottom: 4px; }
.card-label { font-size: 12.5px; font-weight: 700; color: var(--text); display: block; }
.card-desc  { font-size: 10.5px; color: var(--text-muted); display: block; margin-top: 2px; }

.chat-quick-qs { margin-top: 14px; padding-top: 12px; border-top: 1px solid #f0f0f0; }
.chat-quick-qs label { font-size: 12.5px; color: var(--text-sub); font-weight: 600; display: block; margin-bottom: 8px; }
.chat-q-btn {
    display: inline-block; background: #f5f7fa;
    border: 1px solid #e8ecef; border-radius: 18px;
    padding: 4px 12px; font-size: 11.5px; color: var(--text-sub);
    margin: 2px 3px 2px 0; cursor: pointer; transition: all .15s;
}
.chat-q-btn:hover { background: var(--primary-light); border-color: var(--primary); color: var(--primary); }

.chat-footer {
    padding: 10px 12px; border-top: 1px solid #f0f0f0;
    display: flex; align-items: center; gap: 8px; background: #fafbfc;
    flex-shrink: 0;
}
.chat-footer input {
    flex: 1; border: 1px solid #ddd; border-radius: 20px;
    padding: 9px 14px; font-size: 13px; outline: none; background: #fff;
    transition: border-color .15s;
}
.chat-footer input:focus { border-color: var(--wechat); }
.chat-footer button {
    width: 36px; height: 36px; border-radius: 50%; border: none;
    background: linear-gradient(135deg, var(--wechat), var(--wechat-dark));
    color: #fff; font-size: 15px; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: transform .15s; flex-shrink: 0;
}
.chat-footer button:hover,
.chat-footer button:active { transform: scale(1.06); }

.chat-msg { margin: 5px 0; display: flex; gap: 7px; }
.chat-msg.msg-user { flex-direction: row-reverse; }
.chat-msg-bubble {
    max-width: 80%; padding: 9px 12px; border-radius: 13px;
    font-size: 12.5px; line-height: 1.55; word-break: break-word;
}
.chat-msg-bot .chat-msg-bubble { background: #f1f1f1; color: var(--text); border-bottom-left-radius: 3px; }
.chat-msg-user .chat-msg-bubble { background: linear-gradient(135deg, var(--wechat), var(--wechat-dark)); color: #fff; border-bottom-right-radius: 3px; }
.chat-msg-time { font-size: 10.5px; color: var(--text-muted); align-self: flex-end; white-space: nowrap; }
.chat-msg-avatar {
    width: 28px; height: 28px; border-radius: 50%;
    background: #e8f5e9; display: flex; align-items: center;
    justify-content: center; font-size: 14px; flex-shrink: 0;
}

/* ====== 移动端微信二维码内嵌区域 ====== */
.chat-qr-section {
    display: none; margin-top: 12px; padding-top: 12px;
    border-top: 2px dashed var(--border);
    max-height: 0; overflow: hidden;
    transition: max-height .35s ease, padding .35s ease, margin .35s ease;
}
.chat-qr-section.show {
    display: block; max-height: 400px;
}
.chat-qr-section-inner {
    text-align: center; padding: 16px 10px;
    background: linear-gradient(135deg, #f0fdf4, #ecfdf5);
    border-radius: var(--radius-md);
    border: 1px solid #bbf7d0;
}
.chat-qr-section-inner h4 {
    font-size: 15px; color: var(--text); margin: 0 0 4px;
}
.chat-qr-section-inner > p {
    font-size: 13px; color: var(--text-sub); margin: 0 0 12px;
}
.chat-qr-section-inner strong { color: var(--wechat); }
.chat-qr-img {
    width: 180px; height: 180px; margin: 0 auto 10px;
    border-radius: var(--radius-sm); overflow: hidden;
    background: #fff; border: 2px solid var(--border);
    display: flex; align-items: center; justify-content: center;
}
.chat-qr-img img { width: 100%; height: 100%; object-fit: contain; }
.chat-qr-tip {
    font-size: 11.5px; color: var(--wechat); font-weight: 600; margin: 0;
}
.chat-qr-close {
    display: inline-block; margin-top: 8px;
    background: var(--border); border: none;
    border-radius: 20px; padding: 5px 18px;
    font-size: 12px; color: var(--text-sub);
    cursor: pointer; transition: all .15s;
}
.chat-qr-close:hover,
.chat-qr-close:active {
    background: #d1d5db; color: var(--text);
}

/* PC端 QR弹层 */
.chat-qrcode-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,.45);
    z-index: 2000; display: none; align-items: center; justify-content: center;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.chat-qrcode-overlay.show { display: flex; }
.chat-qrcode-box {
    background: #fff; border-radius: var(--radius-lg);
    padding: 32px 26px; text-align: center; max-width: 320px;
    animation: chatIn .25s ease; position: relative;
}
.chat-qrcode-box h4 { margin: 0 0 6px; font-size: 17px; color: var(--text); }
.chat-qrcode-box p { margin: 0 0 16px; font-size: 13px; color: var(--text-muted); }
.chat-qrcode-img {
    width: 190px; height: 190px; margin: 0 auto 12px;
    border: 1px solid #eee; border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.chat-qrcode-img img { width: 100%; height: 100%; object-fit: contain; }
.chat-qrcode-tip { font-size: 11.5px; color: var(--wechat); font-weight: 600; }
.chat-qrcode-close {
    position: absolute; top: 10px; right: 12px;
    width: 28px; height: 28px; border: none;
    background: #f0f0f0; border-radius: 50%; font-size: 14px;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
}

/* Back to top adjust for chat */
.back-to-top { bottom: 100px; }
@media (max-width: 768px) {
    .back-to-top { bottom: 80px; right: 16px; }
    .chat-fab { bottom: 80px; right: 16px; width: 54px; height: 54px; font-size: 23px; }
    .chat-widget { width: calc(100vw - 16px); right: 8px; bottom: 90px; max-height: calc(100vh - 120px); }
}
