/**
 * 河北瑞景人造草坪有限公司 - 前端样式表
 * 设计理念：专业、现代、自然、高端
 * 设计系统：Forest Green + Warm Gold
 */

/* ============================================
   1. CSS Variables (Design Tokens)
   ============================================ */
:root {
    /* 色彩系统 */
    --color-primary: #1A5632;
    --color-primary-light: #2D7A4A;
    --color-primary-dark: #0E3A1F;
    --color-primary-50: #E8F5ED;
    --color-primary-100: #C6E7D1;
    --color-primary-200: #9DD4B0;

    --color-accent: #C8973E;
    --color-accent-light: #D4AD5E;
    --color-accent-dark: #A67B2E;

    --color-bg: #FAFAF6;
    --color-bg-alt: #F0EDE6;
    --color-bg-dark: #1A1A1A;
    --color-surface: #FFFFFF;
    --color-surface-hover: #F8F7F4;

    --color-text: #1A1A1A;
    --color-text-secondary: #5A5A5A;
    --color-text-light: #8A8A8A;
    --color-text-inverse: #FFFFFF;

    --color-border: #E2DFD8;
    --color-border-light: #F0EDE6;

    --color-success: #2D7A4A;
    --color-error: #C44B3F;
    --color-whatsapp: #25D366;

    /* 字体 */
    --font-heading: 'Plus Jakarta Sans', system-ui, -apple-system, 'Microsoft YaHei', 'PingFang SC', sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, 'Microsoft YaHei', 'PingFang SC', sans-serif;

    /* 字号 */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 2rem;
    --text-4xl: 2.5rem;
    --text-5xl: 3.25rem;

    /* 行高 */
    --leading-tight: 1.15;
    --leading-snug: 1.3;
    --leading-normal: 1.5;
    --leading-relaxed: 1.625;

    /* 间距 */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;

    /* 圆角 */
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
    --radius-full: 9999px;

    /* 阴影 */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.06), 0 2px 4px rgba(0,0,0,0.04);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.08), 0 4px 8px rgba(0,0,0,0.04);
    --shadow-xl: 0 20px 50px rgba(0,0,0,0.1), 0 8px 16px rgba(0,0,0,0.06);

    /* 过渡 */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;
    --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);

    /* 容器 */
    --container-max: 1240px;
    --container-padding: 1.5rem;

    /* 导航高度 */
    --header-height: 80px;
    --top-bar-height: 36px;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    color: var(--color-text);
    background-color: var(--color-bg);
    overflow-x: hidden;
    min-height: 100vh;
}

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

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

ul, ol {
    list-style: none;
}

button {
    font-family: inherit;
    font-size: inherit;
    cursor: pointer;
    border: none;
    background: none;
    color: inherit;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: var(--leading-tight);
    color: var(--color-text);
}

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-3xl); }
h4 { font-size: var(--text-2xl); }
h5 { font-size: var(--text-xl); }

p {
    margin-bottom: var(--space-4);
    color: var(--color-text-secondary);
    line-height: var(--leading-relaxed);
}

p:last-child {
    margin-bottom: 0;
}

/* ============================================
   3. Layout
   ============================================ */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    width: 100%;
}

.main {
    min-height: 50vh;
}

.section {
    padding: var(--space-20) 0;
}

.section--alt {
    background-color: var(--color-bg-alt);
}

.section--dark {
    background-color: var(--color-bg-dark);
    color: var(--color-text-inverse);
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
    color: var(--color-text-inverse);
}

.section--dark p {
    color: rgba(255,255,255,0.75);
}

.section__header {
    text-align: center;
    margin-bottom: var(--space-16);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section__label {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-4);
}

.section__title {
    margin-bottom: var(--space-4);
}

.section__desc {
    font-size: var(--text-lg);
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   4. Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: 0.75rem 1.75rem;
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    font-weight: 600;
    line-height: 1;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    cursor: pointer;
    white-space: nowrap;
    border: 2px solid transparent;
    min-height: 44px;
}

.btn--primary {
    background-color: var(--color-primary);
    color: var(--color-text-inverse);
    border-color: var(--color-primary);
}

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

.btn--outline {
    background-color: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn--outline:hover {
    background-color: var(--color-primary);
    color: var(--color-text-inverse);
    transform: translateY(-2px);
}

.btn--accent {
    background-color: var(--color-accent);
    color: var(--color-text-inverse);
    border-color: var(--color-accent);
}

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

.btn--white {
    background-color: var(--color-surface);
    color: var(--color-primary);
    border-color: var(--color-surface);
}

.btn--white:hover {
    background-color: var(--color-primary-50);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn--whatsapp {
    background-color: var(--color-whatsapp);
    color: white;
    border-color: var(--color-whatsapp);
}

.btn--whatsapp:hover {
    background-color: #1fba59;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn--lg {
    padding: 1rem 2.25rem;
    font-size: var(--text-base);
    min-height: 52px;
}

.btn--sm {
    padding: 0.5rem 1.25rem;
    font-size: var(--text-xs);
    min-height: 36px;
}

.btn--icon {
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: var(--radius-full);
}

/* ============================================
   5. Top Bar
   ============================================ */
.top-bar {
    background-color: var(--color-primary-dark);
    color: rgba(255,255,255,0.85);
    font-size: var(--text-xs);
    height: var(--top-bar-height);
    display: flex;
    align-items: center;
}

.top-bar__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar__info {
    display: flex;
    gap: var(--space-6);
}

.top-bar__item {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.top-bar__item:hover {
    color: white;
}

.top-bar__item svg {
    opacity: 0.7;
}

.top-bar__actions {
    display: flex;
    align-items: center;
}

/* 社交媒体图标 */
.top-bar__social {
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-bar__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.8);
    transition: all 0.2s;
}

.top-bar__social-link:hover {
    background: rgba(255,255,255,0.25);
    color: white;
    transform: translateY(-1px);
}

.lang-switch {
    display: flex;
    align-items: center;
}

/* 语言切换按钮 - 白色圆角气泡 */
.nav__item--lang {
    margin-left: var(--space-2);
}

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: white;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s;
    color: #333;
    font-size: 13px;
    font-weight: 600;
    font-family: var(--font-heading);
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

.lang-toggle:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transform: translateY(-1px);
}

.lang-toggle:active {
    transform: translateY(0);
}

.lang-flag {
    flex-shrink: 0;
    border-radius: 2px;
}

/* 移动端操作区 */
.header__mobile-actions {
    display: none;
    align-items: center;
    gap: var(--space-2);
}

.lang-toggle--mobile {
    padding: 5px 10px;
    font-size: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.lang-toggle--mobile .lang-flag {
    width: 16px;
    height: 11px;
}

/* ============================================
   6. Header / Navigation
   ============================================ */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    height: var(--header-height);
    display: flex;
    align-items: center;
    transition: all var(--transition-base);
    border-bottom: 1px solid transparent;
    touch-action: pan-y;
}

.header.scrolled {
    box-shadow: var(--shadow-sm);
    border-bottom-color: var(--color-border-light);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.header__logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    flex-shrink: 0;
}

.logo-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.logo-icon svg {
    width: 100%;
    height: 100%;
}

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

.logo-text__main {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1.2;
}

.logo-text__sub {
    font-size: var(--text-xs);
    color: var(--color-text-light);
    line-height: 1.3;
    max-width: 200px;
    display: none;
}

.header__menu-btn {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 1001;
    background: none;
    border: none;
    cursor: pointer;
}

.header__mobile-actions {
    display: none;
    align-items: center;
    gap: 8px;
}

.header__menu-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--color-text);
    border-radius: 2px;
    transition: all var(--transition-base);
}

.header__menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.header__menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.header__menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* 导航菜单 */
.nav__list {
    display: flex;
    align-items: center;
    gap: var(--space-1);
}

.nav__item {
    position: relative;
}

.nav__link {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    padding: var(--space-2) var(--space-3);
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-text-secondary);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.nav__link:hover,
.nav__item.active > .nav__link {
    color: var(--color-primary);
    background-color: var(--color-primary-50);
}

/* 获取报价CTA按钮 - WhatsApp */
.nav__link--cta {
    background-color: var(--color-whatsapp) !important;
    color: white !important;
    font-weight: 700;
    padding: var(--space-2) var(--space-5);
    border-radius: var(--radius-full);
    gap: var(--space-2);
    animation: pulse-cta 2s infinite;
}

.nav__link--cta:hover {
    background-color: #1fba59 !important;
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

@keyframes pulse-cta {
    0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(37, 211, 102, 0); }
}

.nav__arrow {
    transition: transform var(--transition-fast);
}

.nav__item--has-children:hover .nav__arrow {
    transform: rotate(180deg);
}

/* 下拉菜单 */
.nav__dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 220px;
    background-color: var(--color-surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: var(--space-2);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    pointer-events: none;
    border: 1px solid var(--color-border-light);
}

.nav__item--has-children:hover .nav__dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.nav__dropdown-link {
    display: block;
    padding: var(--space-3) var(--space-4);
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.nav__dropdown-link:hover {
    color: var(--color-primary);
    background-color: var(--color-primary-50);
}

/* 移动端导航 */
@media (max-width: 768px) {
    body {
        touch-action: pan-y;
        -webkit-touch-callout: none;
        overflow-x: hidden;
    }
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -320px;
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    height: 100dvh;
    background-color: var(--color-surface);
    z-index: 1002;
    transition: right var(--transition-slow);
    overflow-y: auto;
    padding: env(safe-area-inset-top) 0 env(safe-area-inset-bottom) 0;
    touch-action: pan-y;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav__overlay {
    position: fixed;
    top: 0;
    left: 0;
    touch-action: none;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.mobile-nav__overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-6);
    border-bottom: 1px solid var(--color-border-light);
}

.mobile-nav__title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: var(--text-lg);
}

.mobile-nav__close {
    padding: var(--space-2);
    color: var(--color-text-secondary);
}

.mobile-nav__list {
    padding: var(--space-4);
}

.mobile-nav__item {
    border-bottom: 1px solid var(--color-border-light);
}

.mobile-nav__parent {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-nav__link {
    display: block;
    padding: var(--space-4) 0;
    font-family: var(--font-heading);
    font-size: var(--text-base);
    font-weight: 500;
    color: var(--color-text);
    flex: 1;
}

/* 移动端WhatsApp CTA按钮 */
.mobile-nav__link--cta {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    background-color: var(--color-whatsapp);
    color: white !important;
    font-weight: 700;
    padding: var(--space-4);
    border-radius: var(--radius-lg);
    margin-top: var(--space-4);
    justify-content: center;
}

.mobile-nav__link--cta:hover {
    background-color: #1fba59;
}

.mobile-nav__toggle {
    padding: var(--space-3);
    color: var(--color-text-light);
    transition: transform var(--transition-fast);
}

.mobile-nav__toggle.active {
    transform: rotate(180deg);
}

.mobile-nav__submenu {
    display: none;
    padding-bottom: var(--space-4);
}

.mobile-nav__submenu.active {
    display: block;
}

.mobile-nav__sublink {
    display: block;
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    border-left: 2px solid var(--color-border);
    margin-left: var(--space-2);
}

.mobile-nav__sublink:hover {
    color: var(--color-primary);
    border-left-color: var(--color-primary);
}

.mobile-nav__lang {
    padding: var(--space-6);
    border-top: 1px solid var(--color-border-light);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

/* ============================================
   7. Hero / Slider
   ============================================ */
.hero {
    position: relative;
    height: 85vh;
    min-height: 500px;
    max-height: 900px;
    overflow: hidden;
    background-color: var(--color-bg-dark);
}

.hero__slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero__slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
}

.hero__slide.active {
    opacity: 1;
}

.hero__slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero__slide-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    transition: transform 8s ease;
}

.hero__slide.active .hero__slide-bg img {
    transform: scale(1);
}

.hero__slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.3) 100%);
}

.hero__content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 90%;
    max-width: 800px;
    z-index: 2;
}

.hero__title {
    font-size: clamp(2rem, 5vw, var(--text-5xl));
    color: var(--color-text-inverse);
    margin-bottom: var(--space-6);
    white-space: pre-line;
    text-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

.hero__subtitle {
    font-size: clamp(1rem, 2vw, var(--text-xl));
    color: rgba(255,255,255,0.85);
    margin-bottom: var(--space-10);
    white-space: pre-line;
}

.hero__actions {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    flex-wrap: wrap;
}

/* 轮播指示器 */
.hero__dots {
    position: absolute;
    bottom: var(--space-8);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--space-3);
    z-index: 3;
}

.hero__dot {
    width: 12px;
    height: 3px;
    border-radius: 2px;
    background-color: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all var(--transition-base);
}

.hero__dot.active {
    width: 32px;
    background-color: white;
}

/* 轮播箭头 */
.hero__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    background-color: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    z-index: 3;
    transition: all var(--transition-base);
    cursor: pointer;
}

.hero__arrow:hover {
    background-color: rgba(255,255,255,0.3);
}

.hero__arrow--prev {
    left: var(--space-6);
}

.hero__arrow--next {
    right: var(--space-6);
}

/* ============================================
   8. Service Cards
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
}

.service-card {
    background-color: var(--color-surface);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    border: 1px solid var(--color-border-light);
}

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

.service-card__image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.service-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.service-card:hover .service-card__image img {
    transform: scale(1.05);
}

.service-card__body {
    padding: var(--space-8);
}

.service-card__title {
    font-size: var(--text-xl);
    font-weight: 700;
    margin-bottom: var(--space-3);
    color: var(--color-text);
}

.service-card__desc {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-6);
    line-height: var(--leading-relaxed);
}

.service-card__link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-primary);
    transition: gap var(--transition-fast);
}

.service-card__link:hover {
    gap: var(--space-3);
}

.service-card__link svg {
    transition: transform var(--transition-fast);
}

.service-card__link:hover svg {
    transform: translateX(4px);
}

/* ============================================
   9. Product Cards
   ============================================ */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-6);
}

.product-card {
    background-color: var(--color-surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    border: 1px solid var(--color-border-light);
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.product-card__image {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: #F0EDE6;
}

.product-card__image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-slow);
}

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

.product-card__body {
    padding: var(--space-6);
}

.product-card__title {
    font-size: var(--text-lg);
    font-weight: 600;
    margin-bottom: var(--space-2);
}

.product-card__desc {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-4);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card__category {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-2);
    background: rgba(200, 151, 62, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
}

/* ============================================
   10. Gallery
   ============================================ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-4);
}

.gallery-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    position: relative;
    height: 250px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-slow);
}

.gallery-item:hover img {
    transform: scale(1.03);
}

.gallery-item__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-6) var(--space-4);
    background: linear-gradient(transparent, rgba(0,0,0,0.6));
    color: white;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.gallery-item:hover .gallery-item__overlay {
    opacity: 1;
}

.gallery-item__title {
    font-size: var(--text-sm);
    font-weight: 600;
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: var(--space-2);
    margin-bottom: var(--space-10);
    flex-wrap: wrap;
}

.gallery-filter {
    padding: var(--space-2) var(--space-5);
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-text-secondary);
    border-radius: var(--radius-full);
    border: 1px solid var(--color-border);
    transition: all var(--transition-fast);
    cursor: pointer;
}

.gallery-filter:hover,
.gallery-filter.active {
    color: var(--color-text-inverse);
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

/* ============================================
   11. Project Steps / Timeline
   ============================================ */
.timeline {
    position: relative;
    padding: var(--space-8) 0;
}

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

.timeline__item {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: var(--space-12);
}

.timeline__item:nth-child(odd) {
    flex-direction: row;
}

.timeline__item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline__content {
    width: calc(50% - 40px);
    background-color: var(--color-surface);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border-light);
    transition: all var(--transition-base);
}

.timeline__content:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.timeline__marker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 56px;
    height: 56px;
    border-radius: var(--radius-full);
    background-color: var(--color-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 800;
    z-index: 2;
    box-shadow: 0 0 0 8px var(--color-primary-50);
}

.timeline__image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: var(--space-4);
    height: 180px;
}

.timeline__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.timeline__title {
    font-size: var(--text-xl);
    font-weight: 700;
    margin-bottom: var(--space-3);
    color: var(--color-primary);
}

.timeline__desc {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    line-height: var(--leading-relaxed);
}

/* ============================================
   12. Features / Advantages
   ============================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--space-8);
}

.feature-card {
    text-align: center;
    padding: var(--space-10) var(--space-6);
    background-color: var(--color-surface);
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-border-light);
    transition: all var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary-100);
}

.feature-card__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-6);
    color: var(--color-primary);
}

.feature-card__icon svg {
    width: 100%;
    height: 100%;
}

.feature-card__title {
    font-size: var(--text-lg);
    font-weight: 700;
    margin-bottom: var(--space-3);
}

.feature-card__desc {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    line-height: var(--leading-relaxed);
}

/* ============================================
   13. Stats Counter
   ============================================ */
.stats {
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
    padding: var(--space-16) 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-8);
    text-align: center;
}

.stat__value {
    font-family: var(--font-heading);
    font-size: var(--text-4xl);
    font-weight: 800;
    color: var(--color-accent);
    margin-bottom: var(--space-2);
}

.stat__label {
    font-size: var(--text-sm);
    color: rgba(255,255,255,0.8);
    font-weight: 500;
}

/* ============================================
   14. CTA Section
   ============================================ */
.cta-section {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    padding: var(--space-16) 0;
}

.cta-section__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-8);
}

.cta-section__title {
    font-size: var(--text-3xl);
    color: white;
    margin-bottom: var(--space-3);
}

.cta-section__text {
    font-size: var(--text-lg);
    color: rgba(255,255,255,0.8);
    margin-bottom: 0;
}

.cta-section__actions {
    display: flex;
    gap: var(--space-4);
    flex-shrink: 0;
}

/* ============================================
   15. Page Banner
   ============================================ */
.page-banner {
    position: relative;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: var(--color-primary-dark);
    overflow: hidden;
}

.page-banner__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.page-banner__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.page-banner__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(14,58,31,0.9), rgba(26,86,50,0.7));
}

.page-banner__content {
    position: relative;
    z-index: 2;
}

.page-banner__title {
    font-size: var(--text-4xl);
    color: white;
    margin-bottom: var(--space-2);
}

.page-banner__breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    color: rgba(255,255,255,0.7);
}

.page-banner__breadcrumb a {
    color: rgba(255,255,255,0.7);
    transition: color var(--transition-fast);
}

.page-banner__breadcrumb a:hover {
    color: white;
}

/* ============================================
   16. Forms
   ============================================ */
.form-group {
    margin-bottom: var(--space-5);
}

.form-label {
    display: block;
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: var(--space-2);
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: var(--text-base);
    color: var(--color-text);
    background-color: var(--color-surface);
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    min-height: 44px;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary-50);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--color-text-light);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.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 12 12'%3E%3Cpath d='M3 5l3 3 3-3' stroke='%235A5A5A' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
}

.form-submit {
    margin-top: var(--space-6);
}

.form-message {
    padding: var(--space-4);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-4);
    font-size: var(--text-sm);
}

.form-message--success {
    background-color: var(--color-primary-50);
    color: var(--color-primary);
    border: 1px solid var(--color-primary-100);
}

.form-message--error {
    background-color: #fef2f2;
    color: var(--color-error);
    border: 1px solid #fecaca;
}

/* ============================================
   17. About Page
   ============================================ */
.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: start;
}

.about-intro__image {
    margin-top: 84px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

@media (max-width: 768px) {
    .about-intro__image {
        margin-top: 0;
    }
}

.about-intro__image img,
.about-intro__image video {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.about-intro__content h2 {
    margin-bottom: var(--space-6);
}

.about-intro__content p {
    margin-bottom: var(--space-4);
}

/* ============================================
   18. Contact Page
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
}

.contact-info {
    padding: var(--space-10);
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    border-radius: var(--radius-xl);
    color: white;
}

.contact-info__title {
    font-size: var(--text-2xl);
    color: white;
    margin-bottom: var(--space-6);
}

.contact-info__desc {
    color: rgba(255,255,255,0.8);
    margin-bottom: var(--space-8);
}

.contact-info__list {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.contact-info__item {
    display: flex;
    gap: var(--space-4);
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
    padding: 8px;
    border-radius: 8px;
}

.contact-info__item:hover {
    background: rgba(255,255,255,0.1);
    transform: translateX(4px);
}

.contact-info__icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background-color: rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: white;
}

.contact-info__item-title {
    font-weight: 600;
    margin-bottom: var(--space-1);
    font-size: var(--text-sm);
}

.contact-info__item-text {
    color: rgba(255,255,255,0.75);
    font-size: var(--text-sm);
}

.contact-form-wrap {
    padding: var(--space-10);
    background-color: var(--color-surface);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border-light);
}

/* ============================================
   19. Footer
   ============================================ */
.footer {
    background-color: var(--color-bg-dark);
    color: rgba(255,255,255,0.75);
    padding: var(--space-16) 0 0;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: var(--space-12);
    padding-bottom: var(--space-12);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
}

.footer__logo .logo-text__main {
    color: white;
}

.footer__desc {
    font-size: var(--text-sm);
    color: rgba(255,255,255,0.6);
    line-height: var(--leading-relaxed);
}

.footer__title {
    font-family: var(--font-heading);
    font-size: var(--text-base);
    font-weight: 700;
    color: white;
    margin-bottom: var(--space-6);
}

.footer__links li {
    margin-bottom: var(--space-3);
}

.footer__links a {
    font-size: var(--text-sm);
    color: rgba(255,255,255,0.6);
    transition: color var(--transition-fast);
}

.footer__links a:hover {
    color: var(--color-accent);
}

.footer__contact {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.footer__contact li {
    display: flex;
    gap: var(--space-3);
    font-size: var(--text-sm);
    color: rgba(255,255,255,0.6);
}

.footer__contact li a {
    display: flex;
    gap: var(--space-3);
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: color 0.2s;
}

.footer__contact li a:hover {
    color: var(--color-accent);
}

.footer__contact svg {
    flex-shrink: 0;
    color: var(--color-accent);
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-6) 0;
}

.footer__copyright {
    font-size: var(--text-xs);
    color: rgba(255,255,255,0.4);
    margin-bottom: 0;
}

.footer__social {
    display: flex;
    gap: var(--space-3);
}

.footer__social a {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    background-color: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.6);
    transition: all var(--transition-fast);
}

.footer__social a:hover {
    background-color: var(--color-accent);
    color: white;
}

/* ============================================
   20. WhatsApp Float
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: calc(var(--space-6) + env(safe-area-inset-bottom, 0px));
    right: var(--space-6);
    width: 56px;
    height: 56px;
    border-radius: var(--radius-full);
    background-color: var(--color-whatsapp);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    z-index: 999;
    transition: transform var(--transition-base), opacity 0.3s, visibility 0.3s;
}

.whatsapp-float.hidden {
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8);
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-float__pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-full);
    background-color: var(--color-whatsapp);
    animation: pulse 2s infinite;
    z-index: -1;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.5); opacity: 0; }
}

/* ============================================
   21. Back to Top
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: calc(80px + env(safe-area-inset-bottom, 0px));
    right: var(--space-6);
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    background-color: var(--color-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-base);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-3px);
}

/* ============================================
   22. Lightbox
   ============================================ */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.95);
}

.lightbox.active {
    display: block;
}

/* 图片居中 */
.lightbox__image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 4px;
}

/* 关闭按钮 */
.lightbox__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
}

.lightbox__close:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* 前后按钮 */
.lightbox__prev,
.lightbox__next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
}

.lightbox__prev { left: 16px; }
.lightbox__next { right: 16px; }

.lightbox__prev:hover,
.lightbox__next:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* 标题 */
.lightbox__caption {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 14px;
    text-align: center;
    max-width: 80vw;
    padding: 8px 16px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 20px;
}

/* 移动端灯箱 */
@media (max-width: 768px) {
    .lightbox__image {
        max-width: 95vw;
        max-height: 80vh;
    }

    .lightbox__close {
        top: 12px;
        right: 12px;
        width: 44px;
        height: 44px;
    }

    .lightbox__prev,
    .lightbox__next {
        width: 40px;
        height: 40px;
    }

    .lightbox__prev { left: 8px; }
    .lightbox__next { right: 8px; }
}

/* ============================================
   23. Scroll Animations
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.fade-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* 延迟动画 */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

/* ============================================
   24. Rich Content
   ============================================ */
.rich-content h2 {
    font-size: var(--text-3xl);
    margin-bottom: var(--space-6);
    margin-top: var(--space-10);
}

.rich-content h3 {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-4);
    margin-top: var(--space-8);
}

.rich-content p {
    margin-bottom: var(--space-4);
    line-height: var(--leading-relaxed);
}

.rich-content ul,
.rich-content ol {
    margin-bottom: var(--space-4);
    padding-left: var(--space-6);
}

.rich-content ul {
    list-style: disc;
}

.rich-content ol {
    list-style: decimal;
}

.rich-content li {
    margin-bottom: var(--space-2);
    color: var(--color-text-secondary);
    line-height: var(--leading-relaxed);
}

.rich-content img {
    border-radius: var(--radius-lg);
    margin: var(--space-6) 0;
}

.rich-content blockquote {
    border-left: 4px solid var(--color-primary);
    padding: var(--space-4) var(--space-6);
    margin: var(--space-6) 0;
    background-color: var(--color-primary-50);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-style: italic;
    color: var(--color-text-secondary);
}

/* ============================================
   25. Product Detail
   ============================================ */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: start;
}

.product-gallery {
    position: sticky;
    top: calc(var(--header-height) + var(--space-6));
}

.product-gallery__main {
    border-radius: var(--radius-xl);
    overflow: hidden;
    margin-bottom: var(--space-4);
    background-color: var(--color-bg-alt);
}

.product-gallery__main img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.product-info__category {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-3);
}

.product-info__title {
    font-size: var(--text-3xl);
    margin-bottom: var(--space-6);
}

.product-info__desc {
    font-size: var(--text-base);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-8);
    line-height: var(--leading-relaxed);
}

.product-specs {
    background-color: var(--color-bg-alt);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    margin-bottom: var(--space-8);
}

.product-specs__title {
    font-size: var(--text-lg);
    font-weight: 700;
    margin-bottom: var(--space-4);
}

.product-specs__list {
    display: grid;
    gap: var(--space-3);
}

.product-specs__item {
    display: flex;
    justify-content: space-between;
    padding: var(--space-2) 0;
    border-bottom: 1px solid var(--color-border);
    font-size: var(--text-sm);
}

.product-specs__item:last-child {
    border-bottom: none;
}

.product-specs__label {
    color: var(--color-text-secondary);
}

.product-specs__value {
    font-weight: 600;
    color: var(--color-text);
}

.product-actions {
    display: flex;
    gap: var(--space-4);
}

/* ============================================
   26. 404 Page
   ============================================ */
.error-page {
    text-align: center;
    padding: var(--space-24) 0;
}

.error-page__code {
    font-family: var(--font-heading);
    font-size: 8rem;
    font-weight: 800;
    color: var(--color-primary-100);
    line-height: 1;
    margin-bottom: var(--space-4);
}

.error-page__title {
    font-size: var(--text-3xl);
    margin-bottom: var(--space-4);
}

.error-page__desc {
    font-size: var(--text-lg);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-8);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   27. Quote Page
   ============================================ */
.quote-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    margin-top: var(--space-12);
}

.quote-feature {
    text-align: center;
    padding: var(--space-6);
}

.quote-feature__icon {
    width: 48px;
    height: 48px;
    margin: 0 auto var(--space-4);
    color: var(--color-primary);
}

.quote-feature__icon svg {
    width: 100%;
    height: 100%;
}

.quote-feature__title {
    font-size: var(--text-base);
    font-weight: 600;
    margin-bottom: var(--space-2);
}

.quote-feature__desc {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
}

/* ============================================
   28. Responsive Design
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
    :root {
        --text-5xl: 2.5rem;
        --text-4xl: 2rem;
        --text-3xl: 1.75rem;
    }

    .nav__list {
        gap: 0;
    }

    .nav__link {
        padding: var(--space-2) var(--space-2);
        font-size: var(--text-xs);
    }

    .hero {
        height: 70vh;
    }

    .about-intro {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }

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

    .product-detail {
        grid-template-columns: 1fr;
    }

    .product-gallery {
        position: static;
    }

    .footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-6);
    }

    .footer__col--about {
        grid-column: 1 / -1;
    }

    .timeline::before {
        left: 24px;
    }

    .timeline__item,
    .timeline__item:nth-child(even) {
        flex-direction: column;
        padding-left: 60px;
    }

    .timeline__content {
        width: 100%;
    }

    .timeline__marker {
        left: 24px;
        top: 0;
    }

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

    .cta-section__inner {
        flex-direction: column;
        text-align: center;
    }

    .quote-features {
        grid-template-columns: 1fr;
    }
}

/* Mobile */
@media (max-width: 768px) {
    :root {
        --text-5xl: 2rem;
        --text-4xl: 1.75rem;
        --text-3xl: 1.5rem;
        --text-2xl: 1.25rem;
        --header-height: 64px;
        --container-padding: 1.25rem;
    }

    .section {
        padding: var(--space-12) 0;
    }

    .section__header {
        margin-bottom: var(--space-10);
    }

    /* 隐藏桌面导航 */
    .nav {
        display: none;
    }

    /* 显示移动端操作区 */
    .header__mobile-actions {
        display: flex;
    }

    /* 隐藏桌面端语言切换 */
    .nav__item--lang {
        display: none;
    }

    /* 隐藏顶部栏 */
    .top-bar {
        display: none !important;
    }

    .logo-text__sub {
        display: none;
    }

    /* Hero */
    .hero {
        height: 65vh;
        min-height: 400px;
    }

    .hero__title {
        font-size: var(--text-3xl);
    }

    .hero__subtitle {
        font-size: var(--text-base);
    }

    .hero__arrow {
        display: none;
    }

    .hero__actions {
        flex-direction: column;
        align-items: center;
    }

    .hero__actions .btn {
        width: 100%;
        max-width: 280px;
    }

    /* Grid调整 */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }

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

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-4);
    }

    .stat__value {
        font-size: var(--text-3xl);
    }

    /* 表单 */
    .form-row {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-6);
    }

    .footer__col--about {
        grid-column: 1 / -1;
    }

    .footer__bottom {
        flex-direction: column;
        gap: var(--space-4);
        text-align: center;
    }

    /* CTA */
    .cta-section {
        padding: var(--space-10) 0;
    }

    .cta-section__title {
        font-size: var(--text-2xl);
    }

    .cta-section__actions {
        flex-direction: column;
        width: 100%;
    }

    .cta-section__actions .btn {
        width: 100%;
    }

    /* 页面Banner */
    .page-banner {
        height: 200px;
    }

    .page-banner__title {
        font-size: var(--text-2xl);
    }

    /* WhatsApp按钮安全区 */
    .whatsapp-float {
        bottom: calc(var(--space-4) + env(safe-area-inset-bottom, 0px));
        right: var(--space-4);
    }

    .back-to-top {
        bottom: calc(72px + env(safe-area-inset-bottom, 0px));
        right: var(--space-4);
    }

    /* 手机端隐藏第7、8个画廊项目 */
    .gallery-grid .gallery-item:nth-child(7),
    .gallery-grid .gallery-item:nth-child(8) {
        display: none;
    }

    /* 手机端服务网格2列 */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-3);
    }

    /* 手机端产品网格2列 */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-3);
    }

    /* 产品详情 */
    .product-gallery__main img {
        height: 280px;
    }

    .product-actions {
        flex-direction: column;
    }

    .product-actions .btn {
        width: 100%;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item {
        height: 200px;
    }

    /* 小手机端服务和产品1列 */
    .services-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        gap: var(--space-4);
    }

    .feature-card {
        padding: var(--space-6) var(--space-4);
    }

    .contact-info {
        padding: var(--space-6);
    }

    .contact-form-wrap {
        padding: var(--space-6);
    }

    .quote-features {
        gap: var(--space-4);
    }
}

/* ============================================
   29. Reduced Motion
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .fade-in,
    .fade-in-left,
    .fade-in-right,
    .scale-in {
        opacity: 1;
        transform: none;
    }

    .hero__slide-bg img {
        transform: none !important;
    }
}

/* ============================================
   30. Print Styles
   ============================================ */
@media print {
    .top-bar,
    .header,
    .whatsapp-float,
    .back-to-top,
    .cta-section,
    .footer {
        display: none !important;
    }

    .main {
        padding-top: 0 !important;
    }

    body {
        background: white;
        color: black;
    }
}
