/* ---------- 全局重置 ---------- */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        

        /* ---------- 顶部占位 ---------- */
        .page-placeholder {
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #aaa;
            font-size: 1.2rem;
            letter-spacing: 2px;
            padding: 40px 20px;
        }

        /* ---------- 头部容器 ---------- */
        .header {
            background: linear-gradient(180deg, #7b639e 0%, #7b639e00 100%);
            box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
            position: absolute;
            top: 0;
            z-index: 1000;
            border-bottom: 0px solid rgba(0, 0, 0, 0.04);
            width: 100%;
        }

        .header-inner {
            max-width:88%;
            margin: 0 auto;
            padding: 1.6vw 0px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: auto;
            position: relative;
        }

        /* ---------- 左侧 Logo ---------- */
        .logo {
            flex-shrink: 0;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .logo img {
            height: 3vw;
            width: auto;
            display: block;
            transition: filter 0.2s;
        }

        .logo-text {
            font-size: 1.25rem;
            font-weight: 700;
            color: #1a2639;
            letter-spacing: -0.5px;
        }
        .logo-text span {
            color: #2a7de1;
        }

        /* ---------- 中间菜单 (桌面) ---------- */
        .nav-menu {
            display: flex;
            align-items: center;
            list-style: none;
            gap: 6px;
            margin: 0 20px;
        }

        .nav-menu>li {
            position: relative;
            padding: 0 4px;
        }

        .nav-menu>li>a {
            display: flex;
            align-items: center;
            gap: 4px;
            padding: 8px 16px;
            font-size: 0.85vw;
            font-weight: 500;
            color: #fff;
            text-decoration: none;
            border-radius: 8px;
            transition: background 0.2s, color 0.2s;
            white-space: nowrap;
        }

        .nav-menu>li>a i {display: none;
            font-size: 0.75rem;
            margin-left: 2px;
            transition: transform 0.25s ease;
        }

        .nav-menu>li>a:hover {
               color: #bf96fb;
        }

        /* ---------- 二级下拉菜单 ---------- */
        .dropdown {
            position: absolute;
            top: calc(100% + 0px);
            left: 50%;
            transform: translateX(-50%) translateY(6px);
            background: #ffffff;
            min-width: 7vw;
            padding: 8px 0;
            border-radius: 12px;
            box-shadow: 0 12px 40px rgba(0, 0, 0, 0.10);
            list-style: none;
            opacity: 0;
            visibility: hidden;
            pointer-events: none;
            transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
            border: 1px solid rgba(0, 0, 0, 0.04);
        }

        .dropdown::before {
            content: '';
            position: absolute;
            top: -8px;
            left: 50%;
            transform: translateX(-50%);
            border: 8px solid transparent;
            border-bottom-color: #ffffff;
            filter: drop-shadow(0 -2px 4px rgba(0, 0, 0, 0.02));
        }

        .dropdown li a {text-align: center;
            display: block;
            padding: 10px 0px;
            font-size: 0.9rem;
            color: #2c3e50;
            text-decoration: none;
            transition: background 0.15s, color 0.15s;
            white-space: nowrap;
            border-left: 3px solid transparent;
        }

        .dropdown li a:hover {
            border-left-color: #7b639e;
            color: #bf96fb;
        }

        .dropdown li a i {
            width: 20px;
            margin-right: 10px;
            color: #5a6e8a;
            font-size: 0.85rem;
        }

        /* 悬停显示下拉 */
        .nav-menu>li:hover .dropdown {
            opacity: 1;
            visibility: visible;
            pointer-events: auto;
            transform: translateX(-50%) translateY(0);
        }

        .nav-menu>li:hover>a i {
            transform: rotate(180deg);
        }

        /* ---------- 右侧：搜索 + 预约按钮 ---------- */
        .header-actions {
            display: flex;
            align-items: center;
            gap: 12px;
            flex-shrink: 0;
        }

        /* 搜索框 */
        .search-wrapper {
            position: relative;
            display: flex;
            align-items: center;
        }

        .search-wrapper input {
            width: 10vw;
            height: 1.8vw;
            padding: 0 16px 0 42px;
            border: 1.5px solid #e2e8f0;
            border-radius: 40px;
            font-size: 0.75vw;
            background: #f8fafc6e;
            outline: none;
            color:#fff;
            transition: border 0.2s, box-shadow 0.2s, width 0.3s ease;
        }

        .search-wrapper input:focus {
            border-color: #2a7de1;
            box-shadow: 0 0 0 4px rgba(42, 125, 225, 0.12);
            background: #ffffff;
            width: 12vw;
        }

        .search-wrapper input::placeholder {
            color: #94a3b8;
            font-weight: 400;
        }

        
         .search-wrapper .search-icon {
            position: absolute;
            left: .8vw;
            top: 50%;
            transform: translateY(-50%);
            width: .9vw;
            height: .9vw;
            color: #fff;
            pointer-events: none;
            transition: color 0.2s;
        }

        .search-wrapper input:focus+.search-icon {
            color: #2563eb;
        }
        
         .search-wrapper input::placeholder {
            color: #fff;
            font-weight: 400;
            font-size: 13px;
        }

        /* 预约按钮 */
        .btn-book {
            display: inline-flex;
            align-items: center;
            gap:.4vw;
            padding: 0.4vw 1.2vw;
            background: #a287c9;
            color: #fff;
            border: none;
            border-radius: 40px;
            font-size: .75vw;
            font-weight: 600;
            cursor: pointer;
            transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
            white-space: nowrap;
            letter-spacing: 0.3px;
            box-shadow: 0 4px 12px rgba(26, 95, 199, 0.25);
        }

        .btn-book:hover {color:#fff;
            background: #7a57ad;
            transform: translateY(-1px);
            box-shadow: 0 6px 20px rgba(26, 95, 199, 0.32);
        }

        .btn-book:active {
            transform: translateY(0);
        }
        
        .btn-book a{color:#fff;}

        .btn-book i {
            font-size: 0.9rem;
        }

        /* ---------- 移动端汉堡按钮 ---------- */
        .hamburger {
            display: none;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            width: 40px;
            height: 40px;
            border: none;
            background: transparent;
            cursor: pointer;
            padding: 6px;
            border-radius: 8px;
            transition: background 0.2s;
            margin-left: 4px;
        }

        

        .hamburger span {
            display: block;
            width: 24px;
            height: 2.5px;
            background: #fff;
            border-radius: 4px;
            transition: all 0.3s ease;
            margin: 3px 0;
        }

        .hamburger.active span:nth-child(1) {
            transform: translateY(8px) rotate(45deg);
        }
        .hamburger.active span:nth-child(2) {
            opacity: 0;
            transform: scaleX(0);
        }
        .hamburger.active span:nth-child(3) {
            transform: translateY(-8px) rotate(-45deg);
        }

        /* ---------- 移动端菜单（抽屉） ---------- */
        .mobile-overlay {
            display: none;
            position: fixed;
            top: 72px;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.25);
            backdrop-filter: blur(2px);
            z-index: 999;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .mobile-overlay.open {
            opacity: 1;
        }

        .mobile-menu {
            position: fixed;
            top: 72px;
            left: 0;
            right: 0;
            background: #ffffff;
            padding: 20px 24px 30px;
            box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
            transform: translateY(-12px);
            opacity: 0;
            visibility: hidden;
            transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s;
            z-index: 1000;
            border-bottom: 1px solid #eef2f6;
            max-height: calc(100vh - 72px);
            overflow-y: auto;
        }

        .mobile-menu.open {
            transform: translateY(0);
            opacity: 1;
            visibility: visible;
        }

        .mobile-menu ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .mobile-menu ul li {
            border-bottom: 1px solid #f1f4f9;
        }

        .mobile-menu ul li:last-child {
            border-bottom: none;
        }

        .mobile-menu ul li a {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 14px 4px;
            font-size: 1rem;
            font-weight: 500;
            color: #1a2639;
            text-decoration: none;
            transition: color 0.15s;
        }

        .mobile-menu ul li a:hover {
            color: #1a5fc7;
        }

        .mobile-menu ul li a i.fa-chevron-down {
            font-size: 0.7rem;
            color: #94a3b8;
            transition: transform 0.3s;
        }

        /* 移动端二级菜单 */
        .mobile-dropdown {
            list-style: none;
            padding: 0 0 8px 16px;
            margin: 0;
            display: none;
        }

        .mobile-dropdown.open {
            display: block;
        }

        .mobile-dropdown li a {
            padding: 10px 4px 10px 12px;
            font-weight: 400;
            font-size: 0.92rem;
            color: #3d4e62;
            border-bottom: none;
        }

        .mobile-dropdown li a i {
            width: 20px;
            margin-right: 10px;
            color: #5a6e8a;
        }

        .mobile-dropdown li a:hover {
            color: #1a5fc7;
        }

        .mobile-menu .mobile-actions {
            margin-top: 16px;
            padding-top: 16px;
            border-top: 1px solid #eef2f6;
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .mobile-menu .mobile-actions .search-wrapper {
            width: 100%;
        }

        .mobile-menu .mobile-actions .search-wrapper input {
            width: 100%;
            padding: 10px 16px 10px 40px;
        }

        .mobile-menu .mobile-actions .btn-book {
            width: 100%;
            justify-content: center;
            padding: 12px;
        }

        /* ---------- 响应式 ---------- */
        @media (max-width: 1024px) {
            .search-wrapper input {
                width: 140px;
            }
            .search-wrapper input:focus {
                width: 170px;
            }
            .nav-menu>li>a {
                padding: 8px 12px;
                font-size: 0.9rem;
            }
        }

        @media (max-width: 840px) {
            /* 隐藏桌面菜单和搜索框（保留按钮） */
            .nav-menu {
                display: none;
            }
            .search-wrapper {
                display: none;
            }

            .hamburger {
                display: flex;
            }

            .header-actions .btn-book {
                padding: 8px 16px;
                font-size: 0.85rem;
            }

            .header-inner {
                height: 64px;
                padding: 0 16px;
            }

            .mobile-overlay {
                top: 64px;
            }
            .mobile-menu {
                top: 64px;
            }

            .logo img {
                height: 34px;
            }
            .logo-text {
                font-size: 1.05rem;
            }
        }

        @media (max-width: 480px) {
            .header-inner {
                padding: 0 12px;
                height: 58px;
            }

            .logo img {
                height: 28px;
            }
            .logo-text {
                font-size: 0.95rem;
            }
            .logo-text span {
                display: none;
            }

            .btn-book {
                padding: 6px 14px;
                font-size: 0.8rem;
                gap: 4px;
            }
            .btn-book i {
                font-size: 0.75rem;
            }

            .hamburger {
                width: 34px;
                height: 34px;
            }
            .hamburger span {
                width: 20px;
                height: 2px;
                margin: 2.5px 0;
            }

            .mobile-menu {
                padding: 16px 16px 24px;
            }
            .mobile-menu ul li a {
                padding: 12px 2px;
                font-size: 0.95rem;
            }

            .mobile-overlay {
                top: 58px;
            }
            .mobile-menu {
                top: 58px;
            }
        }

        /* 小屏设备上，让预约按钮文字隐藏只显示图标 (更紧凑) */
        @media (max-width: 400px) {
            .btn-book .btn-text {
                display: none;
            }
            .btn-book {
                padding: 8px 12px;
            }
            .btn-book i {
                font-size: 1rem;
                margin: 0;
            }
        }