/**
 * 昔恬家政 - 核心样式表
 * 设计理念：温润的现代居家杂志调性
 * 色彩体系：米白/炭灰/暖灰
 */

/* ========== CSS变量 ========== */
:root {
    --bg-primary: #faf8f5;
    --bg-dark: #1b1b1b;
    --bg-warm: #f0ead6;
    --bg-card: #f5f2ed;
    --text-primary: #1b1b1b;
    --text-secondary: #86827B;
    --text-light: #faf8f5;
    --border: #ece9e4;
    --shadow-sm: rgba(134, 130, 123, 0.08);
    --shadow-md: rgba(134, 130, 123, 0.12);
    --font-serif: 'Noto Serif SC', 'Songti SC', serif;
    --font-sans: 'Noto Sans SC', -apple-system, 'PingFang SC', 'Microsoft YaHei', sans-serif;
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --radius-sm: 2px;
    --radius-md: 4px;
    --radius-lg: 40px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: 15px;
    line-height: 1.75;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    cursor: none;
}

/* 自定义鼠标 */
.custom-cursor {
    position: fixed;
    width: 8px;
    height: 8px;
    background: var(--text-primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, background 0.3s, border 0.3s;
    mix-blend-mode: exclusion;
}

.custom-cursor.hover {
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid rgba(250, 248, 245, 0.6);
}

@media (max-width: 768px) {
    body { cursor: auto; }
    .custom-cursor { display: none; }
}

/* ========== 排版 ========== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.4;
    color: var(--text-primary);
}

h1 { font-size: clamp(2rem, 4vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.75rem); }
h4 { font-size: 1.125rem; }

a {
    color: inherit;
    text-decoration: none;
    cursor: none;
}

p {
    color: var(--text-secondary);
}

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

/* ========== 按钮 ========== */
.btn-primary {
    display: inline-block;
    padding: 14px 32px;
    background: var(--text-primary);
    color: var(--text-light);
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.05em;
    border-radius: var(--radius-md);
    border: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    background: #333;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--shadow-md);
}

.btn-primary:hover span {
    transform: translateY(-2px);
}

.btn-secondary {
    display: inline-block;
    padding: 12px 28px;
    background: transparent;
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.05em;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.btn-secondary:hover {
    background: var(--bg-card);
    border-color: var(--text-secondary);
}

.btn-text {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
    position: relative;
}

.btn-text::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--text-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.btn-text:hover::after {
    transform: scaleX(1);
}

/* ========== 导航栏 ========== */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 5vw;
    height: 72px;
    background: rgba(250, 248, 245, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.main-nav.scrolled {
    border-bottom-color: var(--border);
}

.nav-inner {
    max-width: 1440px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: baseline;
    gap: 4px;
    font-family: var(--font-serif);
}

.nav-logo .logo-mark {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
}

.nav-logo .logo-suffix {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-secondary);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-link {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-secondary);
    transition: color 0.3s ease;
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--text-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

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

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

/* 下拉菜单 */
.nav-dropdown {
    position: relative;
}

.nav-dropdown .nav-link {
    cursor: none;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 180px;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 8px 0;
    box-shadow: 0 8px 32px var(--shadow-sm);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: all;
}

.dropdown-item {
    display: block;
    padding: 10px 20px;
    font-size: 14px;
    color: var(--text-secondary);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.dropdown-item:hover {
    background: var(--bg-card);
    color: var(--text-primary);
}

.dropdown-item.dropdown-all {
    border-top: 1px solid var(--border);
    margin-top: 4px;
    padding-top: 12px;
    font-weight: 500;
    color: var(--text-primary);
}

/* 移动端菜单 */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 4px;
    cursor: none;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--bg-primary);
        flex-direction: column;
        padding: 40px;
        gap: 0;
        transform: translateX(100%);
        transition: transform 0.4s ease;
    }
    
    .nav-menu.open {
        transform: translateX(0);
    }
    
    .nav-link {
        font-size: 20px;
        padding: 16px 0;
        border-bottom: 1px solid var(--border);
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-actions {
        display: none;
    }
    
    .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        border: none;
        padding: 0 0 0 16px;
        pointer-events: all;
        display: none;
    }
    
    .nav-dropdown:hover .dropdown-menu {
        transform: none;
        display: block;
    }
}

/* ========== 首屏 Hero ========== */
.hero-section {
    min-height: 100vh;
    display: flex;
    padding-top: 72px;
}

.hero-left {
    width: 60%;
    padding: 10vh 5vw 6vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-right {
    width: 40%;
    position: relative;
    background: var(--bg-dark);
    overflow: hidden;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 600;
    line-height: 1.4;
    color: var(--text-primary);
    margin-bottom: 24px;
    max-width: 600px;
}

.hero-subtitle {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    max-width: 480px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-top: auto;
}

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

.hero-stat-number {
    font-family: var(--font-serif);
    font-size: 32px;
    font-weight: 600;
    color: var(--text-primary);
    display: block;
}

.hero-stat-label {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 4px;
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

@media (max-width: 768px) {
    .hero-section {
        flex-direction: column;
    }
    
    .hero-left,
    .hero-right {
        width: 100%;
    }
    
    .hero-left {
        padding: 8vh 5vw 4vh;
    }
    
    .hero-right {
        min-height: 40vh;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 16px;
    }
    
    .hero-stat-divider {
        display: none;
    }
}

/* ========== 3D文字环 ========== */
.sct-scroll-container {
    position: sticky;
    top: 0;
    width: 100%;
    height: 85vh;
    overflow: hidden;
}

.sct-track {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(9 * 400px);
}

.sct-wrapper {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120%;
    height: 25em;
    perspective: 1000px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sct-text-ring {
    position: relative;
    width: 20em;
    height: 20em;
    transform-style: preserve-3d;
    transform: rotateY(0deg);
    transform-origin: center center -110px;
}

.sct-item {
    position: absolute;
    inset: 0;
    margin: auto;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transform-style: preserve-3d;
}

.sct-text-ring .text {
    position: absolute;
    color: var(--text-light);
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 600;
    white-space: nowrap;
    backface-visibility: hidden;
    transform: rotateY(180deg);
    letter-spacing: 0.1em;
    text-align: center;
}

.sct-text-ring .text-front {
    transform: rotateY(0deg);
}

/* 移动端降级 */
@media (max-width: 768px) {
    .sct-scroll-container {
        height: auto;
        padding: 60px 20px;
    }
    
    .sct-wrapper {
        position: relative;
        width: 100%;
        height: auto;
        perspective: none;
        transform: none;
    }
    
    .sct-text-ring {
        width: 100%;
        height: auto;
        transform: none !important;
        transform-style: flat;
    }
    
    .sct-item {
        position: relative;
        inset: auto;
        height: auto;
        padding: 12px 0;
        transform: none !important;
    }
    
    .sct-text-ring .text {
        position: relative;
        font-size: 1.5rem;
        transform: none;
        backface-visibility: visible;
    }
}

/* ========== 宣言打字机区域 ========== */
.manifesto-section {
    background: var(--bg-dark);
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 5vw;
    position: relative;
    overflow: hidden;
}

.manifesto-inner {
    max-width: 900px;
    text-align: center;
}

.typing-text {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
    color: var(--text-light);
}

.typing-text .type {
    overflow: hidden;
    height: calc(4.5rem * 1.1);
    margin-right: 0.3em;
}

.typing-text .type > span {
    display: block;
    transform-origin: 0 0;
    opacity: 0;
}

.typing-text .type.en > span {
    transform: translateY(120%) rotate(6deg);
}

.typing-text .type.cn > span {
    transform: translateY(-120%) rotate(-6deg);
}

.typing-text .type .word-text {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 4.5rem);
    font-weight: 600;
    line-height: 1.1;
    display: block;
}

@media (max-width: 768px) {
    .typing-text .type {
        height: calc(2.5rem * 1.2);
    }
    
    .typing-text .type .word-text {
        font-size: 2rem;
    }
}

/* ========== 服务甄选区 ========== */
.services-section {
    padding: 120px 5vw;
    max-width: 1440px;
    margin: 0 auto;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 64px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 600;
}

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

.service-card {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}

.service-card:nth-child(2) {
    transform: translateY(40px);
}

.service-card:nth-child(3n+3) {
    transform: translateY(20px);
}

.service-card:hover {
    box-shadow: 0 8px 24px var(--shadow-md);
}

.service-card:hover .service-card-image img {
    transform: scale(1.02);
}

.service-card-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: var(--bg-card);
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-card-body {
    padding: 24px;
}

.service-card-title {
    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.service-card-price {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.service-card-price .price {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
}

.service-card-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.service-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card:nth-child(2),
    .service-card:nth-child(3n+3) {
        transform: none;
    }
    
    .services-section {
        padding: 60px 5vw;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}

/* ========== 安心保障 ========== */
.trust-section {
    padding: 0 5vw 120px;
    max-width: 1440px;
    margin: 0 auto;
}

.trust-inner {
    background: var(--bg-warm);
    border-radius: var(--radius-lg);
    padding: 60px 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.trust-text {
    flex: 0 0 45%;
}

.trust-text h3 {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 600;
    line-height: 1.5;
    color: var(--text-primary);
}

.trust-items {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

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

.trust-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--text-primary);
    border-radius: 50%;
}

.trust-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--text-primary);
    fill: none;
    stroke-width: 1.5;
}

.trust-item-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

@media (max-width: 768px) {
    .trust-inner {
        flex-direction: column;
        padding: 40px 24px;
        gap: 40px;
    }
    
    .trust-text {
        flex: none;
        text-align: center;
    }
    
    .trust-items {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

/* ========== 图片画廊 ========== */
.gallery-section {
    width: 100%;
    height: 80vh;
    overflow: hidden;
    background: var(--bg-dark);
    position: relative;
}

.gallery-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(27,27,27,0.3) 0%, transparent 30%, transparent 70%, rgba(27,27,27,0.3) 100%);
    z-index: 2;
    pointer-events: none;
}

.gallery-container {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transform: translate3d(0, 0, 0) rotateY(-15deg) rotateX(5deg);
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    justify-content: center;
    gap: 8px;
    padding: 20px;
}

.gallery-item {
    width: calc(25% - 8px);
    height: 200px;
    overflow: hidden;
    border-radius: var(--radius-sm);
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

@media (max-width: 768px) {
    .gallery-section {
        height: 50vh;
    }
    
    .gallery-container {
        transform: none;
    }
    
    .gallery-item {
        width: calc(50% - 8px);
        height: 120px;
    }
}

/* ========== 价格表 ========== */
.pricing-section {
    padding: 120px 5vw;
    background: var(--bg-dark);
}

.pricing-header {
    text-align: center;
    margin-bottom: 64px;
}

.pricing-header h2 {
    color: var(--text-light);
    font-family: var(--font-serif);
    font-size: 2.5rem;
}

.pricing-header p {
    color: var(--text-secondary);
    margin-top: 16px;
}

.pricing-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.pricing-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 32px;
    transition: var(--transition);
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.pricing-card-category {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.pricing-card-title {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.pricing-card-price {
    font-family: var(--font-serif);
    font-size: 32px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.pricing-card-unit {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.pricing-card-features {
    list-style: none;
    padding: 0;
}

.pricing-card-features li {
    font-size: 14px;
    color: var(--text-secondary);
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 8px;
}

.pricing-card-features li:last-child {
    border-bottom: none;
}

.pricing-card-features li::before {
    content: '—';
    color: var(--text-secondary);
    font-size: 12px;
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-section {
        padding: 60px 5vw;
    }
}

/* ========== 页脚 ========== */
.site-footer {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 80px 5vw 40px;
}

.footer-inner {
    max-width: 1440px;
    margin: 0 auto;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    gap: 80px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 32px;
}

.footer-brand {
    flex: 0 0 300px;
}

.footer-logo {
    display: flex;
    align-items: baseline;
    gap: 4px;
    font-family: var(--font-serif);
    margin-bottom: 20px;
}

.footer-logo .logo-mark {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-light);
}

.footer-logo .logo-suffix {
    font-size: 14px;
    color: var(--text-secondary);
}

.footer-desc {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 24px;
}

.footer-contact-info p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.footer-contact-info strong {
    color: var(--text-light);
    font-weight: 500;
}

.footer-links {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    gap: 80px;
}

.footer-col h4 {
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-light);
    margin-bottom: 20px;
    letter-spacing: 0.05em;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

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

.footer-col a {
    font-size: 14px;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: var(--text-light);
}

.footer-bottom {
    display: flex;
    justify-content: center;
}

.footer-legal {
    text-align: center;
}

.footer-legal p {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.footer-legal a {
    color: var(--text-secondary);
    text-decoration: none;
}

.footer-legal a:hover {
    color: var(--text-light);
}

@media (max-width: 768px) {
    .footer-main {
        flex-direction: column;
        gap: 48px;
    }
    
    .footer-brand {
        flex: none;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 32px;
    }
}

/* ========== 通用页面样式 ========== */
.page-header {
    padding: 140px 5vw 60px;
    text-align: center;
    max-width: 1440px;
    margin: 0 auto;
}

.page-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    margin-bottom: 16px;
}

.page-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.page-content {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 5vw 120px;
}

/* ========== 服务列表页 ========== */
.services-filter {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-family: var(--font-sans);
    font-size: 14px;
    color: var(--text-secondary);
    cursor: none;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--text-primary);
    color: var(--text-light);
    border-color: var(--text-primary);
}

/* ========== 服务详情页 ========== */
.service-detail {
    max-width: 1200px;
    margin: 0 auto;
}

.service-detail-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
    align-items: start;
}

.service-detail-image {
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-card);
}

.service-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 400px;
}

.service-detail-info h1 {
    font-family: var(--font-serif);
    font-size: 2rem;
    margin-bottom: 12px;
}

.service-detail-info .subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.service-detail-price {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.service-detail-price .current {
    font-family: var(--font-serif);
    font-size: 36px;
    font-weight: 600;
    color: var(--text-primary);
}

.service-detail-price .unit {
    font-size: 16px;
    color: var(--text-secondary);
    margin-left: 4px;
}

.service-detail-price .original {
    font-size: 18px;
    color: var(--text-secondary);
    text-decoration: line-through;
    margin-left: 16px;
}

.service-detail-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
}

.service-detail-features {
    list-style: none;
    padding: 0;
}

.service-detail-features li {
    padding: 10px 0;
    font-size: 14px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid var(--border);
}

.service-detail-features li::before {
    content: '✓';
    color: var(--text-primary);
    font-weight: 700;
}

.service-detail-content {
    background: var(--bg-card);
    padding: 48px;
    border-radius: var(--radius-md);
    margin-bottom: 48px;
}

.service-detail-content h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.service-detail-content ul {
    padding-left: 20px;
    margin-bottom: 24px;
}

.service-detail-content ul li {
    padding: 8px 0;
    color: var(--text-secondary);
    font-size: 15px;
}

.service-detail-content p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 16px;
}

@media (max-width: 768px) {
    .service-detail-header {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .service-detail-content {
        padding: 24px;
    }
    
    .service-detail-actions {
        flex-direction: column;
    }
}

/* ========== 预约页面 ========== */
.booking-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 5vw 120px;
}

.booking-form {
    background: var(--bg-card);
    padding: 48px;
    border-radius: var(--radius-md);
}

.form-group {
    margin-bottom: 24px;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-family: var(--font-sans);
    font-size: 15px;
    color: var(--text-primary);
    background: var(--bg-primary);
    transition: var(--transition);
    cursor: none;
}

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

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

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

.form-message {
    padding: 16px;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    font-size: 14px;
}

.form-message.success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
}

.form-message.error {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ef9a9a;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .booking-form {
        padding: 24px;
    }
}

/* ========== 关于我们页 ========== */
.about-section {
    max-width: 1000px;
    margin: 0 auto;
}

.about-intro {
    text-align: center;
    margin-bottom: 80px;
}

.about-intro p {
    font-size: 18px;
    line-height: 2;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

.about-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    margin-bottom: 80px;
}

.value-card {
    text-align: center;
    padding: 40px 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.value-card:hover {
    box-shadow: 0 8px 24px var(--shadow-sm);
}

.value-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-warm);
    border-radius: 50%;
}

.value-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--text-primary);
    fill: none;
    stroke-width: 1.5;
}

.value-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.value-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.about-process {
    margin-bottom: 80px;
}

.about-process h2 {
    text-align: center;
    margin-bottom: 48px;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}

.process-step {
    text-align: center;
    position: relative;
}

.process-step::after {
    content: '';
    position: absolute;
    top: 28px;
    right: -12px;
    width: 24px;
    height: 1px;
    background: var(--border);
}

.process-step:last-child::after {
    display: none;
}

.step-number {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 50%;
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
}

.step-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.step-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.about-faq {
    margin-bottom: 80px;
}

.about-faq h2 {
    text-align: center;
    margin-bottom: 48px;
}

.faq-item {
    border-bottom: 1px solid var(--border);
    padding: 24px 0;
}

.faq-question {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
    cursor: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-right: 20px;
}

.faq-answer {
    padding-top: 16px;
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    display: none;
}

.faq-item.open .faq-answer {
    display: block;
}

.faq-toggle {
    font-size: 20px;
    color: var(--text-secondary);
    transition: transform 0.3s ease;
}

.faq-item.open .faq-toggle {
    transform: rotate(45deg);
}

@media (max-width: 768px) {
    .about-values {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-step::after {
        display: none;
    }
}

/* ========== 联系我们页 ========== */
.contact-section {
    max-width: 1000px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
}

.contact-info h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 50%;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 18px;
    height: 18px;
    stroke: var(--text-primary);
    fill: none;
    stroke-width: 1.5;
}

.contact-item h4 {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 4px;
}

.contact-item p {
    font-size: 14px;
    color: var(--text-secondary);
}

.contact-form-wrapper h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.contact-map {
    width: 100%;
    height: 400px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 14px;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* ========== 管理后台 ========== */
.admin-body {
    background: #f5f5f5;
    cursor: auto;
}

.admin-body * {
    cursor: auto;
}

.admin-header {
    background: #1b1b1b;
    color: #fff;
    padding: 0 24px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.admin-header .logo {
    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 600;
}

.admin-header .nav a {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    margin-left: 24px;
    transition: color 0.3s;
}

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

.admin-layout {
    display: flex;
    min-height: 100vh;
    padding-top: 56px;
}

.admin-sidebar {
    width: 240px;
    background: #fff;
    border-right: 1px solid #e0e0e0;
    padding: 24px 0;
    position: fixed;
    top: 56px;
    left: 0;
    bottom: 0;
    overflow-y: auto;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
}

.sidebar-menu li {
    margin: 4px 0;
}

.sidebar-menu a {
    display: block;
    padding: 12px 24px;
    font-size: 14px;
    color: #666;
    transition: all 0.2s;
    border-left: 3px solid transparent;
}

.sidebar-menu a:hover,
.sidebar-menu a.active {
    background: #f5f5f5;
    color: #1b1b1b;
    border-left-color: #1b1b1b;
}

.admin-main {
    flex: 1;
    margin-left: 240px;
    padding: 32px;
}

.admin-page-title {
    font-family: var(--font-sans);
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 24px;
}

/* 后台卡片 */
.admin-card {
    background: #fff;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.admin-card-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #eee;
}

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

.admin-form label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
}

.admin-form input,
.admin-form select,
.admin-form textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.admin-form input:focus,
.admin-form select:focus,
.admin-form textarea:focus {
    outline: none;
    border-color: #1b1b1b;
}

.admin-form textarea {
    resize: vertical;
    min-height: 80px;
}

/* 后台表格 */
.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 12px 16px;
    text-align: left;
    font-size: 14px;
    border-bottom: 1px solid #eee;
}

.admin-table th {
    font-weight: 600;
    color: #666;
    background: #fafafa;
}

.admin-table td {
    color: #333;
}

.admin-table tr:hover td {
    background: #fafafa;
}

/* 后台按钮 */
.admin-btn {
    display: inline-block;
    padding: 8px 16px;
    font-size: 14px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.admin-btn-primary {
    background: #1b1b1b;
    color: #fff;
}

.admin-btn-primary:hover {
    background: #333;
}

.admin-btn-secondary {
    background: #f0f0f0;
    color: #333;
}

.admin-btn-secondary:hover {
    background: #e0e0e0;
}

.admin-btn-danger {
    background: #c62828;
    color: #fff;
}

.admin-btn-danger:hover {
    background: #b71c1c;
}

.admin-btn-sm {
    padding: 6px 12px;
    font-size: 13px;
}

/* 提示消息 */
.admin-alert {
    padding: 12px 16px;
    border-radius: 4px;
    margin-bottom: 24px;
    font-size: 14px;
}

.admin-alert-success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
}

.admin-alert-error {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ef9a9a;
}

/* 登录页 */
.admin-login {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #faf8f5 0%, #f0ead6 100%);
}

.admin-login-box {
    background: #fff;
    padding: 48px;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    width: 100%;
    max-width: 400px;
}

.admin-login-box h1 {
    font-family: var(--font-serif);
    font-size: 28px;
    text-align: center;
    margin-bottom: 8px;
}

.admin-login-box .subtitle {
    text-align: center;
    color: #86827B;
    font-size: 14px;
    margin-bottom: 32px;
}

/* 统计卡片 */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

.stat-card {
    background: #fff;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.stat-card .label {
    font-size: 13px;
    color: #86827B;
    margin-bottom: 8px;
}

.stat-card .value {
    font-family: var(--font-serif);
    font-size: 28px;
    font-weight: 600;
    color: #1b1b1b;
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
}

.pagination a,
.pagination span {
    padding: 8px 14px;
    font-size: 14px;
    border-radius: 4px;
    transition: all 0.2s;
}

.pagination a {
    background: #fff;
    color: #333;
    border: 1px solid #ddd;
}

.pagination a:hover {
    background: #1b1b1b;
    color: #fff;
    border-color: #1b1b1b;
}

.pagination span.current {
    background: #1b1b1b;
    color: #fff;
}

@media (max-width: 768px) {
    .admin-sidebar {
        display: none;
    }
    
    .admin-main {
        margin-left: 0;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .admin-table {
        display: block;
        overflow-x: auto;
    }
}

/* ========== 动画工具类 ========== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* 图片懒加载 */
.img-lazy {
    opacity: 0;
    transition: opacity 0.6s ease-out;
    background: var(--bg-card);
}

.img-lazy.loaded {
    opacity: 1;
}

/* 滚动条美化 */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-secondary);
}

/* 选中文本颜色 */
::selection {
    background: rgba(27, 27, 27, 0.15);
    color: var(--text-primary);
}
