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

:root {
    /* 品牌色板 - 收敛为 1 主调 + 5 分类色 */
    --bg-primary: #0c0d12;
    --bg-secondary: #14161e;
    --bg-card: #1a1c27;
    --bg-elevated: #242633;
    --bg-overlay: rgba(12, 13, 18, 0.7);

    --text-primary: #f7f3ec;
    --text-secondary: #b5b0a4;
    --text-muted: #6b6862;
    --text-dim: #4a4744;

    --gold: #d4a574;
    --gold-soft: #b8915e;
    --gold-light: #e8c896;

    /* 5 分类色 - 降饱和度，更和谐 */
    --cat-perm:     #d4a574;   /* 烫发 - 暖金 */
    --cat-dye:      #c99784;   /* 染发 - 玫瑰 */
    --cat-straight: #94a8b8;   /* 拉发 - 雾蓝 */
    --cat-care:     #9ab89a;   /* 护理 - 草绿 */
    --cat-extra:    #b89bc8;   /* 小项 - 薰紫 */

    --border: rgba(212, 165, 116, 0.12);
    --border-hover: rgba(212, 165, 116, 0.4);
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    --shadow-gold: 0 10px 40px rgba(212, 165, 116, 0.15);

    /* 动效时长 */
    --t-fast: 0.2s;
    --t-base: 0.4s;
    --t-slow: 0.6s;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

/* ========== 背景装饰 ========== */
.bg-decoration {
    position: fixed;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.bg-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
}

.bg-circle-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212, 165, 116, 0.25) 0%, transparent 70%);
    top: -150px;
    right: -150px;
    animation: float 25s ease-in-out infinite;
}

.bg-circle-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(201, 151, 132, 0.2) 0%, transparent 70%);
    bottom: 10%;
    left: -100px;
    animation: float 30s ease-in-out infinite reverse;
}

.bg-circle-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(148, 168, 184, 0.15) 0%, transparent 70%);
    top: 50%;
    right: 20%;
    animation: float 35s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* ========== 导航 ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 14px 0;
    background: var(--bg-overlay);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border);
    transition: padding var(--t-base) var(--ease);
}

.navbar.scrolled {
    padding: 8px 0;
    background: rgba(12, 13, 18, 0.92);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    border-radius: 8px;
    transition: transform var(--t-base) var(--ease-spring);
}

.brand-logo-link:hover {
    transform: scale(1.05);
}

.brand-logo-link:active {
    transform: scale(0.98);
}

.brand-logo-img {
    height: 44px;
    width: auto;
    display: block;
    border-radius: 6px;
    background: #ffffff;
    padding: 4px;
    box-shadow:
        0 0 0 1px var(--gold),
        0 0 0 4px rgba(212, 165, 116, 0.15),
        0 0 12px rgba(212, 165, 116, 0.3),
        0 4px 16px rgba(0, 0, 0, 0.3);
    transition: height var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    margin-left: 12px;
    user-select: none;
}

.brand-text-cn {
    font-family: 'Noto Serif SC', serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 2px;
}

.brand-text-en {
    font-family: 'Cormorant Garamond', serif;
    font-size: 10px;
    font-weight: 500;
    color: var(--gold);
    letter-spacing: 3px;
    margin-top: 2px;
    text-transform: uppercase;
}

.brand-logo-link:hover .brand-logo-img {
    box-shadow:
        0 0 0 1px var(--gold-light),
        0 0 0 5px rgba(232, 200, 150, 0.22),
        0 0 18px rgba(212, 165, 116, 0.5),
        0 4px 16px rgba(0, 0, 0, 0.3);
}

.navbar.scrolled .brand-logo-img {
    height: 36px;
}

.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 1.5px;
    position: relative;
    padding: 6px 0;
    transition: color var(--t-fast) var(--ease);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1.5px;
    background: var(--gold);
    transition: all var(--t-base) var(--ease);
    transform: translateX(-50%);
}

.nav-link:hover,
.nav-link.active {
    color: var(--gold-light);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 20px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    -webkit-tap-highlight-color: transparent;
}

.nav-toggle span {
    width: 22px;
    height: 1.5px;
    background: var(--text-primary);
    transition: all var(--t-base) var(--ease);
}

/* ========== SPA 视图切换 ========== */
#app {
    position: relative;
    z-index: 1;
}

.view {
    display: none;
}

.view.active {
    display: block;
    animation: viewIn var(--t-slow) var(--ease-out) both;
}

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

/* ========== 首页：紧凑 Hero（仅 LOGO + 一行引导）========== */
.hero {
    padding: 100px 32px 36px;
    text-align: center;
    position: relative;
}

.hero-logo {
    display: inline-block;
    width: auto;
    height: 96px;
    margin-bottom: 18px;
    background: #ffffff;
    padding: 10px;
    border-radius: 14px;
    box-shadow:
        0 0 0 1.5px var(--gold),
        0 0 0 6px rgba(212, 165, 116, 0.15),
        0 0 28px rgba(212, 165, 116, 0.4),
        0 8px 30px rgba(0, 0, 0, 0.35);
    animation: heroLogoIn 0.8s var(--ease-spring) 0.1s both;
}

.hero-name {
    font-family: 'Noto Serif SC', serif;
    font-size: 30px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 8px;
    margin-bottom: 8px;
    text-indent: 8px; /* 抵消 letter-spacing 造成的右偏 */
    text-shadow: 0 0 20px rgba(212, 165, 116, 0.25);
    animation: fadeInUp 0.6s var(--ease-out) 0.2s both;
}

@keyframes heroLogoIn {
    0% { opacity: 0; transform: scale(0.5) translateY(-20px); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}

.hero-subtitle {
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: 4px;
    animation: fadeInUp 0.6s var(--ease-out) 0.3s both;
}

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

/* ========== Section Header ========== */
section {
    position: relative;
    z-index: 1;
    padding: 70px 32px;
}

.section-header {
    text-align: center;
    margin-bottom: 36px;
}

.section-tag {
    display: inline-block;
    padding: 4px 14px;
    font-size: 10px;
    letter-spacing: 3px;
    color: var(--gold);
    margin-bottom: 10px;
    border: 1px solid var(--border);
    border-radius: 100px;
}

.section-title {
    font-family: 'Noto Serif SC', serif;
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 700;
    letter-spacing: 2px;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 13px;
    letter-spacing: 1px;
    margin-top: 6px;
}

/* ========== 首页：分类网格（紧凑 4:3）========== */
.categories {
    max-width: 1280px;
    margin: 0 auto;
    padding-top: 30px;
    padding-bottom: 70px;
}

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

/* 让第 4、5 个居中 */
.category-grid > .category-card:nth-child(4) {
    grid-column: 1 / 2;
}

.category-grid > .category-card:nth-child(5) {
    grid-column: 2 / 3;
}

.category-card {
    --card-accent: var(--gold);
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: 18px;
    overflow: hidden;
    cursor: pointer;
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: all var(--t-base) var(--ease-out);
    animation: cardIn 0.6s var(--ease-spring) both;
}

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

.category-card:hover {
    transform: translateY(-6px) scale(1.01);
    border-color: var(--card-accent);
    box-shadow:
        0 16px 40px rgba(0, 0, 0, 0.4),
        0 0 0 1px var(--card-accent),
        0 0 30px color-mix(in srgb, var(--card-accent) 25%, transparent);
}

.category-card .card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;             /* 填满卡片，人脸变大 */
    background-position: center 25%;     /* 聚焦人脸（图像上部） */
    background-repeat: no-repeat;
    background-color: rgba(8, 9, 14, 0.4);
    transition: transform 0.7s var(--ease-out), filter 0.5s var(--ease);
}

.category-card:hover .card-bg {
    transform: scale(1.06);
    filter: brightness(1.08);
}

.category-card .card-bg.placeholder {
    background: linear-gradient(135deg, var(--card-accent) 0%, color-mix(in srgb, var(--card-accent) 50%, #1a1c27) 100%);
}

.category-card .card-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(12, 13, 18, 0.05) 0%,
        rgba(12, 13, 18, 0.55) 60%,
        rgba(12, 13, 18, 0.98) 100%
    );
    pointer-events: none;
}

.category-card .card-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 18px 20px 20px;
    color: white;
    z-index: 2;
}

.category-card .card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.category-card .card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    color: white;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
}

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

.category-card .card-count {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.85);
    padding: 2px 10px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.category-card .card-title {
    font-family: 'Noto Serif SC', serif;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 3px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
    margin-bottom: 2px;
}

.category-card .card-subtitle {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 1px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.category-card .card-arrow {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0;
    transform: translateX(-8px) scale(0.8);
    transition: all var(--t-base) var(--ease-spring);
    z-index: 2;
}

.category-card:hover .card-arrow {
    opacity: 1;
    transform: translateX(0) scale(1);
}

.category-card .card-arrow svg {
    width: 16px;
    height: 16px;
}

.category-card .card-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ========== 详情页：返回按钮 ========== */
.back-btn {
    position: fixed;
    top: 80px;
    left: 24px;
    z-index: 50;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px 8px 12px;
    background: var(--bg-overlay);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: 100px;
    color: var(--gold-light);
    font-size: 13px;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all var(--t-base) var(--ease);
    -webkit-tap-highlight-color: transparent;
}

.back-btn:hover {
    background: var(--gold);
    color: var(--bg-primary);
    border-color: var(--gold);
    transform: translateX(-2px);
}

.back-btn:active {
    transform: scale(0.96);
}

.back-btn svg {
    width: 16px;
    height: 16px;
}

.back-btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
}

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

/* ========== 详情页：紧凑 Hero（45vh）========== */
.detail-hero {
    --detail-accent: var(--gold);
    position: relative;
    height: 45vh;
    min-height: 320px;
    max-height: 480px;
    overflow: hidden;
    margin-top: 64px;
}

.detail-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;             /* 填满，人脸变大 */
    background-position: center 25%;     /* 聚焦人脸（图像上部） */
    background-repeat: no-repeat;
    background-color: rgba(8, 9, 14, 0.4);
    transition: transform 8s linear, filter 0.5s var(--ease);
}

.view.active .detail-hero-bg {
    transform: scale(1.05);
}

.detail-hero-bg.placeholder {
    background: linear-gradient(135deg, var(--detail-accent) 0%, color-mix(in srgb, var(--detail-accent) 40%, #1a1c27) 100%);
}

.detail-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(12, 13, 18, 0.2) 0%,
        rgba(12, 13, 18, 0.35) 30%,
        rgba(12, 13, 18, 0.75) 70%,
        rgba(12, 13, 18, 0.98) 100%
    );
    pointer-events: none;
}

.detail-hero-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0 32px 32px;
    color: white;
    z-index: 2;
    text-align: center;
    animation: fadeInUp 0.7s var(--ease-out) 0.3s both;
}

.detail-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 10px;
    color: white;
    filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.5));
}

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

.detail-title {
    font-family: 'Noto Serif SC', serif;
    font-size: clamp(40px, 7vw, 64px);
    font-weight: 900;
    letter-spacing: 6px;
    margin-bottom: 10px;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}

.detail-subtitle {
    font-size: 14px;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

/* ========== 详情页：服务卡片网格 ========== */
.services {
    max-width: 1280px;
    margin: 0 auto;
    padding-top: 50px;
    padding-bottom: 70px;
}

/* 详情页简洁分隔线 —— 替代区块头 */
.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    max-width: 480px;
    margin: 0 auto 28px;
    color: var(--text-muted);
    font-size: 12px;
    letter-spacing: 4px;
    text-align: center;
}

.section-divider::before,
.section-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-hover) 50%, transparent);
}

.section-divider-text {
    white-space: nowrap;
    font-weight: 500;
    color: var(--text-secondary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.service-card {
    --card-accent: var(--gold);
    position: relative;
    background: linear-gradient(145deg, var(--bg-card), var(--bg-secondary));
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    transition: all var(--t-base) var(--ease);
    cursor: pointer;
    animation: cardIn 0.5s var(--ease-spring) both;
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: var(--card-accent);
    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.3),
        0 0 0 1px var(--card-accent);
}

.service-card-accent {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--card-accent);
    transition: width var(--t-base) var(--ease);
}

.service-card:hover .service-card-accent {
    width: 6px;
}

.service-card-body {
    padding: 18px 20px 16px 22px;
}

.service-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    gap: 8px;
    flex-wrap: wrap;
}

.service-card-cat {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    color: var(--card-accent);
    letter-spacing: 1px;
    padding: 2px 8px;
    border-radius: 100px;
    background: color-mix(in srgb, var(--card-accent) 8%, transparent);
    border: 1px solid color-mix(in srgb, var(--card-accent) 25%, transparent);
}

.service-card-cat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 12px;
    height: 12px;
}

.service-card-cat-icon svg {
    width: 100%;
    height: 100%;
}

.service-card-tag {
    padding: 2px 8px;
    background: rgba(212, 165, 116, 0.15);
    border-radius: 100px;
    font-size: 10px;
    color: var(--gold);
    letter-spacing: 1px;
}

.service-card-tag.hot {
    background: linear-gradient(135deg, #e85d5d, #c83a3a);
    color: white;
}

.service-card-tag.new {
    background: linear-gradient(135deg, #5d8de8, #3a5dc8);
    color: white;
}

.service-card-name {
    font-family: 'Noto Serif SC', serif;
    font-size: 19px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
    letter-spacing: 1.5px;
}

.service-card-name-en {
    font-family: 'Cormorant Garamond', serif;
    font-size: 10px;
    color: var(--text-muted);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.service-card-name.is-empty {
    color: var(--text-dim);
    font-style: italic;
    font-weight: 400;
}

.service-card-desc {
    color: var(--text-secondary);
    font-size: 12.5px;
    line-height: 1.55;
    margin-bottom: 12px;
    min-height: 38px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.service-card-desc.is-empty {
    color: var(--text-dim);
    font-style: italic;
    display: flex;
    align-items: center;
}

.service-card-desc.is-empty::before {
    content: '✦';
    margin-right: 6px;
    color: var(--card-accent);
    opacity: 0.5;
}

.service-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 10px;
    border-top: 1px dashed var(--border);
}

.service-card-duration {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: var(--text-muted);
}

.service-card-duration svg {
    width: 12px;
    height: 12px;
}

.service-card-duration .meta-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 12px;
    height: 12px;
    color: var(--text-muted);
}

.service-card-duration .meta-icon svg {
    width: 100%;
    height: 100%;
}

.service-card-price {
    margin-left: auto;
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--card-accent);
    display: flex;
    align-items: baseline;
    gap: 1px;
    line-height: 1;
}

.service-card-price-currency {
    font-size: 13px;
    font-weight: 500;
}

.service-card-price-original {
    margin-left: 6px;
    font-size: 11px;
    color: var(--text-muted);
    text-decoration: line-through;
    font-weight: 400;
}

/* 占位卡片 - 更精致的视觉 */
.service-card.is-empty .service-card-body {
    opacity: 0.85;
}

/* ========== 服务承诺：紧凑横排 ========== */
.features {
    padding: 40px 32px 20px;
    background: linear-gradient(180deg, transparent, rgba(212, 165, 116, 0.02), transparent);
}

.features .section-header {
    margin-bottom: 22px;
}

.features-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.feature-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 12px;
    color: var(--text-secondary);
    transition: all var(--t-base) var(--ease);
    cursor: default;
    white-space: nowrap;
}

.feature-pill:hover {
    border-color: var(--border-hover);
    color: var(--gold-light);
    transform: translateY(-2px);
}

.feature-pill-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    color: var(--gold);
}

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

.feature-pill-text strong {
    color: var(--gold-light);
    font-weight: 600;
    margin-right: 3px;
}

/* ========== 联系：紧凑横排 ========== */
.contact {
    padding: 30px 32px;
}

.contact .section-header {
    margin-bottom: 18px;
}

.contact-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.contact-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 12px;
    transition: all var(--t-base) var(--ease);
    white-space: nowrap;
}

.contact-pill:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.contact-pill-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    color: var(--gold);
    flex-shrink: 0;
}

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

.contact-pill-label {
    color: var(--text-muted);
}

.contact-pill-value {
    color: var(--text-primary);
    letter-spacing: 0.3px;
}

/* ========== 页脚 ========== */
.footer {
    position: relative;
    z-index: 1;
    padding: 36px 32px 28px;
    border-top: 1px solid var(--border);
    background: var(--bg-secondary);
}

.footer-content {
    max-width: 1280px;
    margin: 0 auto 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.footer-logo {
    height: 56px;
    width: auto;
    background: #ffffff;
    padding: 6px;
    border-radius: 8px;
    box-shadow:
        0 0 0 1px var(--gold),
        0 0 0 4px rgba(212, 165, 116, 0.15),
        0 0 16px rgba(212, 165, 116, 0.3),
        0 4px 16px rgba(0, 0, 0, 0.3);
}

.footer-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.footer-brand-cn {
    font-family: 'Noto Serif SC', serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--gold-light);
    letter-spacing: 3px;
    margin-bottom: 4px;
}

.footer-brand-en {
    font-family: 'Cormorant Garamond', serif;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 4px;
    text-transform: uppercase;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13px;
    transition: color var(--t-fast) var(--ease);
}

.footer-links a:hover { color: var(--gold); }

.footer-bottom {
    max-width: 1280px;
    margin: 0 auto;
    padding-top: 18px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 11px;
    letter-spacing: 1px;
}

/* ========== 浮动按钮 ========== */
.float-btn {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--cat-dye));
    border: none;
    color: var(--bg-primary);
    cursor: pointer;
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: all var(--t-base) var(--ease);
    z-index: 99;
}

.float-btn svg { width: 20px; height: 20px; }

.float-btn.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.float-btn:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-gold), var(--shadow);
}

/* ========== Toast ========== */
.toast {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--bg-elevated);
    border: 1px solid var(--border-hover);
    color: var(--text-primary);
    padding: 12px 24px;
    border-radius: 100px;
    font-size: 13px;
    letter-spacing: 1px;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transition: all var(--t-base) var(--ease);
    z-index: 999;
    max-width: 90%;
    text-align: center;
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ========== 移动端底部 Tab Bar ========== */
.mobile-tabbar {
    display: none;
}

/* ========== 响应式：平板 ========== */
@media (max-width: 1023px) {
    .nav-menu { display: none; }
    .nav-toggle { display: flex; }
    .brand-logo-img { height: 38px; }
    .navbar.scrolled .brand-logo-img { height: 32px; }

    .nav-menu.open {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(12, 13, 18, 0.98);
        backdrop-filter: blur(20px);
        padding: 20px;
        gap: 18px;
        border-bottom: 1px solid var(--border);
    }

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .category-grid > .category-card:nth-child(4),
    .category-grid > .category-card:nth-child(5) {
        grid-column: auto;
    }

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

    section { padding: 60px 24px; }
    .footer { padding: 30px 24px; }
}

/* ========== 响应式：手机 ========== */
@media (max-width: 767px) {
    .nav-container { padding: 0 18px; }
    .brand-logo-img { height: 36px; }
    .navbar.scrolled .brand-logo-img { height: 30px; }
    .brand-text { margin-left: 8px; }
    .brand-text-cn { font-size: 13px; letter-spacing: 1px; }
    .brand-text-en { font-size: 9px; letter-spacing: 2px; }

    .hero {
        padding: 80px 18px 28px;
    }

    .hero-logo {
        height: 80px;
        padding: 8px;
        margin-bottom: 12px;
    }

    .hero-name {
        font-size: 24px;
        letter-spacing: 5px;
        text-indent: 5px;
    }

    .hero-subtitle {
        font-size: 11px;
        letter-spacing: 3px;
    }

    section { padding: 40px 18px; }
    .section-header { margin-bottom: 24px; }
    .section-title { font-size: 22px; }

    /* 分类卡：单列 */
    .category-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .category-card {
        aspect-ratio: 16 / 9;
    }

    .category-card .card-title {
        font-size: 22px;
    }

    .categories {
        padding-bottom: 50px;
    }

    /* 详情页 */
    .detail-hero {
        height: 42vh;
        min-height: 300px;
        margin-top: 60px;
    }

    .detail-icon { width: 44px; height: 44px; }
    .detail-title { font-size: 36px; letter-spacing: 4px; }
    .detail-subtitle { font-size: 12px; }

    .back-btn {
        top: 70px;
        left: 16px;
        padding: 6px 12px;
        font-size: 12px;
    }

    .back-btn svg { width: 14px; height: 14px; }

    .services {
        padding-top: 30px;
        padding-bottom: 40px;
    }

    .section-divider {
        font-size: 11px;
        letter-spacing: 3px;
        margin-bottom: 18px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .service-card-body {
        padding: 14px 16px 14px 18px;
    }

    .service-card-name {
        font-size: 17px;
    }

    .features,
    .contact {
        padding: 28px 18px;
    }

    .features .section-header,
    .contact .section-header {
        margin-bottom: 14px;
    }

    .features-grid,
    .contact-grid {
        gap: 6px;
    }

    .feature-pill,
    .contact-pill {
        font-size: 11px;
        padding: 6px 10px;
    }

    .footer {
        padding: 30px 18px calc(90px + env(safe-area-inset-bottom));
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-brand {
        flex-direction: column;
        gap: 8px;
    }

    .footer-links {
        gap: 20px;
    }

    .float-btn {
        bottom: calc(70px + env(safe-area-inset-bottom));
        right: 16px;
        width: 42px;
        height: 42px;
    }

    /* 底部 Tab Bar */
    .mobile-tabbar {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: calc(56px + env(safe-area-inset-bottom));
        padding-bottom: env(safe-area-inset-bottom);
        background: rgba(12, 13, 18, 0.95);
        backdrop-filter: blur(24px) saturate(180%);
        -webkit-backdrop-filter: blur(24px) saturate(180%);
        border-top: 1px solid var(--border);
        z-index: 100;
        justify-content: space-around;
        align-items: center;
    }

    .tab-item {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;
        background: none;
        border: none;
        color: var(--text-muted);
        font-size: 10px;
        letter-spacing: 1px;
        padding: 6px 0;
        min-height: 48px;
        cursor: pointer;
        transition: color var(--t-fast) var(--ease);
        -webkit-tap-highlight-color: transparent;
    }

    .tab-item:active,
    .tab-item.active { color: var(--gold); }
    .tab-item svg { width: 20px; height: 20px; }

    .tab-item-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 20px;
        height: 20px;
    }

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

    .toast { bottom: calc(72px + env(safe-area-inset-bottom)); }
}

@media (max-width: 379px) {
    .hero-logo { height: 68px; }
    .hero-name { font-size: 20px; letter-spacing: 4px; text-indent: 4px; }
    .brand-text-en { display: none; }
    .brand-text-cn { font-size: 12px; }
    .detail-title { font-size: 28px; }
    .category-card .card-title { font-size: 20px; }
}

/* ========== 平板横屏隐藏 Tab Bar ========== */
@media (min-width: 1024px) {
    .mobile-tabbar { display: none; }
}