/* ============================================
   MXOHO Custom Furniture - Global Stylesheet
   Natural Luxury Color Scheme
   ============================================ */

/* CSS Variables */
:root {
    --color-primary: #1F2937;
    --color-primary-dark: #181715;
    --color-primary-light: #2D5A47;
    --color-secondary: #DAB468;
    --color-secondary-dark: #B8895A;
    --color-secondary-light: #E8C9A8;
    --color-bg: #FAF8F5;
    --color-bg-alt: #F2EDE4;
    --color-white: #FFFFFF;
    --color-text: #2D2D2D;
    --color-text-light: #6B6B6B;
    --color-text-muted: #6B6B6B;
    --color-border: #E8E4DD;
    --color-overlay: rgba(27, 67, 50, 0.85);

    --font-serif: 'Cormorant Garamond', 'Georgia', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.12);

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);

    --container-width: 1280px;
    --section-padding: 100px 0;
    --section-padding-sm: 64px 0;
}

/* Reset */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

ul,
ol {
    list-style: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-primary);
    letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.375rem; }

p {
    color: var(--color-text-light);
    line-height: 1.75;
}

/* Layout */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 32px;
}

.section {
    padding: var(--section-padding);
}

.section-sm {
    padding: var(--section-padding-sm);
}

.section-alt {
    background-color: var(--color-bg-alt);
}

.text-center { text-align: center; }

/* Section Header */
.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 56px;
}

.section-header .eyebrow {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-secondary);
    margin-bottom: 16px;
}

.section-header h2 {
    margin-bottom: 20px;
}

.section-header p {
    font-size: 1.0625rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(27, 67, 50, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-secondary:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn-gold {
    background-color: var(--color-secondary);
    color: var(--color-white);
    border-color: var(--color-secondary);
}

.btn-gold:hover {
    background-color: var(--color-secondary-dark);
    border-color: var(--color-secondary-dark);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 163, 115, 0.4);
}

.btn-outline-light {
    background-color: transparent;
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline-light:hover {
    background-color: var(--color-white);
    color: var(--color-primary);
    border-color: var(--color-white);
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(250, 248, 245, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
    transition: var(--transition);
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-sm);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.nav-logo {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 0.02em;
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
}

.nav-logo span {
    color: var(--color-secondary);
}

.nav-logo-img {
    height: 52px;
    width: auto;
    max-width: 240px;
    object-fit: contain;
    display: block;
}

.footer-brand .nav-logo {
    margin-bottom: 20px;
}

.footer-brand .nav-logo-img {
    height: 60px;
    max-width: 280px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.nav-menu a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text);
    position: relative;
    padding: 4px 0;
    white-space: nowrap;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1.5px;
    background-color: var(--color-secondary);
    transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--color-primary);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

/* Nav More Dropdown */
.nav-more {
    position: relative;
    display: inline-flex;
    align-items: center;
}
.nav-more-toggle {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 0;
    background: none;
    border: none;
    font-family: var(--font-sans);
    transition: var(--transition);
}
.nav-more-toggle:hover { color: var(--color-primary); }
.nav-more-toggle svg { width: 12px; height: 12px; transition: transform 0.3s ease; }
.nav-more:hover .nav-more-toggle svg { transform: rotate(180deg); }
.nav-more-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 180px;
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.25s ease;
    z-index: 100;
    margin-top: 12px;
}
.nav-more:hover .nav-more-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.nav-more-dropdown a {
    display: block;
    padding: 10px 20px;
    font-size: 0.875rem;
    color: var(--color-text);
    transition: var(--transition);
}
.nav-more-dropdown a:hover {
    background-color: var(--color-bg-alt);
    color: var(--color-primary);
}

.nav-cta {
    margin-left: 8px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--color-primary);
    transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(15, 42, 31, 0.85) 0%,
        rgba(15, 42, 31, 0.55) 50%,
        rgba(15, 42, 31, 0.3) 100%
    );
}

.hero-content {
    max-width: 680px;
    color: var(--color-white);
    padding-top: 72px;
}

.hero-content .eyebrow {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-secondary);
    margin-bottom: 24px;
}

.hero-content h1 {
    color: var(--color-white);
    margin-bottom: 24px;
    font-size: clamp(2.75rem, 5.5vw, 4.5rem);
    line-height: 1.1;
}

.hero-content p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.125rem;
    margin-bottom: 40px;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 48px;
    margin-top: 64px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-stat .stat-num {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-secondary);
    line-height: 1;
}

.hero-stat .stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 8px;
    letter-spacing: 0.04em;
}

/* Page Hero (inner pages) */
.page-hero {
    position: relative;
    padding: 160px 0 80px;
    background-color: var(--color-primary);
    color: var(--color-white);
    text-align: center;
    overflow: hidden;
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--color-secondary), transparent);
}

.page-hero .eyebrow {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-secondary);
    margin-bottom: 16px;
}

.page-hero h1 {
    color: var(--color-white);
    margin-bottom: 16px;
}

.page-hero p {
    color: rgba(255, 255, 255, 0.8);
    max-width: 640px;
    margin: 0 auto;
    font-size: 1.0625rem;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

.breadcrumb a:hover {
    color: var(--color-secondary);
}

/* Two Column Layout */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.two-col .eyebrow {
    display: block;
    margin-bottom: 8px;
}

.two-col h2 {
    font-family: var(--font-serif);
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--color-text);
}

.two-col p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-text-muted);
    margin-bottom: 16px;
}

.rounded-img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    object-fit: cover;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.value-card {
    text-align: center;
    padding: 32px 24px;
    background: var(--color-white);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
    border-color: var(--color-primary);
}

.value-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(27, 67, 50, 0.08);
    border-radius: 16px;
    margin: 0 auto 20px;
    color: var(--color-primary);
}

.value-icon svg {
    width: 28px;
    height: 28px;
}

.value-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--color-text);
}

.value-card p {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--color-text-muted);
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.team-card {
    text-align: center;
    background: var(--color-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.team-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.team-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 20px 0 4px;
    color: var(--color-text);
}

.team-card span {
    display: block;
    font-size: 0.8125rem;
    color: var(--color-secondary);
    font-weight: 500;
    letter-spacing: 0.04em;
    margin-bottom: 12px;
}

.team-card p {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--color-text-muted);
    padding: 0 24px 24px;
}

/* Cert Item */
.cert-item {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.cert-item:hover {
    border-color: var(--color-secondary);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.cert-item .cert-badge {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 0.02em;
    text-transform: none;
}

.cert-item span {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
}

/* Responsive for about page */
@media (max-width: 1024px) {
    .two-col {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .two-col {
        gap: 32px;
    }
    .values-grid {
        grid-template-columns: 1fr;
    }
    .team-grid {
        grid-template-columns: 1fr;
    }
    .team-card img {
        height: 240px;
    }
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
}

.feature-card {
    padding: 40px 32px;
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.feature-card:hover {
    border-color: var(--color-secondary);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-bg-alt);
    border-radius: 50%;
    margin-bottom: 24px;
    color: var(--color-primary);
}

.feature-card h3 {
    font-size: 1.375rem;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 0.9375rem;
}

/* Split Section (image + text) */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.split-reverse .split-image {
    order: 2;
}

.split-image {
    position: relative;
}

.split-image img {
    width: 100%;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

.split-image .image-badge {
    position: absolute;
    bottom: -24px;
    right: -24px;
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 24px 32px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.split-image .image-badge .badge-num {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-secondary);
    line-height: 1;
}

.split-image .image-badge .badge-text {
    font-size: 0.8125rem;
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.85);
}

.split-content .eyebrow {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-secondary);
    margin-bottom: 16px;
}

.split-content h2 {
    margin-bottom: 24px;
}

.split-content p {
    margin-bottom: 20px;
}

.split-list {
    margin: 24px 0 32px;
}

.split-list li {
    padding: 10px 0;
    padding-left: 28px;
    position: relative;
    color: var(--color-text);
    font-size: 0.9375rem;
}

.split-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 16px;
    width: 16px;
    height: 1.5px;
    background-color: var(--color-secondary);
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.product-card {
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.product-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
}

.product-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 6px 14px;
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    border-radius: var(--radius-sm);
}

.product-info {
    padding: 28px;
}

.product-info h3 {
    font-size: 1.375rem;
    margin-bottom: 8px;
}

.product-info p {
    font-size: 0.9375rem;
    margin-bottom: 16px;
}

.product-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-primary);
    letter-spacing: 0.04em;
}

.product-link:hover {
    color: var(--color-secondary);
    gap: 12px;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.project-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    aspect-ratio: 16 / 11;
    cursor: pointer;
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.project-card:hover img {
    transform: scale(1.06);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(15, 42, 31, 0.92) 0%,
        rgba(15, 42, 31, 0.5) 40%,
        transparent 65%
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 32px;
    color: var(--color-white);
}

.project-view-detail {
    display: inline-block;
    margin-top: 12px;
    color: var(--color-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.04em;
}

.project-overlay .project-tag {
    position: static;
    background-color: var(--color-secondary);
    display: inline-block;
    padding: 4px 12px;
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    width: fit-content;
}

.project-overlay h3 {
    color: var(--color-white);
    font-size: 1.625rem;
    margin-bottom: 8px;
}

.project-overlay p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9375rem;
}

/* Process Steps */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 32px;
    counter-reset: step;
}

.process-step {
    text-align: center;
    position: relative;
    padding: 24px;
}

.process-step .step-num {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    background-color: var(--color-white);
    border: 2px solid var(--color-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    position: relative;
    z-index: 1;
}

.process-step::before {
    content: '';
    position: absolute;
    top: 56px;
    left: 50%;
    width: 100%;
    height: 2px;
    background-color: var(--color-border);
    z-index: 0;
}

.process-step:last-child::before {
    display: none;
}

.process-step h4 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.process-step p {
    font-size: 0.9375rem;
}

/* Stats Section */
.stats {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 48px;
    text-align: center;
}

.stat-item .stat-num {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-secondary);
    line-height: 1;
}

.stat-item .stat-label {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.75);
    margin-top: 12px;
    letter-spacing: 0.04em;
}

/* CTA Section */
.cta-section {
    background-color: var(--color-primary);
    color: var(--color-white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background-color: rgba(212, 163, 115, 0.1);
    border-radius: 50%;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -100px;
    width: 400px;
    height: 400px;
    background-color: rgba(212, 163, 115, 0.08);
    border-radius: 50%;
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    color: var(--color-white);
    margin-bottom: 20px;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto 40px;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Forms */
.form-group {
    margin-bottom: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}

.form-label .required {
    color: var(--color-secondary);
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--color-text);
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    outline: none;
}

.form-control:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(27, 67, 50, 0.08);
}

.form-control::placeholder {
    color: var(--color-text-muted);
}

textarea.form-control {
    resize: vertical;
    min-height: 140px;
}

select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%231B4332' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-note {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    margin-top: 16px;
}

/* Contact Layout */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 64px;
}

.contact-info h3 {
    margin-bottom: 24px;
}

.contact-detail {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--color-border);
}

.contact-detail:last-child {
    border-bottom: none;
}

.contact-detail .icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-bg-alt);
    border-radius: 50%;
    color: var(--color-primary);
}

.contact-detail .info-label {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 4px;
}

.contact-detail .info-value {
    font-size: 1rem;
    color: var(--color-text);
    font-weight: 500;
}

.contact-form {
    background-color: var(--color-white);
    padding: 40px;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
}

.contact-form h3 {
    margin-bottom: 8px;
}

.contact-form .form-subtitle {
    font-size: 0.9375rem;
    margin-bottom: 32px;
}

/* Footer */
.footer {
    background-color: var(--color-primary-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 64px;
}

.footer-brand .nav-logo {
    color: var(--color-white);
    margin-bottom: 20px;
    display: inline-block;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9375rem;
    max-width: 320px;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.7);
}

.footer-social a:hover {
    background-color: var(--color-secondary);
    border-color: var(--color-secondary);
    color: var(--color-white);
}

.footer-col h4 {
    color: var(--color-white);
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.75);
}

.footer-col ul li a:hover {
    color: var(--color-secondary);
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.75);
}

.footer-bottom a:hover {
    color: var(--color-secondary);
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 56px;
    height: 56px;
    background-color: #25D366;
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.08);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.4);
}

/* Page Content helpers */
.content-block {
    max-width: 760px;
    margin: 0 auto;
}

.content-block h2 {
    margin: 40px 0 16px;
}

.content-block h2:first-child {
    margin-top: 0;
}

.content-block p {
    margin-bottom: 20px;
}

.content-block ul {
    margin: 20px 0;
    padding-left: 0;
}

.content-block ul li {
    padding: 8px 0 8px 28px;
    position: relative;
    color: var(--color-text-light);
}

.content-block ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 16px;
    width: 16px;
    height: 1.5px;
    background-color: var(--color-secondary);
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-up.visible,
.fade-up.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   Language Switcher
   ============================================ */
.lang-switcher {
    position: relative;
    margin-left: 8px;
}

.lang-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text);
    background-color: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
}

.lang-toggle:hover {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
}

.lang-toggle svg {
    width: 14px;
    height: 14px;
}

.lang-current-label {
    font-weight: 500;
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 140px;
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: var(--transition);
    z-index: 1001;
}

.lang-dropdown.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 16px;
    font-size: 0.875rem;
    color: var(--color-text);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: left;
}

.lang-option:hover {
    background-color: var(--color-bg-alt);
    color: var(--color-primary);
}

.lang-option.active {
    color: var(--color-secondary);
    font-weight: 600;
}

.lang-option .lang-code {
    font-size: 0.75rem;
    color: var(--color-text-light);
    margin-left: auto;
}

/* ============================================
   Blog Styles
   ============================================ */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 32px;
}

.blog-card {
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.blog-card-image {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background-color: var(--color-bg-alt);
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.04);
}

.blog-card-body {
    padding: 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-meta {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 12px;
    font-size: 0.8125rem;
    color: var(--color-text-muted);
}

.blog-card-category {
    color: var(--color-secondary);
    font-weight: 500;
    letter-spacing: 0.04em;
}

.blog-card-body h3 {
    font-size: 1.375rem;
    margin-bottom: 12px;
    line-height: 1.3;
}

.blog-card-body p {
    font-size: 0.9375rem;
    margin-bottom: 20px;
    flex: 1;
}

.blog-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-primary);
    letter-spacing: 0.04em;
}

.blog-card-link:hover {
    color: var(--color-secondary);
    gap: 12px;
}

/* Blog Article */
.article-hero {
    padding: 140px 0 64px;
    background-color: var(--color-primary);
    color: var(--color-white);
    text-align: center;
}

.article-hero .article-meta {
    display: flex;
    justify-content: center;
    gap: 16px;
    align-items: center;
    margin-bottom: 20px;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.7);
}

.article-hero .article-meta .category {
    color: var(--color-secondary);
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.article-hero h1 {
    color: var(--color-white);
    max-width: 800px;
    margin: 0 auto 20px;
}

.article-hero .article-excerpt {
    color: rgba(255, 255, 255, 0.8);
    max-width: 640px;
    margin: 0 auto;
    font-size: 1.0625rem;
}

.article-body {
    max-width: 760px;
    margin: 0 auto;
    padding: 56px 0;
}

.article-body h2 {
    margin: 40px 0 16px;
}

.article-body h2:first-child {
    margin-top: 0;
}

.article-body p {
    margin-bottom: 20px;
    font-size: 1.0625rem;
    line-height: 1.8;
}

.article-body ul,
.article-body ol {
    margin: 20px 0 20px 24px;
}

.article-body ul li,
.article-body ol li {
    padding: 6px 0;
    color: var(--color-text-light);
    line-height: 1.7;
}

.article-body ul li { list-style: disc; }
.article-body ol li { list-style: decimal; }

.article-body blockquote {
    margin: 32px 0;
    padding: 24px 32px;
    border-left: 3px solid var(--color-secondary);
    background-color: var(--color-bg-alt);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.article-body blockquote p {
    margin: 0;
    font-size: 1.125rem;
    font-style: italic;
    color: var(--color-primary);
}

.article-body img {
    width: 100%;
    border-radius: var(--radius-md);
    margin: 32px 0;
}

.article-share {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--color-border);
}

.article-share span {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text);
}

.article-share a {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    color: var(--color-text-light);
}

.article-share a:hover {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
}

/* Related Articles */
.related-articles {
    background-color: var(--color-bg-alt);
}

/* ============================================
   Sample Order / Payment
   ============================================ */
.sample-layout {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 48px;
    align-items: start;
}

.sample-products {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.sample-card {
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
}

.sample-card.selected {
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 3px rgba(212, 163, 115, 0.15);
}

.sample-card:hover {
    box-shadow: var(--shadow-md);
}

.sample-card-image {
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.sample-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sample-card-body {
    padding: 20px;
}

.sample-card-body h4 {
    font-size: 1.125rem;
    margin-bottom: 6px;
}

.sample-card-body .sample-price {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 8px;
}

.sample-card-body .sample-desc {
    font-size: 0.875rem;
    color: var(--color-text-light);
}

.order-summary {
    position: sticky;
    top: 96px;
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 32px;
    box-shadow: var(--shadow-sm);
}

.order-summary h3 {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--color-border);
}

.order-line {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 0.9375rem;
}

.order-line .order-label {
    color: var(--color-text-light);
}

.order-line .order-value {
    color: var(--color-text);
    font-weight: 500;
}

.order-total {
    display: flex;
    justify-content: space-between;
    padding: 16px 0;
    margin-top: 12px;
    border-top: 2px solid var(--color-primary);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-primary);
}

.payment-methods {
    margin: 24px 0;
}

.payment-methods-label {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin-bottom: 12px;
    letter-spacing: 0.04em;
}

.payment-btn-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.payment-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    background-color: var(--color-white);
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9375rem;
    font-weight: 500;
}

.payment-btn:hover {
    border-color: var(--color-primary);
}

.payment-btn.paypal {
    background-color: #ffc439;
    color: #003087;
    border-color: #ffc439;
}

.payment-btn.paypal:hover {
    background-color: #f7b820;
}

.payment-btn.stripe {
    background-color: #635bff;
    color: var(--color-white);
    border-color: #635bff;
}

.payment-btn.stripe:hover {
    background-color: #5851ed;
}

.sample-note {
    padding: 16px;
    background-color: var(--color-bg-alt);
    border-radius: var(--radius-sm);
    font-size: 0.8125rem;
    color: var(--color-text-light);
    margin-top: 16px;
    line-height: 1.6;
}

/* ============================================
   RTL Support (Arabic) - Fixed Strategy
   核心原则：布局不镜像（保持LTR视觉），仅文字与表单为RTL阅读习惯
   1. 所有布局容器显式 direction:ltr，防止 html[dir=rtl] 导致flex/grid/inline 自然倒序
   2. 文字/内联/表单显式 direction:rtl + text-align:right
   3. left/right 装饰、列表符号、定位元素逐类交换
   ============================================ */

/* ----------- 1. 全局防止镜像：所有布局级容器保持LTR ----------- */
html[dir="rtl"] body,
html[dir="rtl"] header,
html[dir="rtl"] main,
html[dir="rtl"] section,
html[dir="rtl"] footer,
html[dir="rtl"] .container,
html[dir="rtl"] .container-fluid,
html[dir="rtl"] .row,
html[dir="rtl"] .navbar,
html[dir="rtl"] .navbar .container,
html[dir="rtl"] .nav-menu,
html[dir="rtl"] .nav-actions,
html[dir="rtl"] .lang-dropdown,
html[dir="rtl"] .hero,
html[dir="rtl"] .page-hero,
html[dir="rtl"] .hero-content,
html[dir="rtl"] .hero-actions,
html[dir="rtl"] .hero-stats,
html[dir="rtl"] .section-header,
html[dir="rtl"] .split,
html[dir="rtl"] .split-reverse,
html[dir="rtl"] .split-content,
html[dir="rtl"] .features-grid,
html[dir="rtl"] .stats-grid,
html[dir="rtl"] .cert-grid,
html[dir="rtl"] .product-grid,
html[dir="rtl"] .product-card,
html[dir="rtl"] .product-info,
html[dir="rtl"] .projects-grid,
html[dir="rtl"] .project-card,
html[dir="rtl"] .featured-project,
html[dir="rtl"] .process-grid,
html[dir="rtl"] .process-step,
html[dir="rtl"] .timeline,
html[dir="rtl"] .catalog-grid,
html[dir="rtl"] .resource-card,
html[dir="rtl"] .blog-grid,
html[dir="rtl"] .article-grid,
html[dir="rtl"] .blog-card,
html[dir="rtl"] .reviews-grid,
html[dir="rtl"] .review-card,
html[dir="rtl"] .contact-layout,
html[dir="rtl"] .contact-info,
html[dir="rtl"] .contact-form,
html[dir="rtl"] .faq-layout,
html[dir="rtl"] .faq-list,
html[dir="rtl"] .sample-layout,
html[dir="rtl"] .sample-products,
html[dir="rtl"] .sample-card,
html[dir="rtl"] .form-row,
html[dir="rtl"] .form-group,
html[dir="rtl"] .footer-grid,
html[dir="rtl"] .footer-brand,
html[dir="rtl"] .footer-col,
html[dir="rtl"] .footer-social,
html[dir="rtl"] .breadcrumb,
html[dir="rtl"] .content-block,
html[dir="rtl"] .article-body,
html[dir="rtl"] .article-header,
html[dir="rtl"] .article-share,
html[dir="rtl"] .sustainability-grid,
html[dir="rtl"] .sustain-card,
html[dir="rtl"] .factory-video-wrap,
html[dir="rtl"] .factory-video-caption,
html[dir="rtl"] .warranty-info-box,
html[dir="rtl"] .warranty-grid,
html[dir="rtl"] .warranty-item,
html[dir="rtl"] .quick-quote-bar,
html[dir="rtl"] .quick-quote-form,
html[dir="rtl"] .exit-popup,
html[dir="rtl"] .email-gate-popup,
html[dir="rtl"] .chat-float-btn {
    direction: ltr;
}

/* ----------- 2. 文字 / 内联 / 表单：显式RTL + 右对齐 ----------- */
html[dir="rtl"] body {
    text-align: right;
}

html[dir="rtl"] p,
html[dir="rtl"] li,
html[dir="rtl"] blockquote,
html[dir="rtl"] span,
html[dir="rtl"] label,
html[dir="rtl"] small,
html[dir="rtl"] strong,
html[dir="rtl"] em,
html[dir="rtl"] figcaption,
html[dir="rtl"] td,
html[dir="rtl"] th,
html[dir="rtl"] dd,
html[dir="rtl"] dt,
html[dir="rtl"] input,
html[dir="rtl"] textarea,
html[dir="rtl"] select,
html[dir="rtl"] button,
html[dir="rtl"] .btn,
html[dir="rtl"] .tag,
html[dir="rtl"] .badge,
html[dir="rtl"] .cert-badge,
html[dir="rtl"] .price-range-tag,
html[dir="rtl"] .eyebrow,
html[dir="rtl"] .quote-mark,
html[dir="rtl"] .star-rating,
html[dir="rtl"] .footer-link a,
html[dir="rtl"] .nav-menu a,
html[dir="rtl"] .breadcrumb li,
html[dir="rtl"] .section-header h2,
html[dir="rtl"] .section-header h3,
html[dir="rtl"] .section-header p,
html[dir="rtl"] .split-content h2,
html[dir="rtl"] .split-content h3,
html[dir="rtl"] .split-content p,
html[dir="rtl"] .feature-card h3,
html[dir="rtl"] .feature-card p,
html[dir="rtl"] .stat-card h3,
html[dir="rtl"] .stat-card p,
html[dir="rtl"] .cert-card h4,
html[dir="rtl"] .cert-card p,
html[dir="rtl"] .product-card h3,
html[dir="rtl"] .product-card p,
html[dir="rtl"] .product-tag,
html[dir="rtl"] .project-card h3,
html[dir="rtl"] .project-card p,
html[dir="rtl"] .process-step h3,
html[dir="rtl"] .process-step p,
html[dir="rtl"] .process-duration,
html[dir="rtl"] .process-deliverables,
html[dir="rtl"] .resource-card h3,
html[dir="rtl"] .resource-card p,
html[dir="rtl"] .blog-card h3,
html[dir="rtl"] .blog-card p,
html[dir="rtl"] .blog-category,
html[dir="rtl"] .blog-date,
html[dir="rtl"] .review-card p,
html[dir="rtl"] .reviewer-name,
html[dir="rtl"] .reviewer-role,
html[dir="rtl"] .contact-info h3,
html[dir="rtl"] .contact-info p,
html[dir="rtl"] .contact-meta-label,
html[dir="rtl"] .contact-meta-value,
html[dir="rtl"] .faq-q,
html[dir="rtl"] .faq-a,
html[dir="rtl"] .sample-card h3,
html[dir="rtl"] .sample-card p,
html[dir="rtl"] .sample-price,
html[dir="rtl"] .summary-item,
html[dir="rtl"] .payment-method h4,
html[dir="rtl"] .payment-method p,
html[dir="rtl"] .footer-brand p,
html[dir="rtl"] .footer-col h4,
html[dir="rtl"] .footer-contact li,
html[dir="rtl"] .footer-bottom,
html[dir="rtl"] .article-body h1,
html[dir="rtl"] .article-body h2,
html[dir="rtl"] .article-body h3,
html[dir="rtl"] .article-body h4,
html[dir="rtl"] .article-body p,
html[dir="rtl"] .article-meta li,
html[dir="rtl"] .article-tag,
html[dir="rtl"] .sustain-card h3,
html[dir="rtl"] .sustain-card p,
html[dir="rtl"] .factory-video-caption h3,
html[dir="rtl"] .factory-video-caption p,
html[dir="rtl"] .warranty-item h4,
html[dir="rtl"] .warranty-item p,
html[dir="rtl"] .quick-quote-bar h3,
html[dir="rtl"] .quick-quote-bar p,
html[dir="rtl"] .exit-popup h3,
html[dir="rtl"] .exit-popup p,
html[dir="rtl"] .email-gate-popup h3,
html[dir="rtl"] .email-gate-popup p,
html[dir="rtl"] .product-detail-title,
html[dir="rtl"] .product-detail-short,
html[dir="rtl"] .product-features li,
html[dir="rtl"] .process-timeline-item h4,
html[dir="rtl"] .process-timeline-item p,
html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h4,
html[dir="rtl"] h5,
html[dir="rtl"] h6,
html[dir="rtl"] a:not([class*="btn"]):not([class*="float"]):not([class*="whatsapp"]),
html[dir="rtl"] .pd-breadcrumb {
    direction: rtl;
    text-align: right;
}

/* 表单控件：右对齐输入 + 箭头交换 */
html[dir="rtl"] select.form-control {
    background-position: left 16px center;
    padding-right: 16px;
    padding-left: 40px;
    text-align: right;
    direction: rtl;
}

html[dir="rtl"] .form-control,
html[dir="rtl"] input[type="text"],
html[dir="rtl"] input[type="email"],
html[dir="rtl"] input[type="tel"],
html[dir="rtl"] input[type="number"],
html[dir="rtl"] textarea {
    text-align: right;
    direction: rtl;
}

/* ----------- 3. 列表 / 符号 / 伪元素 交换左右 ----------- */
html[dir="rtl"] .split-list li,
html[dir="rtl"] .content-block ul li,
html[dir="rtl"] .article-body ul li,
html[dir="rtl"] .product-features li,
html[dir="rtl"] .footer-contact li,
html[dir="rtl"] .split-checklist li,
html[dir="rtl"] .process-checklist li {
    padding-left: 0;
    padding-right: 28px;
}

html[dir="rtl"] .split-list li::before,
html[dir="rtl"] .content-block ul li::before,
html[dir="rtl"] .article-body ul li::before,
html[dir="rtl"] .product-features li::before,
html[dir="rtl"] .footer-contact li::before,
html[dir="rtl"] .split-checklist li::before,
html[dir="rtl"] .process-checklist li::before {
    left: auto;
    right: 0;
}

html[dir="rtl"] ol {
    padding-left: 0;
    padding-right: 24px;
}

html[dir="rtl"] .article-body ul,
html[dir="rtl"] .article-body ol {
    margin: 20px 0 20px 24px;
}

html[dir="rtl"] .article-body blockquote {
    border-left: none;
    border-right: 3px solid var(--color-secondary);
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
    margin: 24px 0 24px 0;
    padding: 12px 20px 12px 16px;
}

/* ----------- 4. 绝对/相对定位：左右互换 ----------- */
html[dir="rtl"] .product-tag {
    left: auto;
    right: 16px;
}
html[dir="rtl"] .fav-btn {
    right: auto;
    left: 12px;
}
html[dir="rtl"] .whatsapp-float {
    right: auto;
    left: 32px;
}
@media (max-width: 768px) {
    html[dir="rtl"] .whatsapp-float { left: 20px; }
}
html[dir="rtl"] .chat-float-btn {
    right: auto;
    left: 32px;
}
html[dir="rtl"] .exit-popup-close,
html[dir="rtl"] .email-gate-close {
    right: auto;
    left: 12px;
}
html[dir="rtl"] .cookie-banner {
    text-align: right;
}
html[dir="rtl"] .cookie-banner-close {
    right: auto;
    left: 16px;
}

/* ----------- 5. 边距 / 边框 / 圆角 左右交换 ----------- */
html[dir="rtl"] [data-pd-specs-table] td:first-child {
    text-align: right;
    padding-right: 0;
    padding-left: 16px;
}
html[dir="rtl"] [data-pd-specs-table] td:last-child {
    text-align: right;
}

html[dir="rtl"] .warranty-info-box {
    border-left: 1px solid var(--color-border);
    border-right: 4px solid var(--color-secondary);
}
html[dir="rtl"] .warranty-item + .warranty-item {
    border-left: none;
    border-right: 1px solid var(--color-border);
}
@media (max-width: 768px) {
    html[dir="rtl"] .warranty-item + .warranty-item {
        border-right: none;
        border-top: 1px solid var(--color-border);
    }
}

html[dir="rtl"] .quick-quote-bar .container {
    /* 表单内部元素RTL */
}
html[dir="rtl"] .quick-quote-form input,
html[dir="rtl"] .quick-quote-form textarea,
html[dir="rtl"] .quick-quote-form button {
    direction: rtl;
    text-align: right;
}

/* ----------- 6. 特殊：面包屑 分隔符 方向修正 ----------- */
html[dir="rtl"] .breadcrumb li + li::before {
    content: "\2039"; /* ‹ 代替 › ，符合RTL阅读顺序 */
    margin: 0 10px;
    color: var(--color-text-muted);
}

/* ----------- 7. 移动端菜单：防止镜像导致菜单反序 ----------- */
@media (max-width: 1024px) {
    html[dir="rtl"] .nav-menu {
        flex-direction: column !important;
        direction: ltr; /* 菜单容器本身不镜像 */
    }
    html[dir="rtl"] .nav-menu a {
        direction: rtl; /* 文字RTL */
    }
}

/* Language switcher on mobile */
@media (max-width: 768px) {
    .sample-layout {
        grid-template-columns: 1fr;
    }

    .sample-products {
        grid-template-columns: 1fr;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .split {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .split-reverse .split-image {
        order: 0;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    /* Collapse nav menu to hamburger on tablets */
    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background-color: var(--color-white);
        flex-direction: column !important;
        align-items: flex-start;
        padding: 24px 20px;
        gap: 16px;
        border-bottom: 1px solid var(--color-border);
        box-shadow: var(--shadow-md);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        white-space: normal;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-menu a {
        width: 100%;
        padding: 8px 0;
    }

    .nav-cta {
        margin-left: 0;
        margin-top: 8px;
        width: 100%;
    }

    .nav-toggle {
        display: flex;
    }

    .lang-switcher {
        margin-left: 0;
        margin-top: 8px;
        width: 100%;
    }

    .lang-toggle {
        width: 100%;
        justify-content: center;
    }

    .lang-dropdown {
        right: auto;
        left: 0;
        width: 100%;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 64px 0;
        --section-padding-sm: 48px 0;
    }

    .container {
        padding: 0 20px;
    }

    .hero {
        min-height: 90vh;
    }

    .hero-stats {
        gap: 32px;
        flex-wrap: wrap;
    }

    .hero-stat .stat-num {
        font-size: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .split-image .image-badge {
        right: 16px;
        bottom: -16px;
        padding: 16px 24px;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 48px;
        height: 48px;
    }

    .cta-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .contact-form {
        padding: 28px 20px;
    }
}

/* ============================================
   Process Timeline (New Design)
   ============================================ */

.process-timeline-section {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--color-bg) 0%, #f8f9fa 100%);
}

.process-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    gap: 40px;
    margin-bottom: 50px;
    position: relative;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    flex-shrink: 0;
    width: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: 50%;
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    box-shadow: 0 8px 24px rgba(27, 67, 50, 0.2);
    z-index: 2;
}

.timeline-line {
    width: 2px;
    flex: 1;
    min-height: 40px;
    background: linear-gradient(to bottom, var(--color-primary), transparent);
    margin-top: 8px;
}

.timeline-content {
    flex: 1;
    display: flex;
    gap: 24px;
    padding-bottom: 20px;
}

.timeline-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(27, 67, 50, 0.08);
    border-radius: 12px;
    color: var(--color-primary);
}

.timeline-icon svg {
    width: 24px;
    height: 24px;
}

.timeline-body {
    flex: 1;
}

.step-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-secondary);
    margin-bottom: 6px;
}

.timeline-body h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--color-text);
}

.timeline-body p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--color-text-muted);
    margin-bottom: 16px;
}

.step-meta {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    color: var(--color-text-light);
}

.meta-item svg {
    width: 16px;
    height: 16px;
    color: var(--color-primary);
}

.step-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.step-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(27, 67, 50, 0.08);
    border-radius: 20px;
    font-size: 0.75rem;
    color: var(--color-primary);
    font-weight: 500;
}

/* Timeline Summary Flow */
.timeline-summary {
    background: linear-gradient(135deg, var(--color-primary) 0%, #2d5f4a 100%);
    color: var(--color-white);
    padding: 80px 0;
}

.timeline-header {
    text-align: center;
    margin-bottom: 50px;
}

.timeline-header h2 {
    color: var(--color-white);
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.timeline-header .eyebrow {
    color: rgba(255, 255, 255, 0.7);
}

.timeline-header p {
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
}

.timeline-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 140px;
}

.flow-circle {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    margin-bottom: 12px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.flow-circle:hover {
    transform: scale(1.05);
}

.flow-circle svg {
    width: 28px;
    height: 28px;
    color: var(--color-white);
}

.flow-circle-final {
    background: var(--color-secondary);
}

.flow-info h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.flow-info p {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.75);
}

.flow-arrow {
    width: 40px;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
    position: relative;
    margin: 0 8px;
}

.flow-arrow::after {
    content: '';
    position: absolute;
    right: -2px;
    top: 50%;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-left-color: rgba(255, 255, 255, 0.3);
}

/* Features Grid (Why MXOHO) */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.feature-card {
    text-align: center;
    padding: 32px 24px;
    background: var(--color-white);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
    border-color: var(--color-primary);
}

.feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(27, 67, 50, 0.08);
    border-radius: 16px;
    margin: 0 auto 20px;
    color: var(--color-primary);
}

.feature-icon svg {
    width: 28px;
    height: 28px;
}

.feature-card h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--color-text);
}

.feature-card p {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--color-text-muted);
}

/* Responsive */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .timeline-flow {
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .process-timeline-section {
        padding: 48px 0;
    }
    
    .timeline-item {
        gap: 20px;
    }
    
    .timeline-dot {
        width: 50px;
    }
    
    .step-number {
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }
    
    .timeline-content {
        flex-direction: column;
        gap: 16px;
    }
    
    .timeline-icon {
        width: 40px;
        height: 40px;
    }
    
    .timeline-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .timeline-body h3 {
        font-size: 1.25rem;
    }
    
    .step-meta {
        gap: 12px;
    }
    
    .timeline-summary {
        padding: 48px 0;
    }
    
    .timeline-header h2 {
        font-size: 1.75rem;
    }
    
    .timeline-flow {
        flex-direction: column;
        gap: 24px;
    }
    
    .flow-arrow {
        width: 2px;
        height: 32px;
    }
    
    .flow-arrow::after {
        top: auto;
        bottom: -2px;
        left: 50%;
        transform: translateX(-50%);
        border: 5px solid transparent;
        border-top-color: rgba(255, 255, 255, 0.3);
        border-left-color: transparent;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* ---------- 扩展：完善的响应式断点体系 ---------- */

/* 桌面大屏：1441px+  —  保证4列Features / 3列Products / 充足间距 */
@media (min-width: 1441px) {
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* 桌面：1025px ~ 1440px —  4列Features / 3列Products  */
@media (min-width: 1025px) and (max-width: 1440px) {
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .hero h1 {
        font-size: clamp(2.5rem, 4vw, 3.5rem);
    }
}

/* 平板：769px ~ 1024px  —  2列Features / 2列Products / Split改单列已在原1024断点 */
@media (min-width: 769px) and (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero h1 {
        font-size: clamp(2rem, 3.6vw, 2.8rem);
    }

    .section-header h2 {
        font-size: clamp(1.6rem, 3vw, 2.2rem);
    }
}

/* 手机小平板：481px ~ 768px  —  1列Features / 2列Products  */
@media (min-width: 481px) and (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .hero h1 {
        font-size: 2rem;
        line-height: 1.25;
    }

    .hero p {
        font-size: 1rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .eyebrow {
        font-size: 0.75rem;
        letter-spacing: 0.1em;
    }

    .nav-logo {
        font-size: 1.25rem;
    }

    .nav-logo-img {
        height: 44px;
        max-width: 200px;
    }

    .footer-brand .nav-logo-img {
        height: 52px;
    }
}

/* 小屏手机：≤480px  —  1列所有网格  */
@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .product-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .hero h1 {
        font-size: 1.625rem;
        line-height: 1.25;
    }

    .hero p {
        font-size: 0.9375rem;
        line-height: 1.6;
    }

    .hero-stat .stat-num {
        font-size: 1.75rem;
    }

    .section-header h2 {
        font-size: 1.375rem;
    }

    .section-header p {
        font-size: 0.9375rem;
    }

    .nav-logo-img {
        height: 40px;
        max-width: 180px;
    }

    .footer-brand .nav-logo-img {
        height: 46px;
    }

    .feature-card h3,
    .product-info h3 {
        font-size: 1.125rem;
    }

    .feature-card p,
    .product-info p,
    .split-content p,
    .split-list li {
        font-size: 0.9375rem;
        line-height: 1.6;
    }

    .btn-lg {
        padding: 14px 24px;
        font-size: 0.9375rem;
    }

    .cta-actions {
        flex-direction: column;
        align-items: stretch;
    }
}

/* 卡片文字防溢出（所有尺寸都生效） */
.product-card,
.feature-card,
.split-content p,
.section-header p,
.hero p,
.footer p {
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
    -webkit-hyphens: auto;
    hyphens: auto;
}

.product-info h3,
.feature-card h3,
.footer h4 {
    overflow-wrap: break-word;
    word-wrap: break-word;
}

/* ============================================
   FAQ 页面样式
   ============================================ */
.faq-list {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(27, 67, 50, 0.3);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.faq-item.active {
    border-color: var(--color-primary);
    box-shadow: 0 8px 28px rgba(27, 67, 50, 0.1);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 28px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-body);
    font-size: 1.0625rem;
    font-weight: 500;
    color: var(--color-text);
    transition: color 0.2s ease;
    line-height: 1.5;
}

.faq-question:hover {
    color: var(--color-primary);
}

.faq-item.active .faq-question {
    color: var(--color-primary);
    font-weight: 600;
}

.faq-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(27, 67, 50, 0.06);
    color: var(--color-primary);
    transition: all 0.3s ease;
    position: relative;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background: currentColor;
    border-radius: 2px;
    transition: transform 0.3s ease;
}

.faq-icon::before {
    width: 12px;
    height: 2px;
}

.faq-icon::after {
    width: 2px;
    height: 12px;
}

.faq-item.active .faq-icon {
    background: var(--color-primary);
    color: var(--color-white);
    transform: rotate(180deg);
}

.faq-item.active .faq-icon::after {
    transform: scaleY(0);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-content {
    padding: 0 28px 24px;
}

.faq-answer-text {
    font-size: 0.9375rem;
    line-height: 1.75;
    color: var(--color-text-muted);
    margin: 0;
}

#ordering,
#pricing,
#production,
#materials,
#customization,
#customs {
    scroll-margin-top: 80px;
}

@media (max-width: 768px) {
    .faq-list {
        gap: 12px;
    }

    .faq-question {
        padding: 18px 20px;
        font-size: 0.9375rem;
    }

    .faq-icon {
        width: 28px;
        height: 28px;
    }

    .faq-icon::before {
        width: 10px;
    }

    .faq-icon::after {
        height: 10px;
    }

    .faq-answer-content {
        padding: 0 20px 20px;
    }

    .faq-answer-text {
        font-size: 0.875rem;
    }
}

/* ============================================
   Cookie 同意横幅样式
   ============================================ */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background-color: #1F2937;
    color: #ffffff;
    padding: 20px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    animation: cookie-slide-up 0.4s ease-out;
}

@keyframes cookie-slide-up {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.cookie-content {
    max-width: var(--container-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: center;
}

.cookie-text p {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.cookie-link {
    color: #DAB468;
    text-decoration: underline;
}

.cookie-link:hover {
    color: #ffffff;
}

.cookie-options {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 4px;
}

.cookie-option {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.8125rem;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.85);
}

.cookie-option input[type="checkbox"] {
    margin-top: 3px;
    cursor: pointer;
    accent-color: #DAB468;
}

.cookie-option input:disabled {
    cursor: not-allowed;
}

.cookie-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.cookie-btn {
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
    font-family: inherit;
}

.cookie-btn-primary {
    background-color: #DAB468;
    color: #1F2937;
    border-color: #DAB468;
}

.cookie-btn-primary:hover {
    background-color: #C2935F;
    border-color: #C2935F;
}

.cookie-btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.4);
}

.cookie-btn-secondary:hover {
    border-color: #ffffff;
}

.cookie-btn-text {
    background-color: transparent;
    color: rgba(255, 255, 255, 0.7);
    border: none;
    padding: 10px 12px;
}

.cookie-btn-text:hover {
    color: #ffffff;
}

@media (max-width: 768px) {
    .cookie-content {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .cookie-actions {
        width: 100%;
    }

    .cookie-btn {
        flex: 1;
        min-width: 100px;
    }
}

@media (max-width: 480px) {
    .cookie-banner {
        padding: 16px;
    }

    .cookie-options {
        flex-direction: column;
        gap: 12px;
    }
}

/* ============================================
   资质证书板块样式
   ============================================ */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.cert-card {
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.cert-card:hover {
    border-color: var(--color-secondary);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.cert-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(27, 67, 50, 0.06);
    color: var(--color-primary);
    flex-shrink: 0;
}

.cert-icon svg {
    width: 32px;
    height: 32px;
}

.cert-card h3 {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-primary);
    margin: 0;
}

.cert-card p {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    line-height: 1.5;
    margin: 0;
}

.cert-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-secondary);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* 资质证书板块响应式 */
@media (max-width: 1024px) {
    .cert-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .cert-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* ============================================
   产品收藏按钮样式
   ============================================ */
.fav-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--color-border);
    color: var(--color-text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 5;
    padding: 0;
    backdrop-filter: blur(4px);
}

.fav-btn:hover {
    background-color: #ffffff;
    color: var(--color-secondary);
    border-color: var(--color-secondary);
    transform: scale(1.1);
}

.fav-btn.active {
    color: var(--color-secondary);
    background-color: rgba(212, 163, 115, 0.1);
    border-color: var(--color-secondary);
}

/* 收藏计数徽章（如放在导航栏） */
.fav-count {
    display: none;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 9px;
    background-color: var(--color-secondary);
    color: #ffffff;
    font-size: 0.6875rem;
    font-weight: 600;
    margin-left: 4px;
}

/* 收藏页面空状态 */
.empty-state {
    text-align: center;
    padding: 80px 20px;
}

.empty-state h3 {
    color: var(--color-primary);
    margin-bottom: 12px;
}

.empty-state p {
    color: var(--color-text-muted);
    margin-bottom: 24px;
}

.fav-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
}

.btn-text {
    background: none;
    border: none;
    color: var(--color-text-muted);
    cursor: pointer;
    font-size: 0.875rem;
    padding: 4px 8px;
    text-decoration: underline;
}

.btn-text:hover {
    color: var(--color-primary);
}

/* ============================================
   Image Lightbox 样式
   配合 js/lightbox.js 使用
   ============================================ */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.lightbox-overlay.active {
    display: flex;
    opacity: 1;
}

.lightbox-image {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: var(--radius-sm);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    transition: opacity 0.2s ease;
}

.lightbox-image.loading {
    opacity: 0;
}

.lightbox-close {
    position: fixed;
    top: 24px;
    right: 32px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 48px;
    line-height: 1;
    cursor: pointer;
    transition: color 0.2s ease;
    font-family: Arial, sans-serif;
}

.lightbox-close:hover {
    color: #DAB468;
}

.lightbox-prev,
.lightbox-next {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 40px;
    line-height: 1;
    cursor: pointer;
    transition: color 0.2s ease;
    font-family: Arial, sans-serif;
}

.lightbox-prev {
    left: 24px;
}

.lightbox-next {
    right: 24px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    color: #DAB468;
}

.lightbox-counter {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    font-family: var(--font-sans);
}

@media (max-width: 768px) {
    .lightbox-close {
        top: 12px;
        right: 12px;
        font-size: 36px;
        width: 40px;
        height: 40px;
    }

    .lightbox-prev,
    .lightbox-next {
        font-size: 32px;
        width: 44px;
        height: 44px;
    }

    .lightbox-prev {
        left: 8px;
    }

    .lightbox-next {
        right: 8px;
    }
}

/* ============================================
   移动端响应式修复（v11）
   解决手机版自适应屏幕问题
   ============================================ */

/* 通用：防止任何元素溢出导致横向滚动 */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

/* 防止内联样式的固定宽度破坏移动布局 */
img, video, iframe {
    max-width: 100% !important;
    height: auto;
}

/* 平板及以下：调整 page-hero 内边距 */
@media (max-width: 768px) {
    .page-hero {
        padding: 120px 0 56px;
    }

    .article-hero {
        padding: 120px 0 48px;
    }

    .article-hero h1,
    .page-hero h1 {
        font-size: clamp(1.75rem, 5vw, 2.25rem);
        line-height: 1.25;
    }

    .article-hero .article-excerpt,
    .page-hero p {
        font-size: 0.9375rem;
        padding: 0 8px;
    }

    /* 文章元信息在移动端垂直排列 */
    .article-hero .article-meta {
        flex-wrap: wrap;
        gap: 8px;
        padding: 0 16px;
    }

    /* 文章内容内边距 */
    .article-body {
        padding: 40px 0;
    }

    .article-body p {
        font-size: 1rem;
        line-height: 1.7;
    }

    .article-body blockquote {
        padding: 16px 20px;
        margin: 24px 0;
    }

    .article-body blockquote p {
        font-size: 1rem;
    }

    /* 防止文章图片溢出 */
    .article-body img {
        width: 100%;
        height: auto;
    }
}

/* 手机端：375px 及以下 */
@media (max-width: 480px) {
    :root {
        --section-padding: 48px 0;
        --section-padding-sm: 32px 0;
    }

    .container {
        padding: 0 16px;
    }

    /* 导航栏紧凑化 */
    .navbar .container {
        height: 60px;
        padding: 0 16px;
    }

    .nav-menu {
        top: 60px;
        padding: 20px 16px;
        gap: 12px;
    }

    .nav-menu a {
        font-size: 0.9375rem;
        padding: 10px 0;
    }

    .nav-cta {
        padding: 12px 20px;
        font-size: 0.9375rem;
    }

    .nav-logo-img {
        height: 38px;
        max-width: 170px;
    }

    /* Hero 区域优化 */
    .hero {
        min-height: 100vh;
        padding-top: 60px;
    }

    .hero-content {
        padding-top: 40px;
    }

    .hero-content h1 {
        font-size: 1.75rem;
        line-height: 1.2;
        margin-bottom: 16px;
    }

    .hero-content p {
        font-size: 0.9375rem;
        line-height: 1.6;
        margin-bottom: 28px;
    }

    .hero-content .eyebrow {
        font-size: 0.6875rem;
        margin-bottom: 16px;
    }

    /* Hero 统计数据优化 */
    .hero-stats {
        gap: 20px;
        margin-top: 40px;
        padding-top: 28px;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .hero-stat {
        flex: 1 1 40%;
        min-width: 0;
    }

    .hero-stat .stat-num {
        font-size: 1.5rem;
    }

    .hero-stat .stat-label {
        font-size: 0.75rem;
        margin-top: 4px;
    }

    /* page-hero 紧凑化 */
    .page-hero {
        padding: 100px 0 40px;
    }

    .article-hero {
        padding: 100px 0 40px;
    }

    /* 按钮全宽 */
    .hero-actions {
        flex-direction: column;
        gap: 12px;
    }

    .hero-actions .btn,
    .cta-actions .btn {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
        font-size: 0.9375rem;
    }

    /* 网格单列显示 */
    .features-grid,
    .product-grid,
    .projects-grid,
    .blog-grid,
    .process-grid,
    .stats-grid,
    .cert-grid,
    .reviews-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    /* 产品/特征卡片内边距 */
    .product-info,
    .feature-card,
    .blog-card-body {
        padding: 20px 16px;
    }

    .product-info h3,
    .feature-card h3,
    .blog-card-body h3 {
        font-size: 1.125rem;
    }

    .product-info p,
    .feature-card p,
    .blog-card-body p {
        font-size: 0.875rem;
        line-height: 1.55;
    }

    /* Split 布局优化 */
    .split,
    .split-reverse {
        gap: 32px;
    }

    .split-content h2,
    .section-header h2 {
        font-size: 1.375rem;
        line-height: 1.3;
    }

    .split-content p,
    .section-header p {
        font-size: 0.9375rem;
        line-height: 1.6;
    }

    .split-list li {
        font-size: 0.875rem;
        line-height: 1.5;
        padding-right: 22px;
    }

    /* 统计项 */
    .stat-item .stat-num {
        font-size: 2rem;
    }

    .stat-item .stat-label {
        font-size: 0.8125rem;
    }

    /* 图片角标优化 */
    .split-image .image-badge {
        right: 12px;
        bottom: -12px;
        padding: 12px 18px;
    }

    .badge-num {
        font-size: 1.5rem;
    }

    .badge-text {
        font-size: 0.6875rem;
    }

    /* 页脚优化 */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
        font-size: 0.8125rem;
    }

    .footer-brand .nav-logo-img {
        height: 32px;
        max-width: 140px;
    }

    .footer-col h4 {
        font-size: 1rem;
        margin-bottom: 12px;
    }

    .footer-col li {
        font-size: 0.875rem;
        padding: 4px 0;
    }

    /* Sample Order 布局 */
    .sample-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .sample-products {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .sample-card-body {
        padding: 16px;
    }

    .sample-card-body h4 {
        font-size: 1rem;
    }

    .sample-card-body .sample-price {
        font-size: 1.125rem;
    }

    .order-summary {
        position: static;
        padding: 20px 16px;
    }

    /* 产品详情规格表 */
    .split-content table {
        font-size: 0.875rem;
    }

    .split-content table td {
        padding: 10px 0;
    }

    /* Process 步骤 */
    .process-step {
        padding: 16px;
    }

    .process-step .step-num {
        width: 48px;
        height: 48px;
        font-size: 1.125rem;
        margin-bottom: 16px;
    }

    .process-step::before {
        top: 40px;
    }

    .process-step h4 {
        font-size: 1.0625rem;
    }

    .process-step p {
        font-size: 0.875rem;
    }

    /* 资源卡片（catalog） */
    .resource-card,
    .resource-meta {
        padding: 20px 16px !important;
    }

    .resource-meta {
        flex-wrap: wrap;
        gap: 8px !important;
    }

    /* WhatsApp 浮动按钮 */
    .whatsapp-float {
        bottom: 16px;
        right: 16px;
        width: 44px;
        height: 44px;
    }

    .whatsapp-float svg {
        width: 24px;
        height: 24px;
    }

    /* CTA 区域 */
    .cta-section {
        padding: 48px 0;
    }

    .cta-section h2 {
        font-size: 1.5rem;
        line-height: 1.3;
    }

    .cta-section p {
        font-size: 0.9375rem;
    }

    /* 表单优化 */
    .contact-form {
        padding: 20px 16px;
    }

    .contact-form input,
    .contact-form textarea,
    .contact-form select {
        font-size: 16px; /* 防止 iOS 自动缩放 */
        padding: 12px 14px;
    }

    .form-row {
        gap: 16px;
    }

    /* Cookie 横幅 */
    .cookie-banner {
        padding: 12px 16px;
    }

    .cookie-content {
        gap: 12px;
    }

    .cookie-text p {
        font-size: 0.8125rem;
    }

    .cookie-actions {
        width: 100%;
        gap: 8px;
    }

    .cookie-btn {
        flex: 1;
        min-width: 80px;
        padding: 8px 12px;
        font-size: 0.8125rem;
    }
}

/* 超小屏幕：320px 及以下 */
@media (max-width: 360px) {
    .container {
        padding: 0 12px;
    }

    .nav-logo-img {
        height: 36px;
        max-width: 160px;
    }

    .hero-content h1 {
        font-size: 1.5rem;
    }

    .hero-stat .stat-num {
        font-size: 1.375rem;
    }

    .hero-stats {
        gap: 12px;
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-stat {
        flex: 1 1 100%;
    }

    .product-info h3,
    .feature-card h3,
    .blog-card-body h3,
    .split-content h2 {
        font-size: 1rem;
    }

    .btn {
        padding: 12px 16px;
        font-size: 0.875rem;
    }
}

/* 防止内联样式表格溢出 */
@media (max-width: 768px) {
    table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        max-width: 100%;
    }
}

/* 防止 pre/code 溢出 */
pre, code {
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* 确保所有 flex 容器在移动端可以换行 */
@media (max-width: 768px) {
    .resource-meta,
    .article-meta,
    .blog-card-meta,
    .footer-social,
    .hero-actions,
    .cta-actions,
    .cookie-actions,
    .nav-actions {
        flex-wrap: wrap;
    }

    /* 防止长单词/URL 溢出 */
    p, li, h1, h2, h3, h4, h5, h6, a, span {
        overflow-wrap: break-word;
        word-wrap: break-word;
        word-break: break-word;
    }
}

/* ============================================
   Products 页面 - 从内联样式抽离的 class
   ============================================ */
.product-card {
    position: relative;
}

.product-feature-list {
    margin: 16px 0;
    padding-left: 0;
}

.product-feature-item {
    padding: 6px 0 6px 20px;
    position: relative;
    font-size: 0.875rem;
    color: var(--color-text-light);
}

.product-feature-dash {
    position: absolute;
    left: 0;
    color: var(--color-secondary);
}

/* ============================================
   M1: Mobile Nav Menu — Full-Screen Overlay Drawer
   Fix: 菜单浮到页面之上、可滚动、带半透明遮罩、不被Banner盖住
   ============================================ */

/* 打开菜单时 body 禁止滚动 + 半透明遮罩 backdrop */
body.mobile-menu-open {
    overflow: hidden !important;
    position: relative;
}
body.mobile-menu-open::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(2px);
    z-index: 9990; /* 仅在菜单下方,仅在页面之上 */
    pointer-events: auto;
    opacity: 0;
    transition: opacity 0.3s ease;
}
body.mobile-menu-open.is-drawn::before {
    opacity: 1;
}
/* 移动端 nav-toggle(汉堡按钮) 浮在遮罩之上,可点击 */
@media (max-width: 1024px) {
    .nav-toggle {
        z-index: 10001 !important;
        position: relative;
    }
    .navbar.menu-open .nav-logo {
        /* 菜单打开时 logo 也保持可见 */
        position: relative;
        z-index: 10001 !important;
    }
}

/* 移动菜单:浮到最上层(仅低于exit-popup 10001),填满剩余视口高度并可滚动 */
@media (max-width: 1024px) {
    .nav-menu {
        z-index: 10000 !important;
        max-height: calc(100dvh - 72px);
        overflow-y: auto !important;
        overflow-x: hidden !important;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
        padding-bottom: 32px;
    }
    .nav-menu.active {
        /* 遮罩层 active 同步:由 JS 给 body.mobile-menu-open 再加 active 类 */
    }
}
@media (max-width: 480px) {
    .nav-menu {
        max-height: calc(100dvh - 60px);
        padding: 20px 16px 32px;
    }
}

