/* =============================================
   外贸官网系统 - 主样式
   ============================================= */

/* Reset & Base */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'PingFang SC', 'Microsoft YaHei', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: #333;
    background: #fff;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; transition: all 0.3s; }
a:hover { color: #2563eb; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
/* 防止长文本/长链接撑破布局 */
h1, h2, h3, h4, h5, h6, p, li, td, th, a, span, div {
    overflow-wrap: break-word;
    word-break: break-word;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    /* 刘海屏安全区适配 */
    padding-left: max(20px, env(safe-area-inset-left));
    padding-right: max(20px, env(safe-area-inset-right));
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    z-index: 1000;
    transition: all 0.3s;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    height: 70px;
}
.header-right { min-width: 0; flex-shrink: 0; }
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0; /* 允许 flex 收缩，使 logo-text 省略号生效 */
    flex-shrink: 1;
}
.logo img {
    height: 40px;
    max-width: 100%;
    object-fit: contain;
}
.logo-text {
    font-size: 20px;
    font-weight: 700;
    color: #1e3a5f;
    max-width: 280px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.nav {
    display: flex;
    align-items: center;
    gap: 5px;
}
.nav li {
    position: relative;
}
.nav a {
    display: block;
    padding: 10px 18px;
    font-size: 15px;
    font-weight: 500;
    color: #444;
    border-radius: 6px;
    transition: all 0.3s;
}
.nav a:hover,
.nav a.active {
    color: #2563eb;
    background: #f0f7ff;
}
.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}
.lang-switcher {
    position: relative;
}
.lang-switcher select {
    padding: 6px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    font-size: 14px;
    cursor: pointer;
}
.btn-inquiry {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: #fff !important;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
}
.btn-inquiry:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
/* 动画汉堡按钮（三条线 -> X） */
.burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 22px;
}
.burger span {
    display: block;
    height: 2px;
    width: 100%;
    background: #1e3a5f;
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.2s ease;
}
.mobile-menu-btn.open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-btn.open .burger span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== 移动端抽屉导航（仅 <=768px 生效；桌面隐藏抽屉部件） ===== */
.nav-drawer-header,
.nav-drawer-footer { display: none; }
.nav-scrim {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(15, 23, 42, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 1050;
    -webkit-tap-highlight-color: transparent;
}
.nav-scrim.active { opacity: 1; pointer-events: auto; }
body.nav-open { overflow: hidden; }

/* Hero / Banner */
.hero {
    padding: 80px 0 80px;
    background: linear-gradient(135deg, #1e3a5f 0%, #2563eb 50%, #3b82f6 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 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");
}
.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}
.hero h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 18px;
    line-height: 1.3;
}
.hero-subtitle {
    font-size: 18px;
    margin-bottom: 18px;
    opacity: 0.9;
}
.hero-desc {
    font-size: 15px;
    margin-bottom: 30px;
    opacity: 0.85;
    line-height: 1.8;
}
.hero-btn {
    display: inline-block;
    padding: 12px 36px;
    background: #fff;
    color: #2563eb;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s;
}
.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Banner Slider */
.banner-slider {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    margin-top: 70px;
}
.banner-slides {
    position: relative;
    width: 100%;
    height: 100%;
}
.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    pointer-events: none;
}
.banner-slide.active {
    opacity: 1;
    pointer-events: auto;
}
.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* 用户上传的轮播图必须原样展示：不再叠加蓝色主题遮罩。
   仅在图上文字区域加局部柔和暗底，保证白字在浅色图片上仍可读，不改图片整体色调。 */
.banner-slide::before {
    display: none;
    content: none;
}
.banner-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
    max-width: 900px;
    width: 90%;
    padding: 0 20px;
}
.banner-caption h2 {
    color: #fff;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7), 0 1px 3px rgba(0, 0, 0, 0.85);
}
.banner-subtitle {
    color: #fff;
    font-size: 1.25rem;
    margin-bottom: 30px;
    opacity: 0.95;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7), 0 1px 2px rgba(0, 0, 0, 0.85);
}
.banner-btn {
    display: inline-block;
    padding: 14px 40px;
    background: #fff;
    color: #2563eb !important;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.banner-btn:hover {
    background: #f0f7ff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}
.banner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    font-size: 28px;
    color: #333;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    z-index: 10;
}
.banner-arrow:hover {
    background: #fff;
    color: #2563eb;
    transform: translateY(-50%) scale(1.1);
}
.banner-prev {
    left: 30px;
}
.banner-next {
    right: 30px;
}
.banner-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}
.banner-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}
.banner-dots span.active {
    background: #fff;
    width: 36px;
    border-radius: 6px;
}

/* 首页轮播图 - 大尺寸hero风格 */
.banner-slider.banner-home {
    height: 600px;
}
.banner-slider.banner-home .banner-caption {
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: left;
    max-width: 1200px;
    width: 90%;
    padding: 0 20px;
}
.banner-slider.banner-home .banner-caption h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}
.banner-slider.banner-home .banner-subtitle {
    font-size: 1.3rem;
    margin-bottom: 20px;
}
.banner-desc {
    color: #fff;
    font-size: 1.1rem;
    max-width: 600px;
    line-height: 1.8;
    margin-bottom: 30px;
    opacity: 0.95;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7), 0 1px 2px rgba(0, 0, 0, 0.85);
}
.banner-slider.banner-home .banner-btn {
    padding: 16px 44px;
    font-size: 17px;
}

/* Section Common */
.section {
    padding: 80px 0;
}
.section-alt {
    background: #f8fafc;
}
.section-header {
    text-align: center;
    margin-bottom: 60px;
}
.section-title {
    font-size: 36px;
    font-weight: 700;
    color: #1e3a5f;
    margin-bottom: 15px;
}
.section-subtitle {
    font-size: 16px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}
.section-title-line {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #3b82f6);
    margin: 20px auto 0;
    border-radius: 2px;
}

/* About Section */
.about-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-image {
    position: relative;
}
.about-image-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
}
.about-content h2 {
    font-size: 32px;
    color: #1e3a5f;
    margin-bottom: 20px;
}
.about-content p {
    color: #555;
    line-height: 1.9;
    margin-bottom: 20px;
}
/* 首页「关于我们」媒体（后台上传的视频/图片），尺寸与原占位区一致 */
.about-image { min-width: 0; }
.about-media {
    display: block;
    width: 100%;
    height: 400px;
    border-radius: 12px;
    object-fit: cover;
    background: #e0e7ff;
}

/* 「关于我们」页面图片轮播：原图原色展示，无蓝色遮罩，尺寸与占位区一致 */
.about-gallery {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    background: #e0e7ff;
}
.about-gallery-slides,
.about-gallery-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.about-gallery-slide {
    opacity: 0;
    visibility: hidden;
    transition: opacity .45s ease;
}
.about-gallery-slide.active {
    opacity: 1;
    visibility: visible;
}
.about-gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.about-gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 44px;
    border: none;
    background: rgba(0, 0, 0, .35);
    color: #fff;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
    transition: background .2s ease;
}
.about-gallery-arrow:hover { background: rgba(0, 0, 0, .55); }
.about-gallery-prev { left: 0; border-radius: 0 6px 6px 0; }
.about-gallery-next { right: 0; border-radius: 6px 0 0 6px; }
.about-gallery-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}
.about-gallery-dots span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .55);
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}
.about-gallery-dots span.active {
    background: #fff;
    transform: scale(1.2);
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}
.about-feature {
    padding: 20px;
    background: #f8fafc;
    border-radius: 8px;
    border-left: 4px solid #2563eb;
}
.about-feature h4 {
    color: #1e3a5f;
    margin-bottom: 8px;
}
.about-feature p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}
.product-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px 25px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all 0.3s;
    border: 1px solid #f0f0f0;
}
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(37, 99, 235, 0.15);
    border-color: #2563eb;
}
.product-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #fff;
    margin-bottom: 20px;
}
.product-card-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
    background: #f5f7fa;
}
.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
/* v2.8.4 首页产品卡片多图轮播：图片张数不设上限，自动 5 秒切换 */
.home-product-gallery {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
    background: #f5f7fa;
}
.home-product-slides,
.home-product-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.home-product-slide {
    opacity: 0;
    visibility: hidden;
    transition: opacity .45s ease;
}
.home-product-slide.active {
    opacity: 1;
    visibility: visible;
}
.home-product-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.home-product-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 38px;
    padding: 0;
    border: none;
    background: rgba(0, 0, 0, .35);
    color: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
    transition: background .2s ease;
}
.home-product-arrow:hover { background: rgba(0, 0, 0, .55); }
.home-product-prev { left: 0; border-radius: 0 6px 6px 0; }
.home-product-next { right: 0; border-radius: 6px 0 0 6px; }
.home-product-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 2;
}
.home-product-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .6);
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}
.home-product-dots span.active {
    background: #fff;
    transform: scale(1.2);
}
.product-card h3 {
    font-size: 18px;
    color: #1e3a5f;
    margin-bottom: 12px;
}
.product-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
}

/* Product Detail Items */
.product-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.product-item.product-reverse .product-gallery {
    order: 2;
}
.product-item.product-reverse .product-info {
    order: 1;
}

/* Product Gallery / Carousel */
.product-gallery {
    position: relative;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    background: #f0f0f0;
}
.product-gallery-slides {
    position: relative;
    width: 100%;
    padding-top: 66.67%; /* 3:2 比例 (600x400) */
}
.product-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    pointer-events: none;
}
.product-slide.active {
    opacity: 1;
    pointer-events: auto;
}
.product-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.product-slide-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 15px;
    background: repeating-linear-gradient(45deg, #f7f7f7, #f7f7f7 12px, #f1f1f1 12px, #f1f1f1 24px);
}
.product-gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    font-size: 22px;
    color: #333;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.product-gallery-arrow:hover {
    background: #fff;
    color: #2563eb;
    transform: translateY(-50%) scale(1.1);
}
.product-gallery-prev {
    left: 15px;
}
.product-gallery-next {
    right: 15px;
}
.product-gallery-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}
.product-gallery-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}
.product-gallery-dots span.active {
    background: #fff;
    width: 28px;
    border-radius: 5px;
}

/* Product Info */
.product-info h3 {
    font-size: 30px;
    color: #1e3a5f;
    margin-bottom: 20px;
    line-height: 1.3;
}
.product-info .product-desc {
    color: #555;
    line-height: 1.9;
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 500;
}
.product-info .product-detail {
    color: #666;
    line-height: 1.9;
    margin-bottom: 10px;
}

/* Advantages */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
}
.advantage-card {
    text-align: center;
    padding: 30px 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: all 0.3s;
}
.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.12);
}
.advantage-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}
.advantage-card h3 {
    font-size: 16px;
    color: #1e3a5f;
    margin-bottom: 10px;
}
.advantage-card p {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
}

/* Contact Section */
.contact-section {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
}
.contact-info h2 {
    font-size: 28px;
    color: #1e3a5f;
    margin-bottom: 15px;
}
.contact-info p {
    color: #555;
    margin-bottom: 30px;
    line-height: 1.8;
}
.contact-list {
    margin-bottom: 30px;
}
.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}
.contact-list li:last-child {
    border-bottom: none;
}
.contact-icon {
    width: 44px;
    height: 44px;
    background: #eff6ff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}
.contact-text h4 {
    font-size: 15px;
    color: #1e3a5f;
    margin-bottom: 5px;
}
.contact-text p {
    font-size: 14px;
    color: #666;
    margin: 0;
}
/* v2.8.10 联系页 WhatsApp 账号：纯文本展示，与页脚链接相互独立 */
.contact-text p.contact-whatsapp-account {
    color: #0a7c3f;
    font-weight: 600;
    letter-spacing: .3px;
}

.contact-form {
    background: #fff;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.contact-form h3 {
    font-size: 22px;
    color: #1e3a5f;
    margin-bottom: 25px;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}
.form-group {
    margin-bottom: 15px;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #444;
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s;
    font-family: inherit;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #2563eb;
}
.form-group textarea {
    resize: vertical;
    min-height: 100px;
}
.btn-submit {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}
.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #1e3a5f 0%, #2563eb 100%);
    color: #fff;
    padding: 60px 0;
    text-align: center;
}
.cta-section h2 {
    font-size: 30px;
    margin-bottom: 15px;
}
.cta-section p {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 30px;
}
.cta-btn {
    display: inline-block;
    padding: 14px 40px;
    background: #fff;
    color: #2563eb;
    border-radius: 8px;
    font-weight: 600;
}
.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Footer */
.footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 60px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 40px;
}
.footer-col h4 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 20px;
}
.footer-col p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 10px;
}
.footer-col ul li {
    margin-bottom: 10px;
}
.footer-col ul li a {
    font-size: 14px;
    color: #94a3b8;
}
.footer-col ul li a:hover {
    color: #3b82f6;
}
.footer-logo {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
}
.social-links {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}
.social-links a {
    width: 38px;
    height: 38px;
    background: #1e293b;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}
/* v2.8.9 社交平台官方品牌色，图标更醒目 */
.social-links a.social-facebook { background: #1877f2; }
.social-links a.social-twitter  { background: #000000; }
.social-links a.social-linkedin { background: #0a66c2; }
.social-links a.social-whatsapp { background: #25d366; }
.social-links a .social-svg {
    width: 20px;
    height: 20px;
    display: block;
    fill: currentColor;
}
.social-links a:hover {
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .3);
    opacity: .92;
}
.footer-bottom {
    border-top: 1px solid #1e293b;
    padding: 20px 0;
    text-align: center;
    font-size: 13px;
}

/* Page Header (内页) */
.page-header {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, #1e3a5f 0%, #2563eb 100%);
    color: #fff;
    text-align: center;
}
.page-header h1 {
    font-size: 38px;
    margin-bottom: 10px;
}
.page-header p {
    font-size: 16px;
    opacity: 0.85;
}
.breadcrumb {
    margin-top: 20px;
    font-size: 14px;
    opacity: 0.7;
}
.breadcrumb a { color: #fff; }
.breadcrumb span { margin: 0 8px; }

/* Alert */
.alert {
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 14px;
}
.alert-success {
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}

/* 询盘结果提示（v4.0.2）：提交成功/失败直接在表单上方明确展示 */
.inquiry-notice {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 18px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    font-size: 14px;
    line-height: 1.6;
}
.inquiry-notice[hidden] { display: none; }
.inquiry-notice-icon {
    flex: 0 0 auto;
    position: relative;
    width: 22px;
    height: 22px;
    margin-top: 2px;
    border-radius: 50%;
    background: #10b981;
}
.inquiry-notice-icon::after {
    content: '';
    position: absolute;
    left: 7px;
    top: 4px;
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.inquiry-notice-body {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.inquiry-notice-title {
    font-size: 15px;
    font-weight: 600;
    color: #065f46;
}
.inquiry-notice-text {
    font-size: 13px;
    color: #4b5563;
}
.inquiry-notice-success {
    background: #ecfdf5;
    border-color: #a7f3d0;
}
.inquiry-notice-error {
    background: #fef2f2;
    border-color: #fecaca;
}
.inquiry-notice-error .inquiry-notice-icon {
    background: #ef4444;
}
.inquiry-notice-error .inquiry-notice-icon::after {
    left: 10px;
    top: 6px;
    width: 2px;
    height: 10px;
    background: #fff;
    border: 0;
    transform: rotate(45deg);
}
.inquiry-notice-error .inquiry-notice-icon::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 6px;
    width: 2px;
    height: 10px;
    background: #fff;
    transform: rotate(-45deg);
}
.inquiry-notice-error .inquiry-notice-title {
    color: #991b1b;
}

/* =============================================
   Responsive — 平板 / 手机 / 横屏
   ============================================= */

/* 平板：1024px 以下 */
@media (max-width: 1024px) {
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .advantages-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .nav a { padding: 10px 12px; font-size: 14px; }
    .header-right { gap: 10px; }
    .banner-slider.banner-home { height: 500px; }
    .banner-slider.banner-home .banner-caption h2 { font-size: 2.6rem; }
}

@media (max-width: 768px) {
    /* iOS 输入框聚焦不自动放大（font-size >= 16px） */
    input, select, textarea { font-size: 16px !important; }

    /* 顶栏精简：只保留 logo + 汉堡按钮，语言切换移入抽屉 */
    .header-right .lang-switcher { display: none; }
    .header-right .btn-inquiry { display: none; }

    /* 侧滑抽屉 */
    #navDrawer {
        position: fixed;
        top: 0; right: 0; bottom: 0;
        width: min(80vw, 320px);
        background: #fff;
        display: flex;
        flex-direction: column;
        box-shadow: -6px 0 24px rgba(0,0,0,0.18);
        transform: translateX(100%);
        transition: transform 0.28s ease;
        z-index: 1100;
        -webkit-overflow-scrolling: touch;
    }
    #navDrawer.active { transform: translateX(0); }

    /* 抽屉顶栏：标题 + 圆形关闭按钮 */
    .nav-drawer-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 16px 20px;
        border-bottom: 1px solid #eef2f7;
        flex-shrink: 0;
    }
    .nav-drawer-title {
        font-size: 15px;
        font-weight: 700;
        color: #1e3a5f;
        letter-spacing: 0.5px;
    }
    .nav-drawer-close {
        width: 36px; height: 36px;
        border: none;
        border-radius: 50%;
        background: #f2f5f9;
        color: #475569;
        font-size: 15px;
        line-height: 1;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        -webkit-tap-highlight-color: transparent;
        transition: background 0.2s;
    }
    .nav-drawer-close:active { background: #e2e8f0; }

    /* 抽屉菜单列表 */
    #navDrawer .nav {
        display: flex;
        flex-direction: column;
        /* 竖排时覆盖桌面横排的 align-items:center，确保菜单项撑满抽屉宽度 */
        align-items: stretch;
        gap: 0;
        flex: 1;
        overflow-y: auto;
        padding: 6px 0;
        margin: 0;
    }
    #navDrawer .nav li { width: 100%; border-bottom: 1px solid #f5f7fa; }
    #navDrawer .nav li:last-child { border-bottom: none; }
    #navDrawer .nav a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        /* 触摸目标 >= 44px，符合移动端可点击区域规范 */
        padding: 14px 20px;
        font-size: 16px;
        font-weight: 500;
        color: #334155;
        border-radius: 0;
        position: relative;
    }
    #navDrawer .nav a::after {
        content: '\203A'; /* › */
        color: #cbd5e1;
        font-size: 20px;
        font-weight: 400;
        line-height: 1;
        transition: color 0.2s, transform 0.2s;
    }
    #navDrawer .nav a.active {
        color: #2563eb;
        background: #f0f7ff;
        font-weight: 600;
    }
    #navDrawer .nav a.active::before {
        content: '';
        position: absolute;
        left: 0; top: 10px; bottom: 10px;
        width: 3px;
        border-radius: 0 2px 2px 0;
        background: #2563eb;
    }
    #navDrawer .nav a.active::after { color: #2563eb; transform: translateX(2px); }

    /* 抽屉底部：语言切换胶囊 + 全宽询盘按钮 */
    .nav-drawer-footer {
        display: block;
        flex-shrink: 0;
        padding: 16px 20px calc(18px + env(safe-area-inset-bottom));
        border-top: 1px solid #eef2f7;
        background: #fff;
    }
    .lang-switcher--drawer {
        display: flex;
        gap: 8px;
        margin-bottom: 12px;
    }
    .lang-pill {
        flex: 1;
        padding: 11px 0;
        border: 1px solid #e2e8f0;
        background: #fff;
        border-radius: 8px;
        font-size: 14px;
        font-family: inherit;
        color: #64748b;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
        transition: all 0.2s;
    }
    .lang-pill.active {
        background: #1e3a5f;
        border-color: #1e3a5f;
        color: #fff;
        font-weight: 600;
    }
    .btn-inquiry--drawer {
        display: block;
        width: 100%;
        text-align: center;
        padding: 13px 0;
        border-radius: 8px;
    }

    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        font-size: 24px;
        line-height: 1;
        -webkit-tap-highlight-color: transparent;
    }
    .logo-text { max-width: 180px; font-size: 17px; }
    
    .banner-slider {
        height: 300px;
        margin-top: 70px;
    }
    .banner-caption {
        left: 50%;
        right: auto;
        top: 50%;
        bottom: auto;
        transform: translate(-50%, -50%);
        padding: 0 15px;
        max-width: 90%;
        width: 90%;
    }
    .banner-caption h2 {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }
    .banner-subtitle {
        font-size: 0.9rem;
        margin-bottom: 18px;
    }
    .banner-btn {
        padding: 10px 24px;
        font-size: 14px;
    }
    /* 移动端显示小箭头：半透明贴边，配合触摸滑动 + 圆点切换 */
    .banner-arrow {
        width: 32px;
        height: 32px;
        font-size: 20px;
        background: rgba(255, 255, 255, 0.72);
        box-shadow: 0 2px 8px rgba(0,0,0,0.18);
    }
    .banner-arrow:hover {
        background: rgba(255, 255, 255, 0.95);
        transform: translateY(-50%) scale(1.05);
    }
    .banner-prev { left: 8px; }
    .banner-next { right: 8px; }
    .banner-dots {
        bottom: 15px;
        gap: 8px;
    }
    .banner-dots span {
        width: 8px;
        height: 8px;
    }
    .banner-dots span.active {
        width: 24px;
    }
    
    /* 首页轮播图移动端适配 */
    .banner-slider.banner-home {
        height: 460px;
    }
    .banner-slider.banner-home .banner-caption {
        left: 50%;
        right: auto;
        transform: translate(-50%, -50%);
        text-align: center;
        padding: 0 15px;
        max-width: 90%;
        width: 90%;
    }
    .banner-slider.banner-home .banner-caption h2 {
        font-size: 2rem;
        margin-bottom: 12px;
    }
    .banner-slider.banner-home .banner-subtitle {
        font-size: 1rem;
        margin-bottom: 15px;
    }
    .banner-desc {
        font-size: 0.9rem;
        margin-bottom: 20px;
        line-height: 1.6;
    }
    .banner-slider.banner-home .banner-btn {
        padding: 12px 30px;
        font-size: 15px;
    }
    
    .hero { padding: 90px 0 50px; }
    .hero h1 { font-size: 24px; }
    .hero-subtitle { font-size: 15px; }
    .hero-desc { font-size: 14px; margin-bottom: 24px; }
    
    .section { padding: 50px 0; }
    .section-title { font-size: 26px; }
    
    .about-section {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .about-image-placeholder,
    .about-media,
    .about-gallery { height: 250px; }
    .about-gallery-arrow { display: none; }
    
    .product-item {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .product-item.product-reverse .product-gallery {
        order: 0;
    }
    .product-item.product-reverse .product-info {
        order: 0;
    }
    .product-info h3 {
        font-size: 24px;
    }
    .product-gallery-arrow {
        width: 32px;
        height: 32px;
        font-size: 18px;
    }
    .product-gallery-prev { left: 10px; }
    .product-gallery-next { right: 10px; }
    .product-gallery-dots {
        bottom: 10px;
        gap: 6px;
    }
    .product-gallery-dots span {
        width: 8px;
        height: 8px;
    }
    .product-gallery-dots span.active {
        width: 20px;
    }
    
    .products-grid { grid-template-columns: 1fr; }
    .advantages-grid { grid-template-columns: repeat(2, 1fr); }
    
    .contact-section {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .form-row { grid-template-columns: 1fr; }
    
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    
    .page-header { padding: 100px 0 50px; }
    .page-header h1 { font-size: 28px; }
}

@media (max-width: 480px) {
    .advantages-grid { grid-template-columns: 1fr; }
    .about-features { grid-template-columns: 1fr; }
    .container { padding-left: 15px; padding-right: 15px; }
    .section { padding: 40px 0; }
    .section-header { margin-bottom: 35px; }
    .section-title { font-size: 22px; }
    .banner-slider { height: 260px; }
    .banner-slider.banner-home { height: 420px; }
    .banner-slider.banner-home .banner-caption h2 { font-size: 1.5rem; margin-bottom: 10px; }
    .banner-caption h2 { font-size: 1.35rem; }
    .banner-slider.banner-home .banner-subtitle { font-size: 0.85rem; margin-bottom: 10px; }
    .banner-desc { font-size: 0.82rem; line-height: 1.5; margin-bottom: 14px; }
    .hero h1 { font-size: 21px; }
    .logo-text { max-width: 140px; font-size: 15px; }
    .page-header { padding: 90px 0 40px; }
    .page-header h1 { font-size: 24px; }
    .cta-section h2 { font-size: 22px; }
    .contact-form { padding: 20px; }
}

/* 横屏矮屏：手机横放时避免 banner 占满屏幕 */
@media (max-height: 500px) and (orientation: landscape) and (max-width: 900px) {
    .banner-slider,
    .banner-slider.banner-home { height: 240px; margin-top: 60px; }
    .header-inner { height: 60px; }
    #navDrawer .nav { overflow-y: auto; }
    .banner-caption h2,
    .banner-slider.banner-home .banner-caption h2 { font-size: 1.4rem; margin-bottom: 8px; }
    .banner-desc { font-size: 0.85rem; margin-bottom: 10px; }
    .page-header { padding: 80px 0 30px; }
}

/* 减少动画偏好（无障碍） */
@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;
    }
}

/* ===== 优势页专用网格列数（用类替代内联样式，确保移动端可正常折行） =====
   双类选择器提升特异性；分段媒体查询保证桌面 2/4 列、平板 2/2 列、
   手机 1/2 列、小屏 1/1 列，避免固定列数把容器撑出横向滚动。 */
@media (min-width: 1025px) {
    .products-grid.products-grid--2 { grid-template-columns: 1fr 1fr; }
    .advantages-grid.advantages-grid--4 { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 1024px) {
    .products-grid.products-grid--2 { grid-template-columns: 1fr 1fr; }
    .advantages-grid.advantages-grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .products-grid.products-grid--2 { grid-template-columns: 1fr; }
    .advantages-grid.advantages-grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .products-grid.products-grid--2 { grid-template-columns: 1fr; }
    .advantages-grid.advantages-grid--4 { grid-template-columns: 1fr; }
}

/* ==========================================================
   后台「图标与文案」上传的小图标（Content::icon 渲染）
   - 未上传时输出 <span class="content-icon-emoji">，继承容器字号，视觉零变化
   - 上传后输出 <img class="content-icon-img">，按容器等比缩放居中
   ========================================================== */
.content-icon,
.content-icon-emoji {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.content-icon-img {
    display: block;
    width: 72%;
    height: 72%;
    object-fit: contain;
    border-radius: inherit;
}
/* 圆/方形小图标：留白更舒展 */
.product-icon .content-icon-img,
.advantage-icon .content-icon-img,
.contact-icon .content-icon-img,
.social-links a .content-icon-img { width: 68%; height: 68%; }
/* 「关于我们」大图占位：上传图片后铺满裁切，等同图片展示位 */
.about-image-placeholder .content-icon-img {
    width: 100%; height: 100%; object-fit: cover; border-radius: 12px;
}
.about-image-placeholder .content-icon-emoji { font-size: 80px; }
/* 页脚 / 地图等内联图标：跟随文字字号 */
.content-icon--inline.content-icon-img {
    display: inline-block;
    width: 1.05em; height: 1.05em;
    vertical-align: -0.15em;
}
/* 上传图标后隐藏容器原有渐变底色，避免图片与渐变叠加发灰 */
.product-icon:has(.content-icon-img) { background: transparent; }
.advantage-icon:has(.content-icon-img),
.contact-icon:has(.content-icon-img) { background: transparent; }
.social-links a:has(.content-icon-img) { background: transparent; }
/* :has 不被支持时的兜底：图片自带圆角，渐变底色影响可控 */
