/* ==========================================================================
   东阳茂盛塑胶有限公司 - 企业官方网站主样式表
   配色方案：深石板蓝（稳重专业） + 暖铜金（高端质感）
   布局：div + flexbox/grid，全响应式
   ========================================================================== */

/* ---------- 设计变量 ---------- */
:root {
    --color-primary: #1c2b33;          /* 深石板蓝 - 主色 */
    --color-primary-dark: #131f25;     /* 更深主色 */
    --color-primary-light: #2a3f4a;    /* 主色亮调 */
    --color-accent: #b8895a;           /* 暖铜金 - 强调色 */
    --color-accent-light: #c9a961;     /* 铜金亮调 */
    --color-accent-dark: #9c7042;      /* 铜金深调 */
    --color-bg: #f7f5f2;               /* 暖米白 - 页面背景 */
    --color-bg-alt: #ffffff;           /* 纯白 - 卡片背景 */
    --color-bg-dark: #131f25;          /* 深色区块背景 */
    --color-text: #2c2c2c;             /* 正文文字 */
    --color-text-light: #5a6166;       /* 次要文字 */
    --color-text-muted: #8a9298;       /* 弱化文字 */
    --color-border: #e3ddd4;           /* 边框色 */
    --color-success: #4a7c59;          /* 成功/环保绿 */
    --shadow-sm: 0 2px 8px rgba(28, 43, 51, 0.06);
    --shadow-md: 0 6px 24px rgba(28, 43, 51, 0.10);
    --shadow-lg: 0 14px 40px rgba(28, 43, 51, 0.14);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 14px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --max-width: 1200px;
    --header-h: 76px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;     /* fallback：旧浏览器阻止水平滚动 */
    overflow-x: clip;       /* 现代：阻止水平滚动且不破坏 position: sticky */
}

body {
    font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB",
                 "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-bg);
    overflow-x: hidden;     /* fallback：旧浏览器阻止水平滚动 */
    overflow-x: clip;       /* 现代：阻止水平滚动且不破坏 position: sticky（hidden 会使 body 成为滚动容器，导致 sticky 失效） */
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

ul, ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    color: var(--color-primary);
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p { margin-bottom: 0.8em; }

/* ---------- 通用容器 ---------- */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- 通用区块 ---------- */
.section {
    padding: 80px 0;
}

.section--tight { padding: 56px 0; }
.section--dark {
    background-color: var(--color-bg-dark);
    color: #d8dde0;
}
.section--dark h2,
.section--dark h3 { color: #fff; }

/* ---------- 区块标题 ---------- */
.section-head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 56px;
}

.section-head .eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-accent);
    font-weight: 600;
    margin-bottom: 14px;
    position: relative;
    padding: 0 30px;
}

.section-head .eyebrow::before,
.section-head .eyebrow::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 20px;
    height: 1px;
    background: var(--color-accent);
}
.section-head .eyebrow::before { left: 0; }
.section-head .eyebrow::after { right: 0; }

.section-head h2 {
    margin-bottom: 16px;
}

.section-head .lead {
    color: var(--color-text-light);
    font-size: 1.05rem;
}

.section--dark .section-head .lead { color: #a8b0b5; }

/* ---------- 按钮 ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 30px;
    font-size: 0.95rem;
    font-weight: 600;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.btn--primary {
    background: var(--color-accent);
    color: #fff;
    border-color: var(--color-accent);
}
.btn--primary:hover {
    background: var(--color-accent-dark);
    border-color: var(--color-accent-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn--outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.6);
}
.btn--outline:hover {
    background: #fff;
    color: var(--color-primary);
    border-color: #fff;
}

.btn--dark {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}
.btn--dark:hover {
    background: var(--color-primary-light);
    border-color: var(--color-primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn--ghost {
    background: transparent;
    color: var(--color-accent);
    border-color: var(--color-accent);
}
.btn--ghost:hover {
    background: var(--color-accent);
    color: #fff;
}

.btn--lg { padding: 16px 38px; font-size: 1rem; }

/* ==========================================================================
   头部导航
   ========================================================================== */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    height: var(--header-h);
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}
.logo__mark {
    width: 46px;
    height: 46px;
    object-fit: contain;    /* 透明底logo图，保持比例完整显示 */
    display: block;
}
.logo__text { line-height: 1.2; }
.logo__text .zh {
    display: block;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 1px;
}
.logo__text .en {
    display: block;
    font-size: 0.62rem;
    color: var(--color-text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* 主导航 */
.nav {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}
.nav__link {
    position: relative;
    padding: 10px 18px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text);
}
.nav__link::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 4px;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: var(--transition);
    transform: translateX(-50%);
}
.nav__link:hover,
.nav__link.active {
    color: var(--color-accent);
}
.nav__link:hover::after,
.nav__link.active::after {
    width: 60%;
}

.nav__cta {
    margin-left: 14px;
    padding: 10px 22px !important;
    color: #fff !important;  /* 确保所有状态下文字都是白色（避免被 .nav__link 的深灰色覆盖） */
}

/* CTA 按钮在当前页 active 状态下使用更深的背景色，与普通状态区分 */
.nav__cta.active,
.nav__cta.active:hover {
    color: #fff !important;
    background: var(--color-accent-dark);
    border-color: var(--color-accent-dark);
}
.nav__cta.active::after {
    display: none;
}

/* 移动端菜单按钮 */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.nav-toggle span {
    width: 26px;
    height: 2px;
    background: var(--color-primary);
    transition: var(--transition);
    display: block;
}
.nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   Hero 横幅
   ========================================================================== */
.hero {
    position: relative;
    min-height: 620px;
    display: flex;
    align-items: center;
    color: #fff;
    overflow: hidden;
}
.hero__slider {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero__slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}
.hero__slide.active { opacity: 1; }
.hero__slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg,
        rgba(19, 31, 37, 0.85) 0%,
        rgba(19, 31, 37, 0.6) 50%,
        rgba(19, 31, 37, 0.3) 100%);
}

.hero__inner {
    position: relative;
    z-index: 2;
    padding: 100px 0;
    max-width: 640px;
}
.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 16px;
    background: rgba(184, 137, 90, 0.18);
    border: 1px solid rgba(184, 137, 90, 0.5);
    border-radius: 30px;
    font-size: 0.82rem;
    letter-spacing: 1px;
    color: var(--color-accent-light);
    margin-bottom: 24px;
}
.hero__eyebrow::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-accent-light);
}
.hero__title {
    color: #fff;
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 22px;
}
.hero__title em {
    color: var(--color-accent-light);
    font-style: normal;
}
.hero__desc {
    font-size: 1.1rem;
    color: #d8dde0;
    margin-bottom: 36px;
    max-width: 540px;
}
.hero__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Hero 指示器 */
.hero__dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 12px;
}
.hero__dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
}
.hero__dot.active {
    background: var(--color-accent);
    border-color: #fff;
    transform: scale(1.1);
}

/* ==========================================================================
   数据统计条
   ========================================================================== */
.stats {
    background: var(--color-primary);
    color: #fff;
}
.stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding: 50px 0;
    text-align: center;
}
.stats__item {
    position: relative;
}
.stats__item:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60px;
    background: rgba(255, 255, 255, 0.12);
}
.stats__num {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--color-accent-light);
    line-height: 1;
    margin-bottom: 8px;
    font-family: "Georgia", serif;
}
.stats__num .unit {
    font-size: 1rem;
    color: #d8dde0;
    margin-left: 4px;
}
.stats__label {
    font-size: 0.92rem;
    color: #b8c0c5;
    letter-spacing: 1px;
}

/* ==========================================================================
   关于简介区（首页）
   ========================================================================== */
.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.about-intro__media {
    position: relative;
}
.about-intro__media img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}
.about-intro__media .badge {
    position: absolute;
    bottom: -24px;
    right: -24px;
    background: var(--color-accent);
    color: #fff;
    padding: 24px 28px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    text-align: center;
}
.about-intro__media .badge .big {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    display: block;
}
.about-intro__media .badge .small {
    font-size: 0.82rem;
    margin-top: 4px;
    opacity: 0.9;
}
.about-intro__content .eyebrow {
    color: var(--color-accent);
    font-weight: 600;
    letter-spacing: 2px;
    font-size: 0.82rem;
    text-transform: uppercase;
    margin-bottom: 14px;
    display: block;
}
.about-intro__content h2 { margin-bottom: 22px; }
.about-intro__content p {
    color: var(--color-text-light);
    margin-bottom: 18px;
}
.about-intro__features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin: 28px 0 32px;
}
.feature-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.feature-item .ico {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(184, 137, 90, 0.12);
    color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}
.feature-item .txt strong {
    display: block;
    color: var(--color-primary);
    margin-bottom: 2px;
}
.feature-item .txt span {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* ==========================================================================
   产品卡片网格
   ========================================================================== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.product-card {
    background: var(--color-bg-alt);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-accent);
}
.product-card__media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #ece8e1;
}
.product-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.product-card:hover .product-card__media img {
    transform: scale(1.08);
}
.product-card__tag {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--color-accent);
    color: #fff;
    font-size: 0.75rem;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 600;
    letter-spacing: 0.5px;
}
.product-card__body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.product-card__cat {
    font-size: 0.78rem;
    color: var(--color-accent);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 8px;
    font-weight: 600;
}
.product-card__title {
    font-size: 1.1rem;
    color: var(--color-primary);
    margin-bottom: 12px;
    line-height: 1.4;
}
.product-card__desc {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: 18px;
    flex: 1;
}
.product-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}
.product-card__meta span {
    font-size: 0.75rem;
    padding: 3px 10px;
    background: var(--color-bg);
    border-radius: 4px;
    color: var(--color-text-light);
}
.product-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--color-accent);
    font-weight: 600;
    font-size: 0.9rem;
    align-self: flex-start;
}
.product-card__link:hover {
    color: var(--color-accent-dark);
    gap: 12px;
}
.product-card__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
}
.product-card__actions .product-card__link {
    align-self: auto;
}

/* ==========================================================================
   产品卡片：场景/性能标签 + 点击展开详情（2026-09 五系列典型配置）
   ========================================================================== */
.product-card__media[data-expand] { cursor: pointer; }
.product-card__hint {
    position: absolute;
    right: 12px;
    bottom: 12px;
    background: rgba(19, 31, 37, 0.62);
    color: #fff;
    font-size: 0.72rem;
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
    white-space: nowrap;
}
.product-card:hover .product-card__hint,
.product-card:focus-within .product-card__hint {
    opacity: 1;
    transform: translateY(0);
}
.product-card--expanded .product-card__hint { display: none; }
.product-card--expanded:hover {
    transform: none;
    box-shadow: var(--shadow-md);
}
.product-card--expanded .product-card__media img { transform: none; }

/* 场景标签（强调色）/ 性能标签（中性色） */
.product-card__meta .chip--scene {
    background: rgba(178, 118, 56, 0.12);
    color: var(--color-accent);
    font-weight: 600;
}

/* 详情面板：收起态 */
.product-card__detail {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.55s ease, opacity 0.4s ease 0.1s;
}
.product-detail__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--color-border);
}
.product-detail__title {
    font-size: 1.05rem;
    color: var(--color-primary);
    line-height: 1.4;
}
.product-detail__close {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    background: var(--color-bg);
    color: var(--color-text);
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    flex-shrink: 0;
    transition: var(--transition);
}
.product-detail__close:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}
.product-detail__blocks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 30px;
}
.product-detail__block h4 {
    font-size: 0.88rem;
    color: var(--color-accent);
    margin-bottom: 10px;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}
.product-detail__block .ico { font-size: 1rem; }
.product-detail__block p {
    font-size: 0.86rem;
    color: var(--color-text-light);
    line-height: 1.75;
}
.product-detail__list { list-style: none; }
.product-detail__list li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 14px;
    font-size: 0.83rem;
    padding: 6px 0;
    border-bottom: 1px dashed var(--color-border);
}
.product-detail__list li:last-child { border-bottom: none; }
.product-detail__list li span {
    color: var(--color-text-light);
    flex-shrink: 0;
}
.product-detail__list li b {
    color: var(--color-primary);
    font-weight: 600;
    text-align: right;
}

/* 展开态：桌面（>992px）左图右详情，卡片占满整行 */
@media (min-width: 993px) {
    .product-card--expanded {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: minmax(300px, 2fr) 3fr;
        border-color: var(--color-accent);
        box-shadow: var(--shadow-lg);
        z-index: 5;
    }
    .product-card--expanded .product-card__media {
        aspect-ratio: auto;
        height: 100%;
        min-height: 360px;
    }
    .product-card--expanded .product-card__body { display: none; }
    .product-card--expanded .product-card__detail {
        max-height: 760px;
        opacity: 1;
        padding: 30px 34px;
        border-left: 1px solid var(--color-border);
        overflow-y: auto;
    }
}
/* 展开态：平板及以下（≤992px）原位纵向展开，详情单列 */
@media (max-width: 992px) {
    .product-card--expanded { grid-column: 1 / -1; }
    .product-card--expanded .product-card__detail {
        max-height: 1800px;
        opacity: 1;
        padding: 26px 24px 32px;
        border-top: 1px solid var(--color-border);
    }
    .product-detail__blocks { grid-template-columns: 1fr; }
}

/* ==========================================================================
   产品分类筛选（产品页）
   ========================================================================== */
.category-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}
.category-tab {
    padding: 10px 26px;
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: 30px;
    cursor: pointer;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--color-text);
    transition: var(--transition);
}
.category-tab:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}
.category-tab.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}
.category-tab .tab-en {
    display: block;
    font-size: 0.7rem;
    font-weight: 400;
    opacity: 0.72;
    margin-top: 1px;
    letter-spacing: 0.2px;
}

/* ==========================================================================
   技术参数表
   ========================================================================== */
.spec-section {
    background: var(--color-bg-alt);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    border: 1px solid var(--color-border);
}
.spec-table {
    width: 100%;
    border-collapse: collapse;
}
.spec-table th,
.spec-table td {
    padding: 18px 24px;
    text-align: left;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.95rem;
}
.spec-table th {
    background: var(--color-primary);
    color: #fff;
    font-weight: 600;
    letter-spacing: 0.5px;
}
.spec-table tr:last-child th,
.spec-table tr:last-child td { border-bottom: none; }
.spec-table td:first-child {
    font-weight: 600;
    color: var(--color-primary);
    width: 30%;
    background: #faf8f5;
}
.spec-table tbody tr:hover td { background: #fcfaf6; }

/* 包装表 */
.pack-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 16px;
}
.pack-table th,
.pack-table td {
    padding: 12px 16px;
    text-align: center;
    border: 1px solid var(--color-border);
    font-size: 0.9rem;
}
.pack-table th {
    background: var(--color-primary-light);
    color: #fff;
    font-weight: 600;
}
.pack-table tbody tr:nth-child(even) td { background: #faf8f5; }

/* ==========================================================================
   优势/特色区
   ========================================================================== */
.advantages {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}
.advantage-card {
    text-align: center;
    padding: 40px 24px;
    background: var(--color-bg-alt);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    transition: var(--transition);
}
.advantage-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-accent);
}
.advantage-card .ico {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: var(--color-accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}
.advantage-card h3 {
    color: var(--color-primary);  /* 显式指定深色，避免在 section--dark 区块内被 .section--dark h3{color:#fff} 覆盖成白字白底不可见 */
    font-size: 1.15rem;
    margin-bottom: 12px;
}
.advantage-card p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin: 0;
}

/* ==========================================================================
   案例展示
   ========================================================================== */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.case-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}
.case-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.case-card:hover img { transform: scale(1.1); }
.case-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
        rgba(19, 31, 37, 0.92) 0%,
        rgba(19, 31, 37, 0.3) 60%,
        transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    color: #fff;
}
.case-card__cat {
    font-size: 0.75rem;
    color: var(--color-accent-light);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 6px;
}
.case-card__title {
    color: #fff;
    font-size: 1.15rem;
    margin: 0;
}
.case-card__hover {
    position: absolute;
    inset: 0;
    background: rgba(184, 137, 90, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}
.case-card:hover .case-card__hover { opacity: 1; }
.case-card__hover .zoom {
    width: 56px;
    height: 56px;
    border: 2px solid #fff;
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

/* 案例大图（不规则布局） */
.cases-feature {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 20px;
    height: 540px;
}
.cases-feature .case-card:nth-child(1) {
    grid-row: span 2;
}

/* ==========================================================================
   展会 / 资质
   ========================================================================== */
.expo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.expo-card {
    background: var(--color-bg-alt);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.expo-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.expo-card__media {
    aspect-ratio: 4 / 3;
    overflow: hidden;
}
.expo-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.expo-card:hover .expo-card__media img { transform: scale(1.06); }
.expo-card__body { padding: 22px; }
.expo-card__year {
    color: var(--color-accent);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 6px;
}
.expo-card__title {
    font-size: 1.05rem;
    color: var(--color-primary);
}

/* ---------- 展会现场集锦 ---------- */
.expo-gallery-head {
    text-align: center;
    max-width: 640px;
    margin: 48px auto 32px;
}
.expo-gallery-head__title {
    font-size: 1.3rem;
    position: relative;
    padding: 0 26px;
}
.expo-gallery-head__title::before,
.expo-gallery-head__title::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 18px;
    height: 2px;
    background: var(--color-accent);
}
.expo-gallery-head__title::before { left: 0; }
.expo-gallery-head__title::after { right: 0; }
.expo-gallery-head__desc {
    color: var(--color-text-light);
    font-size: 0.95rem;
    margin-top: 8px;
}
.expo-gallery {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 16px;
}
.expo-gallery__item {
    grid-column: span 3;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: var(--radius-sm);
    cursor: pointer;
    position: relative;
    background: var(--color-bg-alt);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.expo-gallery__item:nth-child(5),
.expo-gallery__item:nth-child(6),
.expo-gallery__item:nth-child(7) {
    grid-column: span 4;
}
.expo-gallery__item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.expo-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.expo-gallery__item:hover img { transform: scale(1.06); }

/* ==========================================================================
   CTA 行动召唤
   ========================================================================== */
.cta-band {
    position: relative;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: #fff;
    text-align: center;
    overflow: hidden;
}
.cta-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(184, 137, 90, 0.25) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(184, 137, 90, 0.18) 0%, transparent 40%);
}
.cta-band__inner {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
    padding: 70px 0;
}
.cta-band h2 {
    color: #fff;
    margin-bottom: 16px;
}
.cta-band p {
    color: #d8dde0;
    margin-bottom: 32px;
    font-size: 1.05rem;
}
.cta-band__actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==========================================================================
   时间线（关于页）
   ========================================================================== */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 0;
}
.timeline::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--color-border);
    transform: translateX(-50%);
}
.timeline__item {
    position: relative;
    width: 50%;
    padding: 0 40px 40px;
}
.timeline__item:nth-child(odd) {
    left: 0;
    text-align: right;
}
.timeline__item:nth-child(even) {
    left: 50%;
}
.timeline__item::before {
    content: "";
    position: absolute;
    top: 6px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--color-accent);
    border: 3px solid var(--color-bg);
    box-shadow: 0 0 0 2px var(--color-accent);
}
.timeline__item:nth-child(odd)::before { right: -7px; }
.timeline__item:nth-child(even)::before { left: -7px; }
.timeline__year {
    color: var(--color-accent);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 6px;
    font-family: "Georgia", serif;
}
.timeline__title {
    font-size: 1.1rem;
    margin-bottom: 8px;
}
.timeline__desc {
    color: var(--color-text-light);
    font-size: 0.92rem;
    margin: 0;
}

/* ==========================================================================
   公司实力（关于页）
   ========================================================================== */
.strength-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.strength-card {
    background: var(--color-bg-alt);
    padding: 36px 28px;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.strength-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.strength-card .num {
    font-size: 3rem;
    color: var(--color-accent);
    font-weight: 700;
    line-height: 1;
    font-family: "Georgia", serif;
    margin-bottom: 16px;
    opacity: 0.85;
}
.strength-card h3 {
    color: var(--color-primary);  /* 显式指定深色，避免在 section--dark 区块内被 .section--dark h3{color:#fff} 覆盖成白字白底不可见 */
    margin-bottom: 10px;
}
.strength-card p {
    color: var(--color-text-light);
    font-size: 0.92rem;
    margin: 0;
}

/* 资质证书网格 */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}
.cert-card {
    background: var(--color-bg-alt);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
    border: 1px solid var(--color-border);
    padding: 44px 28px 36px;
    position: relative;
    overflow: hidden;
}
.cert-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-accent-light) 100%);
}
.cert-card::after {
    content: "";
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-top: 1px solid rgba(184, 137, 90, 0.25);
    border-right: 1px solid rgba(184, 137, 90, 0.25);
    border-top-right-radius: var(--radius-sm);
}
.cert-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-accent);
}
.cert-card__seal {
    width: 92px;
    height: 92px;
    margin: 0 auto 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent-light);
    font-size: 2.3rem;
    box-shadow: 0 0 0 6px rgba(184, 137, 90, 0.12),
                inset 0 0 0 2px var(--color-accent);
    transition: var(--transition);
}
.cert-card:hover .cert-card__seal {
    box-shadow: 0 0 0 8px rgba(184, 137, 90, 0.18),
                inset 0 0 0 2px var(--color-accent-light);
    transform: scale(1.05);
}
.cert-card__body {
    padding: 0;
}
.cert-card__title {
    font-size: 1.15rem;
    color: var(--color-primary);
    margin-bottom: 10px;
}
.cert-card__desc {
    font-size: 0.88rem;
    color: var(--color-text-light);
    margin: 0;
    line-height: 1.7;
}

/* 图片画廊 */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.gallery-grid .g-item {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: var(--radius-sm);
    cursor: pointer;
    position: relative;
}
.gallery-grid .g-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.gallery-grid .g-item:hover img { transform: scale(1.1); }
.gallery-grid .g-item.wide {
    grid-column: span 2;
    aspect-ratio: 2;
}
.gallery-grid .g-item.tall {
    grid-row: span 2;
    aspect-ratio: 1/2;
}

/* ==========================================================================
   联系页
   ========================================================================== */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
}
.contact-info__item {
    display: flex;
    gap: 18px;
    margin-bottom: 28px;
    align-items: flex-start;
}
.contact-info__item .ico {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    background: var(--color-primary);
    color: var(--color-accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}
.contact-info__item .txt h4 {
    color: var(--color-primary);
    margin-bottom: 6px;
}
.contact-info__item .txt p {
    color: var(--color-text-light);
    margin: 0;
    line-height: 1.6;
}

.contact-form {
    background: var(--color-bg-alt);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
}
.contact-form h3 { margin-bottom: 8px; }
.contact-form .sub {
    color: var(--color-text-light);
    margin-bottom: 28px;
    font-size: 0.92rem;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 18px;
}
.form-group {
    margin-bottom: 18px;
}
.form-group label {
    display: block;
    font-size: 0.88rem;
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 8px;
}
.form-group label .req { color: var(--color-accent); }
.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-family: inherit;
    background: var(--color-bg);
    transition: var(--transition);
    color: var(--color-text);
}
.form-control:focus {
    outline: none;
    border-color: var(--color-accent);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(184, 137, 90, 0.12);
}
textarea.form-control {
    resize: vertical;
    min-height: 130px;
}
.form-note {
    font-size: 0.82rem;
    color: var(--color-text-muted);
    margin-top: 14px;
    text-align: center;
}
.form-success {
    display: none;
    background: rgba(74, 124, 89, 0.1);
    border: 1px solid var(--color-success);
    color: var(--color-success);
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-size: 0.92rem;
}
.form-success.show { display: block; }
.form-error {
    display: none;
    background: rgba(192, 57, 43, 0.08);
    border: 1px solid #c0392b;
    color: #c0392b;
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-size: 0.92rem;
}
.form-error.show { display: block; }

.map-embed {
    margin-top: 60px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
}
.map-embed iframe {
    width: 100%;
    height: 420px;
    border: 0;
    display: block;
}

/* ==========================================================================
   页面通用 Banner（内页顶部）
   ========================================================================== */
.page-banner {
    position: relative;
    min-height: 320px;
    display: flex;
    align-items: center;
    color: #fff;
    overflow: hidden;
}
.page-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}
.page-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg,
        rgba(19, 31, 37, 0.9) 0%,
        rgba(19, 31, 37, 0.55) 100%);
    z-index: 1;
}
.page-banner__inner {
    position: relative;
    z-index: 2;
    padding: 80px 0;
}
.page-banner h1 {
    color: #fff;
    margin-bottom: 14px;
}
.page-banner .breadcrumb {
    font-size: 0.9rem;
    color: #c8d0d5;
}
.page-banner .breadcrumb a:hover { color: var(--color-accent-light); }
.page-banner .breadcrumb .sep {
    margin: 0 8px;
    color: var(--color-accent);
}

/* ==========================================================================
   页脚
   ========================================================================== */
.footer {
    background: var(--color-bg-dark);
    color: #a8b0b5;
    padding: 70px 0 0;
}
.footer__grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
    gap: 40px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer__col h4 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 22px;
    letter-spacing: 0.5px;
}
.footer__about .logo {
    margin-bottom: 18px;
}
.footer__about .logo__text .zh { color: #fff; }
.footer__about p {
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 18px;
}
.footer__links li {
    margin-bottom: 12px;
}
.footer__links a {
    font-size: 0.9rem;
    color: #a8b0b5;
}
.footer__links a:hover {
    color: var(--color-accent-light);
    padding-left: 4px;
}
.footer__contact li {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 0.9rem;
    align-items: flex-start;
}
.footer__contact .ico {
    color: var(--color-accent);
    flex-shrink: 0;
    margin-top: 3px;
}
.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 0;
    font-size: 0.85rem;
    flex-wrap: wrap;
    gap: 12px;
}
.footer__bottom a:hover { color: var(--color-accent-light); }
.footer__social {
    display: flex;
    gap: 14px;
}
.footer__social a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c8d0d5;
    font-size: 1.25rem;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.footer__social a svg {
    width: 22px;
    height: 22px;
}
.footer__social a:hover {
    background: var(--color-accent);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.28);
}

/* ==========================================================================
   回到顶部
   ========================================================================== */
.back-to-top {
    position: fixed;
    right: 28px;
    bottom: 28px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 900;
}
.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    background: var(--color-accent);
    transform: translateY(-3px);
}

/* 浮动咨询 */
.float-contact {
    position: fixed;
    right: 28px;
    bottom: 90px;
    z-index: 900;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.float-contact a {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}
.float-contact a:hover {
    background: var(--color-accent-dark);
    transform: scale(1.1);
}

/* ==========================================================================
   灯箱（图片放大）
   ========================================================================== */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(19, 31, 37, 0.92);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}
.lightbox.show {
    opacity: 1;
    visibility: visible;
}
.lightbox img {
    max-width: 90%;
    max-height: 85vh;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}
.lightbox__close {
    position: absolute;
    top: 24px;
    right: 30px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    font-size: 1.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lightbox__close:hover { background: var(--color-accent); }

/* ==========================================================================
   动画
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ==========================================================================
   语言切换器（Language Switcher）
   ========================================================================== */
.lang-switch {
    position: relative;
    display: inline-block;
    z-index: 1100;
}
.lang-switch__btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    color: var(--color-text);
    padding: 8px 14px;
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 0.82rem;
    font-family: inherit;
    line-height: 1.4;
    transition: var(--transition);
}
.lang-switch__btn:hover,
.lang-switch__btn:focus {
    border-color: var(--color-accent);
    color: var(--color-accent);
    background: #fff;
    outline: none;
}
.lang-switch__icon {
    font-size: 0.95rem;
    line-height: 1;
}
.lang-switch__current {
    font-weight: 500;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.lang-switch__code-cur {
    font-size: 0.7rem;
    opacity: 0.85;
    letter-spacing: 0.5px;
    font-weight: 700;
}
.lang-switch__arrow {
    font-size: 0.65rem;
    transition: transform 0.25s ease;
    opacity: 0.85;
}
.lang-switch.open .lang-switch__arrow {
    transform: rotate(180deg);
}
.lang-switch__list {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 240px;
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border);
    padding: 6px;
    margin: 0;
    list-style: none;
    z-index: 1200;
    max-height: 380px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: var(--transition);
}
.lang-switch.open .lang-switch__list {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.lang-switch__option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    color: var(--color-text);
    transition: background 0.2s ease, color 0.2s ease;
}
.lang-switch__option:hover {
    background: var(--color-bg);
}
.lang-switch__option.active {
    background: var(--color-primary);
    color: #fff;
}
.lang-switch__code {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 22px;
    padding: 0 6px;
    background: rgba(28, 43, 51, 0.08);
    border-radius: 3px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}
.lang-switch__option.active .lang-switch__code {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}
.lang-switch__name {
    flex: 1;
    font-size: 0.9rem;
}
.lang-switch__en {
    font-size: 0.74rem;
    color: var(--color-text-muted);
}
.lang-switch__option.active .lang-switch__en {
    color: rgba(255, 255, 255, 0.72);
}

/* 语言选项改为静态 <a> 链接（构建期生成），去掉下划线 */
a.lang-switch__option {
    color: inherit;
    text-decoration: none;
}

/* 桌面端语言切换器（header 内）默认显示 */
.lang-switch--desktop {
    flex-shrink: 0;
    margin-left: 10px;
}

/* 移动端导航内的语言切换器：桌面端隐藏，移动端显示 */
.nav .lang-switch {
    margin: 18px 0 8px;
    display: none;
}
.nav .lang-switch__btn {
    color: var(--color-text);
    border-color: var(--color-border);
    width: 100%;
    justify-content: center;
    padding: 10px 12px;
    font-size: 0.9rem;
}
/* 移动端：隐藏桌面端切换器，显示移动端切换器，始终展开列表 */
@media (max-width: 992px) {
    .lang-switch--desktop {
        display: none;
    }
    .nav .lang-switch {
        display: block;
    }
    .nav .lang-switch__list {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        border: 1px solid var(--color-border);
        margin-top: 8px;
        max-height: none;
        display: block;
    }
    .nav .lang-switch__btn {
        pointer-events: none;
    }
    .nav .lang-switch__btn .lang-switch__arrow {
        display: none;
    }
}

/* ==========================================================================
   RTL（阿拉伯语）布局适配
   ========================================================================== */
[dir="rtl"] body {
    font-family: "Tahoma", "Segoe UI", "Arial", "PingFang SC", sans-serif;
}

/* 移动端导航抽屉方向（右侧→左侧滑入） */
[dir="rtl"] .nav {
    right: auto;
    left: -100%;
    box-shadow: 4px 0 30px rgba(0, 0, 0, 0.15);
    transition: left 0.35s ease;
}
[dir="rtl"] .nav.open {
    left: 0;
    right: auto;
}

/* 数据统计分隔线与单位 */
[dir="rtl"] .stats__item:not(:last-child)::after {
    right: auto;
    left: -15px;
}
[dir="rtl"] .stats__num .unit {
    margin-left: 0;
    margin-right: 4px;
}

/* 产品卡片标签 */
[dir="rtl"] .product-card__tag {
    left: auto;
    right: 14px;
}

/* 产品卡片链接箭头 */
[dir="rtl"] .product-card__link .arrow,
[dir="rtl"] .product-card__link::after {
    display: inline-block;
    transform: scaleX(-1);
}

/* 关于简介角标 */
[dir="rtl"] .about-intro__media .badge {
    right: auto;
    left: 20px;
}

/* 时间线左右交替（物理方向翻转） */
[dir="rtl"] .timeline__item:nth-child(odd) {
    left: auto;
    right: 0;
    text-align: left;
}
[dir="rtl"] .timeline__item:nth-child(even) {
    left: auto;
    right: 50%;
}
[dir="rtl"] .timeline__item:nth-child(odd)::before {
    right: auto;
    left: -7px;
}
[dir="rtl"] .timeline__item:nth-child(even)::before {
    left: auto;
    right: -7px;
}

/* 浮动咨询与回到顶部按钮位置 */
[dir="rtl"] .back-to-top {
    right: auto;
    left: 28px;
}
[dir="rtl"] .float-contact {
    right: auto;
    left: 28px;
}

/* 面包屑分隔符 */
[dir="rtl"] .breadcrumb .sep {
    display: inline-block;
    transform: scaleX(-1);
}

/* CTA / 按钮箭头 */
[dir="rtl"] .btn .arrow,
[dir="rtl"] .cta-band__actions .btn::after {
    display: inline-block;
    transform: scaleX(-1);
}

/* 联系信息列表图标 */
[dir="rtl"] .footer__contact .ico,
[dir="rtl"] .contact-info__item .ico {
    margin-right: 0;
    margin-left: 8px;
}

/* 语言切换器下拉对齐到左侧（RTL 时下拉左展开） */
[dir="rtl"] .lang-switch--desktop .lang-switch__list {
    right: auto;
    left: 0;
}

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 992px) {
    .section { padding: 60px 0; }

    .nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 80%;
        max-width: 340px;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        align-items: stretch;
        padding: 90px 24px 30px;
        gap: 0;
        box-shadow: -4px 0 30px rgba(0, 0, 0, 0.15);
        transform: translateX(100%);
        transition: transform 0.35s ease;
        overflow-y: auto;
    }
    .nav.open { transform: translateX(0); }
    .nav__link {
        padding: 14px 12px;
        border-bottom: 1px solid var(--color-border);
        font-size: 1rem;
    }
    .nav__link::after { display: none; }
    .nav__cta {
        margin: 18px 0 0;
        text-align: center;
    }
    .nav-toggle { display: flex; z-index: 1001; }

    .nav-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }
    .nav-overlay.show {
        opacity: 1;
        visibility: visible;
    }

    .about-intro,
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about-intro__media .badge {
        right: 20px;
        bottom: -20px;
    }

    .stats__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 20px;
    }
    .stats__item:nth-child(2)::after { display: none; }

    .products-grid,
    .cases-grid,
    .expo-grid,
    .strength-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    /* expo-gallery 继承桌面 3+2 布局 */
    .advantages { grid-template-columns: repeat(2, 1fr); }
    .cert-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
    .cases-feature {
        grid-template-columns: 1fr 1fr;
        height: auto;
    }
    .cases-feature .case-card:nth-child(1) {
        grid-row: span 1;
        grid-column: span 2;
    }
    .footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }
    .footer__about { grid-column: span 2; }

    .timeline::before { left: 20px; }
    .timeline__item {
        width: 100%;
        left: 0 !important;
        text-align: left !important;
        padding-left: 50px;
        padding-right: 0;
    }
    .timeline__item::before {
        left: 13px !important;
        right: auto !important;
    }
}

@media (max-width: 640px) {
    .section { padding: 48px 0; }
    .container { padding: 0 18px; }

    .hero { min-height: 540px; }
    .hero__inner { padding: 70px 0; }
    .hero__actions { flex-direction: column; align-items: stretch; }
    .hero__actions .btn { width: 100%; }

    .stats__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .stats__item::after { display: none !important; }
    .stats__item {
        padding: 16px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
    .stats__item:last-child { border-bottom: none; }

    .products-grid,
    .cases-grid,
    .expo-grid,
    .strength-grid,
    .advantages,
    .cert-grid {
        grid-template-columns: 1fr;
    }
    .expo-gallery { grid-template-columns: 1fr; }
    .expo-gallery__item,
    .expo-gallery__item:nth-child(5),
    .expo-gallery__item:nth-child(6),
    .expo-gallery__item:nth-child(7) {
        grid-column: span 1;
    }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .cases-feature {
        grid-template-columns: 1fr;
    }
    .cases-feature .case-card:nth-child(1) {
        grid-column: span 1;
    }

    .about-intro__features { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .contact-form { padding: 26px 20px; }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .footer__about { grid-column: span 1; }
    .footer__bottom {
        flex-direction: column;
        text-align: center;
    }

    .spec-table th,
    .spec-table td {
        padding: 12px 14px;
        font-size: 0.85rem;
    }

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

    .category-tabs { gap: 8px; }
    .category-tab { padding: 8px 18px; font-size: 0.85rem; }
}

/* ==========================================================================
   RTL 移动端适配
   ========================================================================== */
@media (max-width: 992px) {
    [dir="rtl"] .timeline::before {
        left: auto;
        right: 20px;
    }
    [dir="rtl"] .timeline__item {
        left: auto !important;
        right: 0 !important;
        text-align: right !important;
        padding-left: 0;
        padding-right: 50px;
    }
    [dir="rtl"] .timeline__item::before {
        left: auto !important;
        right: 13px !important;
    }
}
@media (max-width: 640px) {
    [dir="rtl"] .float-contact { right: auto; left: 16px; }
    [dir="rtl"] .back-to-top { right: auto; left: 16px; }
    [dir="rtl"] .about-intro__media .badge {
        right: auto;
        left: 16px;
    }
}

/* ==========================================================================
   自定义报价配置器（quote.html）
   ========================================================================== */

/* 主布局：左配置 + 右结构图 */
.quote-layout {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 48px;
    align-items: start;
}

/* Tab 切换 */
.quote-tabs {
    display: flex;
    flex-wrap: wrap;    /* 五个 Tab 在窄屏下自动换行 */
    gap: 4px;
    background: var(--color-bg);
    padding: 6px;
    border-radius: var(--radius-md);
    margin-bottom: 28px;
}
.quote-tab {
    flex: 1;
    min-width: 0;
    padding: 12px 6px;
    background: transparent;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-light);
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    letter-spacing: 0.2px;
    text-align: center;
    line-height: 1.35;
}
.quote-tab.active {
    background: var(--color-primary);
    color: #fff;
    box-shadow: var(--shadow-sm);
}
.quote-tab:hover:not(.active) {
    background: var(--color-bg-alt);
    color: var(--color-primary);
}

/* 层配置项 */
.quote-layer {
    margin-bottom: 22px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--color-border);
}
.quote-layer:last-child { border-bottom: none; padding-bottom: 0; }
.quote-layer__title {
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
}
.quote-layer__title::before {
    content: "";
    width: 4px;
    height: 18px;
    background: var(--color-accent);
    border-radius: 2px;
    flex-shrink: 0;
}
.quote-layer__title small {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    font-weight: 400;
    margin-left: 4px;
}
.quote-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.quote-option {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    background: var(--color-bg);
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 0.86rem;
    cursor: pointer;
    transition: var(--transition);
    user-select: none;
    color: var(--color-text);
}
.quote-option:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}
.quote-option input { display: none; }
.quote-option.checked {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: #fff;
    box-shadow: 0 2px 8px rgba(184, 137, 90, 0.3);
}

/* 通用附加配置区分隔标题 */
.quote-common-title {
    margin: 28px 0 18px;
    padding-top: 22px;
    border-top: 2px dashed var(--color-border);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}
.quote-common-title::before {
    content: "⚙";
    color: var(--color-accent);
    font-size: 1.1rem;
}

/* SPC core 嵌套组 */
.quote-layer__group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
.quote-layer__group .quote-subgroup__title {
    font-size: 0.82rem;
    color: var(--color-text-light);
    margin-bottom: 8px;
    font-weight: 500;
}

/* 截面结构图 */
.quote-diagram {
    position: sticky;
    top: calc(var(--header-h) + 20px);
    background: var(--color-bg-alt);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
}
/* 标题行：截面结构图 + 当前地板类型 */
.quote-diagram__head {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}
.quote-diagram__title {
    margin-bottom: 0;
    color: var(--color-primary);
    font-size: 1.1rem;
}
.quote-diagram__floor {
    font-size: 0.88rem;
    color: var(--color-accent);
    font-weight: 600;
    padding: 6px 14px;
    background: rgba(184, 137, 90, 0.12);
    border-radius: 20px;
    display: inline-block;
    white-space: nowrap;
}
.quote-diagram__stack {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 16px;
}
.stack-layer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 13px 16px;
    border-radius: var(--radius-sm);
    background: var(--color-bg);
    border-left: 4px solid var(--color-accent);
    transition: var(--transition);
    min-height: 50px;
}
/* 各层用不同颜色边框区分（从上到下） */
.stack-layer:nth-child(1) { border-left-color: #c9a961; background: #fdf6e8; }
.stack-layer:nth-child(2) { border-left-color: #4a7c59; background: #ecf3ee; }
.stack-layer:nth-child(3) { border-left-color: #5a8fb3; background: #eaf2f8; }
.stack-layer:nth-child(4) { border-left-color: #b8895a; background: #f5ece2; }
.stack-layer:nth-child(5) { border-left-color: #8b6f9c; background: #f0eaf5; }
.stack-layer:nth-child(6) { border-left-color: #6b7a8f; background: #eaeef3; }
.stack-layer__name {
    font-weight: 600;
    font-size: 0.86rem;
    color: var(--color-primary);
    flex-shrink: 0;
}
.stack-layer__value {
    font-size: 0.8rem;
    color: var(--color-accent-dark);
    text-align: right;
    font-weight: 500;
    margin-left: 12px;
    word-break: break-word;
}
.quote-diagram__note {
    font-size: 0.76rem;
    color: var(--color-text-muted);
    text-align: center;
    margin-top: 12px;
    line-height: 1.5;
}

/* 摘要区 */
.quote-summary-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    flex-wrap: wrap;
}
.quote-summary-actions .btn {
    padding: 9px 18px;
    font-size: 0.85rem;
}
#quoteSummary {
    min-height: 200px;
    font-family: "Consolas", "Courier New", monospace;
    font-size: 0.78rem;
    line-height: 1.5;
    background: var(--color-bg);
    resize: vertical;
    color: var(--color-text);
    white-space: pre;
    overflow-x: auto;
}

/* 复制成功提示 */
.copy-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--color-success);
    color: #fff;
    padding: 10px 22px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    font-size: 0.9rem;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 2000;
}
.copy-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* 响应式 */
@media (max-width: 992px) {
    .quote-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .quote-diagram {
        position: static;
        order: -1;
    }
    .quote-layer__group {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}
@media (max-width: 640px) {
    .quote-tabs {
        flex-direction: column;
    }
    .quote-tab {
        width: 100%;
    }
    .quote-options {
        flex-direction: column;
    }
    .quote-option {
        width: 100%;
        justify-content: center;
    }
    .stack-layer {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    .stack-layer__value {
        margin-left: 0;
        text-align: left;
    }
    .quote-diagram__head {
        flex-direction: column;
        align-items: center;
        gap: 6px;
    }
}

/* RTL 适配（阿拉伯语） */
[dir="rtl"] .stack-layer {
    border-left: none;
    border-right: 4px solid var(--color-accent);
    flex-direction: row-reverse;
}
[dir="rtl"] .stack-layer:nth-child(1) { border-right-color: #c9a961; }
[dir="rtl"] .stack-layer:nth-child(2) { border-right-color: #4a7c59; }
[dir="rtl"] .stack-layer:nth-child(3) { border-right-color: #5a8fb3; }
[dir="rtl"] .stack-layer:nth-child(4) { border-right-color: #b8895a; }

/* ==========================================================================
   二维码弹窗（WhatsApp / 微信共用）
   ========================================================================== */
.qr-overlay {
    position: fixed;
    inset: 0;
    background: rgba(19, 31, 37, 0.88);
    z-index: 2100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}
.qr-overlay.show {
    opacity: 1;
    visibility: visible;
}
.qr-popup {
    position: relative;
    background: var(--color-bg-alt);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 32px 36px 28px;
    text-align: center;
    max-width: 340px;
    width: 100%;
    transform: translateY(20px) scale(0.96);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.qr-overlay.show .qr-popup {
    transform: translateY(0) scale(1);
}
.qr-close {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--color-bg);
    border: none;
    color: var(--color-text-light);
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.qr-close:hover {
    background: var(--color-accent);
    color: #fff;
}
.qr-title {
    margin-bottom: 6px;
    font-size: 1.15rem;
    color: var(--color-primary);
}
.qr-hint {
    font-size: 0.88rem;
    color: var(--color-text-light);
    margin-bottom: 18px;
}
.qr-img {
    width: 220px;
    height: 220px;
    margin: 0 auto;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    display: block;
}
@media (max-width: 480px) {
    .qr-popup {
        padding: 26px 22px 22px;
    }
    .qr-img {
        width: 180px;
        height: 180px;
    }
}
/* RTL 适配（阿拉伯语）：关闭按钮置于左侧 */
[dir="rtl"] .qr-close {
    right: auto;
    left: 14px;
}
[dir="rtl"] .stack-layer:nth-child(5) { border-right-color: #8b6f9c; }
[dir="rtl"] .stack-layer:nth-child(6) { border-right-color: #6b7a8f; }
[dir="rtl"] .stack-layer__value {
    text-align: left;
    margin-left: 0;
    margin-right: 12px;
}
[dir="rtl"] .quote-layer__title::before {
    margin-right: 0;
    margin-left: 10px;
}
[dir="rtl"] .quote-option {
    text-align: right;
}

/* 打印优化 */
@media print {
    .header, .footer, .back-to-top,
    .float-contact, .nav-toggle, .hero__dots { display: none !important; }
    .quote-tabs, .quote-summary-actions, #quoteForm button[type=submit] { display: none !important; }
}
