/* ===================================
   芜湖江城口腔 - 全局样式
   =================================== */

:root {
    /* 主色系 - 医疗蓝绿色 */
    --primary: #0077b6;
    --primary-dark: #005f8a;
    --primary-light: #00a8e8;
    --primary-50: #e6f4f9;
    --primary-100: #cce9f3;
    
    /* 辅助色 */
    --accent: #00b4d8;
    --accent-light: #48cae4;
    
    /* 中性色 */
    --dark: #1a1a2e;
    --gray-900: #2d2d3f;
    --gray-700: #4a4a5e;
    --gray-500: #6b6b80;
    --gray-300: #b8b8c8;
    --gray-100: #f0f0f5;
    --white: #ffffff;
    
    /* 渐变 */
    --gradient-primary: linear-gradient(135deg, #0077b6 0%, #00b4d8 100%);
    --gradient-hero: linear-gradient(135deg, rgba(0, 119, 182, 0.85) 0%, rgba(0, 180, 216, 0.7) 100%);
    --gradient-card: linear-gradient(180deg, #ffffff 0%, #f8fbfd 100%);
    
    /* 阴影 */
    --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.1);
    --shadow-xl: 0 12px 60px rgba(0, 0, 0, 0.12);
    --shadow-glow: 0 0 40px rgba(0, 119, 182, 0.15);
    
    /* 圆角 */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;
    
    /* 过渡 */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* 字体 */
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray-700);
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

/* ===================================
   工具类
   =================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===================================
   按钮
   =================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(0, 119, 182, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 119, 182, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.6);
}

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

.btn-lg {
    padding: 16px 36px;
    font-size: 16px;
}

.btn-block {
    width: 100%;
}

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

.section-tag {
    display: inline-block;
    padding: 6px 18px;
    background: var(--primary-50);
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    border-radius: var(--radius-full);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-title {
    font-size: 38px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 17px;
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto;
}

/* ===================================
   导航栏
   =================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

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

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: 16px;
}

.nav {
    flex: 1;
    min-width: 0;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: nowrap;
}

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

.logo-img {
    height: 40px;
    width: auto;
    display: block;
    object-fit: contain;
}

.footer-logo .logo-img {
    height: 36px;
    filter: brightness(0) invert(1);
}

.badge-icon {
    width: 16px;
    height: 16px;
    vertical-align: middle;
    margin-right: 4px;
    display: inline-block;
}

.inline-icon {
    width: 16px;
    height: 16px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 4px;
    opacity: 0.85;
}

.logo .highlight {
    color: var(--primary);
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    padding: 6px 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-700);
    border-radius: var(--radius-full);
    transition: var(--transition);
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    background: var(--primary-50);
}

.nav-cta {
    padding: 10px 24px !important;
    font-size: 14px !important;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}
.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===================================
   Hero 区域
   =================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(0, 119, 182, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(0, 180, 216, 0.06) 0%, transparent 50%),
        linear-gradient(180deg, #f8fbfd 0%, #ffffff 100%);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%230077b6' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
    position: relative;
    z-index: 1;
    padding-top: 80px;
}

.hero-text {
    max-width: 680px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: var(--primary-50);
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: 24px;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.15;
    color: var(--dark);
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-desc {
    font-size: 18px;
    color: var(--gray-500);
    line-height: 1.8;
    margin-bottom: 36px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

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

.stat-num {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary);
    display: block;
}

.stat-num span {
    font-size: 18px;
    font-weight: 600;
}

.stat-label {
    font-size: 14px;
    color: var(--gray-500);
    margin-top: 4px;
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.hero-scroll a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--white);
    box-shadow: var(--shadow-md);
    color: var(--primary);
    animation: bounce 2s infinite;
}

.hero-scroll a svg {
    width: 20px;
    height: 20px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-8px); }
    60% { transform: translateY(-4px); }
}

/* ===================================
   关于江城
   =================================== */
.about {
    background: var(--white);
}

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

.about-text p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.9;
}

.about-text strong {
    color: var(--primary);
}

.about-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 36px;
}

.value-card {
    padding: 24px 16px;
    text-align: center;
    background: var(--gradient-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-100);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.value-icon {
    width: 36px;
    height: 36px;
    margin: 0 auto 12px;
    color: var(--primary);
}

.value-icon svg {
    width: 100%;
    height: 100%;
}

.value-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.value-card p {
    font-size: 13px;
    color: var(--gray-500);
}

.about-image {
    position: relative;
}

.about-img-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-img-card img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.img-placehold {
    width: 100%;
    height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--primary-50);
    color: var(--primary);
}

.placeholder-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 12px;
    opacity: 0.4;
}

.about-float-card {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 20px 28px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.float-num {
    font-size: 32px;
    font-weight: 800;
}

.float-text {
    font-size: 13px;
    opacity: 0.9;
}

/* ===================================
   诊疗项目
   =================================== */
.services {
    background: var(--gray-100);
}

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

.service-card {
    background: var(--white);
    padding: 40px 28px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
}

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

.service-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    color: var(--primary);
    background: var(--primary-50);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.service-icon svg {
    width: 28px;
    height: 28px;
    display: block;
}

.service-card:hover .service-icon {
    background: var(--gradient-primary);
    color: var(--white);
    transform: scale(1.05);
}

.service-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.service-card p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.7;
}

/* ===================================
   专家团队 - 横向滚动
   =================================== */
.doctors-scroll-wrapper {
    overflow-x: auto;
    padding-bottom: 20px;
    -webkit-overflow-scrolling: touch;
}

.doctors-scroll-wrapper::-webkit-scrollbar {
    height: 6px;
}

.doctors-scroll-wrapper::-webkit-scrollbar-track {
    background: var(--gray-100);
    border-radius: 3px;
}

.doctors-scroll-wrapper::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 3px;
}

.doctors-scroll {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.doctors-scroll .doctor-card {
    flex: 0 0 calc(33.333% - 20px);
    max-width: 380px;
}

.doctors-expand {
    text-align: center;
    margin-top: 50px;
}

.doctors-all {
    display: none;
}

.doctors-all.show {
    display: block;
    margin-top: 50px;
}

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

.doctors-all .doctor-card {
    flex: none;
    max-width: 100%;
}

@media (max-width: 1024px) {
    .doctors-all .doctors-scroll {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .doctors-scroll .doctor-card {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .doctors-all .doctors-scroll {
        grid-template-columns: 1fr;
    }
}

.doctor-card {
    display: block;
    background: var(--gradient-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--gray-100);
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
}

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

.doctor-avatar {
    padding: 0;
    display: flex;
    justify-content: center;
    background: var(--gray-100);
    position: relative;
    aspect-ratio: 4/5;
}

.doctor-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.doctor-avatar .avatar-placeholder {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.avatar-placeholder {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 119, 182, 0.3);
}

.avatar-placeholder svg {
    width: 40px;
    height: 40px;
    color: var(--white);
}

.doctor-info {
    padding: 24px 28px 28px;
}

.doctor-info h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
}

.doctor-title {
    font-size: 14px;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 14px;
}

.doctor-desc {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 18px;
}

.doctor-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    padding: 4px 10px;
    background: var(--primary-50);
    color: var(--primary);
    font-size: 12px;
    font-weight: 500;
    border-radius: var(--radius-full);
}

.hospital-card .hospital-avatar .avatar-placeholder {
    background: linear-gradient(135deg, #06d6a0 0%, #118ab2 100%);
}

/* ===================================
   先进设备
   =================================== */
.equipment {
    background: var(--gray-100);
}

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

.equipment-card {
    background: var(--white);
    padding: 28px 24px;
    border-radius: var(--radius-md);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--gray-100);
}

.equipment-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
}

.equipment-icon {
    width: 36px;
    height: 36px;
    margin: 0 auto 14px;
    color: var(--primary);
}

.equipment-icon svg {
    width: 100%;
    height: 100%;
}

.equipment-icon-svg svg {
    width: 44px;
    height: 44px;
}

.equipment-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.equipment-cert {
    font-size: 12px;
    color: var(--gray-500);
    font-family: monospace;
}

/* ===================================
   诊所环境 Gallery
   =================================== */
.gallery {
    background: var(--gray-100);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 240px;
    gap: 16px;
}

.gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.gallery-item:hover {
    box-shadow: var(--shadow-lg);
    transform: scale(1.02);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item-lg {
    grid-column: span 2;
    grid-row: span 2;
}

/* ===================================
   所获荣誉 Awards
   =================================== */
.awards {
    background: var(--white);
}

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

.award-card {
    background: var(--gradient-card);
    border-radius: var(--radius-md);
    padding: 16px;
    text-align: center;
    border: 1px solid var(--gray-100);
    transition: var(--transition);
}

.award-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.award-card img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    border-radius: var(--radius-sm);
    background: var(--white);
    margin-bottom: 12px;
}

.award-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-700);
    line-height: 1.4;
}

/* ===================================
   门店地址
   =================================== */
.branches {
    background: var(--white);
}

.branches-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.branch-card {
    background: var(--gradient-card);
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-100);
    transition: var(--transition);
}

.branch-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-100);
}

.branch-img {
    margin-bottom: 16px;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--gray-100);
    aspect-ratio: 16 / 10;
}

.branch-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.branch-card:hover .branch-img img {
    transform: scale(1.05);
}

.branch-img-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--gray-300);
}

.branch-img-empty svg {
    width: 32px;
    height: 32px;
}

.branch-img-empty span {
    font-size: 13px;
}

.branch-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.branch-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
}

.branch-badge {
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 600;
    border-radius: var(--radius-full);
    background: var(--primary-50);
    color: var(--primary);
}

.branch-badge.flagship {
    background: #fff3e0;
    color: #f77f00;
}

.branch-address {
    font-size: 15px;
    color: var(--gray-700);
    margin-bottom: 8px;
}

.branch-phone {
    font-size: 15px;
    margin-bottom: 16px;
}

.branch-phone a {
    color: var(--primary);
    font-weight: 600;
    font-size: 18px;
}

.branch-phone a:hover {
    color: var(--primary-dark);
}

.branch-info {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: var(--gray-500);
}

.branch-info span {
    padding: 4px 12px;
    background: var(--gray-100);
    border-radius: var(--radius-full);
}

/* ===================================
   联系我们
   =================================== */
.contact {
    background: linear-gradient(180deg, var(--gray-100) 0%, var(--white) 100%);
}

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

.contact-info h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 20px;
}

.contact-info > p {
    font-size: 16px;
    color: var(--gray-500);
    line-height: 1.8;
    margin-bottom: 32px;
}

.contact-hotline {
    background: var(--gradient-primary);
    padding: 28px 32px;
    border-radius: var(--radius-lg);
    margin-bottom: 32px;
}

.hotline-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 8px;
}

.hotline-number {
    font-size: 32px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 1px;
}

.contact-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contact-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: var(--gray-700);
}

.feature-icon {
    width: 24px;
    height: 24px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0;
    flex-shrink: 0;
}

.feature-icon svg {
    width: 14px;
    height: 14px;
}

/* 表单 */
.contact-selector {
    position: sticky;
    top: 100px;
}

.contact-selector h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 24px;
}

.branch-selector {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.branch-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    background: var(--gray-100);
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    font-size: 15px;
    color: var(--gray-700);
    text-align: left;
}

.branch-btn:hover {
    background: var(--primary-50);
    border-color: var(--primary-100);
}

.branch-btn.active {
    background: var(--primary-50);
    border-color: var(--primary);
    color: var(--primary-dark);
}

.branch-name {
    font-weight: 600;
}

.branch-tag {
    font-size: 12px;
    padding: 2px 8px;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius-full);
}

.branch-btn:not(.active) .branch-tag {
    background: var(--gray-300);
}

.branch-phone-display {
    text-align: center;
    padding: 28px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    color: var(--white);
}

.selected-branch-name {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 8px;
}

.selected-phone {
    display: inline-block;
    font-size: 36px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.selected-phone:hover {
    color: var(--white);
    opacity: 0.8;
}

.phone-tip {
    font-size: 13px;
    opacity: 0.7;
}

/* ===================================
   页脚
   =================================== */
.footer {
    background: var(--dark);
    color: var(--gray-300);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.footer-logo .logo-img {
    height: 36px;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.7;
    opacity: 0.7;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 20px;
}

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

.footer-links a {
    font-size: 14px;
    opacity: 0.7;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--accent-light);
}

.footer-contact p {
    font-size: 14px;
    margin-bottom: 12px;
    opacity: 0.7;
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    opacity: 0.5;
    margin-bottom: 4px;
}

/* ===================================
   回到顶部
   =================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top svg {
    width: 20px;
    height: 20px;
}

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

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* 浮动预约按钮 */
.float-cta {
    position: fixed;
    bottom: 90px;
    right: 30px;
    width: 56px;
    height: 56px;
    background: #06d6a0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: 0 4px 20px rgba(6, 214, 160, 0.4);
    z-index: 999;
    transition: var(--transition);
    display: none;
}

.float-cta svg {
    width: 24px;
    height: 24px;
}

.float-cta:hover {
    transform: scale(1.1);
}

/* ===================================
   响应式设计
   =================================== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 44px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .about-image {
        order: -1;
    }
    
    .services-grid,
    .doctors-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-item-lg {
        grid-column: span 1;
        grid-row: span 1;
    }

    .awards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .equipment-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper {
        position: static;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 70px 0;
    }
    
    .section-title {
        font-size: 30px;
    }
    
    .nav {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 20px;
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }
    
    .nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-list {
        flex-direction: column;
        width: 100%;
    }
    
    .nav-link {
        display: block;
        padding: 12px 16px;
        width: 100%;
    }
    
    .nav-cta {
        display: none;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-stats {
        gap: 24px;
    }
    
    .stat-num {
        font-size: 28px;
    }
    
    .about-values {
        grid-template-columns: 1fr;
    }
    
    .about-float-card {
        right: 10px;
        bottom: -10px;
    }
    
    .services-grid,
    .doctors-grid,
    .equipment-grid,
    .gallery-grid,
    .awards-grid {
        grid-template-columns: 1fr;
    }
    
    .branches-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-features {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .float-cta {
        display: flex;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 30px;
    }
    
    .contact-form {
        padding: 24px;
    }
    
    .hotline-number {
        font-size: 26px;
    }
}
