/* ============================================================
   告白气球婚礼庆典 - 主样式表
   配色: 香槟金 #C9A86A / 象牙白 / 雾粉 / 深褐
   风格: 高端 优雅 浪漫 顺滑
   ============================================================ */

/* ---------- 设计变量 ---------- */
:root {
    --gold: #C9A86A;
    --gold-deep: #B8975A;
    --gold-light: #E2CDA3;
    --warm-gold: #D4AF8C;
    --ivory: #F8F4ED;
    --mist-pink: #E8D5D0;
    --cream: #FBF7F1;
    --dark: #3D2E1F;
    --text: #2C2418;
    --text-soft: #7A6A55;
    --text-light: #A89880;
    --line: #E8DFD0;
    --white: #FFFFFF;
    --bg-grad: linear-gradient(180deg, #FBF7F1 0%, #F8F4ED 100%);
    --shadow-soft: 0 10px 40px rgba(61, 46, 31, 0.08);
    --shadow-gold: 0 14px 40px rgba(201, 168, 106, 0.25);
    --shadow-hover: 0 24px 60px rgba(61, 46, 31, 0.16);
    --radius: 14px;
    --radius-lg: 24px;
    --serif: "Noto Serif SC", "Cormorant Garamond", serif;
    --sans: "Noto Sans SC", -apple-system, BlinkMacSystemFont, sans-serif;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
    --nav-h: 78px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--sans);
    color: var(--text);
    background: var(--cream);
    line-height: 1.7;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

/* ---------- 容器 ---------- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- 排版 ---------- */
.section {
    padding: 120px 0;
    position: relative;
}

.section-eyebrow {
    display: inline-block;
    font-family: var(--serif);
    font-size: 0.8rem;
    letter-spacing: 0.32em;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 18px;
    font-weight: 500;
}

.section-eyebrow.light { color: var(--gold-light); }

.section-title {
    font-family: var(--serif);
    font-size: clamp(2rem, 4.2vw, 3.4rem);
    font-weight: 600;
    color: var(--dark);
    line-height: 1.25;
    letter-spacing: 0.02em;
    margin-bottom: 28px;
}

.section-lead {
    font-size: 1.05rem;
    color: var(--text-soft);
    max-width: 640px;
    line-height: 1.85;
}

.section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 64px;
}

.section-head .section-lead { margin: 0 auto; }

.section-text {
    font-size: 1rem;
    color: var(--text-soft);
    line-height: 1.95;
    margin-bottom: 18px;
}

.section-cta {
    text-align: center;
    margin-top: 64px;
}

/* ---------- 按钮 ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    border-radius: 50px;
    transition: all 0.45s var(--ease);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-lg { padding: 16px 38px; font-size: 1rem; }
.btn-block { width: 100%; justify-content: center; }

.btn-gold {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
    color: var(--white);
    box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 50px rgba(201, 168, 106, 0.4);
}

.btn-gold i { transition: transform 0.4s var(--ease); }
.btn-gold:hover i { transform: translateX(5px); }

.btn-ghost {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--white);
    transform: translateY(-3px);
}

.btn-ghost-light {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.5);
}

.btn-ghost-light:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
}

.btn-outline-gold {
    background: transparent;
    color: var(--gold-deep);
    border: 1.5px solid var(--gold);
}

.btn-outline-gold:hover {
    background: var(--gold);
    color: var(--white);
    transform: translateY(-3px);
}

/* ---------- 页面加载器 ---------- */
.page-loader {
    position: fixed;
    inset: 0;
    background: var(--cream);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s var(--ease), visibility 0.6s var(--ease);
}

.page-loader.hide {
    opacity: 0;
    visibility: hidden;
}

.loader-balloon {
    animation: floatUp 2s ease-in-out infinite;
}

@keyframes floatUp {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}

/* ---------- 导航栏 ---------- */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--nav-h);
    z-index: 1000;
    transition: all 0.5s var(--ease);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(251, 247, 241, 0.92);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 4px 30px rgba(61, 46, 31, 0.06);
}

.nav-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo - 白底金字 */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-badge {
    display: inline-flex;
    filter: drop-shadow(0 4px 10px rgba(201, 168, 106, 0.3));
    transition: transform 0.5s var(--ease);
}

.logo:hover .logo-badge { transform: scale(1.06) rotate(-3deg); }

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-cn {
    font-family: var(--serif);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark);
    letter-spacing: 0.06em;
}

.logo-en {
    font-family: var(--serif);
    font-size: 0.6rem;
    color: var(--gold);
    letter-spacing: 0.28em;
    margin-top: 2px;
}

.navbar:not(.scrolled) .logo-cn { color: var(--white); }
.navbar:not(.scrolled) .logo-en { color: var(--gold-light); }

/* 导航菜单 */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text);
    position: relative;
    padding: 6px 0;
    transition: color 0.3s var(--ease);
}

.navbar:not(.scrolled) .nav-link { color: rgba(255, 255, 255, 0.9); }

.nav-link::after {
    content: "";
    position: absolute;
    left: 50%; bottom: 0;
    width: 0; height: 2px;
    background: var(--gold);
    transition: all 0.4s var(--ease);
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

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

.nav-cta { color: var(--white) !important; }
.nav-cta:hover { color: var(--white) !important; }

/* 移动端汉堡 */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 28px;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--dark);
    transition: all 0.4s var(--ease);
}

.navbar:not(.scrolled) .nav-toggle span { background: var(--white); }

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero 大屏 ---------- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 640px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: heroZoom 18s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    from { transform: scale(1); }
    to { transform: scale(1.12); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(61, 46, 31, 0.35) 0%,
        rgba(61, 46, 31, 0.25) 40%,
        rgba(61, 46, 31, 0.55) 100%
    );
}

.hero-balloons {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.float-balloon {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.35), var(--gold) 60%, var(--gold-deep));
    box-shadow: inset -8px -10px 20px rgba(0, 0, 0, 0.15), 0 8px 20px rgba(201, 168, 106, 0.3);
    opacity: 0.55;
}

.float-balloon::after {
    content: "";
    position: absolute;
    bottom: -28px; left: 50%;
    width: 1px; height: 26px;
    background: rgba(255, 255, 255, 0.4);
    transform: translateX(-50%);
}

.float-balloon.b1 { width: 90px; height: 110px; top: 18%; left: 8%; animation: floatBalloon 8s ease-in-out infinite; }
.float-balloon.b2 { width: 60px; height: 74px; top: 28%; right: 12%; animation: floatBalloon 11s ease-in-out infinite 1s; opacity: 0.4; }
.float-balloon.b3 { width: 44px; height: 54px; bottom: 22%; left: 14%; animation: floatBalloon 9s ease-in-out infinite 0.5s; opacity: 0.45; }
.float-balloon.b4 { width: 72px; height: 88px; bottom: 30%; right: 8%; animation: floatBalloon 13s ease-in-out infinite 2s; opacity: 0.5; }

@keyframes floatBalloon {
    0%, 100% { transform: translateY(0) rotate(-3deg); }
    50% { transform: translateY(-22px) rotate(3deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-inner {
    text-align: center;
    color: var(--white);
    max-width: 820px;
    margin: 0 auto;
}

.hero-eyebrow {
    display: inline-block;
    font-family: var(--serif);
    font-size: 0.85rem;
    letter-spacing: 0.4em;
    color: var(--gold-light);
    margin-bottom: 28px;
    text-transform: uppercase;
}

.hero-title {
    font-family: var(--serif);
    font-size: clamp(2.8rem, 7vw, 5.6rem);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: 0.06em;
    margin-bottom: 28px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.3rem);
    line-height: 1.85;
    font-weight: 300;
    margin-bottom: 44px;
    opacity: 0.95;
}

.hero-actions {
    display: flex;
    gap: 18px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 36px; left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--white);
    opacity: 0.8;
    transition: opacity 0.3s;
}

.hero-scroll:hover { opacity: 1; }

.mouse {
    display: block;
    width: 22px; height: 36px;
    border: 2px solid var(--white);
    border-radius: 12px;
    position: relative;
}

.wheel {
    position: absolute;
    top: 6px; left: 50%;
    transform: translateX(-50%);
    width: 3px; height: 7px;
    background: var(--white);
    border-radius: 3px;
    animation: wheel 1.6s ease-in-out infinite;
}

@keyframes wheel {
    0% { opacity: 0; transform: translate(-50%, 0); }
    30% { opacity: 1; }
    100% { opacity: 0; transform: translate(-50%, 14px); }
}

.scroll-text {
    font-family: var(--serif);
    font-size: 0.7rem;
    letter-spacing: 0.3em;
}

/* ---------- 品牌故事区 ---------- */
.section-story { background: var(--cream); }

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

.story-stats {
    display: flex;
    gap: 48px;
    margin-top: 44px;
    padding-top: 36px;
    border-top: 1px solid var(--line);
}

.stat {
    display: block;
}

.stat-num {
    font-family: var(--serif);
    font-size: 2.4rem;
    font-weight: 600;
    color: var(--gold-deep);
    line-height: 1;
    display: inline-block;
}

.stat-suffix {
    font-family: var(--serif);
    font-size: 1.6rem;
    color: var(--gold-deep);
    margin-left: 2px;
    display: inline-block;
    vertical-align: baseline;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-soft);
    margin-top: 8px;
    letter-spacing: 0.06em;
}

.story-visual {
    position: relative;
    height: 560px;
}

.story-img {
    position: absolute;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.story-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s var(--ease);
}

.story-img:hover img { transform: scale(1.06); }

.story-img-main {
    top: 0; right: 0;
    width: 78%; height: 76%;
}

.story-img-sub {
    bottom: 0; left: 0;
    width: 52%; height: 44%;
    border: 8px solid var(--cream);
    z-index: 2;
}

.story-badge {
    position: absolute;
    top: 8%; left: 12%;
    background: var(--white);
    padding: 22px 26px;
    border-radius: 50%;
    box-shadow: var(--shadow-gold);
    text-align: center;
    z-index: 3;
    animation: badgeFloat 4s ease-in-out infinite;
}

@keyframes badgeFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.story-badge-num {
    display: block;
    font-family: var(--serif);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--gold-deep);
    line-height: 1;
}

.story-badge-text {
    font-family: var(--serif);
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    color: var(--text-soft);
    margin-top: 4px;
}

/* ---------- 核心服务区 ---------- */
.section-services { background: var(--ivory); }

.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 28px;
}

/* 每行最多 3 张卡片，第二行 2 张自动居中 */
.services-grid .service-card {
    flex: 0 1 calc(33.333% - 20px);
    max-width: calc(33.333% - 20px);
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 42px 28px 36px;
    text-align: center;
    transition: all 0.55s var(--ease);
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
}

.service-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--warm-gold));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s var(--ease);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--line);
}

.service-card:hover::before { transform: scaleX(1); }

.service-icon {
    width: 76px; height: 76px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ivory), var(--cream));
    color: var(--gold-deep);
    font-size: 1.8rem;
    transition: all 0.55s var(--ease);
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--gold), var(--gold-deep));
    color: var(--white);
    transform: rotate(-8deg) scale(1.08);
}

.service-name {
    font-family: var(--serif);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 14px;
}

.service-desc {
    font-size: 0.92rem;
    color: var(--text-soft);
    line-height: 1.75;
    margin-bottom: 22px;
    min-height: 5em;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88rem;
    color: var(--gold-deep);
    font-weight: 500;
    transition: gap 0.4s var(--ease);
}

.service-card:hover .service-link { gap: 12px; }

/* ---------- 精选案例区 ---------- */
.section-cases { background: var(--cream); }

.cases-swiper {
    overflow: hidden;
    margin: 0 -12px;
    padding: 12px;
}

.cases-track {
    display: flex;
    gap: 28px;
    transition: transform 0.7s var(--ease);
}

.case-card {
    flex: 0 0 calc((100% - 56px) / 3);
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: all 0.55s var(--ease);
    cursor: pointer;
}

.case-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.case-cover {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.case-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s var(--ease);
}

.case-card:hover .case-cover img { transform: scale(1.08); }

.case-tag {
    position: absolute;
    top: 16px; left: 16px;
    background: rgba(251, 247, 241, 0.92);
    backdrop-filter: blur(8px);
    color: var(--gold-deep);
    font-size: 0.78rem;
    padding: 5px 14px;
    border-radius: 50px;
    font-weight: 500;
    letter-spacing: 0.05em;
}

.case-info { padding: 22px 24px 26px; }

.case-title {
    font-family: var(--serif);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 10px;
}

.case-meta {
    font-size: 0.85rem;
    color: var(--text-soft);
    display: flex;
    align-items: center;
    gap: 6px;
}

.case-meta i { color: var(--gold); }

.case-summary {
    margin-top: 12px;
    font-size: 0.9rem;
    color: var(--text-soft);
    line-height: 1.7;
}

.cases-controls {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 44px;
}

.swiper-btn {
    width: 52px; height: 52px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid var(--line);
    color: var(--gold-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s var(--ease);
    box-shadow: var(--shadow-soft);
}

.swiper-btn:hover {
    background: var(--gold);
    color: var(--white);
    border-color: var(--gold);
    transform: scale(1.08);
}

.swiper-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* ---------- 服务流程 ---------- */
.section-process { background: var(--ivory); }

.process-timeline {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    position: relative;
    margin-top: 40px;
}

.process-timeline::before {
    content: "";
    position: absolute;
    top: 36px; left: 10%; right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-light) 20%, var(--gold-light) 80%, transparent);
}

.process-step {
    text-align: center;
    position: relative;
    padding: 0 12px;
}

.step-num {
    font-family: var(--serif);
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--gold);
    width: 72px; height: 72px;
    margin: 0 auto 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: 50%;
    box-shadow: var(--shadow-soft);
    position: relative;
    z-index: 2;
    transition: all 0.5s var(--ease);
}

.process-step:hover .step-num {
    background: linear-gradient(135deg, var(--gold), var(--gold-deep));
    color: var(--white);
    transform: scale(1.08);
}

.step-title {
    font-family: var(--serif);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 10px;
}

.step-desc {
    font-size: 0.85rem;
    color: var(--text-soft);
    line-height: 1.7;
}

/* ---------- 新人见证 ---------- */
.section-reviews { background: var(--cream); }

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

.review-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 50px 32px 36px;
    box-shadow: var(--shadow-soft);
    transition: all 0.55s var(--ease);
    position: relative;
}

.review-card::before {
    content: "\201C";
    position: absolute;
    top: 8px; left: 24px;
    font-family: var(--serif);
    font-size: 3.4rem;
    color: var(--gold-light);
    opacity: 0.22;
    line-height: 1;
    pointer-events: none;
}

.review-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.review-stars {
    color: var(--gold);
    margin-bottom: 18px;
    font-size: 0.92rem;
    letter-spacing: 2px;
}

.review-content {
    font-size: 0.98rem;
    color: var(--text);
    line-height: 1.85;
    margin-bottom: 28px;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}

.review-author img {
    width: 52px; height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--gold-light);
}

.review-name {
    font-family: var(--serif);
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
}

.review-type {
    font-size: 0.82rem;
    color: var(--gold-deep);
    margin-top: 2px;
}

/* ---------- CTA Banner ---------- */
.section-cta-banner { background: var(--ivory); padding-bottom: 120px; }

.cta-banner {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 460px;
    display: flex;
    align-items: center;
    box-shadow: var(--shadow-hover);
}

.cta-bg { position: absolute; inset: 0; z-index: 0; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(61, 46, 31, 0.78) 0%, rgba(61, 46, 31, 0.55) 100%);
}

.cta-content {
    position: relative;
    z-index: 2;
    padding: 72px 80px;
    color: var(--white);
    max-width: 720px;
}

.cta-title {
    font-family: var(--serif);
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 600;
    line-height: 1.25;
    margin-bottom: 22px;
}

.cta-desc {
    font-size: 1.05rem;
    opacity: 0.92;
    margin-bottom: 36px;
    line-height: 1.8;
}

.cta-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ---------- 页脚 ---------- */
.footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.72);
    padding: 80px 0 0;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1.4fr;
    gap: 48px;
    padding-bottom: 56px;
}

.footer-brand .logo .logo-cn { color: var(--white); }
.footer-brand .logo .logo-en { color: var(--gold-light); }

.footer-desc {
    margin: 22px 0 24px;
    font-size: 0.92rem;
    line-height: 1.8;
    max-width: 280px;
}

.footer-social {
    display: flex;
    gap: 14px;
}

.footer-social a,
.footer-social .social-qr {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-light);
    transition: all 0.4s var(--ease);
    position: relative;
    cursor: pointer;
}

.footer-social a:hover,
.footer-social .social-qr:hover,
.footer-social .social-qr:focus {
    background: var(--gold);
    color: var(--white);
    transform: translateY(-3px);
}

/* 页脚二维码弹层（hover/点击显示） */
.social-qr { outline: none; }
.qr-pop {
    position: absolute;
    bottom: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    width: 150px;
    background: #fff;
    border-radius: 10px;
    padding: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s var(--ease);
    z-index: 100;
}
.qr-pop img { width: 100%; display: block; border-radius: 6px; }
.qr-pop em { display: block; text-align: center; font-style: normal; font-size: 12px; color: #57534c; padding-top: 6px; }
.qr-pop::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #fff;
}
.social-qr:hover .qr-pop,
.social-qr:focus .qr-pop {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* 联系页微信二维码 */
.contact-qr {
    width: 130px;
    display: block;
    margin: 0 auto 12px;
    border-radius: 8px;
}

.footer-title {
    font-family: var(--serif);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 22px;
    letter-spacing: 0.05em;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 12px;
    font-size: 0.92rem;
}

.footer-links a {
    transition: all 0.3s var(--ease);
}

.footer-links a:hover {
    color: var(--gold-light);
    padding-left: 6px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.6;
}

.footer-contact i {
    color: var(--gold);
    margin-top: 5px;
    width: 14px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ---------- 返回顶部 ---------- */
.back-to-top {
    position: fixed;
    right: 32px; bottom: 32px;
    width: 50px; height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-deep));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-gold);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.5s var(--ease);
    z-index: 900;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 36px rgba(201, 168, 106, 0.5);
}

/* ============================================================
   子页面通用样式
   ============================================================ */

/* 页面头部 Hero */
.page-hero {
    position: relative;
    height: 56vh;
    min-height: 420px;
    display: flex;
    align-items: center;
    padding-top: var(--nav-h);
    overflow: hidden;
}

.page-hero-bg { position: absolute; inset: 0; z-index: 0; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(61, 46, 31, 0.45) 0%, rgba(61, 46, 31, 0.65) 100%);
}

.page-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
}

.page-hero-title {
    font-family: var(--serif);
    font-size: clamp(2.2rem, 5.5vw, 4rem);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 22px;
    letter-spacing: 0.04em;
}

.page-hero-sub {
    font-size: 1.1rem;
    font-weight: 300;
    opacity: 0.92;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ---------- 案例列表页 ---------- */
.section-cases-list { background: var(--cream); padding-top: 80px; }

.cases-filter {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-bottom: 56px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 26px;
    font-size: 0.92rem;
    color: var(--text-soft);
    border: 1px solid var(--line);
    border-radius: 50px;
    background: var(--white);
    transition: all 0.4s var(--ease);
    letter-spacing: 0.05em;
}

.filter-btn:hover {
    color: var(--gold-deep);
    border-color: var(--gold);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--gold), var(--gold-deep));
    color: var(--white);
    border-color: var(--gold);
    box-shadow: var(--shadow-gold);
}

.cases-masonry {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.masonry-item {
    transition: all 0.5s var(--ease);
}

.masonry-item.hide {
    display: none;
}

.cases-empty {
    text-align: center;
    padding: 80px 0;
    color: var(--text-light);
}

.cases-empty i {
    font-size: 2.5rem;
    color: var(--gold-light);
    margin-bottom: 18px;
}

/* ---------- 案例详情页 ---------- */
.case-hero {
    position: relative;
    min-height: 540px;
    display: flex;
    align-items: flex-end;
    padding: 120px 0 64px;
    overflow: hidden;
}

.case-hero-bg { position: absolute; inset: 0; z-index: 0; }
.case-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.case-hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(61, 46, 31, 0.2) 0%, rgba(61, 46, 31, 0.8) 100%);
}

.case-hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
}

.case-hero-tag {
    display: inline-block;
    background: rgba(251, 247, 241, 0.92);
    color: var(--gold-deep);
    font-size: 0.82rem;
    padding: 6px 18px;
    border-radius: 50px;
    margin-bottom: 18px;
    font-weight: 500;
}

.case-hero-title {
    font-family: var(--serif);
    font-size: clamp(2rem, 5vw, 3.6rem);
    font-weight: 600;
    margin-bottom: 18px;
    letter-spacing: 0.04em;
}

.case-hero-meta {
    display: flex;
    gap: 32px;
    font-size: 0.98rem;
    opacity: 0.92;
}

.case-hero-meta span { display: flex; align-items: center; gap: 8px; }
.case-hero-meta i { color: var(--gold-light); }

.section-case-detail { background: var(--cream); }

.case-detail-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 56px;
}

.case-detail-main { max-width: 100%; }

.case-section { margin-bottom: 56px; }

.case-h2 {
    font-family: var(--serif);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 22px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
    position: relative;
}

.case-h2::after {
    content: "";
    position: absolute;
    left: 0; bottom: -1px;
    width: 50px; height: 2px;
    background: var(--gold);
}

.case-body {
    font-size: 1.02rem;
    line-height: 2;
    color: var(--text-soft);
}

.case-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* 图集图片：等比例完整显示，点击可打开灯箱 */
.case-gallery img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius);
    transition: transform 0.6s var(--ease);
    cursor: zoom-in;
}

.case-gallery img:hover { transform: scale(1.02); }

/* 图集视频：独占整行，完整比例显示 */
.case-gallery video.gallery-video {
    grid-column: 1 / -1;
    width: 100%;
    max-height: 480px;
    object-fit: contain;
    background: #1a1a1a;
    border-radius: var(--radius);
    display: block;
    cursor: default;
}

.gallery-main {
    grid-column: 1 / -1;
}

/* ===== 图集灯箱 Lightbox ===== */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.94);
    display: none;
}
.lightbox.active { display: block; }
body.lightbox-open { overflow: hidden; }

/* 媒体区：四周留空地，按钮/计数器放空地中；图片完整适配不裁切 */
.lightbox-img {
    position: absolute;
    top: 70px;
    bottom: 70px;
    left: 100px;
    right: 100px;
    width: calc(100% - 200px);
    height: calc(100% - 140px);
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.35s ease;
}
.lightbox-img.loaded { opacity: 1; }

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    z-index: 2;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover { background: rgba(255, 255, 255, 0.35); }
.lightbox-close { top: 14px; right: 24px; width: 44px; height: 44px; font-size: 24px; }
.lightbox-prev,
.lightbox-next { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; font-size: 28px; padding-bottom: 4px; }
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }
.lightbox-counter {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    letter-spacing: 2px;
    background: rgba(0, 0, 0, 0.4);
    padding: 6px 16px;
    border-radius: 20px;
}

@media (max-width: 768px) {
    /* 手机端：图片近乎全屏，隐藏左右按钮，改用滑动切换 */
    .lightbox-img {
        top: 56px;
        bottom: 56px;
        left: 8px;
        right: 8px;
        width: calc(100% - 16px);
        height: calc(100% - 112px);
    }
    .lightbox-prev,
    .lightbox-next { display: none; }
    .lightbox-close { top: 10px; right: 10px; }
}

.case-detail-aside {
    position: sticky;
    top: calc(var(--nav-h) + 24px);
    align-self: start;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.aside-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    box-shadow: var(--shadow-soft);
}

.aside-title {
    font-family: var(--serif);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 22px;
}

.aside-title.light { color: var(--white); }

.aside-list li {
    display: flex;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.92rem;
}

.aside-list li:last-child { border-bottom: none; }
.aside-list span { color: var(--text-soft); }
.aside-list b { color: var(--dark); font-weight: 600; }

.aside-cta {
    background: linear-gradient(135deg, var(--gold), var(--gold-deep));
    color: var(--white);
    text-align: center;
}

.aside-desc {
    font-size: 0.92rem;
    opacity: 0.92;
    margin-bottom: 22px;
}

.section-related { background: var(--ivory); }

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

/* ---------- 服务介绍页 ---------- */
.section-services-detail { background: var(--cream); }

.service-detail-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    margin-bottom: 100px;
}

.service-detail-row:last-child { margin-bottom: 0; }

.service-detail-row.reverse .service-detail-img { order: 2; }

.service-detail-img {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    box-shadow: var(--shadow-soft);
}

.service-detail-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 1.2s var(--ease);
}

.service-detail-row:hover .service-detail-img img { transform: scale(1.06); }

.service-detail-price {
    position: absolute;
    bottom: 22px; right: 22px;
    background: rgba(251, 247, 241, 0.95);
    backdrop-filter: blur(8px);
    color: var(--gold-deep);
    font-family: var(--serif);
    font-size: 1.1rem;
    font-weight: 600;
    padding: 8px 22px;
    border-radius: 50px;
    box-shadow: var(--shadow-soft);
}

.service-detail-info { padding: 0 12px; }

.service-icon-lg {
    width: 80px; height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ivory), var(--cream));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-deep);
    font-size: 2rem;
    margin-bottom: 26px;
    transition: all 0.5s var(--ease);
}

.service-detail-row:hover .service-icon-lg {
    background: linear-gradient(135deg, var(--gold), var(--gold-deep));
    color: var(--white);
    transform: rotate(-6deg);
}

.service-detail-title {
    font-family: var(--serif);
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 22px;
}

.service-detail-detail {
    font-size: 1.02rem;
    line-height: 2;
    color: var(--text-soft);
    margin-bottom: 32px;
}

/* ---------- 关于页 ---------- */
.section-about-story { background: var(--cream); }

.section-values { background: var(--ivory); }

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

.value-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 48px 36px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: all 0.55s var(--ease);
}

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

.value-icon {
    width: 84px; height: 84px;
    margin: 0 auto 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-deep));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    transition: all 0.5s var(--ease);
}

.value-card:hover .value-icon {
    transform: scale(1.08) rotate(-6deg);
}

.value-card h3 {
    font-family: var(--serif);
    font-size: 1.4rem;
    color: var(--dark);
    margin-bottom: 16px;
}

.value-card p {
    font-size: 0.96rem;
    color: var(--text-soft);
    line-height: 1.85;
}

.section-milestone { background: var(--cream); }

.milestone-timeline {
    max-width: 760px;
    margin: 0 auto;
    position: relative;
    padding-left: 28px;
}

.milestone-timeline::before {
    content: "";
    position: absolute;
    left: 7px; top: 0; bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--gold-light), var(--gold), var(--gold-light));
}

.milestone-item {
    position: relative;
    padding-bottom: 44px;
    padding-left: 36px;
}

.milestone-item::before {
    content: "";
    position: absolute;
    left: -28px; top: 6px;
    width: 16px; height: 16px;
    border-radius: 50%;
    background: var(--white);
    border: 3px solid var(--gold);
    box-shadow: 0 0 0 5px var(--cream);
    transition: all 0.4s var(--ease);
}

.milestone-item:hover::before {
    background: var(--gold);
    transform: scale(1.2);
}

.milestone-year {
    font-family: var(--serif);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--gold-deep);
    margin-bottom: 8px;
}

.milestone-content h3 {
    font-family: var(--serif);
    font-size: 1.2rem;
    color: var(--dark);
    margin-bottom: 8px;
}

.milestone-content p {
    font-size: 0.95rem;
    color: var(--text-soft);
    line-height: 1.8;
}

/* ---------- 联系页 ---------- */
.section-contact { background: var(--cream); padding-bottom: 60px; }

.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.contact-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 44px 30px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: all 0.55s var(--ease);
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.contact-icon {
    width: 70px; height: 70px;
    margin: 0 auto 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ivory), var(--mist-pink));
    color: var(--gold-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    transition: all 0.5s var(--ease);
}

.contact-card:hover .contact-icon {
    background: linear-gradient(135deg, var(--gold), var(--gold-deep));
    color: var(--white);
    transform: rotate(-6deg);
}

.contact-card h3 {
    font-family: var(--serif);
    font-size: 1.25rem;
    color: var(--dark);
    margin-bottom: 12px;
}

.contact-card p {
    font-size: 0.95rem;
    color: var(--text-soft);
    line-height: 1.75;
    margin-bottom: 10px;
}

.contact-card p a {
    color: var(--gold-deep);
    transition: color 0.3s;
}

.contact-card p a:hover { color: var(--dark); }

.contact-sub {
    display: inline-block;
    font-size: 0.82rem;
    color: var(--text-light);
    margin-top: 4px;
}

.section-contact-map { background: var(--ivory); padding-top: 60px; }

.contact-map-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 56px;
    align-items: center;
}

.contact-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    min-height: 420px;
    background: var(--white);
}

.contact-hours .hours-list {
    margin: 28px 0 24px;
}

.contact-hours .hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px dashed var(--line);
    font-size: 0.95rem;
}

.contact-hours .hours-list li:last-child { border-bottom: none; }
.hours-list span { color: var(--text-soft); }
.hours-list b { color: var(--dark); font-weight: 500; }

.hours-tip {
    font-size: 0.88rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 8px;
}

.hours-tip i { color: var(--gold); }

.section-offices { background: var(--cream); }

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

.office-item {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    box-shadow: var(--shadow-soft);
    transition: all 0.5s var(--ease);
    position: relative;
    overflow: hidden;
}

.office-item::before {
    content: "";
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--gold), var(--warm-gold));
    transform: scaleY(0);
    transition: transform 0.5s var(--ease);
}

.office-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.office-item:hover::before { transform: scaleY(1); }

.office-item h3 {
    font-family: var(--serif);
    font-size: 1.3rem;
    color: var(--dark);
    margin-bottom: 10px;
}

.office-item p {
    font-size: 0.92rem;
    color: var(--text-soft);
    line-height: 1.7;
}

/* 单店布局（居中） */
.offices-grid-single {
    grid-template-columns: minmax(300px, 540px);
    justify-content: center;
}

.office-icon {
    width: 64px; height: 64px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-deep));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.5s var(--ease);
}

.offices-grid-single .office-item {
    text-align: center;
    padding: 52px 40px;
}

.offices-grid-single .office-item:hover .office-icon {
    transform: rotate(-6deg) scale(1.08);
}

.office-scope {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding: 10px 20px;
    background: var(--ivory);
    border-radius: 50px;
    font-size: 0.86rem !important;
    color: var(--gold-deep) !important;
    font-weight: 500;
}

.office-scope i { color: var(--gold); }

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1024px) {
    .services-grid .service-card {
        flex-basis: calc(50% - 14px);
        max-width: calc(50% - 14px);
    }
    .cases-masonry { grid-template-columns: repeat(2, 1fr); }
    .reviews-grid { grid-template-columns: repeat(2, 1fr); }
    .case-card { flex: 0 0 calc((100% - 28px) / 2); }
    .process-timeline { grid-template-columns: repeat(2, 1fr); gap: 36px; }
    .process-timeline::before { display: none; }
    .contact-grid { grid-template-columns: repeat(2, 1fr); }
    .offices-grid { grid-template-columns: repeat(2, 1fr); }
    .case-detail-grid { grid-template-columns: 1fr; }
    .case-detail-aside { position: static; flex-direction: row; }
    .footer-container { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .section { padding: 80px 0; }

    /* 移动端导航 */
    .nav-toggle { display: flex; }
    .nav-menu {
        position: fixed;
        top: 0; right: -100%;
        width: 80%; max-width: 320px;
        height: 100vh;
        background: rgba(251, 247, 241, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 32px;
        transition: right 0.5s var(--ease);
        box-shadow: -10px 0 40px rgba(61, 46, 31, 0.15);
        z-index: 1000;
    }
    .nav-menu.open { right: 0; }
    .navbar:not(.scrolled) .nav-menu .nav-link { color: var(--text); }
    .navbar:not(.scrolled) .nav-menu .nav-link:hover,
    .navbar:not(.scrolled) .nav-menu .nav-link.active { color: var(--gold-deep); }

    .hero { min-height: 560px; height: 92vh; }
    .hero-actions { flex-direction: column; align-items: center; }
    .hero-actions .btn { width: 80%; justify-content: center; }
    .hero-scroll { display: none; }

    .story-grid { grid-template-columns: 1fr; gap: 48px; }
    .story-visual { height: 440px; }
    .story-stats { gap: 28px; flex-wrap: wrap; }

    .service-detail-row,
    .service-detail-row.reverse {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .service-detail-row.reverse .service-detail-img { order: 0; }

    .cases-masonry,
    .related-grid,
    .values-grid,
    .offices-grid { grid-template-columns: 1fr; }

    .reviews-grid { grid-template-columns: 1fr; }

    .case-card { flex: 0 0 86%; }

    .case-hero-meta { flex-direction: column; gap: 10px; }

    .case-gallery { grid-template-columns: 1fr; }

    .contact-grid { grid-template-columns: 1fr; }
    .contact-map-grid { grid-template-columns: 1fr; gap: 32px; }
    .contact-map { min-height: 300px; }

    .case-detail-aside { flex-direction: column; }

    .footer-container { grid-template-columns: 1fr; gap: 36px; }
    .cta-content { padding: 56px 28px; }

    .back-to-top { right: 20px; bottom: 20px; }
}

@media (max-width: 480px) {
    .section { padding: 64px 0; }
    .container { padding: 0 18px; }
    .section-head { margin-bottom: 44px; }
    .story-stats { gap: 20px; }
    .stat-num { font-size: 1.9rem; }
    .contact-card { padding: 32px 22px; }
    .process-timeline { grid-template-columns: 1fr; }
}

/* ===== 案例页多维筛选栏 ===== */
.cases-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-bottom: 40px;
    padding: 18px 20px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}
.cases-filter-bar select,
.cases-filter-bar input[type="text"] {
    padding: 10px 14px;
    border: 1px solid #e7e5e4;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    background: #fafaf9;
    color: #44403c;
    cursor: pointer;
}
.cases-filter-bar select:focus,
.cases-filter-bar input[type="text"]:focus {
    outline: none;
    border-color: #c9a86a;
}
.cases-filter-bar input[type="text"] { flex: 1; min-width: 160px; cursor: text; }
.cases-filter-bar button {
    background: #c9a86a;
    color: #fff;
    border: none;
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s;
}
.cases-filter-bar button:hover { background: #b8935a; }
.cases-filter-bar .filter-reset {
    color: #a8a29e;
    text-decoration: none;
    font-size: 13px;
    white-space: nowrap;
}
.cases-filter-bar .filter-reset:hover { color: #c9a86a; }
@media (max-width: 768px) {
    .cases-filter-bar select { flex: 1 1 30%; }
}

/* ===== 服务页：更多服务提示 ===== */
.service-more {
    margin-top: 56px;
    padding: 36px 24px;
    text-align: center;
    background: linear-gradient(135deg, #f8f4ed, #f3e9e2);
    border-radius: var(--radius);
}
.service-more i { font-size: 26px; color: #c9a86a; margin-bottom: 12px; }
.service-more p { font-size: 17px; color: #44403c; }
.service-more a { color: #c9a86a; font-weight: 600; text-decoration: none; border-bottom: 1px solid #c9a86a; padding-bottom: 1px; }
.service-more a:hover { color: #b8935a; border-color: #b8935a; }

/* 服务网格：手机端单列 */
@media (max-width: 768px) {
    .services-grid .service-card {
        flex-basis: 100%;
        max-width: 100%;
    }
}

/* ============================================================
   手机端全局优化（≤768px）：紧凑间距 · 横滑 · 信息密度
   ============================================================ */
@media (max-width: 768px) {
    /* ---- 全局基础 ---- */
    .section { padding: 52px 0; }
    .section-head { margin-bottom: 28px; }
    .section-title { font-size: 26px; line-height: 1.35; }
    .section-lead { font-size: 14px; }
    .container { padding-left: 16px; padding-right: 16px; }

    /* ---- 首页 Hero ---- */
    .hero { min-height: 74vh; }
    .hero-title { font-size: 32px; }
    .hero-subtitle { font-size: 15px; }
    .hero-actions { flex-direction: column; gap: 12px; align-items: stretch; }
    .hero-actions .btn { width: 100%; text-align: center; }
    .hero-scroll, .hero-balloons { display: none; }

    /* ---- 核心服务：紧凑横排卡（左图标右文字） ---- */
    .services-grid { gap: 12px; }
    .services-grid .service-card {
        flex-basis: 100%;
        max-width: 100%;
        display: grid;
        grid-template-columns: 50px 1fr;
        column-gap: 14px;
        align-items: center;
        padding: 16px;
        text-align: left;
    }
    .services-grid .service-icon {
        grid-row: span 2;
        width: 50px; height: 50px;
        margin: 0;
        font-size: 20px;
    }
    .services-grid .service-card h3 { margin: 0 0 4px; font-size: 16px; }
    .services-grid .service-card p {
        margin: 0; font-size: 13px; line-height: 1.5;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .services-grid .service-link { display: none; }

    /* ---- 精选案例：压缩封面、隐藏轮播按钮 ---- */
    .cases-controls { display: none; }
    .section-cases .case-cover { aspect-ratio: 4 / 3; }

    /* ---- 流程 / 评价 / CTA 压缩 ---- */
    .process-step { padding: 16px; }
    .step-num { font-size: 28px; }
    .reviews-grid { gap: 12px; }
    .section-cta-banner .btn { width: 100%; text-align: center; margin-bottom: 10px; }

    /* ---- 案例页：筛选栏紧凑 + 双列小卡 ---- */
    .cases-filter-bar { padding: 12px; gap: 8px; margin-bottom: 20px; }
    .cases-filter-bar select { flex: 1 1 28%; padding: 8px 10px; font-size: 13px; }
    .cases-filter-bar input[type="text"] { flex: 1 1 100%; order: 6; padding: 9px 12px; }
    .cases-filter-bar button { order: 7; flex: 1; padding: 9px; }
    .cases-filter-bar .filter-reset { order: 8; }
    .cases-masonry { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .masonry-item .case-cover { aspect-ratio: 3 / 4; }
    .masonry-item .case-info { padding: 10px 12px; }
    .masonry-item .case-title { font-size: 14px; }
    .masonry-item .case-meta { font-size: 11px; }
    .masonry-item .case-summary { display: none; }

    /* ---- 案例详情：信息卡前移、相关案例横滑 ---- */
    .case-detail-grid { display: flex; flex-direction: column; }
    .case-detail-aside { order: -1; position: static; }
    .case-hero-title { font-size: 26px; }
    .related-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 12px;
        padding-bottom: 8px;
    }
    .related-grid .case-card { flex: 0 0 72%; scroll-snap-align: start; }

    /* ---- 服务页 ---- */
    .service-detail-row { gap: 16px; }
    .service-detail-img img { aspect-ratio: 16 / 10; object-fit: cover; }
    .service-more { margin-top: 28px; padding: 24px 16px; }

    /* ---- 联系页 ---- */
    .contact-grid { gap: 12px; }
    .contact-card { padding: 20px 16px; }
    .contact-map iframe { min-height: 280px !important; }
    .contact-qr { width: 110px; }

    /* ---- 页脚：两列网格 ---- */
    .footer-container { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-title { font-size: 14px; margin-bottom: 10px; }
    .footer-links li, .footer-contact li { font-size: 13px; margin-bottom: 6px; }
    .footer-bottom { font-size: 12px; }
}

/* 手机端：服务流程五步极致紧凑（左数字右文字，描述限两行） */
@media (max-width: 768px) {
    .process-timeline { gap: 8px; }
    .process-step {
        display: grid;
        grid-template-columns: 40px 1fr;
        column-gap: 12px;
        align-items: center;
        padding: 12px 14px !important;
        text-align: left;
    }
    .process-step .step-num {
        grid-row: span 2;
        font-size: 20px;
        width: 40px; height: 40px;
        display: flex; align-items: center; justify-content: center;
    }
    .process-step h3 { font-size: 15px; margin: 0 0 2px; white-space: nowrap; }
    .process-step p {
        font-size: 12px; line-height: 1.45; margin: 0;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
}

/* 手机端：服务图标与标题同行（更省空间）+ 案例轮播跟手滑动 */
@media (max-width: 768px) {
    .services-grid .service-card {
        grid-template-columns: 36px 1fr;
        column-gap: 12px;
        padding: 14px 16px;
    }
    .services-grid .service-icon {
        grid-row: auto;
        width: 36px; height: 36px;
        font-size: 16px;
    }
    .services-grid .service-card h3 { margin: 0; }
    .services-grid .service-card p { grid-column: 1 / -1; margin-top: 6px; }
    .cases-track { touch-action: pan-x pan-y; }
}

/* 手机端：精选案例改原生滑动（scroll-snap 吸附，隐藏滚动条） */
@media (max-width: 768px) {
    .cases-track {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        transform: none !important;
    }
    .cases-track::-webkit-scrollbar { display: none; }
    .cases-track .case-card { scroll-snap-align: start; flex-shrink: 0; }
}

/* 移动端导航遮罩：点击空白关闭菜单 */
.nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 990;
}

/* 页脚二维码：active 类控制显示（手机端点击） */
.social-qr.active .qr-pop {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* 手机端：页脚二维码弹层改为屏幕居中，避免靠边图标弹出时溢出屏幕 */
@media (max-width: 768px) {
    .social-qr .qr-pop {
        position: fixed;
        top: 50%;
        bottom: auto;
        left: 50%;
        transform: translate(-50%, -50%) scale(0.92);
        width: 180px;
    }
    .social-qr .qr-pop::after { display: none; }
    .social-qr.active .qr-pop {
        transform: translate(-50%, -50%) scale(1);
    }
}

/* 二维码模态弹窗（body 级，屏幕居中，不受页脚 transform 影响） */
.qr-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
}
.qr-modal-box {
    width: 200px;
    background: #fff;
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
.qr-modal-box img { width: 100%; display: block; border-radius: 6px; }
.qr-modal-box em { display: block; text-align: center; font-style: normal; font-size: 12px; color: #57534c; padding-top: 6px; }

/* 手机端：禁用旧的 focus 弹层，点击只走屏幕居中模态 */
@media (max-width: 768px) {
    .social-qr .qr-pop { display: none; }
}

/* 手机端：服务详情页图标与标题同行 */
@media (max-width: 768px) {
    .service-detail-info {
        display: grid;
        grid-template-columns: 44px 1fr;
        column-gap: 12px;
        align-items: center;
    }
    .service-detail-info .service-icon-lg {
        width: 44px; height: 44px;
        font-size: 18px;
        margin: 0;
    }
    .service-detail-info .service-detail-title { margin: 0; }
    .service-detail-info .service-detail-detail,
    .service-detail-info .btn { grid-column: 1 / -1; }
}

/* ===== 门店案例库 ===== */
/* 分类快捷标签 */
.gallery-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}
.gallery-tags a {
    padding: 9px 22px;
    border-radius: 999px;
    background: var(--white, #fff);
    border: 1px solid #e5e0d8;
    color: #57534c;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.25s ease;
}
.gallery-tags a:hover { border-color: #c9a86a; color: #c9a86a; }
.gallery-tags a.active {
    background: #c9a86a;
    border-color: #c9a86a;
    color: #fff;
    font-weight: 600;
}
.page-hero-sub strong { color: #c9a86a; font-size: 1.2em; }

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 40px;
    flex-wrap: wrap;
}
.pagination .page-btn,
.pagination .page-num {
    padding: 9px 16px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #e5e0d8;
    color: #57534c;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.25s ease;
}
.pagination .page-btn:hover,
.pagination .page-num:hover { border-color: #c9a86a; color: #c9a86a; }
.pagination .page-num.current {
    background: #c9a86a;
    border-color: #c9a86a;
    color: #fff;
    font-weight: 600;
}
.pagination .page-dots { color: #a8a29e; padding: 0 4px; }
.pagination-info {
    text-align: center;
    color: #a8a29e;
    font-size: 13px;
    margin-top: 12px;
}

@media (max-width: 768px) {
    .gallery-tags { gap: 8px; margin-bottom: 14px; }
    .gallery-tags a { padding: 7px 16px; font-size: 13px; }
    .pagination { margin-top: 28px; gap: 6px; }
    .pagination .page-btn, .pagination .page-num { padding: 8px 12px; font-size: 13px; }
}

/* ===== 筛选 AJAX 过渡动画 ===== */
#casesResults { transition: opacity 0.3s ease; }
#casesResults.switching { opacity: 0; pointer-events: none; }
.ajax-loading-bar {
    position: fixed;
    top: 0; left: 0;
    height: 3px;
    width: 0;
    background: linear-gradient(90deg, #c9a86a, #b8935a);
    z-index: 2000;
    opacity: 0;
    transition: width 0.4s ease, opacity 0.3s ease;
}
.ajax-loading-bar.active { width: 75%; opacity: 1; }
.ajax-loading-bar.done { width: 100%; opacity: 0; }

/* 页脚备案号链接 */
.icp-link { color: inherit; text-decoration: none; }
.icp-link:hover { color: #c9a86a; }
