/* ================================================
   XX包装科技有限公司 - 公司推广网站样式
   商务专业风格 | 深色+金色点缀
   ================================================ */

/* ========== Reset & Base ========== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* 主色调 */
    --color-primary: #1a2a42;        /* 深海军蓝 */
    --color-primary-light: #243854;
    --color-primary-dark: #0f1e30;
    --color-accent: #c9a55c;          /* 金色 */
    --color-accent-light: #d4b370;
    --color-accent-dark: #a8854a;

    /* 中性色 */
    --color-bg: #ffffff;
    --color-bg-alt: #f7f8fa;
    --color-bg-dark: #131f30;
    --color-text: #2a2f3a;
    --color-text-light: #5a6172;
    --color-text-muted: #8a92a5;
    --color-border: #e5e8ed;

    /* 功能色 */
    --color-success: #2ecc71;
    --color-danger: #e74c3c;

    /* 字体 */
    --font-sans: -apple-system, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    --font-serif: "Georgia", "Songti SC", "SimSun", serif;

    /* 间距 */
    --container-max: 1200px;
    --section-pad: 100px;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;

    /* 过渡 */
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

    /* 阴影 */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 8px 30px rgba(0,0,0,0.1);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.15);
    --shadow-accent: 0 8px 30px rgba(201, 165, 92, 0.3);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

ul {
    list-style: none;
}

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

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* ========== 通用按钮 ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 36px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    border: none;
    transition: var(--transition);
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
    color: #fff;
    box-shadow: var(--shadow-accent);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 36px rgba(201, 165, 92, 0.45);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.4);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.7);
}

.btn-full {
    width: 100%;
}

/* ========== 通用 Section ========== */
.section {
    padding: var(--section-pad) 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--color-accent);
    margin-bottom: 16px;
    text-transform: uppercase;
}

.section-title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* 浅色背景下 Section Header (深色 Section 用) */
.section-header-light .section-title {
    color: #fff;
}

.section-header-light .section-subtitle {
    color: rgba(255,255,255,0.7);
}

/* ================================================
   导航栏
   ================================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-sm);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-primary);
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
}

.logo-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

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

.logo-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-primary);
}

.logo-sub {
    font-size: 10px;
    letter-spacing: 2px;
    color: var(--color-text-muted);
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-menu a {
    font-size: 15px;
    font-weight: 500;
    color: var(--color-text);
    position: relative;
    padding: 6px 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: var(--transition);
}

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

.nav-cta {
    background: var(--color-primary);
    color: #fff !important;
    padding: 10px 24px !important;
    border-radius: var(--radius-sm);
}

.nav-cta:hover {
    background: var(--color-accent);
}

.nav-cta::after {
    display: none;
}

/* ========== 语言切换 ========== */
.lang-switch {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    margin-left: 8px;
}

.lang-switch a {
    color: var(--color-text-light);
    padding: 2px 0;
    border-bottom: 2px solid transparent;
}

.lang-switch a:hover {
    color: var(--color-primary);
}

.lang-switch a.active {
    color: var(--color-accent-dark);
    font-weight: 700;
    border-bottom-color: var(--color-accent);
}

.lang-switch .lang-divider {
    color: var(--color-text-muted);
    font-weight: 400;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: 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(5px, -5px);
}

/* ================================================
   Hero 首页
   ================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 72px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0f1e30 0%, #1a2a42 50%, #243854 100%);
    z-index: 0;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(201, 165, 92, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(201, 165, 92, 0.1) 0%, transparent 35%);
}

.hero-bg::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background:
        linear-gradient(to right,
            transparent 0%,
            rgba(201, 165, 92, 0.04) 50%,
            transparent 100%);
    clip-path: polygon(0 60%, 100% 30%, 100% 100%, 0% 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    padding-top: 40px;
    padding-bottom: 80px;
}

/* Hero 左文右图分栏 */
.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 64px;
    align-items: center;
}

.hero-text {
    min-width: 0;
}

.hero-visual {
    position: relative;
    justify-self: end;
    width: 100%;
    max-width: 460px;
}

.hero-product-img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 18px;
    border: 1px solid rgba(201, 165, 92, 0.35);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
}

.hero-visual::before {
    content: '';
    position: absolute;
    top: -18px;
    right: -18px;
    width: 120px;
    height: 120px;
    border-top: 2px solid rgba(201, 165, 92, 0.5);
    border-right: 2px solid rgba(201, 165, 92, 0.5);
    border-radius: 0 18px 0 0;
    pointer-events: none;
}

.hero-visual-caption {
    margin-top: 16px;
    text-align: center;
    font-size: 13px;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.55);
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(201, 165, 92, 0.15);
    border: 1px solid rgba(201, 165, 92, 0.3);
    color: var(--color-accent-light);
    font-size: 13px;
    font-weight: 500;
    border-radius: 50px;
    margin-bottom: 28px;
    letter-spacing: 1px;
}

.hero-title {
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: 2px;
}

.text-gradient {
    background: linear-gradient(135deg, #c9a55c, #d4b370, #e8c885);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 17px;
    line-height: 1.8;
    color: rgba(255,255,255,0.75);
    margin-bottom: 40px;
    max-width: 640px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 80px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 48px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: left;
}

.stat-num {
    font-size: 36px;
    font-weight: 800;
    color: var(--color-accent);
    line-height: 1;
}

.stat-num span {
    font-size: 24px;
}

.stat-label {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    margin-top: 6px;
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    text-align: center;
    color: rgba(255,255,255,0.4);
    font-size: 12px;
    letter-spacing: 2px;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    margin: 8px auto 0;
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: var(--color-accent);
    animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
    0% { top: -50%; }
    100% { top: 100%; }
}

/* ================================================
   关于我们 / 公司介绍
   ================================================ */
.about {
    background: var(--color-bg);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: start;
    margin-bottom: 80px;
}

.about-image-box {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: linear-gradient(135deg, #f0f2f5, #e5e8ed);
}

.about-image-placeholder {
    aspect-ratio: 4/5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image-badge {
    position: absolute;
    bottom: 24px;
    right: 24px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    padding: 20px 28px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-md);
}

.badge-num {
    font-size: 32px;
    font-weight: 800;
    color: var(--color-accent);
    line-height: 1;
}

.badge-text {
    font-size: 13px;
    color: var(--color-text-light);
    margin-top: 4px;
}

.about-right {
    padding-top: 12px;
}

.about-heading {
    font-size: 26px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.about-text {
    font-size: 15px;
    line-height: 1.9;
    color: var(--color-text-light);
    margin-bottom: 18px;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 36px;
}

@media (max-width: 1024px) {
    .about-features {
        grid-template-columns: 1fr 1fr;
    }
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(201, 165, 92, 0.1);
    border-radius: var(--radius-sm);
    color: var(--color-accent);
}

.feature-info h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 4px;
}

.feature-info p {
    font-size: 13px;
    color: var(--color-text-light);
}

/* 企业文化 */
.culture-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.culture-card {
    text-align: center;
    padding: 40px 28px;
    background: var(--color-bg-alt);
    border-radius: var(--radius-md);
    transition: var(--transition);
    border-top: 3px solid transparent;
}

.culture-card:hover {
    background: #fff;
    box-shadow: var(--shadow-md);
    border-top-color: var(--color-accent);
    transform: translateY(-4px);
}

.culture-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary);
    color: var(--color-accent);
    border-radius: 50%;
}

.culture-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.culture-card p {
    font-size: 14px;
    color: var(--color-text-light);
}

/* ================================================
   产品与服务
   ================================================ */
.products {
    background: var(--color-bg-alt);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 1fr;
    column-gap: 110px;
    row-gap: 110px;
    margin-bottom: 60px;
    position: relative;
}

/* 中央圆形徽章：特种工艺定制 */
.craft-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 230px;
    height: 230px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--color-primary), var(--color-primary-light, #24365a));
    border: 2px solid var(--color-accent);
    box-shadow: 0 12px 32px rgba(26, 42, 66, 0.25);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 26px;
    z-index: 5;
    transition: var(--transition);
}

/* 外圈虚线装饰环 */
.craft-badge::before {
    content: '';
    position: absolute;
    top: -12px;
    left: -12px;
    right: -12px;
    bottom: -12px;
    border-radius: 50%;
    border: 1px dashed var(--color-accent);
    opacity: 0.55;
    animation: craftSpin 40s linear infinite;
    pointer-events: none;
}

@keyframes craftSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.craft-badge:hover {
    box-shadow: 0 16px 40px rgba(26, 42, 66, 0.38);
    transform: translate(-50%, -50%) scale(1.04);
}

.craft-badge-tag {
    font-size: 10px;
    letter-spacing: 3px;
    color: var(--color-accent);
    font-weight: 600;
    margin-bottom: 8px;
}

.craft-badge h3 {
    font-size: 21px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.craft-badge-desc {
    font-size: 12.5px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 12px;
}

.craft-badge-note {
    font-size: 10.5px;
    color: var(--color-accent);
    letter-spacing: 0.5px;
    border-top: 1px solid rgba(201, 165, 92, 0.35);
    padding-top: 10px;
}

.product-card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 36px 28px;
    transition: var(--transition);
    border: 1px solid var(--color-border);
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-accent-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

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

.product-visual {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(26, 42, 66, 0.05), rgba(201, 165, 92, 0.05));
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    transition: var(--transition);
}

.product-card:hover .product-visual {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
}

/* 产品卡片实拍图版：正方形展示框，与产品图原生 1:1 比例一致，避免画面被裁切 */
.product-visual.product-visual-photo {
    width: 100%;
    height: auto;
    padding: 0;
    background: linear-gradient(150deg, rgba(26, 42, 66, 0.04), rgba(201, 165, 92, 0.09));
    display: block;
    overflow: hidden;
    border: 1px solid rgba(26, 42, 66, 0.08);
    border-radius: var(--radius-md);
    box-shadow: 0 4px 14px rgba(26, 42, 66, 0.05);
    margin-bottom: 22px;
    transition: var(--transition);
}

.product-card:hover .product-visual.product-visual-photo {
    background: linear-gradient(150deg, rgba(26, 42, 66, 0.04), rgba(201, 165, 92, 0.09));
    border-color: rgba(201, 165, 92, 0.38);
    box-shadow: 0 10px 26px rgba(26, 42, 66, 0.13);
}

.product-img-link {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
}

/* 悬停时自下而上的柔和暗角，衬托“查看大图”按钮 */
.product-img-link::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 30, 48, 0) 42%, rgba(15, 30, 48, 0.44) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.product-img-link:hover::after,
.product-img-link:focus-visible::after {
    opacity: 1;
}

.product-img {
    display: block;
    width: 100%;
    /* 必须显式 height:auto：HTML 的 height="800" 属性会映射为固定高度，
       不覆盖会导致 aspect-ratio 失效、图片被拉成竖长条 */
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product-img-link:hover .product-img {
    transform: scale(1.05);
}

.product-img-view {
    position: absolute;
    right: 12px;
    bottom: 12px;
    padding: 6px 14px;
    font-size: 12px;
    letter-spacing: 1px;
    color: #fff;
    background: rgba(15, 30, 48, 0.72);
    border: 1px solid rgba(201, 165, 92, 0.55);
    border-radius: 50px;
    backdrop-filter: blur(4px);
    transform: translateY(8px);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
    z-index: 2;
}

.product-img-link:hover .product-img-view,
.product-img-link:focus-visible .product-img-view {
    background: var(--color-accent);
    border-color: var(--color-accent);
    transform: translateY(0);
    opacity: 1;
}

/* 触屏设备无 hover：大图按钮与暗角常显 */
@media (hover: none) {
    .product-img-view {
        opacity: 1;
        transform: none;
    }

    .product-img-link::after {
        opacity: 1;
    }
}

.product-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.product-card > p {
    font-size: 14px;
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: 20px;
}

.product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.product-tags li {
    font-size: 12px;
    padding: 4px 12px;
    background: rgba(201, 165, 92, 0.08);
    color: var(--color-accent-dark);
    border-radius: 50px;
    font-weight: 500;
}

/* 服务领域 */
.industry-section {
    text-align: center;
    padding: 40px;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.industry-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 24px;
}

.industry-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.industry-tag {
    padding: 10px 24px;
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-light);
    transition: var(--transition);
    cursor: default;
}

.industry-tag:hover {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

/* ================================================
   设计开发打样
   ================================================ */
.design {
    background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
    color: #fff;
    position: relative;
    overflow: hidden;
}

.design::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle, rgba(201, 165, 92, 0.08) 0%, transparent 60%);
}

.design .container {
    position: relative;
    z-index: 1;
}

.design-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.design-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    padding: 36px 24px;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.design-card:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(201, 165, 92, 0.3);
    transform: translateY(-6px);
}

.design-number {
    font-size: 40px;
    font-weight: 800;
    color: var(--color-accent);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 16px;
    font-family: var(--font-serif);
}

.design-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #fff;
}

.design-card p {
    font-size: 14px;
    color: rgba(255,255,255,0.65);
    line-height: 1.7;
    margin-bottom: 20px;
}

.design-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.design-tools span {
    font-size: 12px;
    padding: 4px 12px;
    background: rgba(201, 165, 92, 0.15);
    color: var(--color-accent-light);
    border-radius: 50px;
    border: 1px solid rgba(201, 165, 92, 0.2);
}

/* 打样优势 */
.design-advantage {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    background: rgba(255,255,255,0.05);
    border-radius: var(--radius-lg);
    padding: 36px;
    backdrop-filter: blur(10px);
}

.advantage-item {
    text-align: center;
    flex: 1;
    padding: 0 20px;
}

.advantage-num {
    font-size: 42px;
    font-weight: 800;
    color: var(--color-accent);
    line-height: 1;
}

.advantage-label {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    margin-top: 8px;
}

.advantage-divider {
    width: 1px;
    height: 60px;
    background: rgba(255,255,255,0.15);
}

/* ================================================
   工艺流程
   ================================================ */
.process {
    background: var(--color-bg);
}

.process-timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 60px;
    margin-bottom: 80px;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, var(--color-border) 10%, var(--color-border) 90%, transparent);
}

.process-step {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    position: relative;
}

.process-step:nth-child(even) {
    flex-direction: row-reverse;
    text-align: right;
}

.process-step:nth-child(even) .process-content {
    align-items: flex-end;
}

.process-marker {
    flex-shrink: 0;
    z-index: 2;
}

.process-dot {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary);
    color: var(--color-accent);
    border-radius: 50%;
    font-size: 18px;
    font-weight: 700;
    border: 4px solid var(--color-bg);
    box-shadow: 0 0 0 4px var(--color-border);
    transition: var(--transition);
}

.process-step:hover .process-dot {
    background: var(--color-accent);
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 0 0 4px rgba(201, 165, 92, 0.2);
}

.process-content {
    display: flex;
    flex-direction: column;
    padding-top: 8px;
}

.process-content h4 {
    font-size: 17px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.process-content p {
    font-size: 14px;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* 设备展示 */
.equipment-section {
    background: var(--color-bg-alt);
    border-radius: var(--radius-lg);
    padding: 48px;
}

.equipment-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 32px;
    text-align: center;
}

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

.equipment-card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 24px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--color-border);
}

.equipment-card:hover {
    border-color: var(--color-accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.equipment-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 6px;
}

.equipment-desc {
    font-size: 13px;
    color: var(--color-text-light);
}

/* ================================================
   新闻动态
   ================================================ */
.news {
    background: var(--color-bg-alt);
}

.news-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 32px;
}

.news-card {
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.news-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.news-featured {
    display: flex;
    flex-direction: column;
}

.news-image {
    aspect-ratio: 16/9;
    background: var(--color-bg-alt);
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-body {
    padding: 28px;
    flex: 1;
}

.news-date {
    font-size: 13px;
    color: var(--color-accent);
    font-weight: 600;
    margin-bottom: 10px;
}

.news-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 12px;
    line-height: 1.4;
}

.news-excerpt {
    font-size: 14px;
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: 16px;
}

.news-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-accent);
}

.news-link:hover {
    color: var(--color-accent-dark);
}

/* 新闻列表 */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.news-item {
    display: flex;
    gap: 20px;
    padding: 20px;
}

.news-date-small {
    flex-shrink: 0;
    font-size: 14px;
    font-weight: 700;
    color: var(--color-accent);
    width: 60px;
    padding-top: 2px;
}

.news-item-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 6px;
    line-height: 1.4;
}

.news-item-excerpt {
    font-size: 13px;
    color: var(--color-text-light);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ================================================
   联系我们
   ================================================ */
.contact {
    background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
    color: #fff;
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60%;
    height: 80%;
    background: radial-gradient(ellipse, rgba(201, 165, 92, 0.06) 0%, transparent 70%);
}

.contact .container {
    position: relative;
    z-index: 1;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: start;
}

/* 联系信息 */
.contact-info {
    padding-top: 12px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 28px;
}

.contact-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(201, 165, 92, 0.15);
    color: var(--color-accent);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(201, 165, 92, 0.2);
}

.contact-item h4 {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.contact-item p {
    font-size: 14px;
    color: rgba(255,255,255,0.65);
}

.contact-qr {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    justify-content: space-between;
    margin-top: 32px;
    padding: 20px;
    background: rgba(255,255,255,0.05);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255,255,255,0.1);
}

.qr-item {
    flex: 1 1 96px;
    min-width: 96px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.qr-item .qr-placeholder {
    margin-bottom: 10px;
}

.qr-title {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
}

.qr-placeholder {
    flex-shrink: 0;
    width: 105px;
    height: 105px;
    background: #fff;
    border-radius: var(--radius-sm);
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    border-radius: var(--radius-sm);
}

.contact-qr p {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    line-height: 1.6;
}

/* 联系表单 */
.contact-form-wrap {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    padding: 40px;
    backdrop-filter: blur(12px);
}

.form-title {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
}

.form-desc {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    margin-bottom: 28px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255,255,255,0.8);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-select {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-sm);
    color: #fff;
    font-size: 14px;
    font-family: var(--font-sans);
    transition: var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255,255,255,0.3);
}

.form-group input:focus,
.form-group textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--color-accent);
    background: rgba(255,255,255,0.08);
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23c9a55c' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

.form-select option {
    background: var(--color-primary);
    color: #fff;
}

.form-group textarea {
    resize: vertical;
}

.contact-form .btn-primary {
    margin-top: 8px;
}

.form-note {
    font-size: 12px;
    color: rgba(255,255,255,0.3);
    margin-top: 12px;
    text-align: center;
}

/* ================================================
   页脚
   ================================================ */
.footer {
    background: var(--color-primary-dark);
    color: rgba(255,255,255,0.6);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-brand .logo-name {
    color: #fff;
}

.footer-desc {
    font-size: 14px;
    line-height: 1.8;
    max-width: 320px;
}

.footer-col h4 {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--color-accent);
    padding-left: 4px;
}

.footer-col ul li {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    line-height: 1.8;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255,255,255,0.35);
}

/* ================================================
   动画
   ================================================ */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ================================================
   响应式
   ================================================ */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .design-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        column-gap: 90px;
        row-gap: 90px;
    }

    .craft-badge {
        width: 200px;
        height: 200px;
        padding: 20px;
    }

    .craft-badge h3 {
        font-size: 19px;
    }

    .equipment-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

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

@media (max-width: 768px) {
    :root {
        --section-pad: 60px;
    }

    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        box-shadow: var(--shadow-md);
        transform: translateY(-150%);
        transition: var(--transition);
    }

    .nav-menu.active {
        transform: translateY(0);
    }

    .nav-toggle {
        display: flex;
    }

    .lang-switch {
        font-size: 13px;
        gap: 6px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .hero-visual {
        justify-self: center;
        max-width: 520px;
    }

    .hero-actions {
        margin-bottom: 48px;
    }

    .hero-stats {
        gap: 24px;
    }

    .stat-num {
        font-size: 28px;
    }

    .culture-section {
        grid-template-columns: 1fr;
    }

    .product-grid,
    .design-grid,
    .equipment-grid {
        grid-template-columns: 1fr;
        column-gap: 28px;
        row-gap: 28px;
    }

    /* 单列布局下，圆形徽章改为常规流式排布 */
    .craft-badge {
        position: static;
        transform: none;
        margin: 12px auto 0;
    }

    .craft-badge:hover {
        transform: scale(1.03);
    }

    .process-timeline {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .process-timeline::before {
        display: none;
    }

    .process-step:nth-child(even) {
        flex-direction: row;
        text-align: left;
    }

    .process-step:nth-child(even) .process-content {
        align-items: flex-start;
    }

    .design-advantage {
        flex-direction: column;
        gap: 24px;
    }

    .advantage-divider {
        width: 60px;
        height: 1px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .contact-form-wrap {
        padding: 28px 20px;
    }

    .contact-qr {
        gap: 12px;
        padding: 16px 12px;
    }

    .qr-item {
        flex: 1 1 88px;
        min-width: 88px;
    }

    .qr-placeholder {
        width: 84px;
        height: 84px;
        padding: 6px;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .hero-stats {
        gap: 16px;
    }

    .stat-item {
        flex: 1 1 40%;
    }

    .craft-badge {
        width: 210px;
        height: 210px;
        padding: 18px;
    }

    .craft-badge h3 {
        font-size: 18px;
    }

    .craft-badge-desc {
        font-size: 12px;
    }
}
