/* =====================================================
   肌愈空间 JIYU SPACE - Premium Stylesheet
   Design System: Oriental Healing × Modern Professional
   ===================================================== */

/* =====================================================
   CSS Variables - Design Tokens
   ===================================================== */
:root {
    /* Colors */
    --color-primary: #1A2B3C;
    --color-primary-dark: #0D1B2A;
    --color-primary-light: #2D4A5E;
    --color-secondary: #8B6E4E;
    --color-accent: #C4A35A;
    --color-accent-light: #D4B36A;
    --color-accent-dark: #B4954E;
    --color-success: #6B8E7D;
    --color-bg: #FAFAF8;
    --color-bg-alt: #F5F4F0;
    --color-bg-dark: #0D1B2A;
    --color-text: #2C3E50;
    --color-text-light: #7F8C9A;
    --color-text-muted: #9CA3AF;
    --color-border: rgba(26, 43, 60, 0.1);
    --color-border-light: rgba(255, 255, 255, 0.1);
    
    /* Typography */
    --font-serif: 'Noto Serif SC', 'Songti SC', serif;
    --font-sans: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    
    /* Font Sizes */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;
    --text-hero: clamp(2.5rem, 6vw, 5rem);
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    --space-section: clamp(4rem, 8vw, 8rem);
    
    /* Layout */
    --container-max: 1200px;
    --container-narrow: 800px;
    --nav-height: 80px;
    
    /* Borders */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(26, 43, 60, 0.06);
    --shadow-md: 0 4px 20px rgba(26, 43, 60, 0.08);
    --shadow-lg: 0 8px 40px rgba(26, 43, 60, 0.12);
    --shadow-xl: 0 16px 60px rgba(26, 43, 60, 0.16);
    --shadow-glow: 0 0 40px rgba(196, 163, 90, 0.2);
    
    /* Transitions */
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-out: cubic-bezier(0, 0, 0.2, 1);
    --duration-fast: 150ms;
    --duration-base: 300ms;
    --duration-slow: 500ms;
}

/* =====================================================
   Reset & Base Styles
   ===================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    font-size: var(--text-base);
    line-height: 1.8;
    color: var(--color-text);
    background-color: var(--color-bg);
    overflow-x: hidden;
}

body::selection {
    background-color: var(--color-accent);
    color: var(--color-primary-dark);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--duration-fast) var(--ease-smooth);
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    outline: none;
}

ul, ol {
    list-style: none;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* =====================================================
   Utility Classes
   ===================================================== */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* =====================================================
   Section Common Styles
   ===================================================== */
.section-header {
    text-align: center;
    margin-bottom: var(--space-4xl);
}

.section-tag {
    display: inline-block;
    font-family: var(--font-display);
    font-size: var(--text-sm);
    letter-spacing: 0.3em;
    color: var(--color-accent);
    text-transform: uppercase;
    margin-bottom: var(--space-md);
}

.section-title {
    font-family: var(--font-serif);
    font-size: var(--text-4xl);
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: var(--space-lg);
}

.section-divider {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
    margin: 0 auto var(--space-lg);
}

.section-desc {
    font-size: var(--text-lg);
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* =====================================================
   Buttons
   ===================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    font-size: var(--text-base);
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: all var(--duration-base) var(--ease-smooth);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
    color: var(--color-primary-dark);
    box-shadow: 0 4px 15px rgba(196, 163, 90, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(196, 163, 90, 0.4);
}

.btn-primary:active {
    transform: translateY(0) scale(0.98);
}

.btn-secondary {
    background: transparent;
    color: var(--color-accent);
    border: 1px solid var(--color-accent);
}

.btn-secondary:hover {
    background: rgba(196, 163, 90, 0.1);
}

.btn-submit {
    width: 100%;
    padding: var(--space-lg);
    font-size: var(--text-lg);
    margin-top: var(--space-md);
}

.btn-submit.loading .btn-text {
    opacity: 0;
}

.btn-submit.loading .btn-loading {
    opacity: 1;
}

.btn-loading {
    position: absolute;
    opacity: 0;
    transition: opacity var(--duration-fast);
}

.loading-spinner {
    width: 24px;
    height: 24px;
    animation: spin 1s linear infinite;
}

/* =====================================================
   Navigation
   ===================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    z-index: 1000;
    transition: all var(--duration-base) var(--ease-smooth);
}

.navbar.scrolled {
    background: rgba(13, 27, 42, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.navbar-container {
    max-width: var(--container-max);
    height: 100%;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-logo {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-text {
    font-family: var(--font-serif);
    font-size: var(--text-xl);
    font-weight: 600;
    color: #fff;
}

.logo-en {
    font-family: var(--font-display);
    font-size: var(--text-xs);
    letter-spacing: 0.2em;
    color: var(--color-accent);
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav-link {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.85);
    position: relative;
    padding: var(--space-sm) 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width var(--duration-base) var(--ease-smooth);
}

.nav-link:hover {
    color: #fff;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--color-accent);
    color: var(--color-primary-dark) !important;
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-md);
    font-weight: 500;
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    background: var(--color-accent-light);
    transform: translateY(-2px);
}

/* Mobile Navigation Toggle */
.navbar-toggle {
    display: none;
    width: 40px;
    height: 40px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    z-index: 1001;
}

.hamburger {
    width: 24px;
    height: 2px;
    background: #fff;
    position: relative;
    transition: all var(--duration-base) var(--ease-smooth);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: #fff;
    transition: all var(--duration-base) var(--ease-smooth);
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    top: 8px;
}

.navbar-toggle.active .hamburger {
    background: transparent;
}

.navbar-toggle.active .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.navbar-toggle.active .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

/* Mobile Navigation Overlay */
.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    background: var(--color-bg-dark);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--duration-slow) var(--ease-smooth);
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xl);
}

.mobile-nav-link {
    font-family: var(--font-serif);
    font-size: var(--text-2xl);
    color: rgba(255, 255, 255, 0.8);
    transition: all var(--duration-base) var(--ease-smooth);
    transform: translateY(20px);
    opacity: 0;
}

.mobile-nav-overlay.active .mobile-nav-link {
    transform: translateY(0);
    opacity: 1;
}

.mobile-nav-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-nav-link:nth-child(2) { transition-delay: 0.15s; }
.mobile-nav-link:nth-child(3) { transition-delay: 0.2s; }
.mobile-nav-link:nth-child(4) { transition-delay: 0.25s; }
.mobile-nav-link:nth-child(5) { transition-delay: 0.3s; }
.mobile-nav-link:nth-child(6) { transition-delay: 0.35s; }

.mobile-nav-link:hover {
    color: var(--color-accent);
    transform: translateX(10px);
}

.mobile-nav-cta {
    background: var(--color-accent);
    color: var(--color-primary-dark) !important;
    padding: var(--space-md) var(--space-2xl);
    border-radius: var(--radius-md);
    font-weight: 600;
    margin-top: var(--space-lg);
}

/* =====================================================
   Hero Section
   ===================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-dark);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(45, 74, 94, 0.4), transparent),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(139, 110, 78, 0.2), transparent),
        radial-gradient(ellipse 50% 30% at 20% 80%, rgba(196, 163, 90, 0.1), transparent);
    animation: gradientPulse 8s ease-in-out infinite;
}

@keyframes gradientPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(196, 163, 90, 0.1), transparent 70%);
    animation: floatParticle 20s ease-in-out infinite;
}

.particle:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    top: 60%;
    right: 15%;
    animation-delay: -5s;
}

.particle:nth-child(3) {
    bottom: 20%;
    left: 30%;
    animation-delay: -10s;
}

.particle:nth-child(4) {
    top: 30%;
    right: 30%;
    animation-delay: -15s;
}

.particle:nth-child(5) {
    bottom: 10%;
    right: 40%;
    animation-delay: -7s;
}

@keyframes floatParticle {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -30px) scale(1.1); }
    50% { transform: translate(-20px, 20px) scale(0.9); }
    75% { transform: translate(20px, 10px) scale(1.05); }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    padding: 0 var(--space-lg);
}

.hero-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.badge-line {
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-accent));
}

.badge-line:last-child {
    background: linear-gradient(90deg, var(--color-accent), transparent);
}

.badge-text {
    font-size: var(--text-sm);
    letter-spacing: 0.2em;
    color: var(--color-accent);
}

.hero-title {
    margin-bottom: var(--space-xl);
}

.title-cn {
    display: block;
    font-family: var(--font-serif);
    font-size: var(--text-hero);
    font-weight: 600;
    color: #fff;
    line-height: 1.2;
    margin-bottom: var(--space-md);
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.title-en {
    display: block;
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 400;
    font-style: italic;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.1em;
}

.hero-subtitle {
    font-size: var(--text-xl);
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-3xl);
}

.hero-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: var(--space-3xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
}

.scroll-text {
    font-size: var(--text-xs);
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
}

.scroll-indicator {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroll-dot {
    width: 4px;
    height: 8px;
    background: var(--color-accent);
    border-radius: 2px;
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(12px); opacity: 0.3; }
}

/* =====================================================
   About Section
   ===================================================== */
.about {
    padding: var(--space-section) 0;
    background: var(--color-bg);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

.about-text {
    max-width: 540px;
}

.about-lead {
    font-family: var(--font-serif);
    font-size: var(--text-2xl);
    color: var(--color-primary);
    margin-bottom: var(--space-xl);
    line-height: 1.6;
}

.about-body {
    color: var(--color-text-light);
    margin-bottom: var(--space-3xl);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
}

.stat-item {
    text-align: center;
    padding: var(--space-lg);
    background: linear-gradient(135deg, rgba(26, 43, 60, 0.03), rgba(196, 163, 90, 0.05));
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
}

.stat-number {
    font-family: var(--font-display);
    font-size: var(--text-4xl);
    font-weight: 600;
    color: var(--color-accent);
    display: inline;
}

.stat-unit {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    color: var(--color-accent);
}

.stat-label {
    display: block;
    font-size: var(--text-sm);
    color: var(--color-text-light);
    margin-top: var(--space-sm);
}

.about-visual {
    position: relative;
}

.about-image-wrapper {
    position: relative;
}

.about-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-image-placeholder {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
}

.placeholder-svg {
    width: 100%;
    height: auto;
}

.about-decoration {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--color-accent);
    border-radius: var(--radius-xl);
    z-index: -1;
    opacity: 0.3;
}

/* =====================================================
   Services Section
   ===================================================== */
.services {
    padding: var(--space-section) 0;
    background: var(--color-primary-dark);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 50% 30% at 20% 20%, rgba(196, 163, 90, 0.05), transparent),
        radial-gradient(ellipse 40% 40% at 80% 80%, rgba(107, 142, 125, 0.05), transparent);
}

.services .section-tag {
    color: var(--color-accent);
}

.services .section-title {
    color: #fff;
}

.services .section-desc {
    color: rgba(255, 255, 255, 0.7);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
    position: relative;
    z-index: 1;
}

.service-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    position: relative;
    transition: all var(--duration-slow) var(--ease-smooth);
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(196, 163, 90, 0.1), transparent);
    opacity: 0;
    transition: opacity var(--duration-base) var(--ease-smooth);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-accent);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card.featured {
    border-color: var(--color-accent);
    background: linear-gradient(135deg, rgba(196, 163, 90, 0.1), rgba(196, 163, 90, 0.02));
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(196, 163, 90, 0.1);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-xl);
    transition: all var(--duration-base) var(--ease-smooth);
}

.service-card:hover .service-icon {
    background: var(--color-accent);
    transform: scale(1.1);
}

.service-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--color-accent);
    transition: stroke var(--duration-base) var(--ease-smooth);
}

.service-card:hover .service-icon svg {
    stroke: var(--color-primary-dark);
}

.service-title {
    font-family: var(--font-serif);
    font-size: var(--text-xl);
    font-weight: 600;
    color: #fff;
    margin-bottom: var(--space-md);
}

.service-desc {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    margin-bottom: var(--space-xl);
}

.service-price {
    display: flex;
    align-items: baseline;
    gap: var(--space-sm);
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.price-label {
    font-size: var(--text-xs);
    color: rgba(255, 255, 255, 0.5);
}

.price-value {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    color: var(--color-accent);
}

.service-tag {
    position: absolute;
    top: var(--space-lg);
    right: var(--space-lg);
    font-size: var(--text-xs);
    color: var(--color-primary-dark);
    background: var(--color-accent);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
}

.services-cta {
    text-align: center;
    margin-top: var(--space-3xl);
    position: relative;
    z-index: 1;
}

/* =====================================================
   Process Section
   ===================================================== */
.process {
    padding: var(--space-section) 0;
    background: var(--color-bg-alt);
}

.process-timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
    padding-top: var(--space-3xl);
}

.process-line {
    position: absolute;
    top: 60px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, 
        var(--color-accent) 0%, 
        rgba(196, 163, 90, 0.3) 50%,
        var(--color-accent) 100%
    );
}

.process-step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-xl);
    background: #fff;
    border: 2px solid var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 600;
    color: var(--color-accent);
    position: relative;
    z-index: 1;
    transition: all var(--duration-base) var(--ease-smooth);
}

.process-step:hover .step-number {
    background: var(--color-accent);
    color: var(--color-primary-dark);
    transform: scale(1.1);
}

.step-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--color-primary);
}

.step-title {
    font-family: var(--font-serif);
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: var(--space-md);
}

.step-desc {
    font-size: var(--text-sm);
    color: var(--color-text-light);
    line-height: 1.7;
    max-width: 250px;
    margin: 0 auto;
}

/* =====================================================
   Gallery Section
   ===================================================== */
.gallery {
    background: var(--color-primary-dark);
}

.gallery-header {
    padding: var(--space-section) 0 0;
}

.gallery-header .section-tag {
    color: var(--color-accent);
}

.gallery-header .section-title {
    color: #fff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-3xl);
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.gallery-image {
    width: 100%;
    transition: transform var(--duration-slow) var(--ease-smooth);
}

.gallery-image img {
    width: 100%;
    height: auto;
    display: block;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.05);
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13, 27, 42, 0.95), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--space-xl);
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--duration-base) var(--ease-smooth);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
    transform: translateY(0);
}

.gallery-tag {
    display: inline-block;
    font-size: var(--text-xs);
    color: var(--color-accent);
    background: rgba(196, 163, 90, 0.2);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-md);
    width: fit-content;
}

.gallery-overlay h4 {
    font-family: var(--font-serif);
    font-size: var(--text-lg);
    color: #fff;
    margin-bottom: var(--space-sm);
}

.gallery-overlay p {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.7);
}

/* =====================================================
   Testimonials Section
   ===================================================== */
.testimonials {
    padding: var(--space-section) 0;
    background: var(--color-bg);
}

.testimonials-slider {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonials-track {
    display: flex;
    transition: transform var(--duration-slow) var(--ease-smooth);
}

.testimonial-card {
    flex: 0 0 100%;
    padding: var(--space-3xl);
    text-align: center;
}

.testimonial-stars {
    display: flex;
    justify-content: center;
    gap: var(--space-xs);
    margin-bottom: var(--space-xl);
}

.star {
    font-size: var(--text-xl);
    color: var(--color-accent);
}

.testimonial-text {
    font-family: var(--font-serif);
    font-size: var(--text-xl);
    color: var(--color-text);
    line-height: 1.8;
    margin-bottom: var(--space-2xl);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
}

.author-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--color-accent);
}

.avatar-svg {
    width: 100%;
    height: 100%;
}

.author-info {
    text-align: left;
}

.author-name {
    display: block;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: var(--space-xs);
}

.author-service {
    font-size: var(--text-sm);
    color: var(--color-text-light);
}

.testimonials-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xl);
    margin-top: var(--space-xl);
}

.testimonial-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--duration-base) var(--ease-smooth);
}

.testimonial-btn svg {
    width: 20px;
    height: 20px;
    stroke: var(--color-text);
}

.testimonial-btn:hover {
    border-color: var(--color-accent);
    background: var(--color-accent);
}

.testimonial-btn:hover svg {
    stroke: var(--color-primary-dark);
}

.testimonial-dots {
    display: flex;
    gap: var(--space-sm);
}

.testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-border);
    cursor: pointer;
    transition: all var(--duration-base) var(--ease-smooth);
}

.testimonial-dot.active {
    background: var(--color-accent);
    transform: scale(1.2);
}

/* =====================================================
   FAQ Section
   ===================================================== */
.faq {
    padding: var(--space-section) 0;
    background: var(--color-bg-alt);
}

.faq-list {
    max-width: var(--container-narrow);
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border-left: 3px solid transparent;
    transition: all var(--duration-base) var(--ease-smooth);
}

.faq-item.active {
    border-left-color: var(--color-accent);
    box-shadow: var(--shadow-md);
}

.faq-question {
    width: 100%;
    padding: var(--space-xl);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-lg);
    text-align: left;
    font-size: var(--text-lg);
    font-weight: 500;
    color: var(--color-primary);
}

.faq-question:hover {
    color: var(--color-accent);
}

.faq-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    transition: transform var(--duration-base) var(--ease-smooth);
}

.faq-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--duration-slow) var(--ease-smooth);
}

.faq-answer p {
    padding: 0 var(--space-xl) var(--space-xl);
    color: var(--color-text-light);
    line-height: 1.8;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

/* =====================================================
   Contact Section
   ===================================================== */
.contact {
    position: relative;
    padding: var(--space-section) 0;
    background: var(--color-bg-dark);
}

.contact-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.contact-gradient {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 60% 40% at 30% 50%, rgba(196, 163, 90, 0.1), transparent),
        radial-gradient(ellipse 50% 50% at 70% 30%, rgba(45, 74, 94, 0.3), transparent);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-3xl);
    align-items: start;
    position: relative;
    z-index: 1;
}

.contact-info {
    max-width: 720px;
}

.contact-info .section-tag {
    color: var(--color-accent);
}

.contact-info .section-title {
    color: #fff;
}

.contact-desc {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-3xl);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-lg);
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(196, 163, 90, 0.1);
    border-radius: var(--radius-lg);
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--color-accent);
}

.contact-text {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.contact-label {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.5);
}

.contact-value {
    color: #fff;
    font-weight: 500;
}

/* Contact Form */
.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-xl);
    padding: var(--space-3xl);
}

.contact-form {
    position: relative;
}

.form-title {
    font-family: var(--font-serif);
    font-size: var(--text-2xl);
    color: #fff;
    margin-bottom: var(--space-sm);
}

.form-subtitle {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: var(--space-2xl);
}

.form-group {
    margin-bottom: var(--space-lg);
}

.form-group label {
    display: block;
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-sm);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: var(--space-md);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    color: #fff;
    transition: all var(--duration-base) var(--ease-smooth);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(196, 163, 90, 0.2);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%237F8C9A' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right var(--space-md) center;
}

.form-group select option {
    background: var(--color-primary-dark);
    color: #fff;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-error {
    display: block;
    font-size: var(--text-xs);
    color: #ff6b6b;
    margin-top: var(--space-xs);
    min-height: 1.2em;
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: #ff6b6b;
}

.form-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    margin-top: var(--space-xl);
    font-size: var(--text-xs);
    color: rgba(255, 255, 255, 0.5);
}

.form-note svg {
    width: 16px;
    height: 16px;
    stroke: var(--color-accent);
}

/* Form Success */
.form-success {
    display: none;
    text-align: center;
    padding: var(--space-3xl);
}

.form-success.active {
    display: block;
}

.success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-xl);
    background: rgba(196, 163, 90, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-icon svg {
    width: 40px;
    height: 40px;
    stroke: var(--color-accent);
}

.form-success h3 {
    font-family: var(--font-serif);
    font-size: var(--text-2xl);
    color: #fff;
    margin-bottom: var(--space-md);
}

.form-success p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-2xl);
}

/* =====================================================
   Footer
   ===================================================== */
.footer {
    background: var(--color-primary);
    padding: var(--space-4xl) 0 var(--space-2xl);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--space-4xl);
    margin-bottom: var(--space-3xl);
}

.footer-logo {
    display: flex;
    flex-direction: column;
    margin-bottom: var(--space-lg);
}

.footer-logo .logo-text {
    font-family: var(--font-serif);
    font-size: var(--text-2xl);
}

.footer-logo .logo-en {
    font-family: var(--font-display);
    font-size: var(--text-sm);
}

.footer-tagline {
    font-family: var(--font-serif);
    font-size: var(--text-lg);
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: var(--space-xl);
}

.footer-social {
    display: flex;
    gap: var(--space-md);
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    transition: all var(--duration-base) var(--ease-smooth);
}

.social-link svg {
    width: 20px;
    height: 20px;
    fill: rgba(255, 255, 255, 0.6);
}

.social-link:hover {
    background: var(--color-accent);
}

.social-link:hover svg {
    fill: var(--color-primary-dark);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-2xl);
}

.footer-column h4 {
    font-size: var(--text-base);
    color: #fff;
    margin-bottom: var(--space-lg);
}

.footer-column a,
.footer-column span {
    display: block;
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: var(--space-sm);
    transition: color var(--duration-fast);
}

.footer-column a:hover {
    color: var(--color-accent);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-2xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: var(--space-sm);
}

.footer-bottom p:last-child {
    font-family: var(--font-serif);
    color: rgba(255, 255, 255, 0.3);
    font-style: italic;
}

/* =====================================================
   Back to Top Button
   ===================================================== */
.back-to-top {
    position: fixed;
    bottom: var(--space-xl);
    right: var(--space-xl);
    width: 48px;
    height: 48px;
    background: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--duration-base) var(--ease-smooth);
    z-index: 100;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
    stroke: var(--color-primary-dark);
}

/* =====================================================
   Modal
   ===================================================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(13, 27, 42, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all var(--duration-base) var(--ease-smooth);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: var(--color-primary);
    border-radius: var(--radius-xl);
    padding: var(--space-3xl);
    max-width: 400px;
    width: 90%;
    text-align: center;
    transform: scale(0.9);
    transition: transform var(--duration-base) var(--ease-bounce);
}

.modal-overlay.active .modal {
    transform: scale(1);
}

.modal-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-xl);
    background: rgba(196, 163, 90, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-icon svg {
    width: 40px;
    height: 40px;
    stroke: var(--color-accent);
}

.modal h3 {
    font-family: var(--font-serif);
    font-size: var(--text-2xl);
    color: #fff;
    margin-bottom: var(--space-md);
}

.modal p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-2xl);
}

/* Booking Modal */
.booking-modal {
    max-width: 520px;
    padding: 0;
    overflow: visible;
    transform: translateY(24px) scale(0.97);
    background: transparent;
    box-shadow: none;
}

.modal-overlay.active .booking-modal {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: var(--space-lg);
    right: var(--space-lg);
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transition: background var(--duration-fast) var(--ease-smooth), transform var(--duration-fast) var(--ease-smooth);
    z-index: 10;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.modal-close svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
}

.booking-modal-image {
    position: relative;
    width: 100%;
    overflow: visible;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-2xl) var(--space-2xl) 0;
}

.booking-modal-image img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 320px;
    object-fit: contain;
    display: block;
    border-radius: var(--radius-lg);
}

.booking-modal-body {
    padding: var(--space-3xl);
    position: relative;
}

.booking-modal-body .section-tag {
    color: var(--color-accent);
}

.booking-modal-body h3 {
    color: #fff;
    margin-top: var(--space-xs);
}

.booking-modal-body > p {
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: var(--space-2xl);
}

.booking-contacts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.booking-contact {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all var(--duration-base) var(--ease-smooth);
    text-align: left;
}

.booking-contact:hover {
    border-color: var(--color-accent);
    background: rgba(196, 163, 90, 0.08);
    transform: translateY(-2px);
}

.booking-contact-label {
    font-size: var(--text-xs);
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.booking-contact-value {
    font-size: var(--text-base);
    color: #fff;
    font-weight: 500;
    word-break: break-word;
}

.booking-note {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.5);
}

/* =====================================================
   Animations
   ===================================================== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s var(--ease-out);
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* =====================================================
   Responsive Design
   ===================================================== */

/* Tablet */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-timeline {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-3xl);
    }
    
    .process-line {
        display: none;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-grid .gallery-item:last-child {
        grid-column: span 2;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: var(--space-3xl);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
}

/* Mobile */
@media (max-width: 768px) {
    :root {
        --nav-height: 70px;
    }
    
    .navbar-nav {
        display: none;
    }
    
    .navbar-toggle {
        display: flex;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-cta .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: var(--space-3xl);
    }
    
    .about-visual {
        order: -1;
    }
    
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .process-timeline {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid .gallery-item:last-child {
        grid-column: span 1;
    }
    
    .testimonial-card {
        padding: var(--space-xl);
    }
    
    .testimonial-text {
        font-size: var(--text-lg);
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .back-to-top {
        bottom: var(--space-md);
        right: var(--space-md);
        width: 44px;
        height: 44px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .section-title {
        font-size: var(--text-3xl);
    }
    
    .title-cn {
        font-size: var(--text-4xl);
    }
    
    .title-en {
        font-size: var(--text-lg);
    }
    
    .hero-subtitle {
        font-size: var(--text-lg);
    }
    
    .about-stats {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-md);
    }
    
    .stat-item {
        padding: var(--space-md);
    }
    
    .stat-number {
        font-size: var(--text-3xl);
    }
    
    .contact-form-wrapper {
        padding: var(--space-xl);
    }
}
