/* ============================================
   恒升坊官酱园官网样式
   主题：日月恒升
   色彩：醋黑、陶褐、宣纸白、木匾金、印章红
   ============================================ */

/* CSS Variables */
:root {
    --ink-black: #1a1a1a;
    --deep-brown: #2c1810;
    --pottery-brown: #8B5A2B;
    --clay-brown: #A0785A;
    --rice-paper: #F5F0E8;
    --paper-cream: #F8F4ED;
    --plaque-gold: #C9A96E;
    --seal-red: #B22222;
    --seal-dark: #8B1A1A;
    --text-primary: #2c1810;
    --text-secondary: #5a4a3a;
    --text-light: #F5F0E8;
    --text-muted: #8a7a6a;
    --border-gold: rgba(201, 169, 110, 0.3);
    --shadow-soft: 0 4px 20px rgba(44, 24, 16, 0.1);
    --shadow-medium: 0 8px 40px rgba(44, 24, 16, 0.15);
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --font-serif: 'Noto Serif SC', 'Songti SC', 'SimSun', serif;
    --font-sans: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 17px;
}

body {
    font-family: var(--font-sans);
    color: var(--text-primary);
    background: var(--rice-paper);
    line-height: 1.8;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* ============================================
   Navigation
   ============================================ */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--rice-paper);
    border-bottom: 1px solid var(--border-gold);
    transition: var(--transition);
    padding: 0.6rem 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.nav-logo-img {
    height: 44px;
    width: auto;
    transition: var(--transition);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    font-family: var(--font-serif);
    font-size: 1rem;
    color: var(--text-primary);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--seal-red);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 70px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.55);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(26, 26, 26, 0.3) 0%,
        rgba(44, 24, 16, 0.2) 50%,
        rgba(26, 26, 26, 0.5) 100%
    );
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-logo-full {
    max-width: 700px;
    width: 80vw;
    height: auto;
    filter: drop-shadow(0 4px 20px rgba(0,0,0,0.5));
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.9rem 2.5rem;
    font-family: var(--font-serif);
    font-size: 1rem;
    letter-spacing: 0.1em;
    border-radius: 2px;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--seal-red);
    color: var(--text-light);
    border-color: var(--seal-red);
}

.btn-primary:hover {
    background: var(--seal-dark);
    border-color: var(--seal-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(178, 34, 34, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border-color: var(--plaque-gold);
}

.btn-secondary:hover {
    background: var(--plaque-gold);
    color: var(--deep-brown);
    transform: translateY(-2px);
}

/* Scroll Hint */
.hero-scroll-hint {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    text-align: center;
    color: rgba(245, 240, 232, 0.6);
    font-size: 0.85rem;
    letter-spacing: 0.1em;
}

.scroll-arrow {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--plaque-gold), transparent);
    margin: 0.5rem auto 0;
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.8); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* ============================================
   Section Common Styles
   ============================================ */
.section {
    padding: 6rem 2rem;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-header.light {
    color: var(--text-light);
}

.section-tag {
    display: inline-block;
    font-family: var(--font-serif);
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    color: var(--seal-red);
    margin-bottom: 1rem;
    position: relative;
}

.section-tag::before,
.section-tag::after {
    content: '◆';
    font-size: 0.5rem;
    margin: 0 0.8rem;
    vertical-align: middle;
    opacity: 0.5;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4.5vw, 3.1rem);
    font-weight: 800;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.section-subtitle {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--text-secondary);
    line-height: 1.8;
}

.section-header.light .section-subtitle {
    color: rgba(245, 240, 232, 0.7);
}

/* ============================================
   Heritage / Credentials Wall
   ============================================ */
.heritage {
    background: var(--paper-cream);
}

.credentials-wall {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 2.5rem;
    align-items: start;
}

/* 左侧历史凭证 - 横向窄卡片 */
.credentials-left {
    display: flex;
    flex-direction: row;
    gap: 1rem;
}

.credential-vertical {
    width: 200px;
    flex: none;
    background: var(--rice-paper);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    border: 1px solid var(--border-gold);
    display: flex;
    flex-direction: column;
}

.credential-vertical:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}

.credential-vertical .credential-img-wrap {
    overflow: hidden;
    background: linear-gradient(135deg, #3a2018 0%, #2c1810 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.credential-vertical .credential-img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.credential-vertical:hover .credential-img {
    transform: scale(1.03);
}

.credential-vertical .credential-info {
    padding: 0.9rem;
    flex-shrink: 0;
}

.credential-vertical .credential-info h3 {
    font-family: var(--font-serif);
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.credential-vertical .credential-info p {
    font-size: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 0.6rem;
}

.credential-vertical .credential-info p:last-child {
    margin-bottom: 0;
}

/* 右侧证书网格 */
.credentials-right {
    background: var(--rice-paper);
    border-radius: 4px;
    border: 1px solid var(--border-gold);
    padding: 2.5rem;
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.award-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    text-align: center;
    padding: 1.2rem;
    border-radius: 4px;
    transition: var(--transition);
}

.award-item:hover {
    background: rgba(201, 169, 110, 0.08);
}

.award-item img {
    height: 100px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    transition: var(--transition);
}

.award-item:hover img {
    transform: scale(1.08);
}

.award-item span {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* 重点突出的证书 */
.award-featured {
    background: rgba(201, 169, 110, 0.1);
    border: 1px solid var(--border-gold);
    grid-column: span 1;
}

.award-featured img {
    height: 130px;
}

.award-featured span {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-primary);
}

/* ============================================
   Craft Section - 非遗酿造工艺 · 扁圆轨迹
   ============================================ */
.craft-section {
    position: relative;
    min-height: 250vh;
    padding: 0;
    overflow: visible;
    background: #faf6f0;
}

/* 中央内容区 - 背景色随滚动变化 */
.craft-content-wrap {
    position: sticky;
    top: 0;
    min-height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 100px 2rem 2rem;
    z-index: 2;
    background: #faf6f0;
}

/* 标题 - 向下平移 */
.craft-header {
    text-align: center;
    margin-top: 0;
    margin-bottom: 0.5rem;
    z-index: 3;
    position: relative;
}

.craft-header .section-tag {
    display: inline-block;
    font-family: var(--font-serif);
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    color: var(--seal-red);
    margin-bottom: 0.8rem;
    position: relative;
}

.craft-header .section-tag::before,
.craft-header .section-tag::after {
    content: '◆';
    font-size: 0.5rem;
    margin: 0 0.8rem;
    vertical-align: middle;
    opacity: 0.5;
}

.craft-header .section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4.5vw, 3.1rem);
    font-weight: 800;
    letter-spacing: 0.1em;
    margin-bottom: 0.6rem;
    line-height: 1.3;
    transition: color 0.6s ease;
}

.craft-header .section-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    transition: color 0.6s ease;
}

/* 扁圆轨迹和天体 - 中上部 */
.celestial-track-wrap {
    position: relative;
    width: 100%;
    max-width: 1000px;
    height: 260px;
    z-index: 1;
    pointer-events: none;
    margin-bottom: 0.5rem;
}

/* 太阳天体 - 独立元素 */
.celestial-sun-body {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    z-index: 2;
    transform: translate(-50%, -50%);
    left: 8%;
    top: 72%;
    opacity: 0;
    background: radial-gradient(circle at 35% 35%, #FFD700 0%, #FFA500 40%, #FF8C00 70%, #E67300 100%);
    box-shadow: 0 0 50px rgba(255, 200, 80, 0.6), 0 0 100px rgba(255, 160, 40, 0.3);
    transition: opacity 0.4s ease;
}

/* 月亮天体 - 独立元素 */
.celestial-moon-body {
    position: absolute;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    z-index: 2;
    transform: translate(-50%, -50%);
    left: 8%;
    top: 72%;
    opacity: 1;
    background: radial-gradient(circle at 65% 35%, #F5F0E8 0%, #C0C0C0 40%, #A0A0A0 70%, #808080 100%);
    box-shadow: 0 0 40px rgba(200, 210, 230, 0.4), 0 0 80px rgba(180, 190, 220, 0.2);
    transition: opacity 0.4s ease;
}

/* 月亮表面纹理 */
.celestial-moon-body::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: 
        radial-gradient(circle at 25% 30%, rgba(160, 160, 160, 0.4) 0%, transparent 25%),
        radial-gradient(circle at 70% 60%, rgba(140, 140, 140, 0.35) 0%, transparent 20%),
        radial-gradient(circle at 50% 45%, rgba(150, 150, 150, 0.3) 0%, transparent 18%);
    pointer-events: none;
}

/* 五大工艺图片陈列 - 向上平移 */
.craft-steps-gallery {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    width: 100%;
    max-width: 1200px;
    z-index: 3;
    padding: 0 1rem;
    margin-top: -20px;
}

.craft-step-g {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    opacity: 0.35;
    transform: scale(0.92);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.craft-step-g.active {
    opacity: 1;
    transform: scale(1);
}

.step-g-img {
    width: 100%;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    padding: 0.5rem;
    border: 2px solid rgba(201, 169, 110, 0.2);
    background: rgba(255, 255, 255, 0.3);
    transition: border-color 0.5s ease, background 0.5s ease, box-shadow 0.5s ease;
}

.craft-step-g.active .step-g-img {
    border-color: rgba(201, 169, 110, 0.6);
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.step-g-img img {
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 6px 16px rgba(0,0,0,0.15)) contrast(1.05) saturate(1.1);
}

.step-g-name {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--text-primary);
    letter-spacing: 0.1em;
    transition: color 0.6s ease;
}

/* 滚动占位 */
.craft-scroll-spacer {
    height: 250vh;
    position: relative;
    z-index: 0;
}

/* ============================================
   Inheritor Section
   ============================================ */
.inheritor {
    background: var(--paper-cream);
}

.inheritor-card {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
}

.inheritor-list {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.inheritor-card.no-portrait {
    grid-template-columns: 1fr;
    max-width: 900px;
}

.inheritor-card.secondary-inheritor {
    grid-template-columns: 1.5fr 1fr;
}

.inheritor-card.secondary-inheritor .inheritor-visual {
    order: 2;
}

.inheritor-card.secondary-inheritor .inheritor-bio {
    order: 1;
}

.inheritor-visual {
    position: sticky;
    top: 100px;
}

.inheritor-portrait {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    border: 1px solid var(--border-gold);
}

.portrait-img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
}

.inheritor-awards {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.award-badge {
    flex: 1;
    background: var(--rice-paper);
    border-radius: 4px;
    padding: 1rem;
    text-align: center;
    border: 1px solid var(--border-gold);
    transition: var(--transition);
}

.award-badge:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-soft);
}

.award-badge img {
    height: 50px;
    width: auto;
    margin: 0 auto 0.5rem;
    object-fit: contain;
}

.award-badge span {
    font-size: 0.75rem;
    color: var(--text-secondary);
    display: block;
}

.inheritor-bio {
    padding-top: 1rem;
}

.inheritor-name {
    font-family: var(--font-serif);
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.inheritor-title {
    font-size: 1rem;
    color: var(--seal-red);
    margin-bottom: 2rem;
    letter-spacing: 0.05em;
}

.inheritor-story {
    margin-bottom: 2rem;
}

.inheritor-story p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
    line-height: 1.9;
    text-align: justify;
}

.inheritor-achievements {
    background: var(--rice-paper);
    border-radius: 4px;
    padding: 2rem;
    border: 1px solid var(--border-gold);
    margin-bottom: 2rem;
}

.inheritor-achievements h4 {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-gold);
}

.inheritor-achievements ul {
    list-style: none;
}

.inheritor-achievements li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

.inheritor-achievements li::before {
    content: '◆';
    position: absolute;
    left: 0;
    color: var(--seal-red);
    font-size: 0.6rem;
    top: 0.4rem;
}

.inheritor-timeline-small {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.tl-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.8rem 1.2rem;
    background: var(--rice-paper);
    border-radius: 4px;
    border: 1px solid var(--border-gold);
    min-width: 100px;
}

.tl-item span:first-child {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--plaque-gold);
}

.tl-item span:last-child {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 0.2rem;
}

/* Placeholder for second inheritor */
.inheritor-placeholder {
    max-width: 1200px;
    margin: 3rem auto 0;
}

.placeholder-card {
    background: var(--rice-paper);
    border-radius: 4px;
    padding: 3rem;
    text-align: center;
    border: 2px dashed var(--border-gold);
    opacity: 0.7;
}

.placeholder-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--border-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-muted);
    margin: 0 auto 1rem;
}

.placeholder-card h4 {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.placeholder-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ============================================
   Products Section
   ============================================ */
.products {
    background: var(--rice-paper);
}

.products-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    grid-auto-rows: 1fr;
}

.product-category {
    background: var(--paper-cream);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    border: 1px solid var(--border-gold);
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 300px;
}

.product-category:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-medium);
}

.product-visual {
    position: relative;
    overflow: hidden;
    height: 100%;
    min-height: 100%;
}

.product-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-category:hover .product-visual img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--seal-red);
    color: var(--text-light);
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    border-radius: 2px;
}

.product-info {
    padding: 1.8rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.product-info h3 {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
}

.product-info p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.2rem;
    flex: 1;
}

.product-link {
    font-family: var(--font-serif);
    color: var(--seal-red);
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto;
}

.product-link:hover {
    color: var(--seal-dark);
    gap: 1rem;
}

/* ============================================
   Gifts Section
   ============================================ */
.gifts {
    background: var(--deep-brown);
    color: var(--text-light);
}

.gifts-showcase {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.gift-feature {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    border: 1px solid var(--border-gold);
}

.gift-feature img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.gift-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(to top, rgba(44, 24, 16, 0.9), transparent);
}

.gift-caption h3 {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.gift-caption p {
    font-size: 0.9rem;
    color: rgba(245, 240, 232, 0.8);
}

.gift-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.gift-item {
    background: rgba(245, 240, 232, 0.05);
    border-radius: 4px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid rgba(201, 169, 110, 0.15);
    transition: var(--transition);
}

.gift-item:hover {
    background: rgba(245, 240, 232, 0.1);
    border-color: var(--border-gold);
    transform: translateY(-4px);
}

.gift-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
}

.gift-item h4 {
    font-family: var(--font-serif);
    font-size: 1rem;
    margin-bottom: 0.3rem;
    color: var(--text-light);
}

.gift-item p {
    font-size: 0.8rem;
    color: rgba(245, 240, 232, 0.6);
}

/* ============================================
   Stores Section
   ============================================ */
.stores {
    background: var(--paper-cream);
}

.stores-content {
    max-width: 1000px;
    margin: 0 auto;
}

.store-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-bottom: 4rem;
}

.stat-item {
    text-align: center;
}

.stat-num {
    display: block;
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 700;
    color: var(--seal-red);
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
    letter-spacing: 0.05em;
}

.store-cta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.cta-card {
    background: var(--rice-paper);
    border-radius: 4px;
    padding: 2.5rem;
    text-align: center;
    border: 1px solid var(--border-gold);
    transition: var(--transition);
}

.cta-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-medium);
}

.cta-card h3 {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.cta-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.qr-codes {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 0;
}

.qr-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.qr-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
}

.qr-img {
    width: 150px;
    height: 150px;
    border-radius: 4px;
    border: 2px solid var(--border-gold);
    object-fit: cover;
    background: #fff;
    margin: 0 auto;
    transition: var(--transition);
}

.qr-img:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-soft);
}

.qr-img-logo {
    object-fit: cover;
    background: #fff;
}

.qr-placeholder {
    width: 150px;
    height: 150px;
    background: var(--paper-cream);
    border: 2px dashed var(--border-gold);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.store-img {
    width: 150px;
    height: 150px;
    border-radius: 4px;
    overflow: hidden;
    margin: 0 auto 1.5rem;
}

.store-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================
   Store Navigation Card (重构)
   ============================================ */
.store-nav-card {
    padding: 2.5rem;
    text-align: center;
}

.store-nav-title {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    text-align: center;
}

.store-nav-top {
    text-align: center;
    margin-bottom: 1.5rem;
}

.store-nav-desc {
    font-size: 0.9rem;
    color: var(--text-primary);
    line-height: 1.7;
    margin: 0;
}

.store-nav-desc strong {
    font-weight: 700;
    color: var(--seal-red);
}

/* 门店网格 */
.store-nav-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
    border-top: 1px solid var(--border-gold);
    padding-top: 1.5rem;
}

.store-nav-item {
    min-height: 52px;
    background: var(--paper-cream);
    border: 1px solid var(--border-gold);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0.5rem 0.3rem;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-serif);
    font-size: 0.85rem;
    color: var(--text-primary);
    letter-spacing: 0.02em;
    user-select: none;
    white-space: nowrap;
}

.store-nav-item:hover {
    background: var(--seal-red);
    color: var(--text-light);
    border-color: var(--seal-red);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(178, 34, 34, 0.25);
}

.store-nav-item span {
    pointer-events: none;
}

.store-nav-more {
    background: rgba(201, 169, 110, 0.1);
    border-color: var(--plaque-gold);
    color: var(--pottery-brown);
}

.store-nav-more:hover {
    background: var(--plaque-gold);
    color: var(--deep-brown);
    border-color: var(--plaque-gold);
    box-shadow: 0 4px 15px rgba(201, 169, 110, 0.3);
}

/* ============================================
   Store Modal (弹窗)
   ============================================ */
.store-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(26, 26, 26, 0.7);
    backdrop-filter: blur(4px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.store-modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.store-modal {
    background: var(--rice-paper);
    border-radius: 4px;
    max-width: 520px;
    width: 100%;
    max-height: 95vh;
    overflow-y: auto;
    position: relative;
    border: 1px solid var(--border-gold);
    box-shadow: var(--shadow-medium);
    transform: translateY(20px) scale(0.97);
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.store-modal-overlay.active .store-modal {
    transform: translateY(0) scale(1);
}

.store-modal-close {
    position: absolute;
    top: 0.8rem;
    right: 0.8rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--paper-cream);
    border: 1px solid var(--border-gold);
    color: var(--text-secondary);
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10;
}

.store-modal-close:hover {
    background: var(--seal-red);
    color: var(--text-light);
    border-color: var(--seal-red);
}

.store-modal-body {
    padding: 1.5rem;
}

.store-modal-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.store-modal-store-img {
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--border-gold);
}

.store-modal-store-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.store-modal-map-img {
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--border-gold);
}

.store-modal-map-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.store-modal-address {
    font-size: 0.95rem;
    color: var(--text-primary);
    line-height: 1.7;
    text-align: center;
    font-family: var(--font-sans);
}

.store-modal-address strong {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 0.3rem;
}

/* 更多门店弹窗 */
.store-modal-more {
    text-align: center;
    padding: 1rem 0;
}

.store-modal-more-logo {
    width: 200px;
    height: 200px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.store-modal-more-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.store-modal-more-text {
    font-size: 1rem;
    color: var(--text-primary);
    line-height: 1.8;
}

.store-modal-more-text strong {
    font-weight: 700;
    color: var(--seal-red);
}

/* ============================================
   Contact Section
   ============================================ */
.contact {
    background: var(--rice-paper);
}

.contact-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.contact-item h4 {
    font-family: var(--font-serif);
    font-size: 1rem;
    color: var(--seal-red);
    margin-bottom: 0.5rem;
}

.contact-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.contact-visual {
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    border: 1px solid var(--border-gold);
}

.contact-visual img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--deep-brown);
    color: var(--text-light);
    padding: 4rem 2rem 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(201, 169, 110, 0.2);
}

.footer-brand {
    text-align: center;
}

.footer-logo {
    height: 120px;
    width: auto;
    margin: 0 auto;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.footer-brand p {
    font-size: 0.9rem;
    color: rgba(245, 240, 232, 0.7);
    line-height: 1.8;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.footer-col h4 {
    font-family: var(--font-serif);
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--plaque-gold);
}

.footer-col li {
    margin-bottom: 0.5rem;
}

.footer-col a {
    font-size: 0.9rem;
    color: rgba(245, 240, 232, 0.6);
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--plaque-gold);
}

.footer-bottom {
    max-width: 1200px;
    margin: 2rem auto 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(245, 240, 232, 0.5);
    letter-spacing: 0.05em;
}

/* ============================================
   Animations & Scroll Reveals
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
    .credentials-wall {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .credentials-left {
        flex-direction: row;
        justify-content: center;
        gap: 0.8rem;
    }
    
    .credential-vertical {
        width: 100%;
        max-width: 180px;
    }
    
    .credentials-right {
        padding: 1.2rem;
    }
    
    .awards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .award-item img {
        height: 75px;
    }
    
    .award-featured img {
        height: 95px;
    }
    
    .inheritor-card {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .inheritor-card.secondary-inheritor {
        grid-template-columns: 1fr;
    }
    
    .inheritor-card.secondary-inheritor .inheritor-visual,
    .inheritor-card.secondary-inheritor .inheritor-bio {
        order: 0;
    }
    
    .inheritor-visual {
        position: relative;
        top: 0;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .product-category {
        grid-template-columns: 1fr 1.5fr;
    }
    
    .gifts-showcase {
        grid-template-columns: 1fr;
    }
    
    .store-cta {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-links {
        justify-items: center;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: rgba(245, 240, 232, 0.98);
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        padding: 0.8rem 1rem;
        gap: 0.5rem 1.2rem;
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: var(--transition);
    }
    
    .nav-menu.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    
    .hero-logo-full {
        max-width: 500px;
        width: 90vw;
    }
    
    .section {
        padding: 4rem 1.5rem;
    }
    
    .credentials-wall {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .credentials-left {
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
    }
    
    .credential-vertical {
        width: 160px;
    }
    
    .credentials-right {
        padding: 1.5rem;
    }
    
    .awards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .award-featured img {
        height: 90px;
    }
    
    .award-item img {
        height: 70px;
    }
    
    .product-category {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .product-visual {
        aspect-ratio: 16/9;
        height: auto;
        min-height: auto;
    }
    
    .store-stats {
        gap: 2rem;
    }
    
    .stat-num {
        font-size: 2rem;
    }
    
    .store-cta {
        grid-template-columns: 1fr;
    }
    
    .store-nav-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.6rem;
    }
    
    .store-nav-item {
        font-size: 0.85rem;
        min-height: 48px;
    }
    
    .store-nav-top {
        text-align: center;
    }
    
    .store-nav-card {
        padding: 1.5rem;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
    
    .footer-col h4 {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
    }
    
    .footer-col li {
        margin-bottom: 0.3rem;
    }
    
    .footer-col a {
        font-size: 0.8rem;
    }
    
    /* 非遗工艺 - 平板适配 */
    .craft-content-wrap {
        padding: 80px 1.5rem 2rem;
    }
    
    .craft-header {
        margin-top: 0;
    }
    
    .celestial-track-wrap {
        height: 220px;
        margin-bottom: 0.5rem;
    }
    
    .celestial-sun-body,
    .celestial-moon-body {
        width: 90px;
        height: 90px;
    }
    
    .craft-steps-gallery {
        gap: 1rem;
        margin-top: -10px;
    }
    
    .step-g-img {
        padding: 0.4rem;
        border-radius: 16px;
    }
    
    .step-g-name {
        font-size: 1rem;
    }
    
    .gift-items {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
    
    .inheritor-awards {
        flex-direction: column;
    }
    
    .inheritor-timeline-small {
        flex-direction: column;
    }
    
    .tl-item {
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
    }
    
    .gift-items {
        grid-template-columns: 1fr;
    }
    
    /* 品牌源流 - 移动端适配 */
    .credentials-left {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .credential-vertical {
        width: 100%;
        max-width: 200px;
    }
    
    .credential-vertical .credential-img-wrap {
        max-height: 220px;
    }
    
    .credential-vertical .credential-img {
        max-height: 220px;
        width: 100%;
        height: auto;
        object-fit: contain;
    }
    
    .credential-vertical .credential-info {
        padding: 0.6rem;
    }
    
    .credential-vertical .credential-info h3 {
        font-size: 0.85rem;
    }
    
    .credential-vertical .credential-info p {
        font-size: 0.7rem;
        line-height: 1.4;
        margin-bottom: 0.4rem;
    }
    
    .credentials-right {
        padding: 1rem;
    }
    
    .awards-grid {
        gap: 0.6rem;
    }
    
    .award-item {
        padding: 0.8rem;
    }
    
    .award-item img {
        height: 60px;
    }
    
    .award-featured img {
        height: 75px;
    }
    
    .award-item span {
        font-size: 0.8rem;
    }
    
    /* 门店导航 - 移动端适配 */
    .store-nav-title {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .store-nav-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    
    .store-nav-item {
        font-size: 0.8rem;
        min-height: 44px;
        padding: 0.4rem 0.3rem;
        white-space: normal;
        line-height: 1.3;
    }
    
    .store-nav-top {
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .store-nav-info {
        gap: 0.4rem;
    }
    
    .store-nav-line1 {
        font-size: 0.9rem;
    }
    
    .store-nav-line2 {
        font-size: 0.85rem;
    }
    
    .store-nav-card {
        padding: 1.2rem;
    }
    
    .store-modal {
        max-width: 100%;
        max-height: 95vh;
        margin: 0 1rem;
    }
    
    .store-modal-body {
        padding: 1.2rem;
    }
    
    .store-modal-images {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .store-modal-store-img,
    .store-modal-map-img {
        aspect-ratio: 16/7;
    }
    
    .store-modal-more-logo {
        width: 150px;
        height: 150px;
    }
    
    /* 二维码 - 移动端适配 */
    .qr-codes {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .qr-placeholder {
        width: 130px;
        height: 130px;
    }
    
    /* 非遗工艺 - 移动端轮动适配 */
    .craft-content-wrap {
        padding: 70px 1rem 1.5rem;
    }
    
    .craft-header {
        margin-top: 0;
        padding: 0 1rem;
    }
    
    .celestial-track-wrap {
        height: 160px;
        margin-bottom: 0.3rem;
    }
    
    .celestial-sun-body,
    .celestial-moon-body {
        width: 60px;
        height: 60px;
    }
    
    .craft-steps-gallery {
        position: relative;
        width: 100%;
        max-width: 100%;
        height: 260px;
        overflow: hidden;
        display: block;
        padding: 0;
        margin-top: 0.5rem;
    }
    
    .craft-step-g {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 150px;
        transform: translate(-50%, -50%);
        opacity: 0;
        transition: none;
        pointer-events: none;
    }
    
    .craft-step-g.active {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
        pointer-events: auto;
    }
    
    .step-g-img {
        padding: 0.5rem;
        border-radius: 14px;
    }
    
    .step-g-name {
        font-size: 0.9rem;
    }
}

/* ============================================
   Reduced Motion
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .hero-sun-moon,
    .celestial-body {
        display: none;
    }
    
    .reveal {
        opacity: 1;
        transform: none;
    }
}
