/* ========================================
   扬州京城皮肤病研究所 - 官网样式
   简约大气 · 响应式自适应
   ======================================== */

/* ========== CSS 变量 ========== */
:root {
    --primary: #1a7a7a;
    --primary-dark: #0d5252;
    --primary-light: #e8f5f5;
    --primary-lighter: #f4f9f9;
    --accent: #c9a96e;
    --text-dark: #1a1a2e;
    --text-body: #4a4a4a;
    --text-light: #8a8a8a;
    --bg-white: #ffffff;
    --bg-gray: #f7f8fa;
    --border: #e8e8e8;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s ease;
    --max-width: 1200px;
    --header-height: 72px;
}

/* ========== 全局重置 ========== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    color: var(--text-body);
    background: var(--bg-white);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    display: block;
}

ul, ol {
    list-style: none;
}

/* ========== 通用容器 ========== */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 80px 0;
}

.section-gray {
    background: var(--bg-gray);
}

.section-primary {
    background: var(--primary-light);
}

/* ========== 标题样式 ========== */
.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-header .eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 12px;
    font-weight: 600;
}

.section-header h2 {
    font-size: 2rem;
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.section-header .divider {
    width: 48px;
    height: 3px;
    background: var(--primary);
    margin: 16px auto 20px;
    border-radius: 2px;
}

/* ========== 导航栏 ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    max-width: var(--max-width);
    height: 100%;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.logo-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.3rem;
    font-weight: 700;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-text .name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
}

.logo-text .sub {
    font-size: 0.7rem;
    color: var(--text-light);
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-menu a {
    font-size: 0.95rem;
    color: var(--text-body);
    font-weight: 500;
    position: relative;
    padding: 6px 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-cta {
    background: var(--primary);
    color: #fff !important;
    padding: 10px 28px !important;
    border-radius: 30px;
    font-weight: 600 !important;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* 汉堡菜单按钮 */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    transition: var(--transition);
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ========== 移动端导航 ========== */
.mobile-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: #fff;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    z-index: 999;
    border-bottom: 1px solid var(--border);
}

.mobile-nav.active {
    max-height: 400px;
    box-shadow: var(--shadow-md);
}

.mobile-nav a {
    display: block;
    padding: 16px 24px;
    color: var(--text-body);
    font-weight: 500;
    border-bottom: 1px solid var(--border);
}

.mobile-nav a:hover,
.mobile-nav a.active {
    color: var(--primary);
    background: var(--primary-light);
}

.mobile-nav .nav-cta {
    text-align: center;
    margin: 12px 24px;
    border-radius: 30px;
    background: var(--primary);
    color: #fff !important;
    border-bottom: none;
}

/* ========== 页面 Banner ========== */
.page-banner {
    margin-top: var(--header-height);
    height: 300px;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.08), transparent 70%);
    border-radius: 50%;
}

.page-banner::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.06), transparent 70%);
    border-radius: 50%;
}

.page-banner-content {
    position: relative;
    z-index: 2;
}

.page-banner h1 {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.page-banner p {
    font-size: 1rem;
    opacity: 0.85;
    max-width: 500px;
}

/* ========== 按钮 ========== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 36px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

.btn-white {
    background: #fff;
    color: var(--primary);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ========== Hero 区域 ========== */
.hero {
    margin-top: var(--header-height);
    min-height: 600px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    color: #fff;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.08), transparent 70%);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(201,169,110,0.12), transparent 70%);
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    padding: 80px 0;
}

.hero .eyebrow {
    display: inline-block;
    padding: 6px 18px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    font-size: 0.8rem;
    letter-spacing: 2px;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 24px;
}

.hero h1 .highlight {
    color: var(--accent);
}

.hero p {
    font-size: 1.1rem;
    opacity: 0.88;
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ========== 统计数据条 ========== */
.stats-bar {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
}

.stats-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 40px 0;
}

.stat-item {
    text-align: center;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 48px;
    background: var(--border);
}

.stat-num {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 8px;
}

/* ========== 特色卡片 ========== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 40px 28px;
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-6px);
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    background: var(--primary-light);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

.feature-card h3 {
    font-size: 1.15rem;
    color: var(--text-dark);
    margin-bottom: 12px;
    font-weight: 600;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ========== 诊疗项目 ========== */
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.service-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border);
}

.service-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
}

.service-img {
    height: 200px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-lighter));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.service-body {
    padding: 28px;
}

.service-body h3 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 12px;
    font-weight: 600;
}

.service-body p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 16px;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.service-tags span {
    font-size: 0.75rem;
    padding: 4px 12px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 12px;
}

/* ========== 就诊流程 ========== */
.process-wrap {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
}

.process-step {
    text-align: center;
    position: relative;
}

.step-circle {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    background: var(--bg-white);
    border: 3px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary);
    position: relative;
    z-index: 2;
    transition: var(--transition);
}

.process-step:hover .step-circle {
    background: var(--primary);
    color: #fff;
}

.step-connector {
    position: absolute;
    top: 36px;
    left: 50%;
    width: 100%;
    height: 3px;
    background: var(--primary-light);
    z-index: 1;
}

.process-step:last-child .step-connector {
    display: none;
}

.process-step h3 {
    font-size: 1.05rem;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-weight: 600;
}

.process-step p {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* ========== CTA 横幅 ========== */
.cta-banner {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    padding: 60px 0;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: 10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.06), transparent 70%);
    border-radius: 50%;
}

.cta-banner h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
    position: relative;
    z-index: 2;
}

.cta-banner p {
    font-size: 1rem;
    opacity: 0.85;
    margin-bottom: 32px;
    position: relative;
    z-index: 2;
}

.cta-banner .btn {
    position: relative;
    z-index: 2;
}

/* ========== 关于我们页 ========== */
.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-intro-text h2 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 24px;
    font-weight: 700;
}

.about-intro-text p {
    font-size: 1rem;
    color: var(--text-body);
    margin-bottom: 16px;
    line-height: 1.9;
}

.about-intro-visual {
    background: linear-gradient(135deg, var(--primary-light), var(--primary-lighter));
    border-radius: var(--radius-lg);
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.about-intro-visual .building {
    font-size: 6rem;
    opacity: 0.3;
}

/* 价值观卡片 */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.value-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 40px 32px;
    text-align: center;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.value-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.value-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.value-card h3 {
    font-size: 1.15rem;
    color: var(--text-dark);
    margin-bottom: 12px;
    font-weight: 600;
}

.value-card p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* 发展历程 */
.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-year {
    width: 50%;
    text-align: center;
    padding: 0 30px;
}

.timeline-year .year-num {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
}

.timeline-content {
    width: 50%;
    padding: 0 30px;
}

.timeline-content h3 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.timeline-content p {
    font-size: 0.9rem;
    color: var(--text-light);
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 16px;
    height: 16px;
    background: var(--primary);
    border: 4px solid #fff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    box-shadow: 0 0 0 2px var(--primary-light);
}

/* 资质荣誉 */
.honor-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.honor-item {
    text-align: center;
    padding: 32px 20px;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.honor-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.honor-item .icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.honor-item h4 {
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 600;
}

.honor-item p {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 4px;
}

/* ========== 医生简介页 ========== */
.doctor-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.doctor-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border);
}

.doctor-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
}

.doctor-avatar {
    height: 280px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-lighter));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    position: relative;
}

.doctor-avatar .badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--accent);
    color: #fff;
    font-size: 0.75rem;
    padding: 4px 12px;
    border-radius: 12px;
    font-weight: 600;
}

.doctor-info {
    padding: 28px;
}

.doctor-info h3 {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 4px;
    font-weight: 700;
}

.doctor-title {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 16px;
}

.doctor-desc {
    font-size: 0.88rem;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.doctor-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.doctor-skills span {
    font-size: 0.75rem;
    padding: 4px 12px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 12px;
}

.doctor-schedule {
    border-top: 1px solid var(--border);
    padding-top: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.doctor-schedule .label {
    font-size: 0.8rem;
    color: var(--text-light);
}

.doctor-schedule .time {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
}

/* ========== 就诊信息 ========== */
.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.info-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 36px 28px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.info-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.info-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 20px;
}

.info-card h3 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 12px;
    font-weight: 600;
}

.info-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* ========== 页脚 ========== */
.footer {
    background: #1a2a2a;
    color: #b0b0b0;
    padding: 36px 0 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand .logo-icon {
    background: var(--primary);
}

.footer-brand .logo-text .name {
    color: #fff;
}

.footer-brand .logo-text .sub {
    color: #808080;
}

.footer-brand p {
    font-size: 0.88rem;
    line-height: 1.8;
    margin-bottom: 16px;
}

.footer-col h4 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    font-size: 0.88rem;
    color: #b0b0b0;
}

.footer-col ul li a:hover {
    color: var(--primary);
}

.footer-contact li {
    font-size: 0.88rem;
    color: #b0b0b0;
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
    font-size: 0.82rem;
    color: #707070;
}

.footer-bottom a {
    color: #707070;
}

.footer-bottom a:hover {
    color: var(--primary);
}

/* ========== 返回顶部 ========== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    border: none;
    box-shadow: var(--shadow-md);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-4px);
}

/* ========== Hero 背景图 ========== */
.hero-bg {
    background: linear-gradient(135deg, rgba(13,82,82,0.92) 0%, rgba(26,122,122,0.88) 100%), url('../images/promo_02.jpg');
    background-size: cover;
    background-position: center;
}

.hero-bg::before,
.hero-bg::after {
    display: none;
}

/* ========== 院内环境画廊 ========== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    aspect-ratio: 16 / 10;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.06);
}

.gallery-item.wide {
    grid-column: span 2;
}

/* ========== 医生头像真实图片 ========== */
.doctor-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.doctor-avatar {
    height: 320px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-lighter));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    position: relative;
    overflow: hidden;
}

/* 关于我们页图片 */
.about-intro-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.about-intro-visual {
    border-radius: var(--radius-lg);
    height: 400px;
    overflow: hidden;
    position: relative;
}

/* 首页专家预览 */
.doctor-preview-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.doctor-preview-item {
    text-align: center;
}

.doctor-preview-item .preview-avatar {
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 12px;
    border: 2px solid var(--border);
    transition: var(--transition);
}

.doctor-preview-item .preview-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.doctor-preview-item:hover .preview-avatar {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.doctor-preview-item h4 {
    font-size: 0.9rem;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 2px;
}

.doctor-preview-item p {
    font-size: 0.75rem;
    color: var(--text-light);
}

/* ========== 动画 ========== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========== 响应式 - 平板 ========== */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 2.4rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-wrap {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .step-connector {
        display: none;
    }

    .about-intro {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-intro-visual {
        height: 300px;
    }

    .doctor-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-item.wide {
        grid-column: span 1;
    }

    .doctor-preview-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .about-intro-visual {
        height: 300px;
    }

    .honor-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .stats-inner {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .stat-item:nth-child(2)::after {
        display: none;
    }
}

/* ========== 响应式 - 手机 ========== */
@media (max-width: 768px) {
    :root {
        --header-height: 60px;
    }

    .container {
        padding: 0 16px;
    }

    .section {
        padding: 48px 0;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .section-header {
        margin-bottom: 36px;
    }

    /* 导航 */
    .nav-menu {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .logo-text .name {
        font-size: 0.95rem;
    }

    .logo-text .sub {
        font-size: 0.62rem;
    }

    .logo-icon {
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
    }

    /* Hero */
    .hero {
        min-height: 500px;
    }

    .hero-content {
        padding: 60px 0;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 0.95rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    /* 统计 */
    .stats-inner {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
        padding: 28px 0;
    }

    .stat-num {
        font-size: 1.8rem;
    }

    .stat-item::after,
    .stat-item:nth-child(2)::after {
        display: none;
    }

    /* 特色 */
    .features-grid {
        grid-template-columns: 1fr;
    }

    /* 诊疗 */
    .service-grid {
        grid-template-columns: 1fr;
    }

    /* 流程 */
    .process-wrap {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    /* CTA */
    .cta-banner h2 {
        font-size: 1.4rem;
    }

    .cta-banner p {
        font-size: 0.9rem;
    }

    /* 页面Banner */
    .page-banner {
        height: 220px;
    }

    .page-banner h1 {
        font-size: 1.6rem;
    }

    .page-banner p {
        font-size: 0.85rem;
    }

    /* 关于我们 */
    .about-intro-visual {
        height: 220px;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item,
    .timeline-item:nth-child(odd) {
        flex-direction: row;
    }

    .timeline-year {
        width: auto;
        min-width: 60px;
        text-align: left;
        padding: 0 0 0 45px;
    }

    .timeline-content {
        width: auto;
        flex: 1;
        padding: 0 0 0 20px;
    }

    .timeline-dot {
        left: 20px;
    }

    .honor-grid {
        grid-template-columns: 1fr 1fr;
    }

    /* 医生 */
    .doctor-grid {
        grid-template-columns: 1fr;
    }

    .doctor-avatar {
        height: 260px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .doctor-preview-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* 就诊信息 */
    .info-grid {
        grid-template-columns: 1fr;
    }

    /* 页脚 */
    .footer-top {
        grid-template-columns: 1fr;
        gap: 30px;
        padding-bottom: 30px;
    }

    .footer-bottom {
        font-size: 0.75rem;
        padding: 20px 16px;
    }

    /* 返回顶部 */
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 42px;
        height: 42px;
    }
}

/* ========== 响应式 - 小屏手机 ========== */
@media (max-width: 380px) {
    .hero h1 {
        font-size: 1.5rem;
    }

    .stat-num {
        font-size: 1.5rem;
    }

    .honor-grid {
        grid-template-columns: 1fr;
    }
}

/* ========== 在线咨询弹窗 ========== */

/* 半透明遮罩 */
.consult-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s;
}

.consult-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* 弹窗 */
.consult-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.92);
    width: 380px;
    max-width: calc(100vw - 32px);
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    z-index: 9999;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.35s ease,
                visibility 0.35s;
}

.consult-popup.active {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    visibility: visible;
}

.consult-popup-header {
    background: linear-gradient(135deg, #1a7a7a, #2da8a8);
    padding: 20px 20px 16px;
    color: #fff;
    position: relative;
}

.consult-popup-header h3 {
    font-size: 18px;
    margin: 0 0 6px;
    font-weight: 700;
}

.consult-popup-header .status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    opacity: 0.92;
}

.consult-popup-header .status .dot {
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    animation: dotPulse 1.5s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.consult-popup-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease;
}

.consult-popup-close:hover {
    background: rgba(255, 255, 255, 0.35);
}

.consult-popup-close svg {
    width: 14px;
    height: 14px;
    fill: #fff;
}

.consult-popup-body {
    padding: 20px;
}

.consult-popup-body .welcome {
    font-size: 14px;
    color: #555;
    line-height: 1.65;
    margin: 0 0 18px;
}

.consult-start-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 13px 20px;
    background: linear-gradient(135deg, #1a7a7a, #2da8a8);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.consult-start-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(26, 122, 122, 0.35);
}

.consult-start-btn:active {
    transform: translateY(0);
}

.consult-start-btn svg {
    width: 20px;
    height: 20px;
    fill: #fff;
}

.consult-info-list {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #eee;
}

.consult-info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #666;
    margin-bottom: 10px;
}

.consult-info-item:last-child {
    margin-bottom: 0;
}

.consult-info-item svg {
    width: 18px;
    height: 18px;
    fill: #1a7a7a;
    flex-shrink: 0;
}

/* 响应式 */
@media (max-width: 480px) {
    .consult-popup {
        width: calc(100vw - 32px);
        border-radius: 14px;
    }

    .consult-popup-header {
        padding: 18px 18px 14px;
    }

    .consult-popup-body {
        padding: 18px;
    }
}

/* 隐藏 zoosnet 默认浮窗（使用自定义按钮） */
#LRdiv0, #LRdiv1, #LRfloater, #LRdivFloat, #LRfloat {
    display: none !important;
}
