/* ========== Reset & Base ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

a:hover {
    color: #0066cc;
}

ul, li {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ========== Top Bar ========== */
.top-bar {
    background-color: #1a1a2e;
    color: #ccc;
    font-size: 12px;
    padding: 8px 0;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left span {
    margin-right: 20px;
}

.top-bar-left i {
    color: #ffc107;
    margin-right: 5px;
}

.top-bar-right a {
    margin-left: 15px;
    color: #ccc;
}

.top-bar-right a:hover {
    color: #fff;
}

/* ========== Header ========== */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 11px;
    font-size: 26px;
    font-weight: 800;
    color: #1a1a2e;
    letter-spacing: 0.4px;
}

.logo-mark {
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(255, 107, 53, 0.28);
}

.logo a em {
    font-style: normal;
    color: #ff6b35;
}

/* ========== Navigation ========== */
.main-nav > ul {
    display: flex;
    gap: 30px;
}

.main-nav > ul > li {
    position: relative;
}

.main-nav > ul > li > a {
    display: block;
    padding: 10px 5px;
    font-weight: 600;
    color: #333;
    font-size: 15px;
}

.main-nav > ul > li > a:hover,
.main-nav > ul > li.active > a {
    color: #ff6b35;
}

.main-nav > ul > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #ff6b35;
    transition: width 0.3s ease;
}

.main-nav > ul > li:hover > a::after,
.main-nav > ul > li.active > a::after {
    width: 100%;
}

/* Dropdown */
.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    min-width: 200px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    border-radius: 4px;
    overflow: hidden;
    z-index: 100;
}

.main-nav > ul > li:hover .dropdown {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.dropdown li a {
    display: block;
    padding: 12px 20px;
    color: #555;
    font-size: 14px;
    border-bottom: 1px solid #f0f0f0;
}

.dropdown li:last-child a {
    border-bottom: none;
}

.dropdown li a:hover {
    background-color: #fff8f5;
    color: #ff6b35;
    padding-left: 25px;
}

/* Header Search */
.header-search {
    display: flex;
    align-items: center;
}

.header-search input {
    border: 1px solid #ddd;
    padding: 8px 15px;
    border-radius: 25px 0 0 25px;
    outline: none;
    width: 180px;
    font-size: 13px;
}

.header-search input:focus {
    border-color: #ff6b35;
}

.header-search button {
    background-color: #ff6b35;
    color: #fff;
    border: none;
    padding: 8px 15px;
    border-radius: 0 25px 25px 0;
    cursor: pointer;
}

.header-search button:hover {
    background-color: #e55a2b;
}

/* Mobile Menu Toggle */
.mobile-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    background: none;
    border: none;
    color: #333;
}

/* ========== Hero Banner / Carousel ========== */
.hero {
    position: relative;
    overflow: hidden;
}

/* mtscreen 式 Banner：容器高度永远 = 宽度×3/8，图片 2560×960 (8:3) 恰好铺满，
   无论浏览器怎么拉宽拉窄，banner 永远满宽、零裁切、零填充。
   不加 max-height —— 加了会产生黑边或裁切，违背"满宽零裁切零填充"要求。
   标准 16:9 屏下高度约为屏幕 2/3，超宽屏偏高与 mtscreen 行为一致。 */
.carousel {
    position: relative;
    height: auto;
    aspect-ratio: 8 / 3;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-bottom: 8%; /* 文字中心≈39%处（百分比随banner等比缩放），上移避开居中产品图 */
    color: #fff;
    background-color: #0b1222;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* 文字区渐变遮罩 */
.carousel-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(8,14,28,0.88) 0%, rgba(8,14,28,0.72) 30%, rgba(8,14,28,0.35) 55%, rgba(8,14,28,0.05) 100%);
    pointer-events: none;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide {
    background-image: var(--bg);
}

.carousel-slide:nth-child(1) {
    --bg: url('https://cdn.fixtechparts.com/images/banners/banner-1.jpg');
}

.carousel-slide:nth-child(2) {
    --bg: url('https://cdn.fixtechparts.com/images/banners/banner-2.jpg');
}

.carousel-slide:nth-child(3) {
    --bg: url('https://cdn.fixtechparts.com/images/banners/banner-3.jpg');
}

.carousel-content {
    position: relative;
    z-index: 2;
    text-align: left;
    width: 100%;
    margin: 0;
    /* 左锚定：距左缘约8%（≈原居中空隙的1/3），欧美电商首屏常见排版 */
    padding: 0 15px 0 clamp(40px, 8vw, 160px);
}

/* 每张 slide 激活时重新触发文字上滑动画，保证三张切换节奏一致 */
.carousel-slide.active .carousel-content {
    animation: fadeInUp 0.9s ease;
}

.carousel-content h1 {
    max-width: 960px;
}

.carousel-content p {
    max-width: 880px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.carousel-content h1 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.carousel-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.btn-primary {
    display: inline-block;
    padding: 15px 40px;
    background-color: #fff;
    color: #ff6b35;
    font-weight: bold;
    border-radius: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-primary:hover {
    background-color: #ff6b35;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0,0,0,0.3);
    color: #fff;
    border: none;
    width: 50px;
    height: 50px;
    font-size: 20px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-prev:hover,
.carousel-next:hover {
    background-color: rgba(0,0,0,0.6);
}

.carousel-prev { left: 30px; }
.carousel-next { right: 30px; }

.carousel-dots {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.carousel-dots span {
    width: 12px;
    height: 12px;
    background-color: rgba(255,255,255,0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dots span.active {
    background-color: #fff;
    transform: scale(1.2);
}

/* ========== Section Titles ========== */
.section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 32px;
    font-weight: bold;
    color: #1a1a2e;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #ff6b35;
}

.section-title p {
    color: #777;
    margin-top: 25px;
    font-size: 15px;
}

/* ========== Hot Products ========== */
.hot-products {
    background-color: #f9f9f9;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.product-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.product-image {
    width: 100%;
    height: 200px;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.product-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    color: #bbb;
}

.product-info {
    padding: 15px;
}

.product-info h3 {
    font-size: 14px;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.4;
    height: 40px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-info h3 a:hover {
    color: #ff6b35;
}

.product-meta {
    font-size: 12px;
    color: #999;
}

.view-more-wrap {
    text-align: center;
    margin-top: 40px;
}

.view-more-btn {
    display: inline-block;
    padding: 12px 35px;
    border: 2px solid #ff6b35;
    color: #ff6b35;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.view-more-btn:hover {
    background-color: #ff6b35;
    color: #fff;
}

/* ========== Why Choose Us / Stats ========== */
.why-choose {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
}

.why-choose .section-title h2 {
    color: #fff;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    background-color: rgba(255,255,255,0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    background-color: rgba(255,255,255,0.1);
    transform: translateY(-5px);
}

.stat-icon,
.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: #ff6b35;
    background: rgba(255,107,53,0.12);
    border: 1px solid rgba(255,107,53,0.28);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.stat-item:hover .stat-icon,
.feature-item:hover .feature-icon {
    background: rgba(255,107,53,0.22);
    border-color: #ff6b35;
}

.stat-number {
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 5px;
    color: #ff6b35;
}

.stat-label {
    font-size: 14px;
    color: #ccc;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.feature-item {
    text-align: center;
    padding: 25px 15px;
}

.feature-item h4 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #1a1a2e;
}

.feature-item p {
    font-size: 13px;
    color: #777;
}

.why-choose .feature-item h4 {
    color: #fff;
}

.why-choose .feature-item p {
    color: #bbb;
}

/* ========== About Section ========== */
.about-section {
    background-color: #fff;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #1a1a2e;
}

.about-text p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.8;
}

.about-text .btn-learn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 30px;
    background-color: #ff6b35;
    color: #fff;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.about-text .btn-learn:hover {
    background-color: #e55a2b;
    transform: translateY(-2px);
}

.about-image {
    width: 100%;
    height: 350px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 60px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* ========== Product Center ========== */
.product-center {
    background-color: #f9f9f9;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.category-card {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    position: relative;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.category-image {
    height: 210px;
    overflow: hidden;
    background-color: #fff;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.category-card:hover .category-image img {
    transform: scale(1.06);
}

.category-card:nth-child(1) .category-image { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.category-card:nth-child(2) .category-image { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }
.category-card:nth-child(3) .category-image { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); }
.category-card:nth-child(4) .category-image { background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%); }
.category-card:nth-child(5) .category-image { background: linear-gradient(135deg, #fa709a 0%, #fee140 100%); }
.category-card:nth-child(6) .category-image { background: linear-gradient(135deg, #30cfd0 0%, #330867 100%); }

.category-info {
    padding: 25px;
    text-align: center;
}

.category-info h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #1a1a2e;
}

.category-info p {
    color: #888;
    font-size: 13px;
    margin-bottom: 15px;
}

.category-info a {
    color: #ff6b35;
    font-weight: 600;
    font-size: 14px;
}

.category-info a:hover {
    color: #e55a2b;
}

/* ========== One Stop Service ========== */
.one-stop-service {
    background-color: #fff;
}

.service-box {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.service-text {
    color: #666;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.service-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.service-feature {
    padding: 25px 15px;
    background-color: #f9f9f9;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.service-feature:hover {
    background-color: #fff8f5;
    box-shadow: 0 8px 25px rgba(255,107,53,0.15);
}

.service-feature .icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: #ff6b35;
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 14px rgba(255,107,53,0.15);
}

.service-feature h5 {
    font-size: 14px;
    color: #333;
    font-weight: 600;
}

/* ========== Partners ========== */
.partners {
    background-color: #f9f9f9;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

/* 合作伙伴 logo 卡片 */
.partner-item {
    height: 110px;
    padding: 16px 20px;
    background-color: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #eceef2;
    transition: all 0.3s ease;
    cursor: pointer;
}

.partner-item svg {
    display: block;
    height: 58px;
    width: auto;
    max-width: 100%;
    margin: 0 auto;
    opacity: 0.9;
    transition: all 0.3s ease;
}

/* Apple 等字体图标型 logo */
.partner-wordmark {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-family: 'Helvetica', 'Arial', sans-serif;
    font-size: 21px;
    font-weight: 600;
    color: #111;
    letter-spacing: 0.3px;
}

.partner-wordmark i {
    font-size: 30px;
    line-height: 1;
}

.partner-item:hover {
    border-color: #ff6b35;
    transform: translateY(-4px);
    box-shadow: 0 12px 26px rgba(26, 26, 46, 0.12);
}

.partner-item:hover svg {
    opacity: 1;
    transform: scale(1.05);
}

.partner-item:hover .partner-wordmark {
    color: #ff6b35;
}

/* ========== Footer ========== */
footer {
    background-color: #1a1a2e;
    color: #ccc;
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-about .logo-footer {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 23px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 20px;
    letter-spacing: 0.4px;
}

.footer-about .logo-footer-mark {
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    border-radius: 10px;
}

.footer-about .logo-footer em {
    font-style: normal;
    color: #ff6b35;
}

.footer-about p {
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-contact-info li {
    margin-bottom: 12px;
    font-size: 13px;
}

.footer-contact-info li i {
    color: #ff6b35;
    margin-right: 10px;
    width: 15px;
}

.footer-col h4 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: #ff6b35;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #bbb;
    font-size: 13px;
}

.footer-col ul li a:hover {
    color: #ff6b35;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 38px;
    height: 38px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: #ff6b35;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    font-size: 12px;
    color: #888;
}

.footer-bottom a {
    color: #bbb;
}

.footer-icp {
    margin-bottom: 6px;
    letter-spacing: 0.3px;
}

.footer-icp a {
    color: inherit; /* 与版权行同色，视觉统一 */
    transition: color 0.3s ease;
}

.footer-icp a:hover {
    color: #fff;
}

/* ========== Page Banner (Inner Pages) ========== */
/* 内页横幅：深色科技背景图 + 左侧文字（与下方内容区左对齐） */
.page-banner {
    position: relative;
    height: 215px;
    display: flex;
    align-items: center;
    color: #fff;
    background-image:
        linear-gradient(90deg, rgba(6, 10, 24, 0.95) 0%, rgba(6, 10, 24, 0.78) 34%, rgba(6, 10, 24, 0.32) 60%, rgba(6, 10, 24, 0.10) 100%),
        url('https://cdn.fixtechparts.com/images/page-banner-bg.jpg');
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    overflow: hidden;
}

.page-banner-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    text-align: left;
}

.page-banner-content h1 {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 0.5px;
    line-height: 1.25;
    margin-bottom: 11px;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}

.breadcrumb {
    font-size: 14px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: rgba(255,255,255,0.75);
}

.breadcrumb a:hover {
    color: #fff;
}

.breadcrumb span {
    margin: 0 10px;
    color: rgba(255,255,255,0.5);
}

.breadcrumb .current {
    color: #fff;
}

/* ========== Company Profile Page ========== */
.company-intro {
    padding: 50px 0;
}

.company-intro p {
    color: #555;
    line-height: 1.9;
    margin-bottom: 20px;
    font-size: 15px;
}

.company-highlights {
    background-color: #f9f9f9;
    padding: 50px 0;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.highlight-box {
    background-color: #fff;
    padding: 35px 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}

.highlight-box h4 {
    font-size: 20px;
    color: #1a1a2e;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ff6b35;
}

.highlight-box ul li {
    padding: 10px 0;
    color: #555;
    border-bottom: 1px dashed #eee;
    padding-left: 25px;
    position: relative;
    font-size: 14px;
}

.highlight-box ul li:last-child {
    border-bottom: none;
}

.highlight-box ul li::before {
    content: '\f00c';
    position: absolute;
    left: 0;
    color: #ff6b35;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
}

/* Capability Table */
.capability-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 30px;
    background-color: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    border-radius: 8px;
    overflow: hidden;
}

.capability-table th {
    background-color: #ff6b35;
    color: #fff;
    padding: 15px 20px;
    text-align: left;
    font-weight: 600;
}

.capability-table td {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    color: #555;
}

.capability-table tr:hover td {
    background-color: #fff8f5;
}

.capability-table tr:last-child td {
    border-bottom: none;
}

/* Location Section */
.location-section {
    padding: 50px 0;
}

.location-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.location-single {
    grid-template-columns: 1fr;
}

.location-box {
    background-color: #fff;
    padding: 34px 38px 36px;
    border: 1px solid #eceef2;
    border-left: 4px solid #ff6b35;
    border-radius: 16px;
    box-shadow: 0 8px 28px rgba(26, 26, 46, 0.06);
}

.location-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.location-badge {
    width: 46px;
    height: 46px;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    color: #ff6b35;
    background: linear-gradient(135deg, #fff2ea, #ffe1d2);
    border-radius: 13px;
}

.location-head h4 {
    font-size: 19px;
    color: #1a1a2e;
    margin-bottom: 2px;
}

.location-city {
    font-size: 13px;
    color: #8a8f9c;
    letter-spacing: 0.3px;
}

.location-body {
    display: grid;
    grid-template-columns: 1.45fr 1fr;
    gap: 30px;
    align-items: start;
}

.location-address {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    line-height: 1.7;
    margin-bottom: 10px;
}

.location-box p {
    color: #6b7080;
    margin-bottom: 10px;
    line-height: 1.8;
}

.location-facts {
    background: #f7f8fc;
    border: 1px solid #eeeff5;
    border-radius: 12px;
    padding: 16px 20px;
}

.location-facts li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    color: #4a4f5c;
    padding: 8px 0;
}

.location-facts li + li {
    border-top: 1px dashed #e5e7f0;
}

.location-facts i {
    width: 16px;
    color: #ff6b35;
    text-align: center;
}

/* Why Choose Us Comparison Table */
.comparison-section {
    padding: 50px 0;
    background-color: #f9f9f9;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 30px;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}

.comparison-table th,
.comparison-table td {
    padding: 15px;
    text-align: left;
    border: 1px solid #eee;
    font-size: 14px;
}

.comparison-table th:first-child {
    width: 180px;
    background-color: #333;
    color: #fff;
}

.comparison-table th:nth-child(2) {
    background-color: #ff6b35;
    color: #fff;
}

.comparison-table td:nth-child(2) {
    color: #ff6b35;
    font-weight: 500;
}

.comparison-table td:nth-child(3) {
    color: #888;
    background-color: #fafafa;
}

/* Honor Section */
.honor-section {
    padding: 50px 0;
}

.honor-list {
    margin-top: 30px;
}

.honor-list li {
    padding: 12px 0;
    border-bottom: 1px dashed #eee;
    padding-left: 30px;
    position: relative;
    color: #555;
    font-size: 14px;
    line-height: 1.6;
}

.honor-list li::before {
    content: '\f0a2';
    position: absolute;
    left: 0;
    color: #ff6b35;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
}

/* ========== Service Page ========== */
.service-detail-section {
    padding: 50px 0;
}

.service-detail-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    align-items: center;
    margin-bottom: 50px;
}

.service-detail-content:nth-child(even) .service-detail-image {
    order: -1;
}

.service-detail-text h3 {
    font-size: 24px;
    color: #1a1a2e;
    margin-bottom: 15px;
}

.service-detail-text p {
    color: #666;
    line-height: 1.8;
}

.service-detail-image {
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
    background-color: #f4f6f9;
    box-shadow: 0 10px 30px rgba(0,0,0,0.10);
}

.service-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.service-detail-content:hover .service-detail-image img {
    transform: scale(1.04);
}

/* 通用 SVG 图标 */
.ico {
    width: 1em;
    height: 1em;
    display: inline-block;
    flex-shrink: 0;
}

/* Service Process */
.service-process {
    background-color: #f9f9f9;
    padding: 50px 0;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 40px;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, #ff6b35 0%, #ff6b35 100%);
}

.process-step {
    text-align: center;
    flex: 1;
    position: relative;
}

.step-number {
    width: 80px;
    height: 80px;
    background-color: #ff6b35;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    font-weight: bold;
    margin: 0 auto 15px;
    position: relative;
    z-index: 1;
    box-shadow: 0 5px 20px rgba(255,107,53,0.4);
}

.process-step h4 {
    font-size: 16px;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.process-step p {
    font-size: 13px;
    color: #888;
    padding: 0 10px;
}

/* ========== Contact Page ========== */
.contact-section {
    padding: 50px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
}

.contact-info-card {
    background-color: #fff;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
}

.contact-info-card h3 {
    font-size: 22px;
    color: #1a1a2e;
    margin-bottom: 25px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.contact-icon {
    width: 45px;
    height: 45px;
    background-color: #fff3ed;
    color: #ff6b35;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-right: 15px;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 15px;
    color: #333;
    margin-bottom: 5px;
}

.contact-item p {
    color: #666;
    font-size: 14px;
}

.contact-form-wrap {
    background-color: #fff;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
}

.contact-form-wrap h3 {
    font-size: 22px;
    color: #1a1a2e;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: 500;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    outline: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #ff6b35;
    box-shadow: 0 0 0 3px rgba(255,107,53,0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.submit-btn {
    display: block;
    width: 100%;
    padding: 14px;
    background-color: #ff6b35;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background-color: #e55a2b;
    transform: translateY(-2px);
}

/* ========== Product Listing Page ========== */
.product-listing {
    padding: 40px 0 60px;
}

/* 两栏布局：左侧分类栏 + 右侧产品区（flex，避免 float 溢出压到页脚） */
.product-listing .container {
    display: flex;
    align-items: flex-start;
    gap: 30px;
}

.sidebar {
    width: 240px;
    flex-shrink: 0;
    position: sticky;
    top: 92px;
}

.sidebar-box {
    background-color: #fff;
    border: 1px solid #eef0f4;
    border-radius: 14px;
    padding: 22px 18px;
    box-shadow: 0 4px 18px rgba(26, 26, 46, 0.05);
}

.sidebar-box h4 {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #1a1a2e;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f1f5;
}

.sidebar-box h4 i {
    color: #ff6b35;
    font-size: 14px;
}

.category-list li + li {
    margin-top: 4px;
}

.category-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 10px 12px;
    border-radius: 9px;
    color: #555;
    font-size: 14px;
    line-height: 1.35;
    transition: all 0.2s;
}

.category-list a span {
    flex: 1;
    min-width: 0;
}

/* 数量角标：独立胶囊，与分类文字明显分开 */
.category-list a em {
    flex-shrink: 0;
    margin-left: auto;
    min-width: 26px;
    height: 22px;
    padding: 0 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-style: normal;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    color: #7a7e8e;
    background: #eef0f6;
    border-radius: 11px;
    transition: all 0.2s;
}

.category-list a:hover {
    background: #fff6f1;
    color: #ff6b35;
}

.category-list a:hover em {
    background: #ffe4d6;
    color: #ff6b35;
}

.category-list a.active {
    background: linear-gradient(135deg, #ff6b35, #ff8f57);
    color: #fff;
    font-weight: 600;
    box-shadow: 0 6px 16px rgba(255, 107, 53, 0.28);
}

.category-list a.active em {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
}

/* 侧边栏底部顾问卡片 */
.sidebar-help {
    position: relative;
    overflow: hidden;
    margin-top: 22px;
    padding: 26px 20px 22px;
    border-radius: 16px;
    background: linear-gradient(150deg, #1a1a2e 0%, #232a4d 55%, #2f2a52 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 10px 26px rgba(26, 26, 46, 0.22);
    color: #cfd3e0;
    text-align: center;
}

/* 右上角橙色光晕装饰 */
.sidebar-help::before {
    content: '';
    position: absolute;
    top: -46px;
    right: -40px;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.34) 0%, rgba(255, 107, 53, 0) 70%);
    pointer-events: none;
}

/* 左下角淡蓝光晕装饰 */
.sidebar-help::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: -50px;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.28) 0%, rgba(102, 126, 234, 0) 70%);
    pointer-events: none;
}

.sidebar-help > i {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    margin: 0 auto 14px;
    border-radius: 50%;
    font-size: 22px;
    color: #ff9058;
    background: rgba(255, 107, 53, 0.16);
    border: 1px solid rgba(255, 107, 53, 0.3);
}

.sidebar-help h5 {
    position: relative;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.2px;
    margin-bottom: 9px;
}

.sidebar-help p {
    position: relative;
    font-size: 12px;
    line-height: 1.7;
    color: #a9aec4;
    margin-bottom: 16px;
}

.sidebar-help a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 11px 14px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #ff6b35, #ff8f57);
    border-radius: 10px;
    box-shadow: 0 6px 16px rgba(255, 107, 53, 0.32);
    transition: all 0.25s;
}

.sidebar-help a:hover {
    transform: translateY(-2px);
    box-shadow: 0 9px 22px rgba(255, 107, 53, 0.42);
}

.main-content {
    flex: 1;
    min-width: 0;
    margin-left: 0;
}

.main-content h2 {
    font-size: 24px;
    color: #1a1a2e;
    margin-bottom: 22px;
    padding-left: 14px;
    border-left: 4px solid #ff6b35;
    line-height: 1.3;
}

/* 产品区内 3 列，卡片宽度更舒适 */
.main-content .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.pagination a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 50%;
    color: #666;
    font-weight: 500;
}

.pagination a:hover,
.pagination a.active {
    background-color: #ff6b35;
    border-color: #ff6b35;
    color: #fff;
}

/* ========== Policy / FAQ 文档页 ========== */
.doc-section {
    padding: 54px 0 72px;
    background: #f5f6fa;
}

.doc-wrap {
    display: grid;
    grid-template-columns: 262px 1fr;
    gap: 32px;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.doc-nav {
    position: sticky;
    top: 22px;
    background: #fff;
    border: 1px solid #eceef2;
    border-radius: 14px;
    padding: 22px 16px;
    box-shadow: 0 4px 18px rgba(26, 26, 46, 0.05);
}

.doc-nav h4 {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: #1a1a2e;
    padding: 0 8px 13px;
    margin-bottom: 10px;
    border-bottom: 1px solid #f0f1f5;
}

.doc-nav h4 i {
    color: #ff6b35;
}

.doc-nav li a {
    display: block;
    padding: 9px 12px;
    font-size: 13.5px;
    color: #6b7080;
    border-radius: 8px;
    border-left: 3px solid transparent;
    transition: all 0.2s;
}

.doc-nav li a:hover {
    background: #fff4ef;
    border-left-color: #ff6b35;
    color: #e0551f;
}

.doc-nav .doc-nav-cta {
    margin-top: 16px;
    padding: 0 6px;
}

.doc-nav .doc-nav-cta a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 12px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #ff6b35, #ff8f57);
    border-radius: 9px;
    box-shadow: 0 6px 15px rgba(255, 107, 53, 0.28);
    transition: all 0.25s;
}

.doc-nav .doc-nav-cta a:hover {
    transform: translateY(-2px);
    box-shadow: 0 9px 20px rgba(255, 107, 53, 0.38);
}

.doc-body {
    min-width: 0;
}

.doc-card {
    background: #fff;
    border: 1px solid #eceef2;
    border-radius: 14px;
    padding: 32px 38px 34px;
    box-shadow: 0 2px 14px rgba(26, 26, 46, 0.04);
    margin-bottom: 24px;
}

.doc-card > h2 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    color: #1a1a2e;
    padding-bottom: 15px;
    margin-bottom: 18px;
    border-bottom: 1px solid #f0f1f5;
    scroll-margin-top: 24px;
}

.doc-card > h2 span.doc-idx {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: #ff6b35;
    background: #fff2eb;
    border-radius: 8px;
}

.doc-card h3 {
    font-size: 15.5px;
    color: #1a1a2e;
    margin: 24px 0 10px;
}

.doc-card p {
    font-size: 14.5px;
    line-height: 1.85;
    color: #5a5f6e;
    margin-bottom: 13px;
}

.doc-card p:last-child {
    margin-bottom: 0;
}

.doc-card a.inline-link {
    color: #e0551f;
    font-weight: 600;
    border-bottom: 1px dashed rgba(224, 85, 31, 0.45);
}

.doc-list li {
    position: relative;
    padding-left: 24px;
    font-size: 14.5px;
    line-height: 1.8;
    color: #5a5f6e;
    margin-bottom: 9px;
}

.doc-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 11px;
    color: #ff6b35;
}

.doc-list.doc-list-cross li::before {
    content: '\f00d';
    color: #c0392b;
    font-size: 12px;
}

.doc-note {
    background: #fff7f2;
    border-left: 4px solid #ff6b35;
    border-radius: 0 9px 9px 0;
    padding: 16px 20px;
    font-size: 13.5px;
    line-height: 1.8;
    color: #7a4a30;
    margin: 18px 0;
}

.doc-note strong {
    color: #d9501c;
}

.doc-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13.5px;
    margin: 16px 0 8px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(26, 26, 46, 0.05);
}

.doc-table th {
    background: #1a1a2e;
    color: #fff;
    text-align: left;
    padding: 12px 15px;
    font-weight: 600;
    white-space: nowrap;
}

.doc-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #eff0f4;
    color: #5a5f6e;
    line-height: 1.65;
}

.doc-table tbody tr:hover td {
    background: #fffaf7;
}

.doc-table tbody tr:last-child td {
    border-bottom: none;
}

.doc-steps {
    counter-reset: docstep;
    display: grid;
    gap: 12px;
    margin: 18px 0 6px;
}

.doc-step {
    position: relative;
    padding: 15px 18px 15px 58px;
    background: #f9fafc;
    border: 1px solid #eff0f4;
    border-radius: 10px;
}

.doc-step::before {
    counter-increment: docstep;
    content: counter(docstep);
    position: absolute;
    left: 16px;
    top: 14px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #ff6b35, #ff8f57);
}

.doc-step h5 {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 4px;
}

.doc-step p {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.7;
}

.doc-meta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    margin-bottom: 16px;
    font-size: 12.5px;
    color: #878c9c;
    background: #f4f5f9;
    border-radius: 20px;
}

.doc-meta i {
    color: #ff9058;
}

/* FAQ 折叠条目 */
.faq-group-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 30px 0 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f1f5;
}

.faq-group-title:first-of-type {
    margin-top: 4px;
}

.faq-group-title i {
    color: #ff6b35;
    font-size: 15px;
}

.faq-item {
    border: 1px solid #eceef2;
    border-radius: 10px;
    background: #fff;
    margin-bottom: 10px;
    overflow: hidden;
    transition: all 0.25s;
}

.faq-item summary {
    position: relative;
    list-style: none;
    cursor: pointer;
    padding: 16px 54px 16px 20px;
    font-size: 14.5px;
    font-weight: 600;
    color: #1a1a2e;
    line-height: 1.55;
    transition: background 0.2s;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 400;
    color: #ff6b35;
    background: #fff2eb;
    border-radius: 50%;
    transition: all 0.25s;
}

.faq-item summary:hover {
    background: #fffaf7;
}

.faq-item[open] {
    border-color: #ffd8c7;
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.09);
}

.faq-item[open] summary {
    background: #fff8f4;
    color: #d9501c;
}

.faq-item[open] summary::after {
    content: '−';
    color: #fff;
    background: #ff6b35;
}

.faq-answer {
    padding: 4px 22px 18px 20px;
    font-size: 14px;
    line-height: 1.85;
    color: #5a5f6e;
    border-top: 1px dashed #f2e3da;
    margin-top: 0;
    padding-top: 14px;
}

.faq-answer p {
    margin-bottom: 10px;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

/* ========== Responsive Design ========== */
@media (max-width: 1024px) {
    .doc-wrap {
        grid-template-columns: 220px 1fr;
        gap: 22px;
    }

    .doc-card {
        padding: 26px 26px 28px;
    }
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .partners-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* 窄桌面窗口（769-992px）：左内边距压缩可用宽度，降档字号保证 h1 单行不折行 */
@media (max-width: 992px) {
    .carousel-content h1 {
        font-size: 36px;
    }

    .carousel-content p {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }

    .main-nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: #fff;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        padding: 20px;
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        z-index: 999;
    }

    .main-nav.open {
        transform: translateY(0);
    }

    .main-nav ul {
        flex-direction: column;
        gap: 15px;
    }

    .dropdown {
        position: static;
        box-shadow: none;
        display: none;
        background-color: #f9f9f9;
    }

    .main-nav > ul > li:hover .dropdown {
        display: block;
    }

    .header-search {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .page-banner {
        height: 168px;
        background-position: center;
    }

    .page-banner-content h1 {
        font-size: 23px;
        margin-bottom: 8px;
    }

    .breadcrumb {
        font-size: 12px;
    }

    .carousel-prev,
    .carousel-next {
        display: none;
    }

    .carousel-content h1 {
        font-size: 28px;
    }

    .carousel-content p {
        font-size: 14px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-image {
        height: 250px;
    }

    .categories-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .service-features {
        grid-template-columns: repeat(2, 1fr);
    }

    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .highlights-grid {
        grid-template-columns: 1fr;
    }

    .location-grid {
        grid-template-columns: 1fr;
    }

    .location-box {
        padding: 24px 20px 26px;
    }

    .location-body {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .service-detail-content {
        grid-template-columns: 1fr;
    }

    .service-detail-image {
        height: 220px;
    }

    .process-steps {
        flex-direction: column;
        gap: 30px;
    }

    .process-steps::before {
        display: none;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .product-listing .container {
        display: block;
    }

    .sidebar {
        width: 100%;
        position: static;
        margin-bottom: 26px;
    }

    .main-content {
        margin-left: 0;
    }

    .main-content .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section {
        padding: 40px 0;
    }

    .section-title h2 {
        font-size: 24px;
    }

    /* 文档页：小屏取消侧栏，改为顶部横向索引 */
    .doc-wrap {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .doc-nav {
        position: static;
        padding: 16px 14px;
    }

    .doc-nav ul {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
    }

    .doc-nav li a {
        padding: 6px 10px;
        font-size: 12.5px;
        background: #f6f7fb;
        border-left: none;
    }

    .doc-nav .doc-nav-cta {
        margin-top: 12px;
    }

    .doc-card {
        padding: 22px 20px 24px;
    }

    .doc-card > h2 {
        font-size: 17px;
        gap: 10px;
    }

    .doc-card > h2 span.doc-idx {
        width: 26px;
        height: 26px;
        font-size: 12px;
    }

    .doc-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    .faq-item summary {
        padding: 14px 46px 14px 16px;
        font-size: 13.5px;
    }
}

/* 窄屏（≤640px）：Banner 图片区域仍保持 8:3 零裁切，文字移到图片下方深色区块，
   保证图片完整且文字可读 */
@media (max-width: 640px) {
    .carousel {
        aspect-ratio: auto;
        height: auto;
    }

    .carousel-slide {
        position: relative;
        display: none;
        height: auto;
        padding-bottom: 0; /* 移动端文字在图下方，无需上移偏移 */
        background-image: none;
        background-color: #0b1222;
    }

    .carousel-slide.active {
        display: block;
    }

    .carousel-slide::before {
        content: "";
        display: block;
        width: 100%;
        aspect-ratio: 8 / 3;
        background-image: var(--bg);
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

    .carousel-slide::after {
        display: none;
    }

    .carousel-content {
        padding: 18px 15px 30px;
        animation: none;
    }

    .carousel-dots {
        top: calc(100vw * 3 / 8 - 24px);
        bottom: auto;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .carousel-content h1 {
        font-size: 22px;
    }

    .btn-primary {
        padding: 12px 30px;
        font-size: 14px;
    }
}