/* ==========================================================================
   Kemondo Theme - Main Stylesheet
   晨雾绿定制工厂主题 - Editorial Fashion Magazine Style
   ========================================================================== */

/* CSS Variables */
:root {
    /* Color Palette - 深森林 + 焦橙 Deep Forest + Burnt Orange */
    --color-primary:       #1A2820;   /* 墨绿 Ink Green (更深) */
    --color-primary-dark:  #0E1815;   /* 近黑墨绿 Almost Black-Green */
    --color-primary-light: #6B7F6E;   /* 鼠尾草中调 Medium Sage */
    --color-cream:         #F5EFE6;   /* 暖米白 Warm White */
    --color-cream-alt:     #E8E0D0;   /* 米黄 Cream Alt */
    --color-white:         #FFFFFF;
    --color-gold:          #ED7B22;   /* 鲜艳焦橙 Vivid Burnt Orange (主强调) */
    --color-gold-dark:     #B85A1A;   /* 深焦橙 Dark Burnt Orange */
    --color-brass:         #B8924A;   /* 黄铜 Brass (次强调) */
    --color-text:          #1A2820;   /* 主文字近黑 */
    --color-text-muted:    #6B6F66;   /* 辅助文字 */
    --color-border:        #E5E2DA;
    --color-bg-soft:       #EFE7D7;   /* 软背景 Soft Bg */
    --color-shadow:        rgba(26, 40, 32, 0.12);

    /* Typography */
    --font-display: 'Cormorant Garamond', 'Noto Serif SC', serif;
    --font-body:    'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Sizing */
    --container-max: 1280px;
    --radius-sm: 4px;
    --radius:    8px;
    --radius-lg: 16px;

    /* Spacing */
    --space-xs: 8px;
    --space-sm: 16px;
    --space:    24px;
    --space-lg: 48px;
    --space-xl: 96px;

    /* Transitions */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    background: var(--color-cream);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: all 0.3s var(--ease); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--color-text);
}

/* Container */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space);
}

/* ==========================================================================
   Topbar
   ========================================================================== */
.topbar {
    background: var(--color-text);
    color: var(--color-cream);
    font-size: 13px;
    padding: 8px 0;
}
.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space);
}
.topbar-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-right: 20px;
    opacity: 0.85;
}
.topbar-item svg { opacity: 0.7; }
.topbar-email { display: inline-flex; }

.lang-switcher {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.lang-link {
    color: var(--color-cream);
    opacity: 0.6;
    font-size: 12px;
    letter-spacing: 0.05em;
    transition: opacity 0.3s;
}
.lang-link.active { opacity: 1; font-weight: 600; }
.lang-link:hover { opacity: 1; }
.lang-divider { opacity: 0.4; }

/* ==========================================================================
   Main Navigation
   ========================================================================== */
.main-nav {
    background: var(--color-cream);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(8px);
    background: rgba(250, 247, 242, 0.95);
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    gap: var(--space-lg);
}

.site-logo {
    display: inline-flex;
    flex-direction: column;
    line-height: 1;
}
.logo-zh {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 600;
    color: var(--color-text);
    letter-spacing: 0.05em;
}
.logo-en {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.3em;
    color: var(--color-gold-dark);
    margin-top: 4px;
    text-transform: uppercase;
}

.primary-nav { flex: 1; }
.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--space-lg);
    align-items: center;
    justify-content: center;
}
.nav-menu a {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--color-text);
    position: relative;
    padding: 4px 0;
}
.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-primary);
    transition: width 0.3s var(--ease);
}
.nav-menu a:hover::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: var(--space-sm); }

.btn-quote {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 12px 24px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.05em;
    transition: all 0.3s var(--ease);
}
.btn-quote:hover {
    background: var(--color-primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(26, 40, 32, 0.3);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 8px;
}
.mobile-toggle span {
    width: 22px;
    height: 2px;
    background: var(--color-text);
    transition: all 0.3s;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--color-cream-alt);
}
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}
.hero-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-primary-light), var(--color-gold));
    position: relative;
    overflow: hidden;
}
.hero-pattern {
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255,255,255,.1) 35px, rgba(255,255,255,.1) 70px);
}
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
    padding: var(--space-xl) 0;
    color: var(--color-white);
}
.hero-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    padding: 6px 14px;
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 999px;
    margin-bottom: var(--space);
    backdrop-filter: blur(8px);
}
.hero-title {
    font-size: clamp(40px, 7vw, 88px);
    font-weight: 500;
    line-height: 1.05;
    margin-bottom: var(--space);
    color: var(--color-white);
    letter-spacing: -0.03em;
}
.hero-desc {
    font-size: 17px;
    line-height: 1.7;
    opacity: 0.92;
    margin-bottom: var(--space-lg);
    max-width: 560px;
}
.hero-actions {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}
.btn-hero-primary {
    background: var(--color-white);
    color: var(--color-text);
    padding: 16px 32px;
    border-radius: 999px;
    font-weight: 500;
    letter-spacing: 0.05em;
    transition: all 0.3s var(--ease);
}
.btn-hero-primary:hover {
    background: var(--color-gold);
    color: var(--color-white);
    transform: translateY(-2px);
}
.btn-hero-ghost {
    border: 1px solid rgba(255,255,255,0.5);
    color: var(--color-white);
    padding: 16px 32px;
    border-radius: 999px;
    font-weight: 500;
    letter-spacing: 0.05em;
    transition: all 0.3s var(--ease);
}
.btn-hero-ghost:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--color-white);
}

.hero-scroll-hint {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--color-white);
    font-size: 11px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    text-align: center;
    opacity: 0.7;
    z-index: 1;
}
.scroll-line {
    width: 1px;
    height: 40px;
    background: var(--color-white);
    margin: 12px auto 0;
    animation: scrollDown 2s ease-in-out infinite;
}
@keyframes scrollDown {
    0%, 100% { transform: scaleY(0.4); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
}

/* ==========================================================================
   Stats Section
   ========================================================================== */
.stats-section {
    background: var(--color-primary);
    padding: var(--space-lg) 0;
    color: var(--color-white);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space);
}
.stat-item {
    text-align: center;
    padding: var(--space);
    border-right: 1px solid rgba(255,255,255,0.2);
}
.stat-item:last-child { border-right: none; }
.stat-num {
    font-family: var(--font-display);
    font-size: clamp(36px, 4vw, 56px);
    font-weight: 500;
    line-height: 1;
    margin-bottom: 8px;
}
.stat-label {
    font-size: 13px;
    letter-spacing: 0.1em;
    opacity: 0.9;
}

/* ==========================================================================
   Section Common
   ========================================================================== */
.section {
    padding: var(--space-xl) 0;
}
.section-header {
    margin-bottom: var(--space-lg);
}
.section-header.centered {
    text-align: center;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}
.section-header.between {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: var(--space);
    flex-wrap: wrap;
}
.section-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-gold-dark);
    margin-bottom: var(--space-sm);
}
.section-title {
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.15;
    margin-bottom: var(--space-sm);
}
.section-subtitle {
    font-size: 16px;
    color: var(--color-text-muted);
    line-height: 1.7;
    max-width: 640px;
}
.section-header.centered .section-subtitle { margin: 0 auto; }

/* ==========================================================================
   Categories
   ========================================================================== */
.section-categories { background: var(--color-cream); }

.category-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-sm);
}
.category-card {
    background: var(--color-white);
    padding: var(--space-lg) var(--space);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all 0.4s var(--ease);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}
.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--color-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease);
}
.category-card:hover {
    border-color: var(--color-primary-light);
    transform: translateY(-6px);
    box-shadow: 0 16px 48px var(--color-shadow);
}
.category-card:hover::before { transform: scaleX(1); }

.cat-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-sm);
    background: var(--color-bg-soft);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary-dark);
    transition: all 0.4s var(--ease);
}
.category-card:hover .cat-icon {
    background: var(--color-primary);
    color: var(--color-white);
    transform: scale(1.05);
}
.cat-name {
    font-size: 20px;
    margin-bottom: 4px;
    font-weight: 500;
}
.cat-desc {
    font-size: 13px;
    color: var(--color-text-muted);
    margin-bottom: var(--space-sm);
}
.cat-arrow {
    display: inline-block;
    font-size: 18px;
    color: var(--color-primary-dark);
    transition: transform 0.3s var(--ease);
}
.category-card:hover .cat-arrow { transform: translateX(4px); }

/* ==========================================================================
   Features
   ========================================================================== */
.section-features { background: var(--color-cream-alt); }

.features-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--space-xl);
    align-items: start;
}
.features-intro { position: sticky; top: 120px; }
.btn-text-arrow {
    display: inline-block;
    color: var(--color-primary-dark);
    font-weight: 500;
    font-size: 15px;
    border-bottom: 1px solid currentColor;
    padding-bottom: 2px;
}
.btn-text-arrow:hover { color: var(--color-text); }

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space);
}
.feature-item {
    background: var(--color-white);
    padding: var(--space);
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
    transition: all 0.3s var(--ease);
}
.feature-item:hover {
    border-color: var(--color-primary-light);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px var(--color-shadow);
}
.feature-icon {
    color: var(--color-primary-dark);
    margin-bottom: var(--space-sm);
}
.feature-item h4 {
    font-size: 20px;
    margin-bottom: 8px;
    font-weight: 500;
}
.feature-item p {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* ==========================================================================
   Process Timeline
   ========================================================================== */
.section-process { background: var(--color-cream); }

.process-timeline {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space);
    position: relative;
}
.process-timeline::before {
    content: '';
    position: absolute;
    top: 32px;
    left: 8%;
    right: 8%;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--color-primary), transparent);
    z-index: 0;
}
.process-step {
    text-align: center;
    position: relative;
    z-index: 1;
}
.process-num {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-sm);
    border-radius: 50%;
    background: var(--color-cream);
    border: 1px solid var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 24px;
    color: var(--color-primary-dark);
    font-weight: 500;
    transition: all 0.3s var(--ease);
}
.process-step:hover .process-num {
    background: var(--color-primary);
    color: var(--color-white);
    transform: scale(1.1);
}
.process-content h3 {
    font-size: 16px;
    font-weight: 500;
    color: var(--color-text);
}

/* ==========================================================================
   Products Grid
   ========================================================================== */
.section-featured { background: var(--color-cream); }

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space);
}
.product-card {
    background: var(--color-white);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.4s var(--ease);
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 48px var(--color-shadow);
}
.product-link { display: block; }
.product-image {
    aspect-ratio: 4/5;
    background: var(--color-bg-soft);
    overflow: hidden;
    position: relative;
}
.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}
.product-card:hover .product-image img { transform: scale(1.05); }
.product-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    font-size: 14px;
    background: linear-gradient(135deg, var(--color-cream-alt), var(--color-bg-soft));
}
.product-info { padding: var(--space); }
.product-title {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 6px;
    transition: color 0.3s;
}
.product-card:hover .product-title { color: var(--color-primary-dark); }
.product-moq {
    font-size: 12px;
    color: var(--color-gold-dark);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.no-products {
    grid-column: 1/-1;
    text-align: center;
    padding: var(--space-xl);
    color: var(--color-text-muted);
}

/* ==========================================================================
   CTA Form Section
   ========================================================================== */
.section-cta-form {
    background: var(--color-text);
    color: var(--color-cream);
}
.section-cta-form .section-title { color: var(--color-white); }
.cta-form-layout {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: var(--space-xl);
    align-items: start;
}
.cta-form-text { padding: var(--space) 0; }
.cta-form-text .section-eyebrow { color: var(--color-gold); }
.cta-form-text p {
    font-size: 16px;
    line-height: 1.7;
    opacity: 0.85;
    margin-bottom: var(--space);
}
.cta-list {
    list-style: none;
    margin-top: var(--space);
}
.cta-list li {
    padding: 8px 0;
    opacity: 0.9;
}

/* ==========================================================================
   Inquiry Form
   ========================================================================== */
.inquiry-form {
    background: var(--color-white);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    color: var(--color-text);
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
}
.form-group { display: flex; flex-direction: column; }
.form-group.full { margin-bottom: var(--space-sm); }
.form-group label {
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 6px;
    color: var(--color-text);
}
.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 14px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    background: var(--color-cream);
    color: var(--color-text);
    transition: all 0.3s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    background: var(--color-white);
    box-shadow: 0 0 0 3px rgba(26, 40, 32, 0.15);
}
.form-group textarea { resize: vertical; min-height: 100px; }

.btn-submit {
    width: 100%;
    padding: 16px;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: var(--radius);
    font-weight: 500;
    letter-spacing: 0.05em;
    font-size: 15px;
    transition: all 0.3s var(--ease);
    margin-top: var(--space-sm);
}
.btn-submit:hover {
    background: var(--color-primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(26, 40, 32, 0.4);
}
.btn-submit:disabled { opacity: 0.6; cursor: wait; }

.form-message {
    margin-top: var(--space-sm);
    padding: 12px;
    border-radius: var(--radius-sm);
    text-align: center;
    font-size: 14px;
    display: none;
}
.form-message.success {
    display: block;
    background: rgba(26, 40, 32, 0.15);
    color: var(--color-primary-dark);
    border: 1px solid var(--color-primary-light);
}
.form-message.error {
    display: block;
    background: rgba(217, 95, 95, 0.1);
    color: #b04545;
    border: 1px solid rgba(217, 95, 95, 0.3);
}

/* ==========================================================================
   Page Hero (sub-pages)
   ========================================================================== */
.page-hero {
    background: linear-gradient(135deg, var(--color-primary-light), var(--color-cream-alt));
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(201, 168, 118, 0.15), transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(26, 40, 32, 0.2), transparent 50%);
}
.page-hero > * { position: relative; }
.page-eyebrow {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-gold-dark);
    display: inline-block;
    margin-bottom: var(--space-sm);
}
.page-hero .page-title {
    font-size: clamp(36px, 5vw, 56px);
    margin-bottom: var(--space-sm);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.page-subtitle {
    font-size: 16px;
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* ==========================================================================
   Archive / Products Page
   ========================================================================== */
.archive-header {
    padding: 80px 0 40px;
    text-align: center;
}
.archive-title {
    font-size: clamp(32px, 4vw, 48px);
}

.category-filter {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: var(--space-lg);
    padding: 0 var(--space);
}
.filter-btn {
    padding: 8px 20px;
    border-radius: 999px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    font-size: 14px;
    color: var(--color-text);
    transition: all 0.3s var(--ease);
}
.filter-btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary-dark);
}
.filter-btn.active {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

/* ==========================================================================
   Single Product
   ========================================================================== */
.product-single { padding: 40px 0 var(--space-xl); }
.breadcrumb {
    font-size: 13px;
    color: var(--color-text-muted);
    margin-bottom: var(--space);
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}
.breadcrumb a:hover { color: var(--color-primary-dark); }
.breadcrumb .current { color: var(--color-text); font-weight: 500; }

.product-single-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}
.product-gallery img {
    width: 100%;
    border-radius: var(--radius-lg);
    object-fit: cover;
    aspect-ratio: 4/5;
}
.image-placeholder {
    width: 100%;
    aspect-ratio: 4/5;
    background: linear-gradient(135deg, var(--color-cream-alt), var(--color-bg-soft));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    font-size: 14px;
    border: 1px dashed var(--color-border);
}
.image-placeholder.large { aspect-ratio: 1; }
.image-placeholder.tall { aspect-ratio: 3/4; }

.product-details .product-title {
    font-size: clamp(28px, 3vw, 42px);
    margin-bottom: var(--space-sm);
}
.product-excerpt {
    font-size: 16px;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: var(--space);
    padding-bottom: var(--space);
    border-bottom: 1px solid var(--color-border);
}

.product-specs {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: var(--space);
}
.product-specs th,
.product-specs td {
    padding: 12px 0;
    text-align: left;
    border-bottom: 1px solid var(--color-border);
    font-size: 14px;
}
.product-specs th {
    color: var(--color-text-muted);
    font-weight: 500;
    width: 40%;
}

.product-features {
    background: var(--color-bg-soft);
    padding: var(--space);
    border-radius: var(--radius);
    margin-bottom: var(--space);
}
.product-features h3 {
    font-size: 18px;
    margin-bottom: 12px;
}
.product-features ul {
    list-style: none;
}
.product-features li {
    padding: 4px 0;
    padding-left: 20px;
    position: relative;
    font-size: 14px;
}
.product-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-primary-dark);
    font-weight: 600;
}

.btn-cta {
    display: inline-block;
    background: var(--color-primary);
    color: var(--color-white);
    padding: 16px 32px;
    border-radius: 999px;
    font-weight: 500;
    letter-spacing: 0.05em;
    transition: all 0.3s var(--ease);
}
.btn-cta:hover {
    background: var(--color-primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(26, 40, 32, 0.4);
}

.product-description {
    max-width: 800px;
    margin: 0 auto;
    padding-top: var(--space-lg);
    border-top: 1px solid var(--color-border);
}
.product-description h2 {
    font-size: 28px;
    margin-bottom: var(--space);
}
.product-description p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: var(--space-sm);
}

/* ==========================================================================
   Contact Page
   ========================================================================== */
.section-contact { padding: var(--space-xl) 0; }
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: var(--space-xl);
}
.contact-info h2 {
    font-size: 28px;
    margin-bottom: var(--space);
}
.contact-item {
    display: flex;
    gap: var(--space-sm);
    padding: var(--space) 0;
    border-bottom: 1px solid var(--color-border);
}
.contact-item:last-child { border-bottom: none; }
.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-bg-soft);
    color: var(--color-primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.contact-text h4 {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 4px;
    font-family: var(--font-body);
    color: var(--color-text-muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.contact-text p {
    font-size: 16px;
    color: var(--color-text);
}

/* ==========================================================================
   Factory Page
   ========================================================================== */
.story-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-xl);
    align-items: center;
}
.story-text p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-text);
    margin-bottom: var(--space-sm);
}

.equipment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space);
}
.equipment-card {
    background: var(--color-white);
    padding: var(--space-lg) var(--space);
    border-radius: var(--radius);
    text-align: center;
    border: 1px solid var(--color-border);
    transition: all 0.3s var(--ease);
}
.equipment-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-4px);
}
.equip-num {
    font-family: var(--font-display);
    font-size: 48px;
    color: var(--color-primary-dark);
    line-height: 1;
    margin-bottom: 8px;
}
.equip-name {
    font-size: 14px;
    color: var(--color-text-muted);
    letter-spacing: 0.05em;
}

.capacity-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}
.capacity-list {
    list-style: none;
    margin-top: var(--space);
}
.capacity-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border);
    font-size: 15px;
}

.certs-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--space);
}
.cert-item {
    background: var(--color-white);
    padding: var(--space);
    border-radius: var(--radius);
    text-align: center;
    border: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: all 0.3s var(--ease);
}
.cert-item:hover {
    border-color: var(--color-gold);
    transform: translateY(-4px);
}
.cert-badge {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--color-bg-soft);
    border: 2px solid var(--color-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--color-gold-dark);
    font-size: 12px;
    text-align: center;
    padding: 6px;
    line-height: 1.1;
}
.cert-item span {
    font-size: 12px;
    color: var(--color-text-muted);
    letter-spacing: 0.05em;
}

/* ==========================================================================
   Customize Page
   ========================================================================== */
.cap-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space);
}
.cap-card {
    background: var(--color-white);
    padding: var(--space-lg);
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
    transition: all 0.3s var(--ease);
}
.cap-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px var(--color-shadow);
}
.cap-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius);
    background: var(--color-bg-soft);
    color: var(--color-primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-sm);
}
.cap-card h3 {
    font-size: 20px;
    margin-bottom: 8px;
}
.cap-card p {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.7;
}

.tech-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--color-white);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--color-border);
}
.tech-table th,
.tech-table td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid var(--color-border);
    font-size: 14px;
}
.tech-table th {
    background: var(--color-bg-soft);
    font-weight: 500;
    color: var(--color-text-muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 12px;
}
.tech-table tbody tr:hover { background: var(--color-cream); }

.process-steps-vertical {
    max-width: 720px;
    margin: 0 auto;
}
.vstep {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: var(--space);
    padding: var(--space) 0;
    border-bottom: 1px solid var(--color-border);
    align-items: start;
}
.vstep:last-child { border-bottom: none; }
.vstep-num {
    font-family: var(--font-display);
    font-size: 48px;
    color: var(--color-primary);
    line-height: 1;
    font-weight: 500;
}
.vstep-content h3 {
    font-size: 24px;
    margin-bottom: 8px;
}
.vstep-content p {
    font-size: 15px;
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--color-text); color: var(--color-cream); margin-top: var(--space-xl); }

.footer-cta {
    padding: var(--space-xl) 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}
.cta-inner h2 {
    font-size: clamp(28px, 3vw, 40px);
    color: var(--color-white);
    margin-bottom: var(--space-sm);
}
.cta-inner p {
    font-size: 16px;
    opacity: 0.8;
    margin-bottom: var(--space);
}

.footer-main { padding: var(--space-xl) 0; }
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: var(--space-lg);
}
.footer-logo .logo-zh { color: var(--color-white); font-size: 24px; }
.footer-logo .logo-en { color: var(--color-gold); }
.footer-desc {
    font-size: 14px;
    line-height: 1.7;
    opacity: 0.7;
    margin: var(--space-sm) 0;
}
.footer-social {
    display: flex;
    gap: 12px;
}
.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-cream);
    transition: all 0.3s;
}
.footer-social a:hover {
    background: var(--color-primary);
    transform: translateY(-2px);
}

.footer-title {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: var(--space-sm);
    font-family: var(--font-body);
}
.footer-menu { list-style: none; }
.footer-menu li { margin-bottom: 10px; }
.footer-menu a {
    font-size: 14px;
    opacity: 0.75;
    transition: opacity 0.3s;
}
.footer-menu a:hover { opacity: 1; color: var(--color-gold); }

.footer-contact { list-style: none; font-size: 14px; line-height: 1.8; }
.footer-contact li { opacity: 0.75; }
.footer-contact strong { color: var(--color-cream); font-weight: 500; }

.footer-bottom {
    padding: var(--space) 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 13px;
    opacity: 0.6;
}
.bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

/* ==========================================================================
   404
   ========================================================================== */
.error-404 {
    text-align: center;
    padding: var(--space-xl) 0;
}
.error-num {
    font-size: clamp(120px, 20vw, 240px);
    color: var(--color-primary-light);
    line-height: 1;
    font-weight: 500;
}
.error-title { font-size: 32px; margin-bottom: var(--space-sm); }

/* ==========================================================================
   Posts / Blog
   ========================================================================== */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space);
    padding: var(--space) 0 var(--space-xl);
}
.post-card {
    background: var(--color-white);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.3s var(--ease);
}
.post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px var(--color-shadow);
}
.post-thumb {
    aspect-ratio: 16/10;
    overflow: hidden;
}
.post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease);
}
.post-card:hover .post-thumb img { transform: scale(1.05); }
.post-content { padding: var(--space); }
.post-title { font-size: 20px; margin-bottom: 8px; }
.post-excerpt { font-size: 14px; color: var(--color-text-muted); margin-bottom: 12px; }
.post-date { font-size: 12px; color: var(--color-text-muted); }

/* ==========================================================================
   Pagination
   ========================================================================== */
.pagination, .nav-links {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: var(--space-lg) 0;
}
.page-numbers {
    padding: 8px 14px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    background: var(--color-white);
    color: var(--color-text);
    font-size: 14px;
}
.page-numbers.current {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
    .features-layout { grid-template-columns: 1fr; }
    .features-intro { position: static; }
    .category-grid { grid-template-columns: repeat(3, 1fr); }
    .product-grid, .posts-grid, .cap-grid, .equipment-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .certs-grid { grid-template-columns: repeat(3, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.2); }
    .cta-form-layout, .contact-grid, .story-grid, .capacity-layout, .product-single-grid { grid-template-columns: 1fr; gap: var(--space-lg); }
}

@media (max-width: 768px) {
    :root { --space-xl: 64px; --space-lg: 32px; }
    .topbar { font-size: 12px; }
    .topbar-item { margin-right: 12px; }
    .topbar-email { display: none; }
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-cream);
        flex-direction: column;
        padding: var(--space);
        gap: var(--space-sm);
        border-top: 1px solid var(--color-border);
    }
    .nav-menu.active { display: flex; }
    .mobile-toggle { display: flex; }
    .btn-quote { display: none; }
    .category-grid, .product-grid, .posts-grid, .cap-grid, .equipment-grid, .features-grid { grid-template-columns: 1fr; }
    .process-timeline { grid-template-columns: 1fr; }
    .process-timeline::before { display: none; }
    .certs-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-actions a { text-align: center; }
    .section-header.between { flex-direction: column; align-items: flex-start; }
}
/* ==========================================================================
   Blog / News Module
   ========================================================================== */

/* Blog Hero */
.blog-hero {
    padding: 100px 0 60px;
    background: linear-gradient(180deg, var(--color-cream-alt) 0%, var(--color-cream) 100%);
}
.blog-hero .page-title {
    font-size: clamp(32px, 4vw, 48px);
    margin-bottom: var(--space-sm);
}

/* Blog Category Filter */
.blog-filter {
    margin-top: -40px;
    margin-bottom: var(--space-lg);
    background: var(--color-white);
    padding: 12px 16px;
    border-radius: 999px;
    border: 1px solid var(--color-border);
    box-shadow: 0 4px 20px var(--color-shadow);
    position: relative;
    z-index: 2;
}
.blog-filter .filter-btn {
    padding: 8px 18px;
    font-size: 13px;
}

/* Section */
.section-blog {
    padding: var(--space-lg) 0 var(--space-xl);
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg) var(--space);
    margin-bottom: var(--space-lg);
}

/* Featured Post (Hero Card) */
.blog-featured {
    margin-bottom: var(--space-xl);
}
.blog-featured-link {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: var(--space-lg);
    align-items: center;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.4s var(--ease);
    border: 1px solid var(--color-border);
}
.blog-featured-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px var(--color-shadow);
}
.blog-featured-image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}
.blog-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}
.blog-featured-link:hover .blog-featured-image img { transform: scale(1.05); }
.blog-cat-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--color-white);
    color: var(--color-primary-dark);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.05em;
    backdrop-filter: blur(8px);
}
.blog-featured-content {
    padding: var(--space-lg);
}
.blog-featured-content .blog-meta {
    font-size: 12px;
    color: var(--color-text-muted);
    letter-spacing: 0.05em;
    margin-bottom: var(--space-sm);
    display: flex;
    align-items: center;
    gap: 6px;
}
.blog-featured-title {
    font-size: clamp(24px, 2.5vw, 36px);
    line-height: 1.2;
    margin-bottom: var(--space-sm);
    transition: color 0.3s;
}
.blog-featured-link:hover .blog-featured-title { color: var(--color-primary-dark); }
.blog-featured-excerpt {
    font-size: 15px;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: var(--space);
}
.blog-read-more {
    display: inline-block;
    color: var(--color-primary-dark);
    font-weight: 500;
    font-size: 14px;
    border-bottom: 1px solid currentColor;
    padding-bottom: 2px;
    transition: gap 0.3s;
}

/* Blog Card (regular) */
.blog-card {
    background: var(--color-white);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.4s var(--ease);
    border: 1px solid var(--color-border);
}
.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px var(--color-shadow);
}
.blog-card-link { display: block; }
.blog-card-image {
    aspect-ratio: 16/10;
    overflow: hidden;
    position: relative;
    background: var(--color-bg-soft);
}
.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease);
}
.blog-card:hover .blog-card-image img { transform: scale(1.05); }
.blog-card-content { padding: var(--space); }
.blog-card-title {
    font-size: 20px;
    line-height: 1.3;
    margin-bottom: 10px;
    transition: color 0.3s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.blog-card:hover .blog-card-title { color: var(--color-primary-dark); }
.blog-card-excerpt {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.blog-card-meta {
    font-size: 12px;
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.05em;
}

.no-posts {
    text-align: center;
    padding: var(--space-xl) 0;
    color: var(--color-text-muted);
}

/* ==========================================================================
   Single Blog Post
   ========================================================================== */
.post-single {
    padding: 40px 0 var(--space-xl);
    max-width: 820px;
    margin: 0 auto;
}
.post-header {
    text-align: center;
    margin-bottom: var(--space-lg);
}
.post-cat-link {
    display: inline-block;
    background: var(--color-primary-light);
    color: var(--color-primary-dark);
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-sm);
    transition: all 0.3s;
}
.post-cat-link:hover {
    background: var(--color-primary);
    color: var(--color-white);
}
.post-title {
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.2;
    margin-bottom: var(--space-sm);
}
.post-excerpt {
    font-size: 17px;
    color: var(--color-text-muted);
    line-height: 1.7;
    max-width: 640px;
    margin: 0 auto var(--space);
}
.post-meta {
    font-size: 13px;
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.post-hero-image {
    margin-bottom: var(--space-xl);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.post-hero-image img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.post-content {
    font-size: 17px;
    line-height: 1.85;
    color: var(--color-text);
}
.post-content p { margin-bottom: var(--space); }
.post-content h2 {
    font-size: 28px;
    margin: var(--space-lg) 0 var(--space);
    line-height: 1.3;
}
.post-content h3 {
    font-size: 22px;
    margin: var(--space) 0 12px;
    line-height: 1.3;
}
.post-content blockquote {
    border-left: 3px solid var(--color-primary);
    padding-left: var(--space);
    margin: var(--space) 0;
    font-style: italic;
    color: var(--color-text-muted);
    font-size: 19px;
    line-height: 1.7;
}
.post-content img {
    border-radius: var(--radius);
    margin: var(--space) 0;
}
.post-content ul, .post-content ol {
    margin: var(--space) 0;
    padding-left: var(--space);
}
.post-content li { margin-bottom: 8px; line-height: 1.7; }
.post-content a { color: var(--color-primary-dark); border-bottom: 1px solid currentColor; }
.post-content code {
    background: var(--color-bg-soft);
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.9em;
    font-family: 'SF Mono', Monaco, monospace;
}

/* Tags */
.post-tags {
    margin: var(--space-lg) 0;
    padding-top: var(--space);
    border-top: 1px solid var(--color-border);
}
.tags-label {
    font-size: 13px;
    color: var(--color-text-muted);
    margin-right: 8px;
    font-weight: 500;
}
.tag-item {
    display: inline-block;
    background: var(--color-bg-soft);
    color: var(--color-text-muted);
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 13px;
    margin: 4px 4px 4px 0;
    transition: all 0.3s;
}
.tag-item:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

/* Post Footer / Share */
.post-footer {
    margin: var(--space) 0 var(--space-lg);
    padding: var(--space) 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}
.post-share {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.post-share span {
    font-size: 13px;
    color: var(--color-text-muted);
    font-weight: 500;
    margin-right: 8px;
}
.share-btn {
    padding: 6px 14px;
    background: var(--color-bg-soft);
    border-radius: var(--radius-sm);
    font-size: 13px;
    color: var(--color-text);
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-family: inherit;
}
.share-btn:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

/* Author Box */
.author-box {
    display: flex;
    gap: var(--space);
    padding: var(--space);
    background: var(--color-bg-soft);
    border-radius: var(--radius);
    margin-bottom: var(--space-xl);
}
.author-avatar img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
}
.author-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--color-primary);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 600;
    flex-shrink: 0;
}
.author-info h4 {
    font-size: 18px;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.author-role {
    display: inline-block;
    background: var(--color-primary);
    color: var(--color-white);
    font-size: 11px;
    padding: 2px 10px;
    border-radius: 999px;
    font-family: var(--font-body);
    font-weight: 500;
    letter-spacing: 0.05em;
}
.author-info p {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* Related Posts */
.related-posts {
    margin-top: var(--space-xl);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--color-border);
}
.related-title {
    font-size: 24px;
    margin-bottom: var(--space);
    text-align: center;
}
.related-posts .blog-grid {
    grid-template-columns: repeat(3, 1fr);
}

/* Blog Responsive */
@media (max-width: 1024px) {
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .blog-featured-link { grid-template-columns: 1fr; }
    .blog-featured-image { aspect-ratio: 16/9; }
    .related-posts .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .blog-grid, .related-posts .blog-grid { grid-template-columns: 1fr; }
    .blog-hero { padding: 80px 0 50px; }
    .blog-filter {
        margin: -30px 16px var(--space);
        padding: 10px;
        border-radius: var(--radius-lg);
        flex-wrap: wrap;
        justify-content: flex-start;
    }
    .blog-featured-content { padding: var(--space); }
    .post-single { padding: 20px 0 var(--space-lg); }
    .post-content { font-size: 16px; line-height: 1.75; }
}

/* =============================================
   FLOATING WHATSAPP BUTTON
   ============================================= */
.floating-wa {
    background: #25D366;
    border: 2px solid var(--color-gold, #ED7B22);
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
    /* wa-pulse brand recognition — only animates box-shadow, never opacity */
    animation: wa-pulse 2s ease-in-out infinite;
}
.floating-wa:hover {
    background: #1FB855;
    transform: scale(1.08);
    box-shadow: 0 6px 22px rgba(37, 211, 102, 0.5);
    animation: none;
}
.floating-wa:active {
    transform: scale(0.92);
}

.floating-wa-tooltip {
    position: absolute;
    right: 72px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(26, 40, 32, 0.95);
    color: #fff;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s, transform 0.3s;
}
.floating-wa-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: rgba(26, 40, 32, 0.95);
    border-right: 0;
}
.floating-wa:hover .floating-wa-tooltip {
    opacity: 1;
    transform: translateY(-50%) translateX(-4px);
}
@keyframes wa-pulse {
    0%, 100% { box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0.4); }
    50%      { box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45), 0 0 0 14px rgba(37, 211, 102, 0); }
}
@media (max-width: 768px) {

}

/* =============================================
   SEARCH OVERLAY
   ============================================= */
.search-trigger {
    background: none; border: none; padding: 8px; cursor: pointer;
    color: var(--color-text, #1A2820);
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    transition: background 0.2s;
}
.search-trigger:hover { background: rgba(45, 74, 62, 0.08); }
.search-trigger svg { width: 20px; height: 20px; }

.search-overlay {
    position: fixed; inset: 0;
    background: rgba(26, 40, 32, 0.92);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding-top: 12vh;
    opacity: 0;
    transition: opacity 0.25s;
}
.search-overlay.open { display: flex; opacity: 1; }
.search-overlay-inner {
    width: 100%;
    max-width: 680px;
    padding: 0 24px;
    transform: translateY(-20px);
    transition: transform 0.3s;
}
.search-overlay.open .search-overlay-inner { transform: translateY(0); }
.search-box {
    position: relative;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.search-box input {
    width: 100%;
    border: 0;
    padding: 20px 60px 20px 24px;
    font-size: 18px;
    background: transparent;
    color: #1A2820;
    outline: none;
    font-family: inherit;
}
.search-box input::placeholder { color: #9CA3AF; }
.search-box-close {
    position: absolute;
    right: 12px; top: 50%;
    transform: translateY(-50%);
    background: var(--color-cream, #F5EFE6);
    border: 0;
    width: 36px; height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    color: #1A2820;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s;
}
.search-box-close:hover { background: var(--color-gold, #ED7B22); color: #fff; }
.search-suggest {
    margin-top: 24px;
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    text-align: center;
}
.search-suggest a {
    color: var(--color-gold, #ED7B22);
    margin: 0 8px;
    text-decoration: none;
    border-bottom: 1px dashed rgba(237,123,34,0.4);
}
.search-suggest a:hover { border-bottom-style: solid; }

/* =============================================
   FOOTER SOCIAL / RSS ICONS
   ============================================= */
.footer-social {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-left: auto;
}
.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.7);
    transition: all 0.25s;
    text-decoration: none;
}
.footer-social a:hover {
    background: var(--color-gold, #ED7B22);
    color: #fff;
    transform: translateY(-2px);
}
@media (max-width: 768px) {
    .footer-social { margin: 8px auto 0; }
}

/* =============================================
   CUSTOM LOGO STYLING
   ============================================= */
.site-branding .custom-logo-link {
    display: inline-flex;
    align-items: center;
}
.site-branding .custom-logo {
    max-height: 56px;
    width: auto;
    display: block;
    transition: opacity 0.2s;
}
.site-branding .custom-logo:hover { opacity: 0.85; }
@media (max-width: 768px) {
    .site-branding .custom-logo { max-height: 44px; }
}

/* =============================================
   FLOATING CONTACT GROUP (4 buttons)
   ============================================= */
.floating-group {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-end;
}
.floating-btn {
    /* Unified size, position, border, radius */
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0,0,0,0.18);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    color: #fff;
    position: relative;
    /* VISIBLE BY DEFAULT */
    opacity: 1;
    transform: none;
    animation: none;
    flex-shrink: 0;
}
.floating-btn:nth-child(1) { animation-delay: 0s;   }
.floating-btn:nth-child(2) { animation-delay: 0.1s; }
.floating-btn:nth-child(3) { animation-delay: 0.2s; }
.floating-btn:nth-child(4) { animation-delay: 0.3s; }
@keyframes float-in {
    to { opacity: 1; transform: translateY(0); }
}

/* Back to top — ALWAYS VISIBLE, no scroll trigger */
.floating-top {
    background: var(--color-primary, #1A2820);
    backdrop-filter: blur(8px);
    border: 2px solid var(--color-gold, #ED7B22);
    box-shadow: 0 4px 16px rgba(26, 40, 32, 0.25);
}
.floating-top:hover {
    background: var(--color-primary-dark, #0E1815);
    border-color: var(--color-gold, #ED7B22);
    transform: scale(1.08);
    box-shadow: 0 6px 22px rgba(26, 40, 32, 0.4);
}
.floating-top:active {
    transform: scale(0.92);
}
.floating-top:hover {
    background: var(--color-gold, #ED7B22);
    transform: scale(1.1) !important;
    border-color: #fff;
}
.floating-top:active {
    transform: scale(0.92) !important;
    background: var(--color-gold-dark, #B85A1A);
}

/* Phone — forest green */
.floating-phone {
    background: var(--color-primary, #1A2820);
    border: 2px solid var(--color-gold, #ED7B22);
    box-shadow: 0 4px 16px rgba(26, 40, 32, 0.25);
}
.floating-phone:hover {
    background: var(--color-primary-dark, #0E1815);
    transform: scale(1.08);
    box-shadow: 0 6px 22px rgba(26, 40, 32, 0.4);
}
.floating-phone:active {
    transform: scale(0.92);
}

/* WeChat — green */
.floating-wechat {
    background: #07C160;
    border: 2px solid var(--color-gold, #ED7B22);
    box-shadow: 0 4px 16px rgba(7, 193, 96, 0.3);
}
.floating-wechat:hover {
    background: #06A050;
    transform: scale(1.08);
    box-shadow: 0 6px 22px rgba(7, 193, 96, 0.5);
}
.floating-wechat:active {
    transform: scale(0.92);
}

/* WhatsApp — already styled */

.floating-wa:hover {
    background: #1EBE57;
    transform: scale(1.08) rotate(8deg);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}
@keyframes wa-pulse {
    0%, 100% { box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.4); }
    50%      { box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4), 0 0 0 12px rgba(37, 211, 96, 0); }
}

/* Tooltip on hover */
.floating-tooltip {
    position: absolute;
    right: 68px;
    top: 50%;
    transform: translateY(-50%) translateX(8px);
    background: rgba(26, 40, 32, 0.95);
    color: #fff;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s, transform 0.25s;
    letter-spacing: 0.02em;
}
.floating-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: rgba(26, 40, 32, 0.95);
}
.floating-btn:hover .floating-tooltip {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

/* Mobile: slightly smaller, no tooltips */
@media (max-width: 768px) {
    .floating-group { bottom: 16px; right: 16px; gap: 10px; }
    .floating-btn { width: 50px; height: 50px; }
    .floating-btn svg { width: 24px; height: 24px; }
    .floating-tooltip { display: none; }
}

/* =============================================
   WECHAT MODAL
   ============================================= */
.wechat-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.wechat-modal.open {
    display: flex;
    animation: fadeIn 0.25s;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.wechat-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(26, 40, 32, 0.75);
    backdrop-filter: blur(6px);
}
.wechat-modal-inner {
    position: relative;
    background: #fff;
    border-radius: 20px;
    padding: 40px 36px 32px;
    max-width: 400px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
    text-align: center;
    animation: modalIn 0.3s ease;
}
@keyframes modalIn {
    from { transform: translateY(20px) scale(0.96); opacity: 0; }
    to   { transform: translateY(0) scale(1); opacity: 1; }
}
.wechat-modal-close {
    position: absolute;
    top: 12px; right: 12px;
    width: 36px; height: 36px;
    border: 0;
    background: var(--color-cream, #F5EFE6);
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    color: var(--color-primary, #1A2820);
    transition: all 0.2s;
}
.wechat-modal-close:hover {
    background: var(--color-gold, #ED7B22);
    color: #fff;
    transform: rotate(90deg);
}
.wechat-modal-title {
    font-family: 'Cormorant Garamond', 'Noto Serif SC', serif;
    font-size: 28px;
    color: var(--color-primary, #1A2820);
    margin: 0 0 6px;
    font-weight: 700;
}
.wechat-modal-desc {
    color: var(--color-text-muted, #6B6F66);
    font-size: 14px;
    margin: 0 0 24px;
}
.wechat-modal-qr {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    padding: 12px;
    background: var(--color-cream, #F5EFE6);
    border-radius: 12px;
}
.wechat-modal-qr img {
    width: 220px;
    height: 220px;
    display: block;
    border-radius: 4px;
}
.wechat-modal-id {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--color-cream, #F5EFE6);
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 16px;
    border: 1px solid var(--color-border, #E5E2DA);
}
.wechat-id-label {
    font-size: 12px;
    color: var(--color-text-muted, #6B6F66);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}
.wechat-id-value {
    flex: 1;
    font-family: 'Courier New', monospace;
    font-size: 16px;
    font-weight: 600;
    color: var(--color-primary, #1A2820);
    text-align: left;
    word-break: break-all;
}
.wechat-id-copy {
    background: var(--color-gold, #ED7B22);
    color: #fff;
    border: 0;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.wechat-id-copy:hover { background: var(--color-gold-dark, #B85A1A); }
.wechat-id-copy.copied {
    background: #10b981;
    animation: pulse 0.4s;
}
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}
.wechat-modal-tip {
    font-size: 13px;
    color: var(--color-text-muted, #6B6F66);
    margin: 0;
    line-height: 1.5;
}
.wechat-modal-tip strong {
    color: var(--color-gold-dark, #B85A1A);
}
@media (max-width: 480px) {
    .wechat-modal-inner { padding: 32px 24px 24px; }
    .wechat-modal-title { font-size: 24px; }
    .wechat-modal-qr img { width: 180px; height: 180px; }
}
