/* =========================================
   龙游凉丰竹制品厂 - 全局样式
   风格：商务简约 / 竹意东方
   ========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #1f5d3a;          /* 墨竹绿 */
    --primary-dark: #143d27;     /* 深竹绿 */
    --primary-light: #4a8a64;    /* 浅竹绿 */
    --accent: #c9a96e;           /* 竹节金棕 */
    --bg: #faf7f0;               /* 米白宣纸色 */
    --bg-warm: #f3ede0;          /* 暖米色 */
    --text: #2b2b2b;
    --text-light: #6b6b6b;
    --white: #ffffff;
    --border: #e5dfd1;
    --shadow: 0 10px 30px rgba(31, 93, 58, 0.08);
    --shadow-lg: 0 20px 50px rgba(31, 93, 58, 0.12);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color .25s ease;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========== 顶部导航 ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: all .3s ease;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    color: var(--primary);
}

.logo-mark {
    height: 42px;
    width: 42px;
    border-radius: 4px;
    object-fit: cover;
    display: block;
    flex-shrink: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-text .cn {
    font-size: 17px;
    letter-spacing: 1px;
}

.logo-text .en {
    font-size: 11px;
    color: var(--text-light);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 2px;
}

.nav {
    display: flex;
    gap: 6px;
}

.nav a {
    padding: 10px 18px;
    font-size: 15px;
    border-radius: 6px;
    color: var(--text);
    position: relative;
    font-weight: 500;
}

.nav a:hover {
    color: var(--primary);
    background: rgba(31, 93, 58, 0.06);
}

.nav a.active {
    color: var(--primary);
    font-weight: 600;
}

.nav a.active::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 4px;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

.nav-cta {
    background: var(--primary) !important;
    color: #fff !important;
    padding: 10px 22px !important;
}

.nav-cta:hover {
    background: var(--primary-dark) !important;
    color: #fff !important;
}

/* ========== 语言切换器 ========== */
.lang-switch {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-left: 14px;
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 3px;
    background: rgba(255, 255, 255, 0.6);
    flex-shrink: 0;
}

.lang-switch a {
    font-size: 13px;
    font-weight: 500;
    padding: 5px 12px;
    border-radius: 999px;
    color: var(--text-light);
    line-height: 1;
    letter-spacing: .5px;
    text-decoration: none;
}

.lang-switch a:hover {
    color: var(--primary);
}

.lang-switch a.active {
    background: var(--primary);
    color: #fff;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--primary);
    cursor: pointer;
}

/* ========== Hero 通用 ========== */
.hero {
    position: relative;
    min-height: 92vh;
    padding: 140px 0 100px;
    background:
        radial-gradient(ellipse at top right, rgba(74, 138, 100, 0.12), transparent 60%),
        radial-gradient(ellipse at bottom left, rgba(201, 169, 110, 0.10), transparent 60%),
        linear-gradient(180deg, #fbf8f1 0%, #f3ede0 100%);
    overflow: hidden;
}

.hero::before,
.hero::after {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    background-repeat: no-repeat;
    opacity: .35;
    pointer-events: none;
}

.hero::before {
    top: -60px;
    right: -60px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'><g fill='none' stroke='%231f5d3a' stroke-width='1.4' stroke-linecap='round'><path d='M20 180 Q 80 120 100 60 Q 110 30 100 0'/><path d='M40 160 Q 60 130 50 100'/><path d='M60 150 Q 80 120 70 90'/><path d='M80 140 Q 100 110 90 80'/><path d='M30 140 Q 50 110 40 80'/><path d='M70 110 Q 90 80 80 50'/><path d='M50 90 Q 70 60 60 30'/></g></svg>");
    background-size: contain;
}

.hero::after {
    bottom: -40px;
    left: -40px;
    width: 280px;
    height: 280px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'><g fill='none' stroke='%23c9a96e' stroke-width='1.2' stroke-linecap='round'><path d='M180 200 Q 140 140 100 100 Q 60 60 0 40'/><path d='M160 170 Q 130 130 90 130'/><path d='M130 130 Q 100 90 60 90'/><path d='M100 90 Q 70 50 30 50'/></g></svg>");
    background-size: contain;
    opacity: .25;
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(31, 93, 58, 0.08);
    color: var(--primary);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 24px;
}

.hero-tag::before {
    content: "";
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
}

.hero h1 {
    font-size: 52px;
    line-height: 1.2;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 24px;
    letter-spacing: 2px;
}

.hero h1 span {
    color: var(--accent);
}

.hero-sub {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 36px;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: all .25s ease;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 8px 20px rgba(31, 93, 58, 0.25);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(31, 93, 58, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 1.5px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    gap: 36px;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--border);
}

.stat .num {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.stat .label {
    font-size: 13px;
    color: var(--text-light);
    margin-top: 6px;
}

/* 装饰画框 */
.hero-visual {
    position: relative;
    aspect-ratio: 4 / 5;
    border-radius: 24px;
    background: linear-gradient(135deg, #2d6b46, #1f5d3a 60%, #143d27);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.15), transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(201, 169, 110, 0.20), transparent 50%);
}

.hero-visual-content {
    position: relative;
    text-align: center;
    color: #fff;
    padding: 40px;
    z-index: 1;
}

.hero-visual-content .ch {
    font-family: "STKaiti", "KaiTi", serif;
    font-size: 96px;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 8px;
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.hero-visual-content .label {
    font-size: 14px;
    letter-spacing: 8px;
    margin-bottom: 28px;
    opacity: 0.85;
}

.hero-visual-content .divider {
    width: 60px;
    height: 2px;
    background: var(--accent);
    margin: 0 auto 24px;
}

.hero-visual-content .quote {
    font-size: 17px;
    line-height: 1.9;
    font-weight: 300;
    opacity: 0.92;
}

.hero-visual-content .badge {
    display: inline-block;
    margin-top: 30px;
    padding: 6px 16px;
    border: 1px solid rgba(201, 169, 110, 0.5);
    border-radius: 999px;
    font-size: 12px;
    letter-spacing: 3px;
    color: var(--accent);
}

/* ========== Section 通用 ========== */
.section {
    padding: 100px 0;
    position: relative;
}

.section-warm {
    background: var(--bg-warm);
}

.section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    color: var(--primary);
    font-size: 14px;
    letter-spacing: 6px;
    margin-bottom: 12px;
    font-weight: 500;
}

.section-title {
    font-size: 38px;
    color: var(--primary-dark);
    margin-bottom: 16px;
    font-weight: 700;
    letter-spacing: 1px;
}

.section-desc {
    color: var(--text-light);
    font-size: 16px;
}

.title-line {
    width: 50px;
    height: 3px;
    background: var(--accent);
    margin: 18px auto;
    border-radius: 3px;
}

/* ========== 首页 - 简介区 ========== */
.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.intro-image {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 20px;
    background: linear-gradient(135deg, #4a8a64, #1f5d3a);
    box-shadow: var(--shadow);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.intro-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 400'><g fill='none' stroke='%23ffffff' stroke-width='1.5' opacity='0.18'><path d='M50 350 Q 150 250 200 150 Q 250 50 200 -20'/><path d='M80 330 Q 140 270 130 200'/><path d='M120 310 Q 180 250 170 180'/><path d='M160 290 Q 220 230 210 160'/><path d='M200 270 Q 260 210 250 140'/><path d='M240 250 Q 300 190 290 120'/><path d='M280 230 Q 340 170 330 100'/></g></svg>") no-repeat center;
    background-size: 110% 110%;
}

.intro-image .inner {
    position: relative;
    text-align: center;
    color: #fff;
    z-index: 1;
    padding: 30px;
}

.intro-image .ch {
    font-family: "STKaiti", "KaiTi", serif;
    font-size: 80px;
    color: #fff;
    line-height: 1;
    margin-bottom: 12px;
    text-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.intro-image .label {
    font-size: 13px;
    letter-spacing: 6px;
    opacity: 0.85;
    color: var(--accent);
}

.intro-image .years {
    margin-top: 30px;
    font-size: 56px;
    font-weight: 700;
    line-height: 1;
}

.intro-image .years-label {
    font-size: 13px;
    letter-spacing: 4px;
    margin-top: 4px;
    opacity: 0.85;
}

.intro-text h2 {
    font-size: 34px;
    color: var(--primary-dark);
    margin-bottom: 22px;
    line-height: 1.3;
}

.intro-text p {
    color: var(--text-light);
    font-size: 15.5px;
    margin-bottom: 16px;
    line-height: 1.9;
}

.intro-text .highlight {
    color: var(--primary);
    font-weight: 600;
}

.feature-list {
    list-style: none;
    margin-top: 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    font-size: 14.5px;
}

.feature-list li::before {
    content: "✓";
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    background: rgba(31, 93, 58, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

/* ========== 产品卡片 ========== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.product-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all .35s ease;
    border: 1px solid var(--border);
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.product-thumb {
    aspect-ratio: 4 / 3;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-thumb .bg {
    position: absolute;
    inset: 0;
}

.product-thumb.p1 .bg { background: linear-gradient(135deg, #f6e9c8, #e9d29a); }
.product-thumb.p2 .bg { background: linear-gradient(135deg, #d8e8d3, #a7c8a1); }
.product-thumb.p3 .bg { background: linear-gradient(135deg, #f3d9b8, #e0b886); }
.product-thumb.p4 .bg { background: linear-gradient(135deg, #e6d3a8, #c9a96e); }
.product-thumb.p5 .bg { background: linear-gradient(135deg, #c8d8c0, #94b58b); }
.product-thumb.p6 .bg { background: linear-gradient(135deg, #e8e0d0, #c9bd9f); }

.product-thumb svg {
    position: relative;
    z-index: 1;
    width: 70%;
    height: 70%;
}

/* 真实产品图片（替换 SVG 插画） */
.product-thumb .product-img,
.category-visual .product-img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .55s ease;
}
.product-card:hover .product-img,
.category-card:hover .product-img {
    transform: scale(1.05);
}

.product-info {
    padding: 24px 22px;
}

.product-info h3 {
    font-size: 19px;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.product-info p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 16px;
    min-height: 48px;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 14px;
    border-top: 1px dashed var(--border);
    font-size: 13px;
    color: var(--text-light);
}

.product-meta .tag {
    padding: 3px 10px;
    background: rgba(31, 93, 58, 0.08);
    color: var(--primary);
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

/* ========== 优势区 ========== */
.advantages {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.advantage-card {
    background: #fff;
    padding: 36px 24px;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: all .3s ease;
}

.advantage-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-light);
}

.advantage-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(31, 93, 58, 0.1), rgba(74, 138, 100, 0.15));
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 30px;
}

.advantage-card h4 {
    font-size: 18px;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.advantage-card p {
    color: var(--text-light);
    font-size: 13.5px;
    line-height: 1.7;
}

/* ========== 流程区 ========== */
.process-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    margin-top: 20px;
    position: relative;
}

.process-step {
    text-align: center;
    padding: 0 12px;
    position: relative;
}

.process-step:not(:last-child)::after {
    content: "→";
    position: absolute;
    top: 36px;
    right: -10px;
    color: var(--accent);
    font-size: 22px;
    z-index: 1;
}

.process-num {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--primary);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: 700;
    margin: 0 auto 20px;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 14px rgba(31, 93, 58, 0.15);
}

.process-step h4 {
    color: var(--primary-dark);
    font-size: 16px;
    margin-bottom: 6px;
}

.process-step p {
    color: var(--text-light);
    font-size: 13px;
}

/* ========== CTA Banner ========== */
.cta-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 24px;
    padding: 60px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: "";
    position: absolute;
    top: -80px;
    right: -80px;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(201, 169, 110, 0.25), transparent 70%);
    border-radius: 50%;
}

.cta-banner h3 {
    font-size: 28px;
    margin-bottom: 10px;
    position: relative;
}

.cta-banner p {
    opacity: 0.85;
    position: relative;
    font-size: 15px;
}

.cta-banner .btn-primary {
    background: var(--accent);
    color: var(--primary-dark);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
    position: relative;
    font-weight: 600;
}

.cta-banner .btn-primary:hover {
    background: #d8b97a;
    color: var(--primary-dark);
}

/* ========== 关于我们页 ========== */
.page-hero {
    padding: 160px 0 80px;
    background: linear-gradient(180deg, #f3ede0 0%, var(--bg) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: "";
    position: absolute;
    top: 20px;
    right: 5%;
    width: 240px;
    height: 240px;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'><g fill='none' stroke='%231f5d3a' stroke-width='1.4' stroke-linecap='round' opacity='0.18'><path d='M20 180 Q 80 120 100 60 Q 110 30 100 0'/><path d='M40 160 Q 60 130 50 100'/><path d='M60 150 Q 80 120 70 90'/><path d='M80 140 Q 100 110 90 80'/><path d='M30 140 Q 50 110 40 80'/><path d='M70 110 Q 90 80 80 50'/><path d='M50 90 Q 70 60 60 30'/></g></svg>") no-repeat;
    background-size: contain;
}

.page-hero h1 {
    font-size: 48px;
    color: var(--primary-dark);
    margin-bottom: 16px;
    position: relative;
    font-weight: 700;
    letter-spacing: 4px;
}

.page-hero .crumb {
    color: var(--text-light);
    font-size: 14px;
    position: relative;
}

.page-hero .crumb a {
    color: var(--primary);
}

.story-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 60px;
    align-items: center;
}

.story-text h2 {
    font-size: 32px;
    color: var(--primary-dark);
    margin-bottom: 24px;
    line-height: 1.3;
}

.story-text p {
    color: var(--text-light);
    margin-bottom: 16px;
    font-size: 15.5px;
    line-height: 1.9;
}

.story-visual {
    position: relative;
    aspect-ratio: 4 / 5;
    border-radius: 20px;
    background: linear-gradient(135deg, #f3ede0, #e8dfc6);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.story-visual .story-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.story-visual .center {
    text-align: center;
    padding: 30px;
    position: relative;
}

.story-visual .big {
    font-family: "STKaiti", "KaiTi", serif;
    font-size: 140px;
    line-height: 1;
    color: var(--primary);
    opacity: 0.85;
}

.story-visual .sub {
    font-size: 14px;
    letter-spacing: 6px;
    color: var(--accent);
    margin-top: 12px;
    font-weight: 500;
}

.story-visual .text-block {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    padding: 18px 22px;
    border-radius: 14px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    text-align: left;
    min-width: 180px;
}

.story-visual .text-block.t1 {
    top: 8%;
    left: 6%;
}

.story-visual .text-block.t2 {
    bottom: 8%;
    right: 6%;
}

.text-block .num {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.text-block .label {
    font-size: 13px;
    color: var(--text-light);
    margin-top: 4px;
}

/* 价值观 */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.value-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--primary);
    transition: all .3s ease;
}

.value-card:hover {
    transform: translateY(-4px);
}

.value-card .icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 20px;
}

.value-card h3 {
    font-size: 20px;
    color: var(--primary-dark);
    margin-bottom: 12px;
}

.value-card p {
    color: var(--text-light);
    font-size: 14.5px;
    line-height: 1.8;
}

/* 时间线 */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 30px;
    border-left: 2px solid var(--primary-light);
}

.timeline-item {
    position: relative;
    padding-bottom: 40px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: -38px;
    top: 4px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--primary);
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px var(--primary);
}

.timeline-year {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 6px;
}

.timeline-content h4 {
    color: var(--primary-dark);
    font-size: 17px;
    margin-bottom: 6px;
}

.timeline-content p {
    color: var(--text-light);
    font-size: 14.5px;
}

/* ========== 产品页 ========== */
.product-categories {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.category-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: all .3s ease;
    display: flex;
    flex-direction: column;
}

.category-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-light);
    box-shadow: var(--shadow-lg);
}

.category-visual {
    aspect-ratio: 16 / 9;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-visual.c1 { background: linear-gradient(135deg, #f6e9c8, #e9d29a); }
.category-visual.c2 { background: linear-gradient(135deg, #d8e8d3, #a7c8a1); }
.category-visual.c3 { background: linear-gradient(135deg, #f3d9b8, #e0b886); }
.category-visual.c4 { background: linear-gradient(135deg, #e6d3a8, #c9a96e); }

.category-visual svg {
    width: 60%;
    height: 70%;
}

.category-content {
    padding: 28px 28px 32px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.category-content h3 {
    font-size: 22px;
    color: var(--primary-dark);
    margin-bottom: 12px;
}

.category-content > p {
    color: var(--text-light);
    font-size: 14.5px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.spec-list {
    list-style: none;
    margin: 0 0 22px;
    flex: 1;
}

.spec-list li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px dashed var(--border);
    font-size: 14px;
}

.spec-list li:last-child {
    border-bottom: none;
}

.spec-list .k {
    color: var(--text-light);
}

.spec-list .v {
    color: var(--text);
    font-weight: 500;
}

.category-content .btn {
    align-self: flex-start;
}

/* ========== 联系页 ========== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
}

.contact-info {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    padding: 50px 40px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.contact-info::before {
    content: "";
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(201, 169, 110, 0.2), transparent 70%);
    border-radius: 50%;
}

.contact-info h3 {
    font-size: 26px;
    margin-bottom: 12px;
    position: relative;
}

.contact-info > p {
    opacity: 0.85;
    margin-bottom: 36px;
    position: relative;
    font-size: 14.5px;
    line-height: 1.8;
}

.contact-list {
    list-style: none;
    position: relative;
}

.contact-list li {
    display: flex;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-list li:last-child {
    border-bottom: none;
}

.contact-list .ico {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 12px;
    background: rgba(201, 169, 110, 0.18);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.contact-list .label {
    font-size: 12px;
    letter-spacing: 2px;
    opacity: 0.7;
    margin-bottom: 4px;
}

.contact-list .value {
    font-size: 15px;
    line-height: 1.5;
    font-weight: 500;
}

.contact-form {
    background: #fff;
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.contact-form h3 {
    font-size: 24px;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.contact-form > p {
    color: var(--text-light);
    margin-bottom: 30px;
    font-size: 14.5px;
}

/* 必填提示：红色星号用伪元素生成，保证整句文本节点可翻译 */
.req-note::before {
    content: "*";
    color: #b7322c;
    margin-right: 3px;
    font-weight: 700;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 13px;
    color: var(--text);
    margin-bottom: 6px;
    font-weight: 500;
}

.form-group label::after {
    content: " *";
    color: #d9534f;
}

.form-group label.optional::after {
    content: "";
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 14.5px;
    color: var(--text);
    background: var(--bg);
    transition: all .2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(31, 93, 58, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn {
    width: 100%;
    justify-content: center;
    padding: 16px;
    font-size: 15px;
    margin-top: 8px;
}

.form-note {
    margin-top: 16px;
    text-align: center;
    font-size: 12px;
    color: var(--text-light);
}

/* 表单消息提示 */
.form-message {
    margin-top: 16px;
    padding: 16px 20px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.7;
    text-align: center;
}
.form-message.form-success {
    background: rgba(31, 93, 58, 0.08);
    border: 1px solid rgba(31, 93, 58, 0.25);
    color: var(--primary-dark);
}
.form-message.form-error {
    background: rgba(183, 50, 44, 0.08);
    border: 1px solid rgba(183, 50, 44, 0.25);
    color: #b7322c;
}
.form-message strong {
    font-weight: 700;
}

/* ========== 申样表单（sample.html） ========== */
.sample-types {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

.sample-type {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
    transition: all .2s ease;
    font-size: 14px;
    color: var(--text);
    user-select: none;
}

.sample-type input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.sample-type .box {
    width: 18px;
    height: 18px;
    border: 2px solid var(--border);
    border-radius: 5px;
    flex-shrink: 0;
    position: relative;
    transition: all .2s ease;
}

.sample-type input:checked + .box {
    background: var(--primary);
    border-color: var(--primary);
}

.sample-type input:checked + .box::after {
    content: "✓";
    color: #fff;
    font-size: 12px;
    line-height: 1;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.sample-type:has(input:checked) {
    border-color: var(--primary);
    background: rgba(31, 93, 58, 0.05);
}

.sample-type:hover {
    border-color: var(--primary);
}

/* 申样说明卡片（复用绿色渐变，内容区） */
.sample-info {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    padding: 50px 40px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.sample-info::before {
    content: "";
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(201, 169, 110, 0.2), transparent 70%);
    border-radius: 50%;
}

.sample-info h3 {
    font-size: 26px;
    margin-bottom: 12px;
    position: relative;
}

.sample-info > p {
    opacity: 0.85;
    margin-bottom: 28px;
    position: relative;
    font-size: 14.5px;
    line-height: 1.8;
}

.sample-steps {
    list-style: none;
    position: relative;
    margin-bottom: 28px;
}

.sample-steps li {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    position: relative;
}

.sample-steps li:last-child {
    border-bottom: none;
}

.sample-steps .ico {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 12px;
    background: rgba(201, 169, 110, 0.18);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.sample-steps .label {
    font-size: 12px;
    letter-spacing: 2px;
    opacity: 0.7;
    margin-bottom: 4px;
}

.sample-steps .value {
    font-size: 15px;
    line-height: 1.5;
    font-weight: 500;
}

.sample-tip {
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    border-left: 3px solid var(--accent);
    padding: 16px 18px;
    border-radius: 0 10px 10px 0;
    font-size: 13.5px;
    line-height: 1.7;
}

.sample-tip strong {
    color: var(--accent);
}

/* 地图区 */
.map-section {
    background: var(--bg-warm);
}

.map-frame {
    margin-top: 40px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    aspect-ratio: 16 / 9;
    min-height: 340px;
    background:
        linear-gradient(135deg, #d8e8d3 0%, #c8d8c0 100%);
    position: relative;
}

#amapContainer {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.map-fallback {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    text-align: center;
    padding: 24px;
}

.mf-addr {
    color: var(--primary-dark);
    font-size: 16px;
    font-weight: 600;
    max-width: 78%;
    line-height: 1.6;
}

.mf-btn {
    background: var(--accent);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 999px;
    text-decoration: none;
    box-shadow: 0 6px 16px rgba(201, 169, 110, 0.45);
    transition: transform .2s ease, box-shadow .2s ease;
}

.mf-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(201, 169, 110, 0.55);
}

.mf-tip {
    font-size: 13px;
    color: #6f7d68;
}

.map-pin {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -100%);
    text-align: center;
}

.map-pin .dot {
    width: 24px;
    height: 24px;
    background: var(--accent);
    border: 4px solid #fff;
    border-radius: 50%;
    margin: 0 auto 8px;
    box-shadow: 0 0 0 8px rgba(201, 169, 110, 0.25);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(201, 169, 110, 0.4); }
    70% { box-shadow: 0 0 0 18px rgba(201, 169, 110, 0); }
    100% { box-shadow: 0 0 0 0 rgba(201, 169, 110, 0); }
}

.map-pin .label {
    background: #fff;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 13px;
    color: var(--primary-dark);
    font-weight: 500;
    box-shadow: var(--shadow);
    white-space: nowrap;
}

/* ========== Footer ========== */
.footer {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.85);
    padding: 70px 0 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: "";
    position: absolute;
    top: -100px;
    left: -100px;
    width: 360px;
    height: 360px;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'><g fill='none' stroke='%23c9a96e' stroke-width='1' stroke-linecap='round' opacity='0.18'><path d='M180 200 Q 140 140 100 100 Q 60 60 0 40'/><path d='M160 170 Q 130 130 90 130'/><path d='M130 130 Q 100 90 60 90'/><path d='M100 90 Q 70 50 30 50'/></g></svg>") no-repeat;
    background-size: contain;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 50px;
    padding-bottom: 50px;
    position: relative;
}

.footer-brand .logo {
    color: #fff;
    margin-bottom: 20px;
}

.footer-brand .logo .cn {
    color: #fff;
}

.footer-brand .logo-mark {
    background: #fff;
    padding: 6px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    height: 64px;
    width: 64px;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.9;
    opacity: 0.7;
    margin-bottom: 20px;
}

.footer h5 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 22px;
    position: relative;
    padding-bottom: 12px;
}

.footer h5::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 28px;
    height: 2px;
    background: var(--accent);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-info li {
    display: flex;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 13.5px;
    line-height: 1.6;
}

.footer-info .ico {
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 3px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 22px 0;
    text-align: center;
    font-size: 13px;
    opacity: 0.7;
    position: relative;
}

/* ========== 响应式 ========== */
@media (max-width: 1024px) {
    .hero h1 { font-size: 42px; }
    .hero-inner { grid-template-columns: 1fr; gap: 40px; }
    .hero-visual { max-width: 480px; margin: 0 auto; }
    .intro-grid, .story-grid, .contact-grid { grid-template-columns: 1fr; }
    .story-visual .text-block.t1 { left: 4%; }
    .story-visual .text-block.t2 { right: 4%; }
    .products-grid, .values-grid { grid-template-columns: repeat(2, 1fr); }
    .product-categories { grid-template-columns: 1fr; }
    .advantages { grid-template-columns: repeat(2, 1fr); }
    .process-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
    .process-step::after { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .cta-banner { flex-direction: column; text-align: center; padding: 40px 30px; }
}

@media (max-width: 720px) {
    .nav { display: none; }
    .nav.open {
        display: flex;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 16px;
        border-bottom: 1px solid var(--border);
        gap: 0;
    }
    .nav.open a {
        padding: 14px 16px;
        border-radius: 0;
        border-bottom: 1px solid var(--border);
    }
    .menu-toggle { display: block; }
    .section { padding: 70px 0; }
    .hero { padding: 120px 0 70px; }
    .hero h1 { font-size: 32px; }
    .hero-sub { font-size: 16px; }
    .section-title { font-size: 28px; }
    .page-hero h1 { font-size: 32px; }
    .products-grid, .values-grid, .advantages, .process-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .sample-types { grid-template-columns: 1fr; }
    .sample-info, .contact-form { padding: 30px 24px; }
    .hero-stats { flex-wrap: wrap; gap: 24px; }
    .stat .num { font-size: 26px; }
    .feature-list { grid-template-columns: 1fr; }
}

/* ========== 入场动画 ========== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .8s ease, transform .8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
