/* ========================================
   正麦食品 - 主样式表
   ======================================== */

/* === CSS Variables === */
:root {
    --primary: #D4380D;
    --primary-light: #FF6B35;
    --primary-dark: #A8071A;
    --primary-bg: #FFF2E8;
    --secondary: #1A1A2E;
    --text: #333333;
    --text-light: #666666;
    --text-lighter: #999999;
    --bg: #FFFFFF;
    --bg-light: #F8F9FA;
    --bg-gray: #F5F5F5;
    --border: #E8E8E8;
    --border-light: #F0F0F0;
    --shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.15);
    --radius: 8px;
    --radius-lg: 16px;
    --transition: all 0.3s ease;
    --font: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; transition: var(--transition); }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* === Layout === */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* === 顶部栏 === */
.top-bar {
    background: var(--secondary);
    color: rgba(255, 255, 255, 0.75);
    font-size: 13px;
    padding: 8px 0;
    letter-spacing: 0.3px;
}
.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.top-bar-right {
    display: flex;
    gap: 24px;
}
.top-bar-right a {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.75);
}
.top-bar-right a:hover { color: #fff; }
.top-bar-right a svg { flex-shrink: 0; }

/* === 主导航 === */
.main-header {
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}
.main-header.scrolled {
    box-shadow: 0 2px 16px rgba(0,0,0,0.1);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}
.logo-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.logo-text { display: flex; flex-direction: column; }
.logo-name {
    font-size: 22px;
    font-weight: 700;
    color: var(--secondary);
    line-height: 1.2;
    letter-spacing: 2px;
}
.logo-sub {
    font-size: 10px;
    color: var(--text-lighter);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Navigation */
.main-nav .nav-list {
    display: flex;
    align-items: center;
    gap: 4px;
}
.nav-link {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 18px;
    font-size: 15px;
    color: var(--text);
    font-weight: 500;
    border-radius: var(--radius);
    position: relative;
    transition: var(--transition);
}
.nav-link:hover {
    color: var(--primary);
    background: var(--primary-bg);
}
.nav-link.active {
    color: var(--primary);
    font-weight: 600;
}
.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: #fff;
    min-width: 180px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 100;
}
.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    font-size: 14px;
    color: var(--text);
    white-space: nowrap;
}
.dropdown-menu li a:hover {
    color: var(--primary);
    background: var(--primary-bg);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}
.mobile-menu-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}

/* Mobile Overlay */
.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s;
}
.mobile-overlay.active { opacity: 1; }

/* Mobile Sidebar */
.mobile-sidebar {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    max-width: 80vw;
    height: 100vh;
    background: #fff;
    z-index: 2001;
    transition: right 0.35s ease;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}
.mobile-sidebar.active { right: 0; }
.mobile-sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid var(--border-light);
}
.mobile-sidebar-header .logo-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--secondary);
    letter-spacing: 2px;
}
.mobile-close-btn {
    padding: 4px;
    color: var(--text-light);
}
.mobile-nav ul { padding: 12px 0; }
.mobile-nav li a {
    display: block;
    padding: 14px 24px;
    font-size: 15px;
    color: var(--text);
    border-bottom: 1px solid var(--border-light);
    transition: var(--transition);
}
.mobile-nav li a:hover,
.mobile-nav li a.active {
    color: var(--primary);
    background: var(--primary-bg);
    padding-left: 32px;
}
.mobile-sidebar-contact {
    padding: 20px 24px;
    border-top: 1px solid var(--border-light);
    margin-top: auto;
}
.mobile-sidebar-contact a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-light);
    font-size: 14px;
}
.mobile-sidebar-contact a svg { color: var(--primary); }

/* === Banner / Hero === */
.hero {
    position: relative;
    height: 600px;
    background: linear-gradient(135deg, #1A1A2E 0%, #16213E 50%, #0F3460 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(212,56,13,0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255,107,53,0.1) 0%, transparent 40%),
        radial-gradient(circle at 60% 80%, rgba(212,56,13,0.08) 0%, transparent 40%);
}
.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
    color: #fff;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50px;
    font-size: 13px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}
.hero-badge .dot {
    width: 6px;
    height: 6px;
    background: #4CAF50;
    border-radius: 50%;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}
.hero h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}
.hero h1 .highlight {
    background: linear-gradient(135deg, #FF6B35, #D4380D);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero p {
    font-size: 17px;
    line-height: 1.8;
    color: rgba(255,255,255,0.7);
    margin-bottom: 36px;
    max-width: 520px;
}
.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Hero floating shapes */
.hero-shapes {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}
.hero-shape {
    position: absolute;
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}
.hero-shape:nth-child(1) {
    width: 300px; height: 300px;
    right: 5%; top: 10%;
    background: radial-gradient(circle, rgba(212,56,13,0.2) 0%, transparent 70%);
    animation-delay: 0s;
}
.hero-shape:nth-child(2) {
    width: 200px; height: 200px;
    right: 20%; bottom: 10%;
    background: radial-gradient(circle, rgba(255,107,53,0.15) 0%, transparent 70%);
    animation-delay: -2s;
}
.hero-shape:nth-child(3) {
    width: 150px; height: 150px;
    right: 35%; top: 30%;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
    animation-delay: -4s;
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
    white-space: nowrap;
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
    box-shadow: 0 4px 20px rgba(212,56,13,0.3);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(212,56,13,0.45);
}
.btn-outline {
    border: 2px solid rgba(255,255,255,0.35);
    color: #fff;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
}
.btn-outline:hover {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.5);
}
.btn-outline-light {
    border: 2px solid var(--primary);
    color: var(--primary);
}
.btn-outline-light:hover {
    background: var(--primary);
    color: #fff;
}
.btn-sm {
    padding: 10px 24px;
    font-size: 14px;
}

/* === Section === */
.section {
    padding: 90px 0;
}
.section-header {
    text-align: center;
    margin-bottom: 60px;
}
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 16px;
}
.section-tag::before,
.section-tag::after {
    content: '';
    width: 24px;
    height: 1.5px;
    background: var(--primary);
    opacity: 0.4;
}
.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}
.section-desc {
    font-size: 16px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* === 产品展示区 === */
.products-section { background: var(--bg-light); }

.product-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}
.product-tab {
    padding: 10px 28px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-light);
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 50px;
    transition: var(--transition);
}
.product-tab:hover,
.product-tab.active {
    color: #fff;
    background: var(--primary);
    border-color: var(--primary);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.product-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-light);
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}
.product-card-img {
    height: 240px;
    background: var(--bg-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}
.product-card-img .product-placeholder {
    text-align: center;
    color: var(--text-lighter);
}
.product-card-img .product-placeholder svg {
    width: 64px;
    height: 64px;
    margin: 0 auto 8px;
    opacity: 0.3;
}
.product-card-img .product-placeholder span {
    font-size: 13px;
}
.product-card-img .product-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 4px 12px;
    background: var(--primary);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    border-radius: 50px;
}
.product-card-body {
    padding: 24px;
}
.product-card-body h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 8px;
}
.product-card-body p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.product-card-footer .price {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
}
.product-card-footer .price small {
    font-size: 13px;
    font-weight: 400;
    color: var(--text-lighter);
    margin-left: 2px;
}
.product-card-footer .btn-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 4px;
}
.product-card-footer .btn-link:hover { gap: 8px; }

/* === 关于我们 (首页) === */
.about-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 480px;
    background: linear-gradient(135deg, var(--primary-bg), #FFE7D6);
    display: flex;
    align-items: center;
    justify-content: center;
}
.about-image-placeholder {
    text-align: center;
    color: var(--primary);
    opacity: 0.5;
}
.about-image-placeholder svg {
    width: 120px;
    height: 120px;
    margin-bottom: 16px;
}
.about-image-placeholder p {
    font-size: 14px;
    color: var(--text-lighter);
}
.about-image .experience-badge {
    position: absolute;
    bottom: 24px;
    right: 24px;
    background: var(--primary);
    color: #fff;
    padding: 20px 24px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: 0 8px 24px rgba(212,56,13,0.3);
}
.experience-badge .number {
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
}
.experience-badge .label {
    font-size: 13px;
    opacity: 0.9;
    margin-top: 4px;
}
.about-content .section-tag { justify-content: flex-start; }
.about-content .section-tag::before { display: none; }
.about-content .section-title { text-align: left; font-size: 32px; }
.about-content .about-desc {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 28px;
}
.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 32px;
}
.about-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.about-feature-item .feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--primary-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary);
}
.about-feature-item h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 2px;
}
.about-feature-item p {
    font-size: 12px;
    color: var(--text-lighter);
    line-height: 1.5;
}

/* === 数据统计 === */
.stats-section {
    background: linear-gradient(135deg, var(--secondary) 0%, #16213E 100%);
    padding: 70px 0;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.stat-item {
    text-align: center;
    color: #fff;
    padding: 20px;
}
.stat-item .stat-number {
    font-size: 42px;
    font-weight: 700;
    color: var(--primary-light);
    line-height: 1;
    margin-bottom: 8px;
}
.stat-item .stat-number span {
    font-size: 20px;
    font-weight: 500;
}
.stat-item .stat-label {
    font-size: 14px;
    color: rgba(255,255,255,0.65);
    letter-spacing: 1px;
}

/* === 企业优势 === */
.advantages-section { background: var(--bg-light); }
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.advantage-card {
    background: #fff;
    padding: 36px 28px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-light);
}
.advantage-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: transparent;
}
.advantage-card .adv-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    border-radius: 16px;
    background: var(--primary-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: var(--transition);
}
.advantage-card:hover .adv-icon {
    background: var(--primary);
    color: #fff;
}
.advantage-card h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 10px;
}
.advantage-card p {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.8;
}

/* === 新闻动态 === */
.news-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}
.news-featured {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: #fff;
    transition: var(--transition);
    border: 1px solid var(--border-light);
}
.news-featured:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.news-featured-img {
    height: 320px;
    background: linear-gradient(135deg, var(--bg-gray), var(--border-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-lighter);
}
.news-featured-body { padding: 28px; }
.news-featured-body .news-date {
    font-size: 13px;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 10px;
}
.news-featured-body h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 12px;
    line-height: 1.4;
}
.news-featured-body p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.8;
}
.news-list { display: flex; flex-direction: column; gap: 20px; }
.news-item {
    background: #fff;
    padding: 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-light);
    flex: 1;
}
.news-item:hover { box-shadow: var(--shadow-hover); transform: translateX(4px); }
.news-item .news-date {
    font-size: 12px;
    color: var(--text-lighter);
    margin-bottom: 8px;
}
.news-item h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 8px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-item p {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* === 合作伙伴 === */
.partners-section {
    padding: 60px 0;
    background: var(--bg-light);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}
.partners-track {
    display: flex;
    gap: 60px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}
.partner-item {
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-lighter);
    font-size: 14px;
    font-weight: 500;
    opacity: 0.5;
    transition: var(--transition);
    padding: 0 20px;
}
.partner-item:hover { opacity: 1; color: var(--primary); }

/* === CTA 联系区 === */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 80px 0;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.cta-content { position: relative; z-index: 1; }
.cta-section h2 {
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 16px;
}
.cta-section p {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}
.btn-white {
    background: #fff;
    color: var(--primary);
    font-weight: 600;
    padding: 14px 40px;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(0,0,0,0.25);
}

/* === Footer === */
.main-footer { background: var(--secondary); color: rgba(255,255,255,0.7); }
.footer-top { padding: 60px 0 40px; }
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}
.footer-logo .logo-icon { width: 40px; height: 40px; }
.footer-logo .logo-name { color: #fff; font-size: 18px; }
.footer-logo .logo-sub { color: rgba(255,255,255,0.4); }
.footer-desc { font-size: 14px; line-height: 1.8; color: rgba(255,255,255,0.55); }
.footer-title {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}
.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary);
    border-radius: 1px;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
    font-size: 14px;
    color: rgba(255,255,255,0.55);
    transition: var(--transition);
}
.footer-links a:hover { color: var(--primary-light); padding-left: 4px; }
.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 14px;
    color: rgba(255,255,255,0.55);
    line-height: 1.6;
}
.footer-contact li svg { flex-shrink: 0; color: var(--primary-light); margin-top: 3px; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 20px 0;
}
.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: rgba(255,255,255,0.35);
}
.footer-bottom-inner a { color: rgba(255,255,255,0.35); }
.footer-bottom-inner a:hover { color: rgba(255,255,255,0.6); }

/* === 回到顶部 === */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(212,56,13,0.35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 999;
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* === 内页 Banner === */
.page-banner {
    background: linear-gradient(135deg, var(--secondary) 0%, #16213E 100%);
    padding: 60px 0;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.page-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-banner h1 {
    font-size: 36px;
    font-weight: 700;
    position: relative;
    z-index: 1;
    margin-bottom: 8px;
}
.page-banner .breadcrumb {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    position: relative;
    z-index: 1;
}
.page-banner .breadcrumb a {
    color: rgba(255,255,255,0.6);
}
.page-banner .breadcrumb a:hover { color: #fff; }
.page-banner .breadcrumb .sep { margin: 0 8px; }

/* === 联系表单 === */
.contact-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}
.contact-form-wrap {
    background: #fff;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
}
.contact-form-wrap h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 24px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 6px;
}
.form-group label .required {
    color: var(--primary);
    margin-left: 2px;
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px;
    color: var(--text);
    transition: var(--transition);
    background: var(--bg);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(212,56,13,0.08);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.form-submit {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 16px rgba(212,56,13,0.25);
}
.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(212,56,13,0.4);
}

/* Contact Info */
.contact-info-wrap {}
.contact-info-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 32px;
}
.contact-info-card {
    background: #fff;
    padding: 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: var(--transition);
}
.contact-info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.contact-info-card .info-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--primary-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}
.contact-info-card h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 4px;
}
.contact-info-card p {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.6;
}
.contact-map {
    height: 260px;
    background: var(--bg-gray);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-lighter);
    font-size: 14px;
    border: 1px solid var(--border-light);
}

/* === 关于页面 === */
.about-page-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-page-image {
    height: 420px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--primary-bg), #FFE7D6);
    display: flex;
    align-items: center;
    justify-content: center;
}
.about-page-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 20px;
}
.about-page-content p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 16px;
}

/* === 产品页 === */
.products-page-grid {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 40px;
}
.products-sidebar {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
    position: sticky;
    top: 120px;
    align-self: start;
}
.products-sidebar h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-light);
}
.products-sidebar ul li a {
    display: block;
    padding: 10px 14px;
    font-size: 14px;
    color: var(--text);
    border-radius: var(--radius);
    margin-bottom: 4px;
    transition: var(--transition);
}
.products-sidebar ul li a:hover,
.products-sidebar ul li a.active {
    background: var(--primary-bg);
    color: var(--primary);
    font-weight: 500;
}

/* === Alert / Toast === */
.alert {
    padding: 12px 20px;
    border-radius: var(--radius);
    font-size: 14px;
    margin-bottom: 16px;
}
.alert-success {
    background: #f6ffed;
    border: 1px solid #b7eb8f;
    color: #389e0d;
}
.alert-error {
    background: #fff2f0;
    border: 1px solid #ffccc7;
    color: #cf1322;
}

/* === 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);
}

/* === Utility === */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }

/* === About Carousel (Company Photos) === */
.about-page-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start; /* 改为 start 防止拉伸 */
}
.about-page-image {
    height: auto; /* 移除固定高度 */
    min-height: 300px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--primary-bg), #FFE7D6);
    display: flex;
    align-items: center;
    justify-content: center;
}
/* PC端轮播图样式 */
.about-carousel-wrap {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--primary-bg), #FFE7D6);
    /* 不设 min-height/height，让内容自然撑开 */
}
.about-carousel {
    position: relative;
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4 / 3; /* 紧凑比例 */
    background: var(--bg-gray);
}
.about-carousel-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
    overflow: hidden;
    background: var(--bg-gray);
}
.about-carousel-slide.active {
    opacity: 1;
    z-index: 1;
}
.about-carousel-link {
    display: block;
    width: 100%;
    height: 100%;
}
.about-carousel-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    min-width: 100%;
    min-height: 100%;
    transition: transform 0.5s ease;
}
.about-carousel-link:hover img {
    transform: scale(1.03);
}
.about-carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 50px 20px 14px;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 100%);
    z-index: 2;
}
.about-carousel-caption h3 {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.about-carousel-arrow {
    position: absolute;
    top: 50%;
    z-index: 10;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.85);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: var(--transition);
    transform: translateY(-50%);
}
.about-carousel-arrow:hover {
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.about-carousel-prev { left: 10px; }
.about-carousel-next { right: 10px; }
.about-carousel-dots {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 10px 0;
    z-index: 10;
}
.about-carousel-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(0,0,0,0.25);
    cursor: pointer;
    transition: var(--transition);
}
.about-carousel-dot.active {
    background: var(--primary);
    width: 20px;
    border-radius: 4px;
}
.about-carousel-more-link {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
    padding: 4px 12px;
    background: rgba(0,0,0,0.4);
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    border-radius: 50px;
    backdrop-filter: blur(4px);
    transition: var(--transition);
}
.about-carousel-more-link:hover {
    background: rgba(0,0,0,0.6);
}

/* === Banner Slideshow (Left-Right Split) === */
.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 2;
}
.hero-split-left {
    position: relative;
}
.hero-split-right {
    min-width: 0;
}
.hero-split-right .hero-content {
    max-width: 520px;
}

/* Carousel container */
.banner-carousel {
    position: relative;
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 16 / 10;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
}
.banner-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.banner-slide.active {
    opacity: 1;
    z-index: 1;
}
.banner-slide-img {
    position: relative;
    width: 100%;
    height: 100%;
}
.banner-slide-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    min-width: 100%;
    min-height: 100%;
}

/* Caption: bottom-left of image, gradient overlay */
.banner-slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 60px 20px 16px;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
    z-index: 2;
}
.banner-slide-caption h3 {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 2px;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.banner-slide-caption p {
    font-size: 13px;
    color: rgba(255,255,255,0.75);
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Arrows (compact, inside the left panel) */
.hero-split-left .banner-arrow {
    position: absolute;
    top: 50%;
    z-index: 10;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0,0,0,0.35);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(6px);
    transition: var(--transition);
    transform: translateY(-50%);
}
.hero-split-left .banner-arrow:hover {
    background: rgba(0,0,0,0.55);
}
.hero-split-left .banner-prev { left: 10px; }
.hero-split-left .banner-next { right: 10px; }

/* Dots (below the carousel image) */
.hero-split-left .banner-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
}
.hero-split-left .banner-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: var(--transition);
}
.hero-split-left .banner-dot.active {
    background: var(--primary-light);
    width: 22px;
    border-radius: 4px;
}
