/* ================================================================
   诺美口腔网站 - 全站样式表
   品牌VI: 京博诺美口腔 (Dr. Nuomei Dental Clinic)
   主色: 深海蓝 #001B45 | 辅色: 灰绿色 #76B1B4
   设计风格: 参考亚朵(atour)官网 — 简洁、优雅、留白充足
   ================================================================ */

/* --- 基础重置 --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* VI 标准色 */
    --color-primary: #001B45;       /* 深海蓝 */
    --color-secondary: #76B1B4;     /* 灰绿色 */

    /* VI 辅助色 */
    --color-accent-green: #66DF81;  /* 亮绿 */
    --color-accent-blue: #BCD7E5;   /* 浅蓝 */
    --color-accent-gray-l: #D9DADC; /* 浅灰 */
    --color-accent-gray-d: #A5A5A5; /* 深灰 */
    --color-accent-wood: #B8A37B;   /* 木色 */

    /* 儿牙专用色 */
    --color-kid-green: #80BC00;
    --color-kid-purple: #AE95DA;
    --color-kid-orange: #FF6B00;

    /* 功能色 */
    --color-text: #1a1a2e;
    --color-text-light: #5a5a6e;
    --color-text-lighter: #9a9aae;
    --color-bg: #ffffff;
    --color-bg-soft: #f7f9fb;
    --color-bg-warm: #faf8f5;
    --color-border: #e8ecf0;

    /* 阴影 */
    --shadow-sm: 0 1px 4px rgba(0, 27, 69, 0.06);
    --shadow-md: 0 4px 20px rgba(0, 27, 69, 0.08);
    --shadow-lg: 0 8px 40px rgba(0, 27, 69, 0.12);

    /* 圆角 */
    --radius-sm: 6px;
    --radius: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    /* 布局 */
    --container: 1200px;
    --nav-height: 72px;

    /* 过渡 */
    --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei",
                 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    color: var(--color-text);
    line-height: 1.8;
    background: var(--color-bg);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s var(--ease);
}

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

ul,
ol {
    list-style: none;
}

/* --- 容器 --- */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.container-narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- 按钮 --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 40px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.35s var(--ease);
    white-space: nowrap;
}

.btn-primary {
    background: var(--color-primary);
    color: #fff;
}

.btn-primary:hover {
    background: #002a6b;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 27, 69, 0.3);
}

.btn-secondary {
    background: var(--color-secondary);
    color: #fff;
}

.btn-secondary:hover {
    background: #5d9a9d;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(118, 177, 180, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--color-primary);
    border: 1.5px solid var(--color-primary);
}

.btn-outline:hover {
    background: var(--color-primary);
    color: #fff;
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.6);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.9);
}

/* --- 通用板块 --- */
.section {
    padding: 100px 0;
}

.section-sm {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title .eyebrow {
    display: inline-block;
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-secondary);
    font-weight: 500;
    margin-bottom: 14px;
}

.section-title h2 {
    font-size: 36px;
    font-weight: 500;
    color: var(--color-text);
    line-height: 1.4;
}

.section-title .divider {
    width: 48px;
    height: 3px;
    background: var(--color-secondary);
    margin: 20px auto 0;
    border-radius: 2px;
}

.section-title p {
    font-size: 16px;
    color: var(--color-text-light);
    margin-top: 16px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

/* ================================================================
   导航栏
   ================================================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    transition: all 0.3s var(--ease);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    box-shadow: var(--shadow-sm);
    border-bottom-color: var(--color-border);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

/* Logo */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 600;
    color: var(--color-primary);
    letter-spacing: 1px;
}

.nav-logo .logo-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    background: var(--color-primary);
    color: #fff;
    border-radius: var(--radius-sm);
}

.nav-logo .logo-sub {
    font-size: 12px;
    color: var(--color-text-lighter);
    font-weight: 400;
    letter-spacing: 0.5px;
}

/* 导航链接 */
.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-links li a {
    display: block;
    padding: 8px 18px;
    color: var(--color-text);
    font-size: 15px;
    font-weight: 400;
    border-radius: var(--radius-sm);
    transition: all 0.3s var(--ease);
    position: relative;
}

.nav-links li a:hover {
    color: var(--color-primary);
}

.nav-links li a.active {
    color: var(--color-primary);
    font-weight: 500;
}

.nav-links li a.active::after {
    content: "";
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--color-secondary);
    border-radius: 1px;
}

/* 预约按钮 */
.nav-cta {
    padding: 10px 28px;
    background: var(--color-primary);
    color: #fff;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s var(--ease);
}

.nav-cta:hover {
    background: #002a6b;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 27, 69, 0.25);
}

/* 移动端菜单按钮 */
.nav-toggle {
    display: none;
    width: 40px;
    height: 40px;
    border: none;
    background: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-text);
    border-radius: 1px;
    transition: all 0.3s var(--ease);
}

.nav-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ================================================================
   首页 Hero 轮播大图（3张轮播）
   ================================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    margin-top: 0;
    background: var(--color-primary);
}

/* 轮播图容器 */
.hero-slides {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
}

/* 单张轮播图 */
.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    padding-top: var(--nav-height);
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s var(--ease), visibility 1s var(--ease);
    z-index: 1;
}

/* 当前显示的轮播图 */
.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/*
  ★★ 更换轮播图（给代码小白）★★
  
  下面 3 张轮播图，每张都用 emoji 占位。
  要换成真实照片，请这样做：
  
  1. 把你的照片放到 诺美口腔网站/images/ 文件夹
  2. 把下面的 url('...') 里的文件名改成你的照片名
  3. 例如 url('../images/banner1.jpg')
  
  建议尺寸：1920 × 800 像素，JPG格式
  蒙层颜色（rgba里的数字）可以调深浅：0.8=深 0.4=浅
*/

/* 第 1 张轮播图背景 */
.hero-slide-1 {
    background: linear-gradient(135deg, rgba(0, 27, 69, 0.75), rgba(0, 27, 69, 0.5)),
                url('../images/hero-bg-1.jpg') center center / cover no-repeat,
                var(--color-primary);
}

/* 第 2 张轮播图背景 */
.hero-slide-2 {
    background: linear-gradient(135deg, rgba(0, 27, 69, 0.75), rgba(118, 177, 180, 0.4)),
                url('../images/hero-bg-2.jpg') center center / cover no-repeat,
                var(--color-secondary);
}

/* 第 3 张轮播图背景 */
.hero-slide-3 {
    background: linear-gradient(135deg, rgba(0, 27, 69, 0.75), rgba(102, 223, 129, 0.3)),
                url('../images/hero-bg-3.jpg') center center / cover no-repeat,
                var(--color-primary);
}

/* 轮播图文字内容 */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 640px;
    padding: 0 24px;
    color: #fff;
}

/* 当前轮播图的文字动画 */
.hero-slide.active .hero-content {
    animation: heroFadeIn 1.2s var(--ease) both;
}

@keyframes heroFadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 轮播图左右切换箭头 */
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.4);
    background: rgba(0, 0, 0, 0.15);
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    z-index: 10;
    transition: all 0.35s var(--ease);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.hero-arrow:hover {
    background: rgba(0, 27, 69, 0.5);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.hero-arrow-prev {
    left: 30px;
}

.hero-arrow-next {
    right: 30px;
}

/* 轮播图底部小圆点指示器 */
.hero-dots {
    position: absolute;
    bottom: 90px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.35s var(--ease);
}

.hero-dot.active {
    width: 30px;
    border-radius: 5px;
    background: var(--color-secondary);
}

.hero-dot:hover {
    background: rgba(255, 255, 255, 0.7);
}

.hero-content .hero-eyebrow {
    display: inline-block;
    font-size: 14px;
    letter-spacing: 2px;
    color: var(--color-secondary);
    margin-bottom: 20px;
    padding: 6px 16px;
    border: 1px solid rgba(118, 177, 180, 0.5);
    border-radius: 50px;
}

.hero-content h1 {
    font-size: 52px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 24px;
    letter-spacing: 1px;
}

.hero-content .hero-slogan {
    font-size: 18px;
    line-height: 1.9;
    margin-bottom: 36px;
    color: rgba(255, 255, 255, 0.85);
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* 滚动提示 */
.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    letter-spacing: 2px;
    text-align: center;
    animation: bounce 2s var(--ease) infinite;
}

.hero-scroll .scroll-line {
    display: block;
    width: 1px;
    height: 30px;
    background: rgba(255, 255, 255, 0.4);
    margin: 8px auto 0;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ================================================================
   品牌简介区域
   ================================================================ */
.intro {
    padding: 100px 0;
    background: var(--color-bg);
}

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

.intro-text .eyebrow {
    display: inline-block;
    font-size: 13px;
    letter-spacing: 3px;
    color: var(--color-secondary);
    font-weight: 500;
    margin-bottom: 16px;
}

.intro-text h2 {
    font-size: 34px;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 24px;
    color: var(--color-text);
}

.intro-text p {
    font-size: 16px;
    color: var(--color-text-light);
    margin-bottom: 18px;
    line-height: 2;
}

.intro-text .brand-slogan {
    font-size: 22px;
    color: var(--color-primary);
    font-weight: 500;
    margin: 28px 0;
    padding-left: 20px;
    border-left: 3px solid var(--color-secondary);
    line-height: 1.6;
}

.intro-image {
    height: 480px;
    background: var(--color-bg-soft);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    position: relative;
    overflow: hidden;
}

.intro-image::before {
    content: "";
    position: absolute;
    top: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--color-accent-blue);
    opacity: 0.3;
}

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

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

.stat-item {
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 48px;
    background: rgba(255, 255, 255, 0.15);
}

.stat-item h3 {
    font-size: 44px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
}

.stat-item h3 span {
    font-size: 24px;
    color: var(--color-secondary);
}

.stat-item p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 1px;
}

/* ================================================================
   服务卡片
   ================================================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s var(--ease);
    border: 1px solid var(--color-border);
}

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

.service-card .card-image {
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 56px;
    background: var(--color-bg-soft);
    position: relative;
    overflow: hidden;
}

.service-card .card-image::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to top, rgba(0, 27, 69, 0.05), transparent);
}

.service-card .card-body {
    padding: 32px 28px;
}

.service-card .card-body h3 {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 10px;
    color: var(--color-text);
}

.service-card .card-body .tag {
    display: inline-block;
    font-size: 12px;
    color: var(--color-secondary);
    background: rgba(118, 177, 180, 0.12);
    padding: 3px 10px;
    border-radius: 50px;
    margin-bottom: 12px;
}

.service-card .card-body p {
    font-size: 14px;
    color: var(--color-text-light);
    line-height: 1.9;
}

.service-card .card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--color-primary);
    font-weight: 500;
    margin-top: 16px;
    transition: gap 0.3s var(--ease);
}

.service-card:hover .card-link {
    gap: 12px;
}

/* ================================================================
   亮点 / 优势
   ================================================================ */
.advantages {
    background: var(--color-bg-soft);
}

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

.advantage-item {
    text-align: center;
    padding: 40px 20px;
    border-radius: var(--radius-lg);
    background: #fff;
    transition: all 0.4s var(--ease);
    border: 1px solid var(--color-border);
}

.advantage-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.advantage-item .adv-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    background: var(--color-bg-soft);
}

.advantage-item:nth-child(1) .adv-icon { background: rgba(0, 27, 69, 0.08); }
.advantage-item:nth-child(2) .adv-icon { background: rgba(118, 177, 180, 0.15); }
.advantage-item:nth-child(3) .adv-icon { background: rgba(102, 223, 129, 0.12); }
.advantage-item:nth-child(4) .adv-icon { background: rgba(184, 163, 123, 0.15); }

.advantage-item h3 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 10px;
}

.advantage-item p {
    font-size: 13px;
    color: var(--color-text-light);
    line-height: 1.8;
}

/* ================================================================
   医生团队
   ================================================================ */
.doctors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.doctor-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s var(--ease);
    border: 1px solid var(--color-border);
}

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

.doctor-card .doc-photo {
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 72px;
    background: linear-gradient(180deg, var(--color-bg-soft), var(--color-accent-blue));
    position: relative;
}

.doctor-card .doc-photo .doc-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(0, 27, 69, 0.85);
    color: #fff;
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 50px;
    backdrop-filter: blur(4px);
}

.doctor-card .doc-info {
    padding: 28px 24px;
    text-align: center;
}

.doctor-card .doc-info h3 {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 6px;
}

.doctor-card .doc-info .doc-title {
    font-size: 14px;
    color: var(--color-secondary);
    font-weight: 500;
    margin-bottom: 12px;
}

.doctor-card .doc-info p {
    font-size: 13px;
    color: var(--color-text-light);
    line-height: 1.9;
}

.doctor-card .doc-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    margin-top: 14px;
}

.doctor-card .doc-tags span {
    font-size: 12px;
    color: var(--color-text-light);
    background: var(--color-bg-soft);
    padding: 3px 10px;
    border-radius: 50px;
}

/* ================================================================
   新闻资讯
   ================================================================ */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s var(--ease);
    border: 1px solid var(--color-border);
    cursor: pointer;
}

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

.news-card .news-image {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    background: var(--color-bg-soft);
    position: relative;
}

.news-card .news-category {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--color-primary);
    color: #fff;
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 50px;
}

.news-card .news-body {
    padding: 24px 22px;
}

.news-card .news-date {
    font-size: 13px;
    color: var(--color-text-lighter);
    margin-bottom: 8px;
}

.news-card .news-body h3 {
    font-size: 17px;
    font-weight: 500;
    margin-bottom: 10px;
    line-height: 1.5;
    color: var(--color-text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card .news-body p {
    font-size: 14px;
    color: var(--color-text-light);
    line-height: 1.8;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card .news-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--color-primary);
    font-weight: 500;
    margin-top: 14px;
    transition: gap 0.3s var(--ease);
}

.news-card:hover .news-more {
    gap: 10px;
}

/* 新闻详情弹窗 */
.news-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.news-modal-overlay.show {
    display: flex;
}

.news-modal {
    background: #fff;
    border-radius: var(--radius-lg);
    max-width: 720px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideUp 0.4s var(--ease);
}

@keyframes modalSlideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.news-modal .modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.05);
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s var(--ease);
    z-index: 1;
}

.news-modal .modal-close:hover {
    background: rgba(0, 0, 0, 0.1);
}

.news-modal .modal-image {
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    background: var(--color-bg-soft);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.news-modal .modal-body {
    padding: 36px 40px 40px;
}

.news-modal .modal-body .modal-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.news-modal .modal-body .modal-category {
    font-size: 12px;
    color: #fff;
    background: var(--color-primary);
    padding: 4px 12px;
    border-radius: 50px;
}

.news-modal .modal-body .modal-date {
    font-size: 13px;
    color: var(--color-text-lighter);
}

.news-modal .modal-body h2 {
    font-size: 26px;
    font-weight: 500;
    margin-bottom: 20px;
    line-height: 1.4;
}

.news-modal .modal-body .modal-content {
    font-size: 15px;
    color: var(--color-text-light);
    line-height: 2;
}

.news-modal .modal-body .modal-content p {
    margin-bottom: 16px;
}

/* ================================================================
   患者评价
   ================================================================ */
.reviews {
    background: var(--color-primary);
    position: relative;
    overflow: hidden;
}

.reviews::before {
    content: "";
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(118, 177, 180, 0.08);
}

.reviews .section-title h2,
.reviews .section-title .eyebrow {
    color: #fff;
}

.reviews .section-title p {
    color: rgba(255, 255, 255, 0.7);
}

.reviews .section-title .divider {
    background: var(--color-secondary);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}

.review-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 36px 30px;
    color: #fff;
    transition: all 0.4s var(--ease);
}

.review-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
}

.review-card .stars {
    font-size: 16px;
    letter-spacing: 2px;
    margin-bottom: 16px;
    color: var(--color-accent-green);
}

.review-card .review-text {
    font-size: 15px;
    line-height: 1.9;
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.9);
}

.review-card .reviewer {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review-card .reviewer .reviewer-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(118, 177, 180, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.review-card .reviewer .reviewer-name {
    font-size: 15px;
    font-weight: 500;
}

.review-card .reviewer .reviewer-meta {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

/* ================================================================
   CTA 横幅
   ================================================================ */
.cta-banner {
    background: var(--color-secondary);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: "";
    position: absolute;
    bottom: -60px;
    left: -60px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
}

.cta-banner::after {
    content: "";
    position: absolute;
    top: -40px;
    right: -40px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
}

.cta-banner h2 {
    font-size: 32px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.cta-banner p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 32px;
    font-size: 16px;
    position: relative;
    z-index: 1;
}

.cta-banner .btn {
    position: relative;
    z-index: 1;
}

/* ================================================================
   页脚
   ================================================================ */
.footer {
    background: var(--color-primary);
    color: rgba(255, 255, 255, 0.65);
    padding: 70px 0 28px;
}

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

.footer-col h4 {
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 22px;
    letter-spacing: 1px;
}

.footer-col p {
    font-size: 14px;
    line-height: 1.9;
    margin-bottom: 14px;
}

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

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.55);
    font-size: 14px;
    transition: all 0.3s var(--ease);
}

.footer-col ul li a:hover {
    color: var(--color-secondary);
    padding-left: 4px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 1.7;
}

.footer-contact-item .fc-icon {
    flex-shrink: 0;
    font-size: 16px;
    line-height: 1.7;
}

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

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.3s var(--ease);
}

.footer-social a:hover {
    background: var(--color-secondary);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.35);
}

.footer-bottom .footer-legal {
    margin-top: 6px;
    font-size: 12px;
    opacity: 0.7;
}

/* ================================================================
   内页 Banner
   ================================================================ */
.page-banner {
    margin-top: var(--nav-height);
    padding: 80px 0 70px;
    background: var(--color-primary);
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.page-banner::before {
    content: "";
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(118, 177, 180, 0.08);
}

.page-banner::after {
    content: "";
    position: absolute;
    bottom: -80px;
    left: -30px;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: rgba(118, 177, 180, 0.06);
}

.page-banner .pb-content {
    position: relative;
    z-index: 1;
}

.page-banner h1 {
    font-size: 38px;
    font-weight: 500;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.page-banner .breadcrumb {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.page-banner .breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
}

.page-banner .breadcrumb a:hover {
    color: #fff;
}

/* ================================================================
   关于我们页面
   ================================================================ */
.about-story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-story .story-image {
    height: 440px;
    background: var(--color-bg-soft);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 72px;
}

.about-story .story-text h2 {
    font-size: 30px;
    font-weight: 500;
    margin-bottom: 24px;
    line-height: 1.4;
}

.about-story .story-text p {
    color: var(--color-text-light);
    margin-bottom: 18px;
    font-size: 15px;
    line-height: 2;
}

.about-story .story-text .brand-slogan {
    font-size: 20px;
    color: var(--color-primary);
    font-weight: 500;
    margin: 24px 0;
    padding-left: 16px;
    border-left: 3px solid var(--color-secondary);
}

/* 发展历程 */
.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 100px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--color-border);
}

.timeline-item {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    position: relative;
}

.timeline-item .tl-year {
    flex-shrink: 0;
    width: 80px;
    text-align: right;
    font-size: 22px;
    font-weight: 600;
    color: var(--color-primary);
    padding-top: 2px;
}

.timeline-item .tl-dot {
    position: absolute;
    left: 96px;
    top: 8px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-secondary);
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px var(--color-secondary);
}

.timeline-item .tl-content {
    padding-left: 30px;
}

.timeline-item .tl-content h3 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 8px;
}

.timeline-item .tl-content p {
    font-size: 14px;
    color: var(--color-text-light);
    line-height: 1.9;
}

/* 环境展示 */
.env-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.env-item {
    height: 260px;
    background: var(--color-bg-soft);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 48px;
    gap: 12px;
    transition: all 0.4s var(--ease);
    border: 1px solid var(--color-border);
    overflow: hidden;
}
.env-item img {
    width: 100%;
    flex: 1;
    object-fit: cover;
}
.env-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.env-item .env-label {
    font-size: 14px;
    color: var(--color-text-light);
    font-weight: 500;
}

/* 品牌价值观 */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.value-item {
    text-align: center;
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    background: var(--color-bg-soft);
}

.value-item .val-icon {
    font-size: 40px;
    margin-bottom: 18px;
}

.value-item h3 {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 12px;
}

.value-item p {
    font-size: 14px;
    color: var(--color-text-light);
    line-height: 1.9;
}

/* ================================================================
   服务详情页
   ================================================================ */
.service-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.service-detail:last-child {
    margin-bottom: 0;
}

.service-detail:nth-child(even) .sd-image {
    order: -1;
}

.service-detail .sd-image {
    height: 360px;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.service-detail .sd-image .ing {
    width: 100%;
    height: 100;
    object-fit: cover;
    display: block;
}

.service-detail .sd-text .sd-tag {
    display: inline-block;
    font-size: 13px;
    color: var(--color-secondary);
    background: rgba(118, 177, 180, 0.12);
    padding: 4px 14px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.service-detail .sd-text p {
    color: var(--color-text-light);
    margin-bottom: 14px;
    font-size: 15px;
    line-height: 2;
}

.service-detail .sd-features {
    margin-top: 20px;
}

.service-detail .sd-features li {
    padding: 6px 0;
    color: var(--color-text-light);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-detail .sd-features li::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-secondary);
    flex-shrink: 0;
}

/* ================================================================
   医生详情页
   ================================================================ */
.doctor-full {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 60px;
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    transition: all 0.4s var(--ease);
}

.doctor-full:hover {
    box-shadow: var(--shadow-md);
}

.doctor-full .df-photo {
    min-height: 360px;
    background: linear-gradient(180deg, var(--color-bg-soft), var(--color-accent-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    position: relative;
}

.doctor-full .df-photo .df-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--color-primary);
    color: #fff;
    font-size: 13px;
    padding: 6px 14px;
    border-radius: 50px;
}

.doctor-full .df-info {
    padding: 40px 36px;
}

.doctor-full .df-info h2 {
    font-size: 26px;
    font-weight: 500;
    margin-bottom: 6px;
}

.doctor-full .df-info .df-title {
    color: var(--color-secondary);
    font-weight: 500;
    margin-bottom: 20px;
    font-size: 15px;
}

.doctor-full .df-info p {
    color: var(--color-text-light);
    margin-bottom: 14px;
    font-size: 14px;
    line-height: 2;
}

.doctor-full .df-info .df-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.doctor-full .df-info .df-tags span {
    font-size: 13px;
    color: var(--color-text-light);
    background: var(--color-bg-soft);
    padding: 4px 14px;
    border-radius: 50px;
}

/* ================================================================
   案例展示页
   ================================================================ */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.case-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    transition: all 0.4s var(--ease);
}

.case-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.case-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.case-before,
.case-after {
    height: 240px;
    overflow: hidden;
    position: relative;
}
.case-before img
.case-after img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.case-before span
.case-after span{
    position: absolute;
    bottom: 0%;
    left: 0%;
    width: 100%;
    text-align: center;
    padding: 4px 0;
    font-size: 14px;
}       

.case-before {
    background: #f5e8e8;
}
.case-before span{
    color: #a04040;
}

.case-after {
    background: #e8f5e8;
}
.case-after span{
    color: #2d7a2d;
}

.case-before .case-icon,
.case-after .case-icon {
    font-size: 44px;
}

.case-info {
    padding: 24px 26px;
}

.case-info .case-tag {
    display: inline-block;
    font-size: 12px;
    color: var(--color-secondary);
    background: rgba(118, 177, 180, 0.12);
    padding: 3px 10px;
    border-radius: 50px;
    margin-bottom: 10px;
}

.case-info h3 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 8px;
}

.case-info p {
    font-size: 14px;
    color: var(--color-text-light);
    line-height: 1.8;
}

/* 隐私声明 */
.privacy-notice {
    background: rgba(118, 177, 180, 0.08);
    border-radius: var(--radius);
    padding: 18px 24px;
    font-size: 14px;
    color: var(--color-text-light);
    margin-bottom: 40px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.privacy-notice .pn-icon {
    flex-shrink: 0;
    font-size: 18px;
}

/* ================================================================
   联系我们页
   ================================================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info-list {
    margin-bottom: 30px;
}

.contact-info-item {
    display: flex;
    gap: 16px;
    margin-bottom: 28px;
}

.contact-info-item .ci-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: var(--radius);
    background: rgba(0, 27, 69, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.contact-info-item .ci-text h4 {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 4px;
}

.contact-info-item .ci-text p {
    font-size: 14px;
    color: var(--color-text-light);
    line-height: 1.7;
}

.contact-map {
    height: 360px;
    background: var(--color-bg-soft);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
    font-size: 48px;
    border: 1px solid var(--color-border);
}

.contact-map .map-hint {
    font-size: 14px;
    color: var(--color-text-lighter);
}

.qr-section {
    text-align: center;
    margin-top: 30px;
}

.qr-section .qr-img {
    width: 180px;
    height: 180px;
    margin: 0 auto 14px;
    background: var(--color-bg-soft);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 56px;
    border: 1px solid var(--color-border);
}

.qr-section p {
    font-size: 14px;
    color: var(--color-text-light);
}

/* ================================================================
   新闻列表页
   ================================================================ */
.news-list {
    max-width: 800px;
    margin: 0 auto;
}

.news-list-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 30px;
    padding: 32px 0;
    border-bottom: 1px solid var(--color-border);
    cursor: pointer;
    transition: all 0.3s var(--ease);
}

.news-list-item:hover {
    padding-left: 8px;
}

.news-list-item .nl-date {
    text-align: center;
}

.news-list-item .nl-date .nl-day {
    font-size: 36px;
    font-weight: 600;
    color: var(--color-primary);
    line-height: 1;
}

.news-list-item .nl-date .nl-month {
    font-size: 13px;
    color: var(--color-text-lighter);
    margin-top: 4px;
}

.news-list-item .nl-content h3 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 8px;
    transition: color 0.3s var(--ease);
}

.news-list-item:hover .nl-content h3 {
    color: var(--color-primary);
}

.news-list-item .nl-content .nl-category {
    display: inline-block;
    font-size: 12px;
    color: var(--color-secondary);
    background: rgba(118, 177, 180, 0.1);
    padding: 2px 10px;
    border-radius: 50px;
    margin-bottom: 8px;
}

.news-list-item .nl-content p {
    font-size: 14px;
    color: var(--color-text-light);
    line-height: 1.8;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-empty {
    text-align: center;
    padding: 60px 0;
    color: var(--color-text-lighter);
}

.news-empty .empty-icon {
    font-size: 56px;
    margin-bottom: 16px;
}

/* ================================================================
   返回顶部
   ================================================================ */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    border: none;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s var(--ease);
    z-index: 999;
    box-shadow: 0 6px 20px rgba(0, 27, 69, 0.25);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #002a6b;
    transform: translateY(-3px);
}

/* ================================================================
   滚动动画
   ================================================================ */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-up:nth-child(2) { transition-delay: 0.1s; }
.fade-in-up:nth-child(3) { transition-delay: 0.2s; }
.fade-in-up:nth-child(4) { transition-delay: 0.3s; }
.fade-in-up:nth-child(5) { transition-delay: 0.4s; }
.fade-in-up:nth-child(6) { transition-delay: 0.5s; }

/* ================================================================
   后台管理页面样式
   ================================================================ */
.admin-body {
    background: var(--color-bg-soft);
}

.admin-header {
    background: var(--color-primary);
    color: #fff;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.admin-header h1 {
    font-size: 20px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-header .admin-back {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    transition: color 0.3s var(--ease);
}

.admin-header .admin-back:hover {
    color: #fff;
}

.admin-content {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 24px;
}

/* 管理面板 */
.admin-panel {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 36px;
    margin-bottom: 30px;
}

.admin-panel h2 {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* 表单 */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: 8px;
}

.form-group label .required {
    color: #e24b4a;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-family: inherit;
    color: var(--color-text);
    background: #fff;
    transition: border-color 0.3s var(--ease);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-secondary);
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.btn-cancel {
    background: var(--color-bg-soft);
    color: var(--color-text-light);
}

.btn-cancel:hover {
    background: var(--color-accent-gray-l);
}

/* 新闻管理列表 */
.admin-news-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.admin-news-item {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 16px;
    align-items: center;
    padding: 16px 20px;
    background: var(--color-bg-soft);
    border-radius: var(--radius);
    transition: all 0.3s var(--ease);
}

.admin-news-item:hover {
    background: rgba(118, 177, 180, 0.06);
}

.admin-news-item .ani-info h3 {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 4px;
}

.admin-news-item .ani-info .ani-meta {
    font-size: 12px;
    color: var(--color-text-lighter);
}

.admin-news-item .ani-category {
    font-size: 12px;
    color: var(--color-secondary);
    background: rgba(118, 177, 180, 0.1);
    padding: 3px 10px;
    border-radius: 50px;
}

.admin-news-item .ani-actions {
    display: flex;
    gap: 8px;
}

.admin-news-item .ani-actions button {
    width: 34px;
    height: 34px;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s var(--ease);
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-edit {
    background: rgba(0, 27, 69, 0.08);
    color: var(--color-primary);
}

.btn-edit:hover {
    background: var(--color-primary);
    color: #fff;
}

.btn-delete {
    background: rgba(226, 75, 74, 0.08);
    color: #e24b4a;
}

.btn-delete:hover {
    background: #e24b4a;
    color: #fff;
}

.admin-empty {
    text-align: center;
    padding: 40px 0;
    color: var(--color-text-lighter);
    font-size: 14px;
}

/* 管理提示 */
.admin-tip {
    background: rgba(118, 177, 180, 0.08);
    border-radius: var(--radius);
    padding: 16px 20px;
    font-size: 13px;
    color: var(--color-text-light);
    margin-bottom: 24px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.8;
}

/* ================================================================
   响应式
   ================================================================ */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
    .advantage-grid { grid-template-columns: repeat(2, 1fr); }
    .env-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 16px;
        gap: 4px;
        box-shadow: var(--shadow-md);
        border-top: 1px solid var(--color-border);
    }

    .nav-links.open { display: flex; }
    .nav-links li { width: 100%; }
    .nav-links li a { padding: 12px 16px; }
    .nav-cta { display: none; }
    .nav-toggle { display: flex; }

    .hero { min-height: 90vh; padding-top: var(--nav-height); }
    .hero-content h1 { font-size: 34px; }
    .hero-content .hero-slogan { font-size: 16px; }

    .section { padding: 64px 0; }
    .section-title h2 { font-size: 28px; }

    .intro-grid,
    .about-story { grid-template-columns: 1fr; gap: 40px; }
    .intro-image, .about-story .story-image { height: 320px; }

    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
    .stat-item:not(:last-child)::after { display: none; }

    .services-grid,
    .doctors-grid,
    .news-grid,
    .reviews-grid,
    .values-grid { grid-template-columns: 1fr; }

    .advantage-grid { grid-template-columns: 1fr 1fr; }

    .service-detail { grid-template-columns: 1fr; gap: 30px; }
    .service-detail:nth-child(even) .sd-image { order: 0; }

    .doctor-full { grid-template-columns: 1fr; }
    .doctor-full .df-photo { min-height: 280px; }

    .cases-grid { grid-template-columns: 1fr; }

    .contact-grid { grid-template-columns: 1fr; }

    .footer-grid { grid-template-columns: 1fr; gap: 30px; }

    .page-banner { padding: 60px 0 50px; }
    .page-banner h1 { font-size: 30px; }

    .timeline::before { left: 60px; }
    .timeline-item .tl-year { width: 50px; font-size: 16px; }
    .timeline-item .tl-dot { left: 56px; }

    .news-list-item { grid-template-columns: 80px 1fr; gap: 20px; }

    .form-row { grid-template-columns: 1fr; }

    .back-to-top { bottom: 20px; right: 20px; }
}

@media (max-width: 480px) {
    .hero-content h1 { font-size: 26px; }
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn { width: 100%; }

    .stats-grid { grid-template-columns: 1fr 1fr; }

    .advantage-grid { grid-template-columns: 1fr; }
    .env-grid { grid-template-columns: 1fr; }

    .section-title h2 { font-size: 24px; }

    .admin-news-item {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}
